Home
last modified time | relevance | path

Searched refs:devtype (Results 1 – 25 of 35) sorted by relevance

12

/drivers/staging/imx-drm/ipu-v3/
Dipu-common.c748 const struct ipu_devtype *devtype = ipu->devtype; in ipu_submodules_init() local
750 ret = ipu_di_init(ipu, dev, 0, ipu_base + devtype->disp0_ofs, in ipu_submodules_init()
757 ret = ipu_di_init(ipu, dev, 1, ipu_base + devtype->disp1_ofs, in ipu_submodules_init()
764 ret = ipu_dc_init(ipu, dev, ipu_base + devtype->cm_ofs + in ipu_submodules_init()
765 IPU_CM_DC_REG_OFS, ipu_base + devtype->dc_tmpl_ofs); in ipu_submodules_init()
772 devtype->cm_ofs + IPU_CM_DMFC_REG_OFS, ipu_clk); in ipu_submodules_init()
778 ret = ipu_dp_init(ipu, dev, ipu_base + devtype->srm_ofs); in ipu_submodules_init()
1026 const struct ipu_devtype *devtype; in ipu_probe() local
1028 devtype = of_id->data; in ipu_probe()
1048 ipu->devtype = devtype; in ipu_probe()
[all …]
Dipu-prv.h158 const struct ipu_devtype *devtype; member
/drivers/media/platform/
Dcoda.c125 const struct coda_devtype *devtype; member
303 struct coda_fmt *formats = dev->devtype->formats; in find_format()
304 int num_formats = dev->devtype->num_formats; in find_format()
344 struct coda_fmt *formats = dev->devtype->formats; in enum_fmt()
346 int num_formats = dev->devtype->num_formats; in enum_fmt()
742 if (dev->devtype->product == CODA_7541) { in coda_device_run()
820 ctx->q_data[V4L2_M2M_SRC].fmt = &dev->devtype->formats[0]; in set_default_params()
821 ctx->q_data[V4L2_M2M_DST].fmt = &dev->devtype->formats[1]; in set_default_params()
922 if (fourcc == V4L2_PIX_FMT_H264 && dev->devtype->product != CODA_DX6) in coda_alloc_framebuffers()
936 if (dev->devtype->product == CODA_DX6) { in coda_alloc_framebuffers()
[all …]
/drivers/spi/
Dspi-imx.c80 enum spi_imx_devtype devtype; member
106 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi()
111 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi()
116 return (d->devtype_data->devtype == IMX51_ECSPI) ? 64 : 8; in spi_imx_get_fifosize()
540 .devtype = IMX1_CSPI,
549 .devtype = IMX21_CSPI,
559 .devtype = IMX27_CSPI,
568 .devtype = IMX31_CSPI,
578 .devtype = IMX35_CSPI,
587 .devtype = IMX51_ECSPI,
/drivers/mmc/host/
Dsdhci-esdhc-imx.c82 enum imx_esdhc_type devtype; member
130 return data->devtype == IMX25_ESDHC; in is_imx25_esdhc()
135 return data->devtype == IMX35_ESDHC; in is_imx35_esdhc()
140 return data->devtype == IMX51_ESDHC; in is_imx51_esdhc()
145 return data->devtype == IMX53_ESDHC; in is_imx53_esdhc()
150 return data->devtype == IMX6Q_USDHC; in is_imx6q_usdhc()
520 imx_data->devtype = pdev->id_entry->driver_data; in sdhci_esdhc_imx_probe()
Dmxcmmc.c165 enum mxcmci_type devtype; member
202 return host->devtype == IMX31_MMC; in is_imx31_mmc()
207 return host->devtype == MPC512X_MMC; in is_mpc512x_mmc()
1094 host->devtype = id_entry->driver_data; in mxcmci_probe()
1096 host->devtype = pdev->id_entry->driver_data; in mxcmci_probe()
/drivers/media/i2c/
Dov7670.c250 const struct ov7670_devtype *devtype; /* Device specifics */ member
933 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_try_fmt_internal()
957 wsize = info->devtype->win_sizes + i; in ov7670_try_fmt_internal()
969 for (wsize = info->devtype->win_sizes; in ov7670_try_fmt_internal()
970 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++) in ov7670_try_fmt_internal()
973 if (wsize >= info->devtype->win_sizes + win_sizes_limit) in ov7670_try_fmt_internal()
1057 info->devtype->get_framerate(sd, &cp->timeperframe); in ov7670_g_parm()
1073 return info->devtype->set_framerate(sd, tpf); in ov7670_s_parm()
1106 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_enum_framesizes()
1113 struct ov7670_win_size *win = &info->devtype->win_sizes[index]; in ov7670_enum_framesizes()
[all …]
/drivers/staging/line6/
Ddriver.c612 int devtype; in line6_probe() local
635 for (devtype = ARRAY_SIZE(line6_id_table) - 1; devtype--;) { in line6_probe()
639 if (idVendor == line6_id_table[devtype].idVendor && in line6_probe()
640 idProduct == line6_id_table[devtype].idProduct) in line6_probe()
644 if (devtype < 0) { in line6_probe()
650 properties = &line6_properties_table[devtype]; in line6_probe()
/drivers/mtd/devices/
Dlart.c306 __u32 manufacturer,devtype; in flash_probe() local
314 devtype = FLASH_TO_DATA (read32 (ADDR_TO_FLASH_U2 (0x00000001))); in flash_probe()
319 …return (manufacturer == FLASH_MANUFACTURER && (devtype == FLASH_DEVICE_16mbit_TOP || devtype == FL… in flash_probe()
/drivers/block/
Dcciss_scsi.c437 sd->devtype = device->devtype; in cciss_scsi_add_entry()
446 scsi_device_type(sd->devtype), hostno, in cciss_scsi_add_entry()
469 scsi_device_type(sd.devtype), hostno, in cciss_scsi_remove_entry()
507 return dev1->devtype == dev2->devtype && in device_is_the_same()
589 csd->devtype = sd[j].devtype; in adjust_cciss_scsi_table()
1222 this_device->devtype = (inq_buff[0] & 0x1f); in cciss_update_non_disk_devices()
1238 switch (this_device->devtype) in cciss_update_non_disk_devices()
1263 scsi_device_type(this_device->devtype)); in cciss_update_non_disk_devices()
1344 sd->devtype, in cciss_scsi_show_info()
Dcciss_scsi.h62 int devtype; member
/drivers/block/paride/
Dparide.h42 int devtype; /* device type: PI_PD etc. */ member
69 int devtype, /* device type: PI_PD, PI_PCD, etc ... */
Dparide.c349 int devtype, int verbose, char *device) in pi_init() argument
388 pi->devtype = devtype; in pi_init()
/drivers/rtc/
Drtc-mxc.c84 enum imx_rtc_type devtype; member
102 return data->devtype == IMX1_RTC; in is_imx1_rtc()
388 pdata->devtype = pdev->id_entry->driver_data; in mxc_rtc_probe()
/drivers/scsi/
Datp870u.h53 unsigned char devtype; member
Datp870u.c1454 dev->id[0][i].devtype = mbuf[0]; in is870()
1616 …if ((dev->id[0][i].devtype == 0x00) || (dev->id[0][i].devtype == 0x07) || ((dev->id[0][i].devtype in is870()
1973 dev->id[0][i].devtype = mbuf[0]; in is880()
2291 …if ((dev->id[0][i].devtype == 0x00) || (dev->id[0][i].devtype == 0x07) || ((dev->id[0][i].devtype in is880()
2539 atp_dev->id[c][k].devtype = 0x7f; in atp870u_init_tables()
3369 dev->id[c][i].devtype = mbuf[0]; in is885()
3680 if ((dev->id[c][i].devtype == 0x00) || (dev->id[c][i].devtype == 0x07) || in is885()
3681 ((dev->id[c][i].devtype == 0x05) && ((n & 0x10) != 0))) { in is885()
Dhpsa.h41 int devtype; member
/drivers/media/pci/cx18/
Dcx18-driver.c900 u32 devtype; in cx18_probe() local
965 devtype = cx18_read_reg(cx, 0xC72028); in cx18_probe()
966 switch (devtype & 0xff000000) { in cx18_probe()
968 CX18_INFO("cx23418 revision %08x (A)\n", devtype); in cx18_probe()
971 CX18_INFO("cx23418 revision %08x (B)\n", devtype); in cx18_probe()
974 CX18_INFO("cx23418 revision %08x (Unknown)\n", devtype); in cx18_probe()
/drivers/i2c/busses/
Di2c-imx.c130 enum imx_i2c_type devtype; member
154 return i2c_imx->devtype == IMX1_I2C; in is_imx1_i2c()
527 i2c_imx->devtype = pdev->id_entry->driver_data; in i2c_imx_probe()
/drivers/dma/
Dimx-dma.c186 enum imx_dma_type devtype; member
207 return imxdma->devtype == IMX1_DMA; in is_imx1_dma()
212 return imxdma->devtype == IMX21_DMA; in is_imx21_dma()
217 return imxdma->devtype == IMX27_DMA; in is_imx27_dma()
1010 imxdma->devtype = pdev->id_entry->driver_data; in imxdma_probe()
Dimx-sdma.c320 enum sdma_devtype devtype; member
358 u32 chnenbl0 = (sdma->devtype == IMX31_SDMA ? SDMA_CHNENBL0_IMX31 : in chnenbl_ofs()
1220 switch (sdma->devtype) { in sdma_init()
1229 sdma->devtype); in sdma_init()
1371 sdma->devtype = pdev->id_entry->driver_data; in sdma_probe()
/drivers/edac/
Dmv64x60_edac.c666 u32 devtype; in mv64x60_init_csrows() local
681 devtype = (ctl >> 20) & 0x3; in mv64x60_init_csrows()
682 switch (devtype) { in mv64x60_init_csrows()
/drivers/tty/serial/
Dimx.c195 enum imx_uart_type devtype; member
228 .devtype = IMX1_UART,
232 .devtype = IMX21_UART,
263 return sport->devdata->devtype == IMX1_UART; in is_imx1_uart()
268 return sport->devdata->devtype == IMX21_UART; in is_imx21_uart()
Dmxs-auart.c143 enum mxs_auart_type devtype; member
180 return s->devtype == IMX28_AUART; in is_imx28_auart()
1040 s->devtype = pdev->id_entry->driver_data; in mxs_auart_probe()
/drivers/video/
Dimxfb.c141 enum imxfb_type devtype; member
192 return fbi->devtype == IMX1_FB; in is_imx1_fb()
742 fbi->devtype = pdev->id_entry->driver_data; in imxfb_init_fbinfo()

12