Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/imx/dcss/
H 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 in dcss_dev_create()
[all...]
/linux/drivers/leds/
H 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()
148 pdata->led[i].id = leds->devtype->led_min + tmp; in mc13xxx_led_probe_dt()
178 struct mc13xxx_led_devtype *devtype = in mc13xxx_led_probe()
188 leds->devtype = devtype; in mc13xxx_led_probe()
202 (leds->num_leds > (devtype->led_max - devtype->led_min + 1))) { in mc13xxx_led_probe()
211 for (i = 0; i < devtype in mc13xxx_led_probe()
179 struct mc13xxx_led_devtype *devtype = mc13xxx_led_probe() local
[all...]
/linux/drivers/tty/serial/
H A Dmax310x.c330 const struct max310x_devtype *devtype; in max310x_port_read()
382 if (s->devtype->rev_id_val) { in max310x_detect()
383 u8 rev_id_reg = s->devtype->rev_id_reg; in max310x_detect()
386 if (s->devtype->rev_id_reg >= MAX310X_EXTREG_START) { in max310x_detect()
398 if (s->devtype->rev_id_reg >= MAX310X_EXTREG_START) { in max310x_detect()
404 if (((val & MAX310x_REV_MASK) != s->devtype->rev_id_val)) in max310x_power()
407 s->devtype->name, val); in max310x_power()
420 s->devtype->name);
430 max310x_port_update(port, s->devtype->power_reg, s->devtype
304 const struct max310x_devtype *devtype; global() member
1308 max310x_probe(struct device * dev,const struct max310x_devtype * devtype,const struct max310x_if_cfg * if_cfg,struct regmap * regmaps[],int irq) max310x_probe() argument
1608 const struct max310x_devtype *devtype; max310x_spi_probe() local
1712 const struct max310x_devtype *devtype; max310x_i2c_probe() local
[all...]
H A Dsc16is7xx_i2c.c14 const struct sc16is7xx_devtype *devtype; in sc16is7xx_i2c_probe() local
19 devtype = i2c_get_match_data(i2c); in sc16is7xx_i2c_probe()
20 if (!devtype) in sc16is7xx_i2c_probe()
25 for (i = 0; i < devtype->nr_uart; i++) { in sc16is7xx_i2c_probe()
32 return sc16is7xx_probe(&i2c->dev, devtype, regmaps, i2c->irq); in sc16is7xx_i2c_probe()
H A Dsc16is7xx_spi.c18 const struct sc16is7xx_devtype *devtype; in sc16is7xx_spi_probe() local
36 devtype = spi_get_device_match_data(spi); in sc16is7xx_spi_probe()
37 if (!devtype) in sc16is7xx_spi_probe()
42 for (i = 0; i < devtype->nr_uart; i++) { in sc16is7xx_spi_probe()
55 return sc16is7xx_probe(&spi->dev, devtype, regmaps, spi->irq); in sc16is7xx_spi_probe()
H A Dsc16is7xx.c304 const struct sc16is7xx_devtype *devtype; member
830 for (i = 0; i < s->devtype->nr_uart; ++i) in sc16is7xx_irq()
1229 return (port->type == PORT_SC16IS7XX) ? s->devtype->name : NULL;
1376 if (!s->devtype->nr_gpio) in sc16is7xx_setup_gpio_chip()
1406 s->gpio.ngpio = s->devtype->nr_gpio; in sc16is7xx_setup_gpio_chip()
1431 if (irda_port[i] < s->devtype->nr_uart) in sc16is7xx_setup_irda_ports()
1568 int sc16is7xx_probe(struct device *dev, const struct sc16is7xx_devtype *devtype, in sc16is7xx_probe()
1578 for (i = 0; i < devtype->nr_uart; i++) in sc16is7xx_probe()
1596 s = devm_kzalloc_flex(dev, *s, p, devtype->nr_uart); in sc16is7xx_probe()
1628 s->devtype in sc16is7xx_probe()
1566 sc16is7xx_probe(struct device * dev,const struct sc16is7xx_devtype * devtype,struct regmap * regmaps[],int irq) sc16is7xx_probe() argument
[all...]
H A Dsc16is7xx.h35 int sc16is7xx_probe(struct device *dev, const struct sc16is7xx_devtype *devtype,
H 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,
365 return (sport->devtype in is_layerscape_lpuart()
[all...]
/linux/drivers/gpu/ipu-v3/
H A Dipu-common.c851 const struct ipu_devtype *devtype = ipu->devtype; in ipu_submodules_init() local
853 ret = ipu_cpmem_init(ipu, dev, ipu_base + devtype->cpmem_ofs); in ipu_submodules_init()
859 ret = ipu_csi_init(ipu, dev, 0, ipu_base + devtype->csi0_ofs, in ipu_submodules_init()
866 ret = ipu_csi_init(ipu, dev, 1, ipu_base + devtype->csi1_ofs, in ipu_submodules_init()
874 ipu_base + devtype->ic_ofs, in ipu_submodules_init()
875 ipu_base + devtype->tpm_ofs); in ipu_submodules_init()
881 ret = ipu_vdi_init(ipu, dev, ipu_base + devtype->vdi_ofs, in ipu_submodules_init()
895 ret = ipu_di_init(ipu, dev, 0, ipu_base + devtype->disp0_ofs, in ipu_submodules_init()
902 ret = ipu_di_init(ipu, dev, 1, ipu_base + devtype in ipu_submodules_init()
1275 const struct ipu_devtype *devtype; ipu_probe() local
[all...]
/linux/drivers/media/platform/chips-media/coda/
H 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()
125 if (dev->devtype->product == CODA_960) { in coda_hw_reset()
139 if (dev->devtype->product == CODA_960) in coda_hw_reset()
290 if (ctx->dev->devtype->product == CODA_960) in coda_bitstream_try_queue()
442 if ((dev->devtype->product == CODA_960) && in coda_bit_stream_end_flag()
455 if (dev->devtype->product == CODA_DX6) in coda_parabuf_write()
505 if (dev->devtype->product != CODA_DX6 && in coda_alloc_framebuffers()
[all …]
H A Dcoda-common.c322 const struct coda_codec *codecs = dev->devtype->codecs; in coda_find_codec()
323 int num_codecs = dev->devtype->num_codecs; in coda_find_codec()
347 const struct coda_codec *codecs = dev->devtype->codecs; in coda_get_max_dimensions()
348 int num_codecs = dev->devtype->num_codecs; in coda_get_max_dimensions()
374 if (i >= dev->devtype->num_vdevs) in to_coda_video_device()
377 return dev->devtype->vdevs[i]; in to_coda_video_device()
433 strscpy(cap->card, coda_product_name(ctx->dev->devtype->product), in coda_querycap()
684 ctx->dev->devtype->product == CODA_960) { in coda_try_fmt_vid_cap()
824 ctx->dev->devtype->product == CODA_960) { in coda_s_fmt()
870 ctx->dev->devtype in coda_s_fmt_vid_cap()
[all...]
/linux/drivers/gpio/
H A Dgpio-mpc8xxx.c332 const struct mpc8xxx_gpio_devtype *devtype = NULL; in mpc8xxx_probe()
376 devtype = device_get_match_data(dev); in mpc8xxx_probe()
377 if (!devtype) in mpc8xxx_probe()
378 devtype = &mpc8xxx_gpio_devtype_default; in mpc8xxx_probe()
384 if (devtype->irq_set_type) in mpc8xxx_probe()
385 mpc8xxx_irq_chip.irq_set_type = devtype->irq_set_type; in mpc8xxx_probe()
387 if (devtype->gpio_dir_out) in mpc8xxx_probe()
388 gc->direction_output = devtype->gpio_dir_out; in mpc8xxx_probe()
389 if (devtype->gpio_get) in mpc8xxx_probe()
390 gc->get = devtype in mpc8xxx_probe()
324 const struct mpc8xxx_gpio_devtype *devtype = NULL; mpc8xxx_probe() local
[all...]
/linux/drivers/hid/
H A Dhid-wiimote-core.c204 if (wdata->state.devtype == WIIMOTE_DEV_BALANCE_BOARD) { in select_drm()
630 unsigned int devtype) in wiimote_modules_load()
637 mods = wiimote_devtype_mods[devtype]; in wiimote_modules_load()
677 wdata->state.devtype = devtype; in wiimote_modules_load()
703 mods = wiimote_devtype_mods[wdata->state.devtype]; in wiimote_modules_unload()
706 wdata->state.devtype = WIIMOTE_DEV_UNKNOWN; in wiimote_modules_unload()
817 __u8 devtype = WIIMOTE_DEV_GENERIC; in wiimote_init_set_type()
826 devtype = WIIMOTE_DEV_BALANCE_BOARD; in wiimote_init_set_type()
829 devtype in wiimote_init_set_type()
625 wiimote_modules_load(struct wiimote_data * wdata,unsigned int devtype) wiimote_modules_load() argument
816 __u8 devtype = WIIMOTE_DEV_GENERIC; wiimote_init_set_type() local
[all...]
/linux/drivers/media/i2c/
H A Dov7670.c247 const struct ov7670_devtype *devtype; /* Device specifics */ member
973 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_try_fmt_internal()
997 wsize = info->devtype->win_sizes + i; in ov7670_try_fmt_internal()
1009 for (wsize = info->devtype->win_sizes; in ov7670_try_fmt_internal()
1010 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++) in ov7670_try_fmt_internal()
1013 if (wsize >= info->devtype->win_sizes + win_sizes_limit) 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()
1221 struct ov7670_win_size *win = &info->devtype in ov7670_enum_frame_interval()
[all...]
/linux/Documentation/driver-api/cxl/linux/
H A Dcxl-driver.rst91 devtype dport4 port1 port4 uport
93 # cat /sys/bus/cxl/devices/root0/devtype
96 # cat port1/devtype
99 # cat decoder0.0/devtype
118 devtype dport2 modalias uevent
120 # cat devtype
123 # cat decoder1.0/devtype
126 # cat endpoint5/devtype
158 decoder5.0 devtype parent_dport uport
161 # cat /sys/bus/cxl/devices/endpoint5/devtype
[all...]
/linux/drivers/i2c/busses/
H A Di2c-rcar.c160 enum rcar_i2c_type devtype; member
247 if (priv->devtype < I2C_RCAR_GEN3) { in rcar_i2c_init()
324 cdf_width = (priv->devtype == I2C_RCAR_GEN1) ? 2 : 3; in rcar_i2c_clock_calculate()
328 if (t.bus_freq_hz > I2C_MAX_FAST_MODE_FREQ && priv->devtype >= I2C_RCAR_GEN4) in rcar_i2c_clock_calculate()
334 ick = rate / (priv->devtype < I2C_RCAR_GEN3 ? (cdf + 1) : 1); in rcar_i2c_clock_calculate()
347 if (priv->devtype < I2C_RCAR_GEN3) { in rcar_i2c_clock_calculate()
462 if (priv->devtype >= I2C_RCAR_GEN3 && in rcar_i2c_cleanup_dma()
931 if (priv->devtype >= I2C_RCAR_GEN3) { in rcar_i2c_master_xfer()
1002 if (priv->devtype < I2C_RCAR_GEN3) in rcar_i2c_master_xfer_atomic()
1150 priv->devtype in rcar_i2c_probe()
[all...]
/linux/drivers/nvmem/
H A Dimx-ocotp-scu.c35 int devtype; member
55 .devtype = IMX8QXP,
66 .devtype = IMX8QM,
/linux/drivers/scsi/aacraid/
H 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()
696 if (aac->hba_map[bus][cid].devtype == AAC_DEVTYPE_NATIVE_RAW) { in aac_eh_abort()
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()
[all …]
/linux/sound/soc/codecs/
H A Dmax98090.c1479 if (max98090->devtype == MAX98091) { in max98090_add_widgets()
1490 if (max98090->devtype == MAX98091) { in max98090_add_widgets()
2446 enum max98090_type devtype; in max98090_probe()
2483 devtype = MAX98090; in max98090_probe()
2486 devtype = MAX98091; in max98090_probe()
2489 devtype = MAX98090; in max98090_probe()
2493 if (max98090->devtype != devtype) { in max98090_probe()
2495 max98090->devtype = devtype; in max98090_probe()
2419 enum max98090_type devtype; max98090_probe() local
[all...]
H A Daw88081.c29 enum aw8808x_type devtype;
217 if (aw88081->devtype != AW88083) in aw88083_i2c_wen()
399 switch (aw88081->devtype) { in aw88081_reg_value_check()
617 switch (aw88081->devtype) { in aw88081_device_start()
698 switch (aw88081->devtype) { in aw88081_stop()
1260 aw88081->devtype = id->driver_data; in aw88081_i2c_probe()
1266 switch (aw88081->devtype) { in aw88081_i2c_probe()
28 enum aw8808x_type devtype; global() member
H A Dcs530x-i2c.c69 cs530x->devtype = (uintptr_t)i2c_get_match_data(client);
/linux/drivers/rtc/
H 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()
/linux/drivers/spi/
H A Dspi-imx.c96 enum spi_imx_devtype devtype; member
153 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi()
158 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi()
163 return d->devtype_data->devtype == IMX51_ECSPI; in is_imx51_ecspi()
168 return d->devtype_data->devtype == IMX53_ECSPI; in is_imx53_ecspi()
1115 .devtype = IMX1_CSPI,
1129 .devtype = IMX21_CSPI,
1144 .devtype = IMX27_CSPI,
1158 .devtype = IMX31_CSPI,
1173 .devtype
[all...]
/linux/drivers/scsi/
H A Datp870u.h49 unsigned char devtype; member
/linux/drivers/scsi/smartpqi/
H 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()

123