Home
last modified time | relevance | path

Searched refs:input_cnt (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/staging/media/atomisp/pci/
Datomisp_v4l2.c907 for (i = 0; i < isp->input_cnt; i++) { in atomisp_csi_lane_config()
1048 raw_index = isp->input_cnt; in atomisp_subdev_probe()
1051 dev_dbg(isp->dev, "SOC_INDEX: %d\n", isp->input_cnt); in atomisp_subdev_probe()
1052 if (isp->input_cnt >= ATOM_ISP_MAX_INPUTS) { in atomisp_subdev_probe()
1058 isp->inputs[isp->input_cnt].type = subdevs->type; in atomisp_subdev_probe()
1059 isp->inputs[isp->input_cnt].port = subdevs->port; in atomisp_subdev_probe()
1060 isp->inputs[isp->input_cnt].camera = subdev; in atomisp_subdev_probe()
1061 isp->inputs[isp->input_cnt].sensor_index = 0; in atomisp_subdev_probe()
1067 isp->inputs[isp->input_cnt].frame_size.pixel_format = 0; in atomisp_subdev_probe()
1068 isp->input_cnt++; in atomisp_subdev_probe()
[all …]
Datomisp_internal.h240 unsigned int input_cnt; member
Datomisp_fops.c591 for (i = 0; i < isp->input_cnt; i++) in atomisp_dev_init_struct()
693 if (!isp->input_cnt) { in atomisp_open()
Datomisp_ioctl.c592 if (index >= isp->input_cnt) in atomisp_enum_input()
681 if (input >= ATOM_ISP_MAX_INPUTS || input >= isp->input_cnt) { in atomisp_s_input()
682 dev_dbg(isp->dev, "input_cnt: %d\n", isp->input_cnt); in atomisp_s_input()
Datomisp_subdev.c1208 for (i = 0; i < isp->input_cnt; i++) { in atomisp_create_pads_links()
/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c48 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 …]
/linux-6.1.9/drivers/spi/
Dspi-qup.c733 void __iomem *input_cnt; in spi_qup_io_config() local
735 input_cnt = controller->base + QUP_MX_INPUT_CNT; in spi_qup_io_config()
743 writel_relaxed(0, input_cnt); in spi_qup_io_config()
745 writel_relaxed(controller->n_words, input_cnt); in spi_qup_io_config()