Searched refs:input_cnt (Results 1 – 6 of 6) sorted by relevance
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 48 unsigned int input_cnt; member 175 if (vi->index >= fh->input_cnt) in pvr2_enum_input() 223 for (idx = 0; idx < fh->input_cnt; idx++) { in pvr2_g_input() 238 if (inp >= fh->input_cnt) in pvr2_s_input() 953 unsigned int input_cnt,idx; in pvr2_v4l2_open() local 1005 input_cnt = 0; in pvr2_v4l2_open() 1007 if (input_mask & (1UL << idx)) input_cnt++; in pvr2_v4l2_open() 1009 fhp->input_cnt = input_cnt; in pvr2_v4l2_open() 1010 fhp->input_map = kzalloc(input_cnt,GFP_KERNEL); in pvr2_v4l2_open() 1020 input_cnt = 0; in pvr2_v4l2_open() [all …]
|
/drivers/staging/media/atomisp/pci/ |
D | atomisp_v4l2.c | 1032 input = &isp->inputs[isp->input_cnt]; in atomisp_register_device_nodes() 1055 isp->input_cnt++; in atomisp_register_device_nodes() 1058 if (!isp->input_cnt) in atomisp_register_device_nodes() 1061 dev_info(isp->dev, "detected %d camera sensors\n", isp->input_cnt); in atomisp_register_device_nodes() 1063 if (isp->input_cnt < ATOM_ISP_MAX_INPUTS) { in atomisp_register_device_nodes() 1064 dev_dbg(isp->dev, "TPG detected, camera_cnt: %d\n", isp->input_cnt); in atomisp_register_device_nodes() 1065 isp->inputs[isp->input_cnt].type = TEST_PATTERN; in atomisp_register_device_nodes() 1066 isp->inputs[isp->input_cnt].port = -1; in atomisp_register_device_nodes() 1067 isp->inputs[isp->input_cnt++].camera = &isp->tpg.sd; in atomisp_register_device_nodes()
|
D | atomisp_internal.h | 209 unsigned int input_cnt; member
|
D | atomisp_fops.c | 452 for (i = 0; i < isp->input_cnt; i++) in atomisp_dev_init_struct() 505 if (!isp->input_cnt) { in atomisp_open()
|
D | atomisp_ioctl.c | 562 if (index >= isp->input_cnt) in atomisp_enum_input() 639 if (input >= ATOM_ISP_MAX_INPUTS || input >= isp->input_cnt) { in atomisp_s_input() 640 dev_dbg(isp->dev, "input_cnt: %d\n", isp->input_cnt); in atomisp_s_input()
|
/drivers/spi/ |
D | spi-qup.c | 732 void __iomem *input_cnt; in spi_qup_io_config() local 734 input_cnt = controller->base + QUP_MX_INPUT_CNT; in spi_qup_io_config() 742 writel_relaxed(0, input_cnt); in spi_qup_io_config() 744 writel_relaxed(controller->n_words, input_cnt); in spi_qup_io_config()
|