Searched refs:npads (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/media/dvb-core/ |
H A D | dvbdev.c | 187 int ret = 0, npads; dvb_register_media_device() local 204 npads = 2; dvb_register_media_device() 207 npads = 0; dvb_register_media_device() 210 npads = 1; dvb_register_media_device() 213 if (npads) { dvb_register_media_device() 214 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), dvb_register_media_device() 251 if (npads) dvb_register_media_device() 252 ret = media_entity_init(dvbdev->entity, npads, dvbdev->pads, 0); dvb_register_media_device()
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
H A D | xilinx-tpg.c | 77 * @npads: number of pads (1 or 2) 95 unsigned int npads; member in struct:xtpg_device 143 if (xtpg->npads == 1 || !xtpg->has_input) __xtpg_update_pattern_control() 294 if (xtpg->npads == 2 && fmt->pad == 1) { xtpg_set_format() 311 if (xtpg->npads == 2) { xtpg_set_format() 360 if (xtpg->npads == 2) { xtpg_open() 761 xtpg->npads = nports; 808 if (xtpg->npads == 2) { xtpg_probe() 826 if (xtpg->npads == 2) xtpg_probe() 839 ret = media_entity_init(&subdev->entity, xtpg->npads, xtpg->pads, 0); xtpg_probe()
|
/linux-4.1.27/drivers/media/i2c/smiapp/ |
H A D | smiapp.h | 171 int npads; member in struct:smiapp_subdev
|
H A D | smiapp-core.c | 2491 this->npads, this->pads, 0); smiapp_register_subdevs() 2725 this->npads = 1; smiapp_init() 2727 this->npads = 2; smiapp_init() 2842 for (i = 0; i < ssd->npads; i++) { smiapp_open()
|
Completed in 171 milliseconds