Home
last modified time | relevance | path

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

123

/drivers/bus/
A Dimx-weim.c161 value, devtype->cs_regs_count); in weim_timing_setup()
181 if (cs_idx >= devtype->cs_count) in weim_timing_setup()
199 devtype->cs_regs_count * sizeof(u32)); in weim_timing_setup()
215 if (devtype == &imx50_weim_devtype) { in weim_parse_dt()
225 if (devtype->wcr_bcm) { in weim_parse_dt()
226 reg = readl(base + devtype->wcr_offset); in weim_parse_dt()
227 reg |= devtype->wcr_bcm; in weim_parse_dt()
231 if (devtype->wcr_cont_bclk) { in weim_parse_dt()
232 reg |= devtype->wcr_cont_bclk; in weim_parse_dt()
303 const struct imx_weim_devtype *devtype; in of_weim_notify() local
[all …]
/drivers/gpu/drm/imx/dcss/
A Ddcss-dev.c67 const struct dcss_type_data *devtype = dcss->devtype; in dcss_submodules_init() local
71 ret = dcss_blkctl_init(dcss, base_addr + devtype->blkctl_ofs); in dcss_submodules_init()
75 ret = dcss_ctxld_init(dcss, base_addr + devtype->ctxld_ofs); in dcss_submodules_init()
79 ret = dcss_dtg_init(dcss, base_addr + devtype->dtg_ofs); in dcss_submodules_init()
83 ret = dcss_ss_init(dcss, base_addr + devtype->ss_ofs); in dcss_submodules_init()
87 ret = dcss_dpr_init(dcss, base_addr + devtype->dpr_ofs); in dcss_submodules_init()
91 ret = dcss_scaler_init(dcss, base_addr + devtype->scaler_ofs); in dcss_submodules_init()
169 const struct dcss_type_data *devtype; in dcss_dev_create() local
171 devtype = of_device_get_match_data(dev); in dcss_dev_create()
172 if (!devtype) { in dcss_dev_create()
[all …]
/drivers/tty/serial/
A Dmax310x.c345 if (s->devtype->rev_id_val) { in max310x_detect()
370 s->devtype->name, val); in max310x_detect()
383 s->devtype->name); in max310x_detect()
393 max310x_port_update(port, s->devtype->power_reg, s->devtype->power_bit, in max310x_power()
825 if (s->devtype->nr > 1) { in max310x_ist()
1265 for (i = 0; i < devtype->nr; i++) in max310x_probe()
1313 s->devtype = devtype; in max310x_probe()
1413 s->gpio.label = devtype->name; in max310x_probe()
1420 s->gpio.ngpio = devtype->nr * 4; in max310x_probe()
1533 if (!devtype) in max310x_spi_probe()
[all …]
A Dsc16is7xx_i2c.c15 const struct sc16is7xx_devtype *devtype; in sc16is7xx_i2c_probe() local
20 devtype = i2c_get_match_data(i2c); in sc16is7xx_i2c_probe()
21 if (!devtype) in sc16is7xx_i2c_probe()
26 for (i = 0; i < devtype->nr_uart; i++) { in sc16is7xx_i2c_probe()
33 return sc16is7xx_probe(&i2c->dev, devtype, regmaps, i2c->irq); in sc16is7xx_i2c_probe()
A Dsc16is7xx_spi.c19 const struct sc16is7xx_devtype *devtype; in sc16is7xx_spi_probe() local
37 devtype = spi_get_device_match_data(spi); in sc16is7xx_spi_probe()
38 if (!devtype) in sc16is7xx_spi_probe()
43 for (i = 0; i < devtype->nr_uart; i++) { in sc16is7xx_spi_probe()
56 return sc16is7xx_probe(&spi->dev, devtype, regmaps, spi->irq); in sc16is7xx_spi_probe()
A Dsc16is7xx.c343 const struct sc16is7xx_devtype *devtype; member
860 for (i = 0; i < s->devtype->nr_uart; ++i) in sc16is7xx_irq()
1401 if (!s->devtype->nr_gpio) in sc16is7xx_setup_gpio_chip()
1430 s->gpio.ngpio = s->devtype->nr_gpio; in sc16is7xx_setup_gpio_chip()
1455 if (irda_port[i] < s->devtype->nr_uart) in sc16is7xx_setup_irda_ports()
1540 for (i = 0; i < devtype->nr_uart; i++) in sc16is7xx_probe()
1592 s->devtype = devtype; in sc16is7xx_probe()
1609 for (i = 0; i < devtype->nr_uart; ++i) { in sc16is7xx_probe()
1614 for (i = 0; i < devtype->nr_uart; ++i) { in sc16is7xx_probe()
1730 for (i = 0; i < devtype->nr_uart; i++) { in sc16is7xx_probe()
[all …]
A Dfsl_lpuart.c265 enum lpuart_type devtype; member
297 enum lpuart_type devtype; member
304 .devtype = VF610_LPUART,
310 .devtype = LS1021A_LPUART,
316 .devtype = LS1028A_LPUART,
322 .devtype = IMX7ULP_LPUART,
329 .devtype = IMX8ULP_LPUART,
336 .devtype = IMX8QXP_LPUART,
342 .devtype = IMXRT1050_LPUART,
366 sport->devtype == LS1028A_LPUART); in is_layerscape_lpuart()
[all …]
A Dsc16is7xx.h36 int sc16is7xx_probe(struct device *dev, const struct sc16is7xx_devtype *devtype,
/drivers/leds/
A Dleds-mc13783.c38 struct mc13xxx_led_devtype *devtype; member
106 return mc13xxx_reg_rmw(leds->master, leds->devtype->ledctrl_base + reg, in mc13xxx_led_set()
132 leds->devtype->num_regs); in mc13xxx_led_probe_dt()
149 pdata->led[i].id = leds->devtype->led_min + tmp; in mc13xxx_led_probe_dt()
179 struct mc13xxx_led_devtype *devtype = in mc13xxx_led_probe() local
189 leds->devtype = devtype; in mc13xxx_led_probe()
203 (leds->num_leds > (devtype->led_max - devtype->led_min + 1))) { in mc13xxx_led_probe()
213 for (i = 0; i < devtype->num_regs; i++) { in mc13xxx_led_probe()
214 ret = mc13xxx_reg_write(mcdev, leds->devtype->ledctrl_base + i, in mc13xxx_led_probe()
229 if ((id > devtype->led_max) || (id < devtype->led_min)) { in mc13xxx_led_probe()
/drivers/gpu/ipu-v3/
A Dipu-common.c851 const struct ipu_devtype *devtype = ipu->devtype; in ipu_submodules_init() local
874 ipu_base + devtype->ic_ofs, in ipu_submodules_init()
1278 if (!devtype) in ipu_probe()
1309 ipu->devtype = devtype; in ipu_probe()
1310 ipu->ipu_type = devtype->type; in ipu_probe()
1317 ipu_base + devtype->cm_ofs); in ipu_probe()
1323 ipu_base + devtype->csi0_ofs); in ipu_probe()
1327 ipu_base + devtype->ic_ofs); in ipu_probe()
1333 ipu_base + devtype->srm_ofs); in ipu_probe()
1335 ipu_base + devtype->tpm_ofs); in ipu_probe()
[all …]
/drivers/media/platform/chips-media/coda/
A Dcoda-bit.c68 if (dev->devtype->product == CODA_HX4 || in coda_command_async()
69 dev->devtype->product == CODA_7541 || in coda_command_async()
70 dev->devtype->product == CODA_960) { in coda_command_async()
81 if (dev->devtype->product == CODA_960) { in coda_command_async()
139 if (dev->devtype->product == CODA_960) in coda_hw_reset()
605 size = dev->devtype->workbuf_size; in coda_alloc_context_buffers()
809 switch (dev->devtype->product) { in coda_setup_iram()
1105 switch (dev->devtype->product) { in coda_start_encoding()
1136 switch (dev->devtype->product) { in coda_start_encoding()
1297 switch (dev->devtype->product) { in coda_start_encoding()
[all …]
A Dcoda-common.c318 int num_codecs = dev->devtype->num_codecs; in coda_find_codec()
369 if (i >= dev->devtype->num_vdevs) in to_coda_video_device()
372 return dev->devtype->vdevs[i]; in to_coda_video_device()
2612 if (dev->devtype->product == CODA_DX6) in coda_open()
2647 switch (dev->devtype->product) { in coda_open()
2840 switch (dev->devtype->product) { in coda_hw_init()
2849 if (dev->devtype->product == CODA_960) in coda_hw_init()
2855 if (dev->devtype->product != CODA_DX6) in coda_hw_init()
2887 if (i >= dev->devtype->num_vdevs) in coda_register_device()
2889 name = dev->devtype->vdevs[i]->name; in coda_register_device()
[all …]
/drivers/net/can/
A Dxilinx_can.c254 struct xcan_devtype_data devtype; member
514 if (priv->devtype.cantype == XAXI_CANFD || in xcan_set_bittiming()
519 if (priv->devtype.cantype == XAXI_CANFD) in xcan_set_bittiming()
588 if (priv->devtype.flags & XCAN_FLAG_RXMNF) in xcan_chip_start()
706 if (priv->devtype.cantype == XAXI_CANFD || in xcan_write_frame()
1884 const struct xcan_devtype_data *devtype; in xcan_probe() local
1938 (devtype->flags & XCAN_FLAG_TXFEMP)) in xcan_probe()
1969 if (devtype->cantype == XAXI_CANFD) { in xcan_probe()
1975 if (devtype->cantype == XAXI_CANFD_2_0) { in xcan_probe()
1981 if (devtype->cantype == XAXI_CANFD || in xcan_probe()
[all …]
/drivers/gpio/
A Dgpio-mpc8xxx.c311 const struct mpc8xxx_gpio_devtype *devtype = NULL; in mpc8xxx_probe() local
352 devtype = device_get_match_data(dev); in mpc8xxx_probe()
353 if (!devtype) in mpc8xxx_probe()
354 devtype = &mpc8xxx_gpio_devtype_default; in mpc8xxx_probe()
360 if (devtype->irq_set_type) in mpc8xxx_probe()
361 mpc8xxx_irq_chip.irq_set_type = devtype->irq_set_type; in mpc8xxx_probe()
363 if (devtype->gpio_dir_out) in mpc8xxx_probe()
364 gc->direction_output = devtype->gpio_dir_out; in mpc8xxx_probe()
365 if (devtype->gpio_get) in mpc8xxx_probe()
366 gc->get = devtype->gpio_get; in mpc8xxx_probe()
/drivers/hid/
A Dhid-wiimote-core.c625 unsigned int devtype) in wiimote_modules_load() argument
632 mods = wiimote_devtype_mods[devtype]; in wiimote_modules_load()
672 wdata->state.devtype = devtype; in wiimote_modules_load()
816 __u8 devtype = WIIMOTE_DEV_GENERIC; in wiimote_init_set_type() local
833 devtype = WIIMOTE_DEV_GEN10; in wiimote_init_set_type()
836 devtype = WIIMOTE_DEV_GEN20; in wiimote_init_set_type()
848 devtype = WIIMOTE_DEV_GEN10; in wiimote_init_set_type()
851 devtype = WIIMOTE_DEV_GEN20; in wiimote_init_set_type()
857 if (devtype == WIIMOTE_DEV_GENERIC) in wiimote_init_set_type()
862 wiimote_devtype_names[devtype]); in wiimote_init_set_type()
[all …]
/drivers/media/i2c/
A Dov7670.c974 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_try_fmt_internal()
998 wsize = info->devtype->win_sizes + i; in ov7670_try_fmt_internal()
1010 for (wsize = info->devtype->win_sizes; in ov7670_try_fmt_internal()
1170 info->devtype->get_framerate(sd, &ival->interval); in ov7670_get_frame_interval()
1189 return info->devtype->set_framerate(sd, tpf); in ov7670_set_frame_interval()
1206 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_enum_frame_interval()
1713 format->width = info->devtype->win_sizes[0].width; in ov7670_get_default_format()
1714 format->height = info->devtype->win_sizes[0].height; in ov7670_get_default_format()
1897 info->devtype = i2c_get_match_data(client); in ov7670_probe()
1899 info->wsize = &info->devtype->win_sizes[0]; in ov7670_probe()
[all …]
/drivers/i2c/busses/
A Di2c-rcar.c158 enum rcar_i2c_type devtype; member
245 if (priv->devtype < I2C_RCAR_GEN3) { in rcar_i2c_init()
322 cdf_width = (priv->devtype == I2C_RCAR_GEN1) ? 2 : 3; in rcar_i2c_clock_calculate()
326 if (t.bus_freq_hz > I2C_MAX_FAST_MODE_FREQ && priv->devtype >= I2C_RCAR_GEN4) in rcar_i2c_clock_calculate()
332 ick = rate / (priv->devtype < I2C_RCAR_GEN3 ? (cdf + 1) : 1); in rcar_i2c_clock_calculate()
345 if (priv->devtype < I2C_RCAR_GEN3) { in rcar_i2c_clock_calculate()
460 if (priv->devtype >= I2C_RCAR_GEN3 && in rcar_i2c_cleanup_dma()
926 if (priv->devtype >= I2C_RCAR_GEN3) { in rcar_i2c_master_xfer()
997 if (priv->devtype < I2C_RCAR_GEN3) in rcar_i2c_master_xfer_atomic()
1144 priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); in rcar_i2c_probe()
[all …]
/drivers/fpga/
A Daltera-ps-spi.c31 enum altera_ps_devtype devtype; member
59 .devtype = CYCLONE5,
67 .devtype = ARRIA10,
/drivers/nvmem/
A Dimx-ocotp-scu.c35 int devtype; member
55 .devtype = IMX8QXP,
66 .devtype = IMX8QM,
/drivers/spi/
A Dspi-imx.c94 enum spi_imx_devtype devtype; member
138 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi()
143 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi()
1058 .devtype = IMX1_CSPI,
1072 .devtype = IMX21_CSPI,
1087 .devtype = IMX27_CSPI,
1101 .devtype = IMX31_CSPI,
1116 .devtype = IMX35_CSPI,
1132 .devtype = IMX51_ECSPI,
1146 .devtype = IMX53_ECSPI,
[all …]
/drivers/scsi/aacraid/
A Dlinit.c268 struct aac_driver_ident* aac_get_driver_ident(int devtype) in aac_get_driver_ident() argument
270 return &aac_drivers[devtype]; in aac_get_driver_ident()
398 u8 devtype = 0; in aac_sdev_configure() local
403 devtype = aac->hba_map[chn][tid].devtype; in aac_sdev_configure()
405 if (devtype == AAC_DEVTYPE_NATIVE_RAW) { in aac_sdev_configure()
410 if (devtype == AAC_DEVTYPE_ARC_RAW) { in aac_sdev_configure()
526 aac->hba_map[chn][tid].devtype == AAC_DEVTYPE_NATIVE_RAW) in aac_change_queue_depth()
924 if (!(info->devtype == AAC_DEVTYPE_NATIVE_RAW && in aac_eh_dev_reset()
987 if (!(info->devtype == AAC_DEVTYPE_NATIVE_RAW && in aac_eh_target_reset()
1060 info->devtype != AAC_DEVTYPE_NATIVE_RAW) { in aac_eh_bus_reset()
[all …]
/drivers/watchdog/
A Drzg2l_wdt.c59 enum rz_wdt_type devtype; member
187 if (priv->devtype == WDT_RZG2L) { in rzg2l_wdt_restart()
291 priv->devtype = (uintptr_t)of_device_get_match_data(dev); in rzg2l_wdt_probe()
/drivers/rtc/
A Drtc-mxc.c69 enum imx_rtc_type devtype; member
81 return data->devtype == IMX1_RTC; in is_imx1_rtc()
305 pdata->devtype = (uintptr_t)of_device_get_match_data(&pdev->dev); in mxc_rtc_probe()
/drivers/scsi/
A Datp870u.h49 unsigned char devtype; member
/drivers/scsi/smartpqi/
A Dsmartpqi_sas_transport.c345 if (found_device->devtype == TYPE_ENCLOSURE) { in pqi_sas_get_enclosure_identifier()
360 if (device->devtype == TYPE_ENCLOSURE && in pqi_sas_get_enclosure_identifier()
380 if (device->devtype == TYPE_ENCLOSURE && in pqi_sas_get_enclosure_identifier()

Completed in 85 milliseconds

123