Home
last modified time | relevance | path

Searched refs:frontend (Results 1 – 25 of 210) sorted by relevance

123456789

/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_frontend.c79 static void sun4i_frontend_scaler_init(struct sun4i_frontend *frontend) in sun4i_frontend_scaler_init() argument
83 if (frontend->data->has_coef_access_ctrl) in sun4i_frontend_scaler_init()
84 regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG, in sun4i_frontend_scaler_init()
89 regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_HORZCOEF0_REG(i), in sun4i_frontend_scaler_init()
91 regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_HORZCOEF0_REG(i), in sun4i_frontend_scaler_init()
93 regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_HORZCOEF1_REG(i), in sun4i_frontend_scaler_init()
95 regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_HORZCOEF1_REG(i), in sun4i_frontend_scaler_init()
97 regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_VERTCOEF_REG(i), in sun4i_frontend_scaler_init()
99 regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_VERTCOEF_REG(i), in sun4i_frontend_scaler_init()
103 if (frontend in sun4i_frontend_scaler_init()
110 sun4i_frontend_init(struct sun4i_frontend * frontend) sun4i_frontend_init() argument
116 sun4i_frontend_exit(struct sun4i_frontend * frontend) sun4i_frontend_exit() argument
156 sun4i_frontend_update_buffer(struct sun4i_frontend * frontend,struct drm_plane * plane) sun4i_frontend_update_buffer() argument
402 sun4i_frontend_update_formats(struct sun4i_frontend * frontend,struct drm_plane * plane,uint32_t out_fmt) sun4i_frontend_update_formats() argument
495 sun4i_frontend_update_coord(struct sun4i_frontend * frontend,struct drm_plane * plane) sun4i_frontend_update_coord() argument
539 sun4i_frontend_enable(struct sun4i_frontend * frontend) sun4i_frontend_enable() argument
560 struct sun4i_frontend *frontend; sun4i_frontend_bind() local
621 struct sun4i_frontend *frontend = dev_get_drvdata(dev); sun4i_frontend_unbind() local
644 struct sun4i_frontend *frontend = dev_get_drvdata(dev); sun4i_frontend_runtime_resume() local
670 struct sun4i_frontend *frontend = dev_get_drvdata(dev); sun4i_frontend_runtime_suspend() local
[all...]
H A Dsun4i_frontend.h139 int sun4i_frontend_init(struct sun4i_frontend *frontend);
140 void sun4i_frontend_exit(struct sun4i_frontend *frontend);
141 int sun4i_frontend_enable(struct sun4i_frontend *frontend);
143 void sun4i_frontend_update_buffer(struct sun4i_frontend *frontend,
145 void sun4i_frontend_update_coord(struct sun4i_frontend *frontend,
147 int sun4i_frontend_update_formats(struct sun4i_frontend *frontend,
H A Dsun4i_layer.c91 struct sun4i_frontend *frontend = backend->frontend; in sun4i_backend_layer_atomic_update() local
96 sun4i_frontend_init(frontend); in sun4i_backend_layer_atomic_update()
97 sun4i_frontend_update_coord(frontend, plane); in sun4i_backend_layer_atomic_update()
98 sun4i_frontend_update_buffer(frontend, plane); in sun4i_backend_layer_atomic_update()
99 sun4i_frontend_update_formats(frontend, plane, in sun4i_backend_layer_atomic_update()
103 sun4i_frontend_enable(frontend); in sun4i_backend_layer_atomic_update()
119 if (IS_ERR_OR_NULL(layer->backend->frontend)) in sun4i_layer_format_mod_supported()
208 if (IS_ERR_OR_NULL(backend->frontend)) { in sun4i_layer_init_one()
/linux/drivers/media/pci/cx88/
H A Dcx88-dvb.c170 pr_err("%s() No frontend found\n", __func__); in cx88_dvb_bus_ctrl()
208 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx88_dvb_gate_ctrl()
209 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx88_dvb_gate_ctrl()
612 /* Get the first frontend */ in attach_xc3028()
617 if (!fe0->dvb.frontend) { in attach_xc3028()
618 pr_err("dvb frontend not attached. Can't attach xc3028\n"); in attach_xc3028()
629 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); in attach_xc3028()
632 dvb_frontend_detach(fe0->dvb.frontend); in attach_xc3028()
[all...]
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c591 /* Get the first frontend */ in configure_tda827x_fe()
597 fe0->dvb.frontend = dvb_attach(tda10046_attach, cdec_conf, &dev->i2c_adap); in configure_tda827x_fe()
598 if (fe0->dvb.frontend) { in configure_tda827x_fe()
600 fe0->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; in configure_tda827x_fe()
601 if (dvb_attach(tda827x_attach, fe0->dvb.frontend, in configure_tda827x_fe()
1225 /* FIXME: add support for multi-frontend */ in dvb_init()
1229 pr_info("%s() allocating 1 frontend\n", __func__); in dvb_init()
1259 fe0->dvb.frontend = dvb_attach(mt352_attach, &pinnacle_300i, in dvb_init()
1261 if (fe0->dvb.frontend) { in dvb_init()
1262 fe0->dvb.frontend in dvb_init()
[all...]
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-dvb.c51 struct dvb_frontend *frontend[CX231XX_DVB_MAX_FRONTENDS]; member
313 if (!demux->dmx.frontend) in start_feed()
380 if (!dev->dvb->frontend[0]) {
381 dev_err(dev->dev, "%s/2: dvb frontend not attached. Can't attach xc5000\n",
386 fe = dvb_attach(xc5000_attach, dev->dvb->frontend[0], &cfg);
389 dvb_frontend_detach(dev->dvb->frontend[0]);
390 dev->dvb->frontend[0] = NULL;
402 if (dev->dvb && dev->dvb->frontend[0]) { in cx231xx_set_analog_freq()
404 struct dvb_tuner_ops *dops = &dev->dvb->frontend[0]->ops.tuner_ops; in cx231xx_set_analog_freq()
415 dops->set_analog_params(dev->dvb->frontend[ in cx231xx_set_analog_freq()
[all...]
/linux/drivers/media/usb/au0828/
H A Dau0828-dvb.c282 if (!demux->dmx.frontend) in au0828_dvb_start_feed()
285 if (dvb->frontend) { in au0828_dvb_start_feed()
314 if (dvb->frontend) { in au0828_dvb_stop_feed()
435 /* register frontend */ in dvb_register()
436 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); in dvb_register()
443 /* Hook dvb frontend */ in dvb_register()
444 dvb->set_frontend = dvb->frontend->ops.set_frontend; in dvb_register()
445 dvb->frontend->ops.set_frontend = au0828_set_frontend; in dvb_register()
516 dvb_unregister_frontend(dvb->frontend); in dvb_register()
518 dvb_frontend_detach(dvb->frontend); in dvb_register()
[all...]
/linux/drivers/media/dvb-frontends/
H A DKconfig20 Say Y when you want to support this frontend.
90 Say Y when you want to support this frontend.
98 Say Y when you want to support this frontend.
106 Say Y when you want to support this frontend.
116 Say Y when you want to support this frontend.
135 A DVB-S tuner module. Say Y when you want to support this frontend.
142 A DVB-S/S2 tuner module. Say Y when you want to support this frontend.
149 A Dual DVB-S/S2 tuner module. Say Y when you want to support this frontend.
156 A DVB-S/S2 tuner module. Say Y when you want to support this frontend.
163 A DVB-S tuner module. Say Y when you want to support this frontend
[all...]
H A Ddvb_dummy_fe.c18 struct dvb_frontend frontend; member
122 memcpy(&state->frontend.ops, in dvb_dummy_fe_ofdm_attach()
126 state->frontend.demodulator_priv = state; in dvb_dummy_fe_ofdm_attach()
127 return &state->frontend; in dvb_dummy_fe_ofdm_attach()
143 memcpy(&state->frontend.ops, in dvb_dummy_fe_qpsk_attach()
147 state->frontend.demodulator_priv = state; in dvb_dummy_fe_qpsk_attach()
148 return &state->frontend; in dvb_dummy_fe_qpsk_attach()
164 memcpy(&state->frontend.ops, in dvb_dummy_fe_qam_attach()
168 state->frontend.demodulator_priv = state; in dvb_dummy_fe_qam_attach()
169 return &state->frontend; in dvb_dummy_fe_qam_attach()
[all...]
/linux/drivers/media/pci/saa7164/
H A Dsaa7164-dvb.c290 if (!demux->dmx.frontend) in saa7164_dvb_start_feed()
393 /* register frontend */ in dvb_register()
394 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); in dvb_register()
463 dvb_unregister_frontend(dvb->frontend); in dvb_register()
465 dvb_frontend_detach(dvb->frontend); in dvb_register()
492 if (dvb->frontend == NULL) in saa7164_dvb_unregister()
514 dvb_unregister_frontend(dvb->frontend); in saa7164_dvb_unregister()
515 dvb_frontend_detach(dvb->frontend); in saa7164_dvb_unregister()
538 /* init frontend */ in saa7164_dvb_register()
548 port->dvb.frontend in saa7164_dvb_register()
[all...]
/linux/crypto/
H A Dinternal.h128 const struct crypto_type *frontend, int node);
129 void *crypto_clone_tfm(const struct crypto_type *frontend,
133 const struct crypto_type *frontend) in crypto_create_tfm() argument
135 return crypto_create_tfm_node(alg, frontend, NUMA_NO_NODE); in crypto_create_tfm()
139 const struct crypto_type *frontend,
143 const struct crypto_type *frontend, u32 type, u32 mask,
147 const struct crypto_type *frontend, u32 type, u32 mask) in crypto_alloc_tfm() argument
149 return crypto_alloc_tfm_node(alg_name, frontend, type, mask, NUMA_NO_NODE); in crypto_alloc_tfm()
156 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend,
H A Dapi.c503 const struct crypto_type *frontend, int node, in crypto_alloc_tfmmem() argument
511 tfmsize = frontend->tfmsize; in crypto_alloc_tfmmem()
512 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_alloc_tfmmem()
527 const struct crypto_type *frontend, in crypto_create_tfm_node() argument
534 mem = crypto_alloc_tfmmem(alg, frontend, node, GFP_KERNEL); in crypto_create_tfm_node()
538 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize); in crypto_create_tfm_node()
541 err = frontend->init_tfm(tfm); in crypto_create_tfm_node()
562 void *crypto_clone_tfm(const struct crypto_type *frontend, in crypto_clone_tfm() argument
573 mem = crypto_alloc_tfmmem(alg, frontend, otfm->node, GFP_ATOMIC); in crypto_clone_tfm()
579 tfm = (struct crypto_tfm *)(mem + frontend in crypto_clone_tfm()
589 crypto_find_alg(const char * alg_name,const struct crypto_type * frontend,u32 type,u32 mask) crypto_find_alg() argument
627 crypto_alloc_tfm_node(const char * alg_name,const struct crypto_type * frontend,u32 type,u32 mask,int node) crypto_alloc_tfm_node() argument
[all...]
/linux/Documentation/userspace-api/media/dvb/
H A Dquery-dvb-frontend-info.rst3 .. _query-dvb-frontend-info:
6 Querying frontend information
9 Usually, the first thing to do when the frontend is opened is to check
10 the frontend capabilities. This is done using
12 Digital TV API version and other characteristics about the frontend, and can
H A Dfe-get-info.rst13 FE_GET_INFO - Query Digital TV frontend capabilities and returns information
35 All Digital TV frontend devices support the :ref:`FE_GET_INFO` ioctl. It is
42 frontend capabilities
45 Capabilities describe what a frontend can do. Some capabilities are
46 supported only on some specific frontend types.
48 The frontend capabilities are described at :c:type:`fe_caps`.
H A Ddvbproperty.rst26 to setup the frontend and read its status.
31 This section describes the new and recommended way to set the frontend,
36 1. On Linux DVB API version 3, setting a frontend was done via
45 the multiple delivery systems supported by a frontend.
73 :caption: Example: Setting digital TV frontend properties
79 #include <linux/dvb/frontend.h>
122 frontend-stat-properties
123 frontend-property-terrestrial-systems
124 frontend-property-cable-systems
125 frontend
[all...]
H A Dfe-get-property.rst13 FE_SET_PROPERTY - FE_GET_PROPERTY - FE_SET_PROPERTY sets one or more frontend properties. - FE_GET_PROPERTY returns one or more frontend properties.
38 All Digital TV frontend devices support the ``FE_SET_PROPERTY`` and
44 - This ioctl is used to set one or more frontend properties.
46 - This is the basic command to request the frontend to tune into
60 frontend.
H A Dfrontend.rst9 The Digital TV frontend API was designed to support three groups of delivery
20 The Digital TV frontend controls several sub-devices including:
30 The frontend can be accessed through ``/dev/dvb/adapter?/frontend?``.
32 ``linux/dvb/frontend.h`` in your application.
53 query-dvb-frontend-info
H A Dfrontend_legacy_api.rst14 dvb-frontend-parameters
15 dvb-frontend-event
35 fe-set-frontend
36 fe-get-frontend
H A Ddvb-fe-read-status.rst6 Querying frontend status and statistics
10 frontend will run a kernel thread that will periodically check for the
14 The information about the frontend tuner locking status can be queried
24 :ref:`Frontend statistics indicators <frontend-stat-properties>` for
H A Dfrontend-stat-properties.rst39 frontend, but it was not possible to collect it (could be a
69 - ``FE_SCALE_RELATIVE`` - The frontend provides a 0% to 100%
87 - ``FE_SCALE_RELATIVE`` - The frontend provides a 0% to 100%
107 This measurement is monotonically increased, as the frontend gets more
108 bit count measurements. The frontend may reset it when a
131 amount of bits on the transport stream, as the frontend may need to
135 This measurement is monotonically increased, as the frontend gets more
136 bit count measurements. The frontend may reset it when a
164 This measurement is monotonically increased, as the frontend gets more
165 bit count measurements. The frontend ma
[all...]
/linux/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-common.c210 if (tsin->frontend) { in c8sectpfe_tuner_unregister_frontend()
211 dvb_unregister_frontend(tsin->frontend); in c8sectpfe_tuner_unregister_frontend()
212 dvb_frontend_detach(tsin->frontend); in c8sectpfe_tuner_unregister_frontend()
233 struct dvb_frontend *frontend; in c8sectpfe_tuner_register_frontend() local
243 res = c8sectpfe_frontend_attach(&frontend, *c8sectpfe, tsin, n); in c8sectpfe_tuner_register_frontend()
247 res = dvb_register_frontend(&c8sectpfe[0]->adapter, frontend); in c8sectpfe_tuner_register_frontend()
254 tsin->frontend = frontend; in c8sectpfe_tuner_register_frontend()
/linux/Documentation/gpu/
H A Dxen-front.rst2 drm/xen-front Xen para-virtualized frontend driver
5 This frontend driver implements Xen para-virtualized display
15 Buffers allocated by the frontend driver
19 :doc: Buffers allocated by the frontend driver
/linux/drivers/media/usb/ttusb-dec/
H A Dttusbdecfe.c20 struct dvb_frontend frontend; member
209 memcpy(&state->frontend.ops, &ttusbdecfe_dvbt_ops, sizeof(struct dvb_frontend_ops)); in ttusbdecfe_dvbt_attach()
210 state->frontend.demodulator_priv = state; in ttusbdecfe_dvbt_attach()
211 return &state->frontend; in ttusbdecfe_dvbt_attach()
231 memcpy(&state->frontend.ops, &ttusbdecfe_dvbs_ops, sizeof(struct dvb_frontend_ops)); in ttusbdecfe_dvbs_attach()
232 state->frontend.demodulator_priv = state; in ttusbdecfe_dvbs_attach()
233 return &state->frontend; in ttusbdecfe_dvbs_attach()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dvb.c42 if (!demux->dmx.frontend) in vb2_dvb_start_feed()
107 /* register frontend */ in vb2_dvb_register_frontend()
108 result = dvb_register_frontend(adapter, dvb->frontend); in vb2_dvb_register_frontend()
183 dvb_unregister_frontend(dvb->frontend); in vb2_dvb_register_frontend()
185 dvb_frontend_detach(dvb->frontend); in vb2_dvb_register_frontend()
186 dvb->frontend = NULL; in vb2_dvb_register_frontend()
285 if (fe->dvb.frontend == p) { in vb2_dvb_find_frontend()
332 dvb_unregister_frontend(fe->dvb.frontend); in vb2_dvb_dealloc_frontends()
334 if (fe->dvb.frontend) in vb2_dvb_dealloc_frontends()
336 dvb_frontend_detach(fe->dvb.frontend); in vb2_dvb_dealloc_frontends()
[all...]
/linux/drivers/media/pci/ddbridge/
H A Dddbridge-dummy-fe.c17 struct dvb_frontend frontend; member
108 memcpy(&state->frontend.ops, in ddbridge_dummy_fe_qam_attach()
112 state->frontend.demodulator_priv = state; in ddbridge_dummy_fe_qam_attach()
113 return &state->frontend; in ddbridge_dummy_fe_qam_attach()

123456789