| /kernel/linux/linux-4.19/drivers/gpu/drm/sun4i/ |
| D | sun4i_frontend.c | 51 static void sun4i_frontend_scaler_init(struct sun4i_frontend *frontend) in sun4i_frontend_scaler_init() argument 56 regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_HORZCOEF0_REG(i), in sun4i_frontend_scaler_init() 58 regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_HORZCOEF0_REG(i), in sun4i_frontend_scaler_init() 60 regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_HORZCOEF1_REG(i), in sun4i_frontend_scaler_init() 62 regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_HORZCOEF1_REG(i), in sun4i_frontend_scaler_init() 64 regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_VERTCOEF_REG(i), in sun4i_frontend_scaler_init() 66 regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_VERTCOEF_REG(i), in sun4i_frontend_scaler_init() 70 regmap_update_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG, in sun4i_frontend_scaler_init() 75 int sun4i_frontend_init(struct sun4i_frontend *frontend) in sun4i_frontend_init() argument 77 return pm_runtime_get_sync(frontend->dev); in sun4i_frontend_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
| D | sun4i_frontend.c | 79 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->data->has_coef_rdy) in sun4i_frontend_scaler_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
| D | cx88-dvb.c | 171 pr_err("%s() No frontend found\n", __func__); in cx88_dvb_bus_ctrl() 209 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx88_dvb_gate_ctrl() 210 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx88_dvb_gate_ctrl() 613 /* Get the first frontend */ in attach_xc3028() 618 if (!fe0->dvb.frontend) { in attach_xc3028() 619 pr_err("dvb frontend not attached. Can't attach xc3028\n"); in attach_xc3028() 630 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); in attach_xc3028() 633 dvb_frontend_detach(fe0->dvb.frontend); in attach_xc3028() 634 dvb_unregister_frontend(fe0->dvb.frontend); in attach_xc3028() 635 fe0->dvb.frontend = NULL; in attach_xc3028() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/cx88/ |
| D | cx88-dvb.c | 180 pr_err("%s() No frontend found\n", __func__); in cx88_dvb_bus_ctrl() 218 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx88_dvb_gate_ctrl() 219 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx88_dvb_gate_ctrl() 622 /* Get the first frontend */ in attach_xc3028() 627 if (!fe0->dvb.frontend) { in attach_xc3028() 628 pr_err("dvb frontend not attached. Can't attach xc3028\n"); in attach_xc3028() 639 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); in attach_xc3028() 642 dvb_frontend_detach(fe0->dvb.frontend); in attach_xc3028() 643 dvb_unregister_frontend(fe0->dvb.frontend); in attach_xc3028() 644 fe0->dvb.frontend = NULL; in attach_xc3028() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | Kconfig | 5 comment "DVB Frontend drivers auto-selected by 'Autoselect ancillary drivers'" 78 Say Y when you want to support this frontend. 90 Say Y when you want to support this frontend. 109 Say Y when you want to support this frontend. 117 Say Y when you want to support this frontend. 125 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 tuner module. Say Y when you want to support this frontend. 149 A DVB-S tuner module. Say Y when you want to support this frontend. 156 A DVB-S tuner module. Say Y when you want to support this frontend. [all …]
|
| /kernel/linux/linux-4.19/drivers/media/dvb-frontends/ |
| D | Kconfig | 71 Say Y when you want to support this frontend. 83 Say Y when you want to support this frontend. 102 Say Y when you want to support this frontend. 110 Say Y when you want to support this frontend. 118 Say Y when you want to support this frontend. 128 A DVB-S tuner module. 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 tuner module. Say Y when you want to support this frontend. 149 A DVB-S tuner module. Say Y when you want to support this frontend. 156 A DVB-S tuner module. Say Y when you want to support this frontend. [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
| D | cx23885-dvb.c | 146 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx23885_dvb_gate_ctrl() 147 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx23885_dvb_gate_ctrl() 631 /* call the frontend set_voltage function */ in dvbsky_t9580_set_voltage() 659 /* call the frontend set_voltage function */ in dvbsky_s952_portc_set_voltage() 1209 /* Get the first frontend */ in dvb_register() 1217 /* multi-frontend gate control is undefined or defaults to fe0 */ in dvb_register() 1223 /* init frontend */ in dvb_register() 1227 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register() 1230 if (fe0->dvb.frontend == NULL) in dvb_register() 1232 dvb_attach(mt2131_attach, fe0->dvb.frontend, in dvb_register() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/cx23885/ |
| D | cx23885-dvb.c | 156 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx23885_dvb_gate_ctrl() 157 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx23885_dvb_gate_ctrl() 641 /* call the frontend set_voltage function */ in dvbsky_t9580_set_voltage() 669 /* call the frontend set_voltage function */ in dvbsky_s952_portc_set_voltage() 1219 /* Get the first frontend */ in dvb_register() 1227 /* multi-frontend gate control is undefined or defaults to fe0 */ in dvb_register() 1233 /* init frontend */ in dvb_register() 1237 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register() 1240 if (fe0->dvb.frontend == NULL) in dvb_register() 1242 dvb_attach(mt2131_attach, fe0->dvb.frontend, in dvb_register() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
| D | cx231xx-dvb.c | 51 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[0], ¶ms); in cx231xx_set_analog_freq() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
| D | saa7134-dvb.c | 588 /* Get the first frontend */ in configure_tda827x_fe() 594 fe0->dvb.frontend = dvb_attach(tda10046_attach, cdec_conf, &dev->i2c_adap); in configure_tda827x_fe() 595 if (fe0->dvb.frontend) { in configure_tda827x_fe() 597 fe0->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; in configure_tda827x_fe() 598 if (dvb_attach(tda827x_attach, fe0->dvb.frontend, in configure_tda827x_fe() 1204 /* FIXME: add support for multi-frontend */ in dvb_init() 1208 pr_info("%s() allocating 1 frontend\n", __func__); in dvb_init() 1238 fe0->dvb.frontend = dvb_attach(mt352_attach, &pinnacle_300i, in dvb_init() 1240 if (fe0->dvb.frontend) { in dvb_init() 1241 fe0->dvb.frontend->ops.tuner_ops.set_params = mt352_pinnacle_tuner_set_params; in dvb_init() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/saa7134/ |
| D | saa7134-dvb.c | 597 /* Get the first frontend */ in configure_tda827x_fe() 603 fe0->dvb.frontend = dvb_attach(tda10046_attach, cdec_conf, &dev->i2c_adap); in configure_tda827x_fe() 604 if (fe0->dvb.frontend) { in configure_tda827x_fe() 606 fe0->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; in configure_tda827x_fe() 607 if (dvb_attach(tda827x_attach, fe0->dvb.frontend, in configure_tda827x_fe() 1213 /* FIXME: add support for multi-frontend */ in dvb_init() 1217 pr_info("%s() allocating 1 frontend\n", __func__); in dvb_init() 1247 fe0->dvb.frontend = dvb_attach(mt352_attach, &pinnacle_300i, in dvb_init() 1249 if (fe0->dvb.frontend) { in dvb_init() 1250 fe0->dvb.frontend->ops.tuner_ops.set_params = mt352_pinnacle_tuner_set_params; in dvb_init() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/cx231xx/ |
| D | cx231xx-dvb.c | 63 struct dvb_frontend *frontend[CX231XX_DVB_MAX_FRONTENDS]; member 325 if (!demux->dmx.frontend) in start_feed() 392 if (!dev->dvb->frontend[0]) { 393 dev_err(dev->dev, "%s/2: dvb frontend not attached. Can't attach xc5000\n", 398 fe = dvb_attach(xc5000_attach, dev->dvb->frontend[0], &cfg); 401 dvb_frontend_detach(dev->dvb->frontend[0]); 402 dev->dvb->frontend[0] = NULL; 414 if (dev->dvb && dev->dvb->frontend[0]) { in cx231xx_set_analog_freq() 416 struct dvb_tuner_ops *dops = &dev->dvb->frontend[0]->ops.tuner_ops; in cx231xx_set_analog_freq() 427 dops->set_analog_params(dev->dvb->frontend[0], ¶ms); in cx231xx_set_analog_freq() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| D | allwinner,sun4i-a10-display-frontend.yaml | 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-frontend.yaml# 7 title: Allwinner A10 Display Engine Frontend Device Tree Bindings 14 The display engine frontend does formats conversion, scaling, 20 - allwinner,sun4i-a10-display-frontend 21 - allwinner,sun5i-a13-display-frontend 22 - allwinner,sun6i-a31-display-frontend 23 - allwinner,sun7i-a20-display-frontend 24 - allwinner,sun8i-a23-display-frontend 25 - allwinner,sun8i-a33-display-frontend 26 - allwinner,sun9i-a80-display-frontend [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/au0828/ |
| D | au0828-dvb.c | 282 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 …]
|
| /kernel/linux/linux-5.10/include/media/ |
| D | dvb_frontend.h | 4 * The Digital TV Frontend kABI defines a driver-internal interface for 6 * frontend layer. 46 #include <linux/dvb/frontend.h> 51 * Maximum number of Delivery systems per frontend. It 56 /* Helper definitions to be used at frontend drivers */ 61 * struct dvb_frontend_tune_settings - parameters to adjust frontend tuning 78 * struct dvb_tuner_info - Frontend name and min/max ranges/bandwidths 80 * @name: name of the Frontend 84 * @bandwidth_min: minimal frontend bandwidth supported 85 * @bandwidth_max: maximum frontend bandwidth supported [all …]
|
| /kernel/linux/linux-4.19/include/media/ |
| D | dvb_frontend.h | 4 * The Digital TV Frontend kABI defines a driver-internal interface for 6 * frontend layer. 45 #include <linux/dvb/frontend.h> 50 * Maximum number of Delivery systems per frontend. It 55 /* Helper definitions to be used at frontend drivers */ 60 * struct dvb_frontend_tune_settings - parameters to adjust frontend tuning 77 * struct dvb_tuner_info - Frontend name and min/max ranges/bandwidths 79 * @name: name of the Frontend 83 * @bandwidth_min: minimal frontend bandwidth supported 84 * @bandwidth_max: maximum frontend bandwidth supported [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/au0828/ |
| D | au0828-dvb.c | 292 if (!demux->dmx.frontend) in au0828_dvb_start_feed() 295 if (dvb->frontend) { in au0828_dvb_start_feed() 324 if (dvb->frontend) { in au0828_dvb_stop_feed() 445 /* register frontend */ in dvb_register() 446 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); in dvb_register() 453 /* Hook dvb frontend */ in dvb_register() 454 dvb->set_frontend = dvb->frontend->ops.set_frontend; in dvb_register() 455 dvb->frontend->ops.set_frontend = au0828_set_frontend; in dvb_register() 526 dvb_unregister_frontend(dvb->frontend); in dvb_register() 528 dvb_frontend_detach(dvb->frontend); in dvb_register() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/tm6000/ |
| D | tm6000-dvb.c | 238 dvb->frontend = dvb_attach(zl10353_attach, &config, in tm6000_dvb_attach_frontend() 241 printk(KERN_ERR "tm6000: no frontend defined for the device!\n"); in tm6000_dvb_attach_frontend() 245 return (!dvb->frontend) ? -1 : 0; in tm6000_dvb_attach_frontend() 259 /* attach the frontend */ in register_dvb() 262 printk(KERN_ERR "tm6000: couldn't attach the frontend!\n"); in register_dvb() 275 if (dvb->frontend) { in register_dvb() 283 dvb->frontend->callback = tm6000_tuner_callback; in register_dvb() 284 ret = dvb_register_frontend(&dvb->adapter, dvb->frontend); in register_dvb() 287 "tm6000: couldn't register frontend\n"); in register_dvb() 291 if (!dvb_attach(xc2028_attach, dvb->frontend, &cfg)) { in register_dvb() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/tm6000/ |
| D | tm6000-dvb.c | 242 dvb->frontend = dvb_attach(zl10353_attach, &config, in tm6000_dvb_attach_frontend() 245 printk(KERN_ERR "tm6000: no frontend defined for the device!\n"); in tm6000_dvb_attach_frontend() 249 return (!dvb->frontend) ? -1 : 0; in tm6000_dvb_attach_frontend() 263 /* attach the frontend */ in register_dvb() 266 printk(KERN_ERR "tm6000: couldn't attach the frontend!\n"); in register_dvb() 279 if (dvb->frontend) { in register_dvb() 287 dvb->frontend->callback = tm6000_tuner_callback; in register_dvb() 288 ret = dvb_register_frontend(&dvb->adapter, dvb->frontend); in register_dvb() 291 "tm6000: couldn't register frontend\n"); in register_dvb() 295 if (!dvb_attach(xc2028_attach, dvb->frontend, &cfg)) { in register_dvb() [all …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/dvb/ |
| D | dvbproperty.rst | 26 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> 107 printf("Frontend set\\n"); 122 frontend-stat-properties 123 frontend-property-terrestrial-systems 124 frontend-property-cable-systems [all …]
|
| D | frontend-stat-properties.rst | 6 Frontend statistics indicators 39 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 [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
| D | dvbproperty.rst | 26 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> 107 printf("Frontend set\\n"); 122 frontend-stat-properties 123 frontend-property-terrestrial-systems 124 frontend-property-cable-systems [all …]
|
| D | frontend-stat-properties.rst | 6 Frontend statistics indicators 39 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 [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/saa7164/ |
| D | saa7164-dvb.c | 290 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 = dvb_attach(tda10048_attach, in saa7164_dvb_register() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/saa7164/ |
| D | saa7164-dvb.c | 300 if (!demux->dmx.frontend) in saa7164_dvb_start_feed() 404 /* register frontend */ in dvb_register() 405 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); in dvb_register() 474 dvb_unregister_frontend(dvb->frontend); in dvb_register() 476 dvb_frontend_detach(dvb->frontend); in dvb_register() 504 if (dvb->frontend == NULL) in saa7164_dvb_unregister() 526 dvb_unregister_frontend(dvb->frontend); in saa7164_dvb_unregister() 527 dvb_frontend_detach(dvb->frontend); in saa7164_dvb_unregister() 550 /* init frontend */ in saa7164_dvb_register() 560 port->dvb.frontend = dvb_attach(tda10048_attach, in saa7164_dvb_register() [all …]
|