Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/bus/
A Dimx-weim.c157 value, devtype->cs_regs_count); in weim_timing_setup()
177 if (cs_idx >= devtype->cs_count) in weim_timing_setup()
195 devtype->cs_regs_count * sizeof(u32)); in weim_timing_setup()
213 if (devtype == &imx50_weim_devtype) { in weim_parse_dt()
223 if (devtype->wcr_bcm) { in weim_parse_dt()
224 reg = readl(base + devtype->wcr_offset); in weim_parse_dt()
225 reg |= devtype->wcr_bcm; in weim_parse_dt()
229 if (devtype->wcr_cont_bclk) { in weim_parse_dt()
230 reg |= devtype->wcr_cont_bclk; in weim_parse_dt()
305 const struct imx_weim_devtype *devtype; in of_weim_notify() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/imx/dcss/
A Ddcss-dev.c66 const struct dcss_type_data *devtype = dcss->devtype; in dcss_submodules_init() local
70 ret = dcss_blkctl_init(dcss, base_addr + devtype->blkctl_ofs); in dcss_submodules_init()
74 ret = dcss_ctxld_init(dcss, base_addr + devtype->ctxld_ofs); in dcss_submodules_init()
78 ret = dcss_dtg_init(dcss, base_addr + devtype->dtg_ofs); in dcss_submodules_init()
82 ret = dcss_ss_init(dcss, base_addr + devtype->ss_ofs); in dcss_submodules_init()
86 ret = dcss_dpr_init(dcss, base_addr + devtype->dpr_ofs); in dcss_submodules_init()
90 ret = dcss_scaler_init(dcss, base_addr + devtype->scaler_ofs); in dcss_submodules_init()
171 const struct dcss_type_data *devtype; in dcss_dev_create() local
173 devtype = of_device_get_match_data(dev); in dcss_dev_create()
174 if (!devtype) { in dcss_dev_create()
[all …]
/linux-6.3-rc2/drivers/leds/
A Dleds-mc13783.c37 struct mc13xxx_led_devtype *devtype; member
105 return mc13xxx_reg_rmw(leds->master, leds->devtype->ledctrl_base + reg, in mc13xxx_led_set()
130 leds->devtype->num_regs); in mc13xxx_led_probe_dt()
149 pdata->led[i].id = leds->devtype->led_min + tmp; in mc13xxx_led_probe_dt()
181 struct mc13xxx_led_devtype *devtype = in mc13xxx_led_probe() local
191 leds->devtype = devtype; in mc13xxx_led_probe()
205 (leds->num_leds > (devtype->led_max - devtype->led_min + 1))) { in mc13xxx_led_probe()
215 for (i = 0; i < devtype->num_regs; i++) { in mc13xxx_led_probe()
216 ret = mc13xxx_reg_write(mcdev, leds->devtype->ledctrl_base + i, in mc13xxx_led_probe()
231 if ((id > devtype->led_max) || (id < devtype->led_min)) { in mc13xxx_led_probe()
/linux-6.3-rc2/drivers/tty/serial/
A Dmax310x.c837 if (s->devtype->nr > 1) { in max310x_ist()
1056 s->devtype->power(port, 1); in max310x_startup()
1106 s->devtype->power(port, 0); in max310x_shutdown()
1271 for (i = 0; i < devtype->nr; i++) in max310x_probe()
1321 s->devtype = devtype; in max310x_probe()
1326 ret = devtype->detect(dev); in max310x_probe()
1393 devtype->power(&s->p[i].port, 0); in max310x_probe()
1400 s->gpio.label = devtype->name; in max310x_probe()
1407 s->gpio.ngpio = devtype->nr * 4; in max310x_probe()
1503 if (!devtype) in max310x_spi_probe()
[all …]
A Dsc16is7xx.c1413 s->devtype = devtype; in sc16is7xx_probe()
1460 if (devtype->has_mctrl) in sc16is7xx_probe()
1498 if (u < devtype->nr_uart) in sc16is7xx_probe()
1503 if (devtype->nr_gpio) { in sc16is7xx_probe()
1513 s->gpio.ngpio = devtype->nr_gpio; in sc16is7xx_probe()
1541 if (devtype->nr_gpio) in sc16is7xx_probe()
1567 if (s->devtype->nr_gpio) in sc16is7xx_remove()
1622 if (!devtype) in sc16is7xx_spi_probe()
1631 (devtype->nr_uart - 1); in sc16is7xx_spi_probe()
1677 if (!devtype) in sc16is7xx_i2c_probe()
[all …]
/linux-6.3-rc2/drivers/gpu/ipu-v3/
A Dipu-common.c889 const struct ipu_devtype *devtype = ipu->devtype; in ipu_submodules_init() local
912 ipu_base + devtype->ic_ofs, in ipu_submodules_init()
1316 if (!devtype) in ipu_probe()
1347 ipu->devtype = devtype; in ipu_probe()
1348 ipu->ipu_type = devtype->type; in ipu_probe()
1355 ipu_base + devtype->cm_ofs); in ipu_probe()
1361 ipu_base + devtype->csi0_ofs); in ipu_probe()
1365 ipu_base + devtype->ic_ofs); in ipu_probe()
1371 ipu_base + devtype->srm_ofs); in ipu_probe()
1373 ipu_base + devtype->tpm_ofs); in ipu_probe()
[all …]
/linux-6.3-rc2/drivers/media/platform/chips-media/
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()
2614 if (dev->devtype->product == CODA_DX6) in coda_open()
2649 switch (dev->devtype->product) { in coda_open()
2842 switch (dev->devtype->product) { in coda_hw_init()
2851 if (dev->devtype->product == CODA_960) in coda_hw_init()
2857 if (dev->devtype->product != CODA_DX6) in coda_hw_init()
2889 if (i >= dev->devtype->num_vdevs) in coda_register_device()
2891 name = dev->devtype->vdevs[i]->name; in coda_register_device()
[all …]
/linux-6.3-rc2/drivers/net/can/
A Dxilinx_can.c217 struct xcan_devtype_data devtype; member
449 if (priv->devtype.cantype == XAXI_CANFD || in xcan_set_bittiming()
454 if (priv->devtype.cantype == XAXI_CANFD) in xcan_set_bittiming()
520 if (priv->devtype.flags & XCAN_FLAG_RXMNF) in xcan_chip_start()
638 if (priv->devtype.cantype == XAXI_CANFD || in xcan_write_frame()
1733 devtype = of_id->data; in xcan_probe()
1773 (devtype->flags & XCAN_FLAG_TXFEMP)) in xcan_probe()
1793 if (devtype->cantype == XAXI_CANFD) { in xcan_probe()
1799 if (devtype->cantype == XAXI_CANFD_2_0) { in xcan_probe()
1805 if (devtype->cantype == XAXI_CANFD || in xcan_probe()
[all …]
/linux-6.3-rc2/drivers/fpga/
A Daltera-ps-spi.c32 enum altera_ps_devtype devtype; member
60 .devtype = CYCLONE5,
68 .devtype = ARRIA10,
242 kernel_ulong_t devtype = id->driver_data; in id_to_data() local
246 if (devtype >= ARRAY_SIZE(altera_ps_data_map)) in id_to_data()
249 data = altera_ps_data_map[devtype]; in id_to_data()
250 if (!data || data->devtype != devtype) in id_to_data()
/linux-6.3-rc2/drivers/gpio/
A Dgpio-mpc8xxx.c307 const struct mpc8xxx_gpio_devtype *devtype = NULL; in mpc8xxx_probe() local
349 devtype = device_get_match_data(&pdev->dev); in mpc8xxx_probe()
350 if (!devtype) in mpc8xxx_probe()
351 devtype = &mpc8xxx_gpio_devtype_default; in mpc8xxx_probe()
357 if (devtype->irq_set_type) in mpc8xxx_probe()
358 mpc8xxx_irq_chip.irq_set_type = devtype->irq_set_type; in mpc8xxx_probe()
360 if (devtype->gpio_dir_out) in mpc8xxx_probe()
361 gc->direction_output = devtype->gpio_dir_out; in mpc8xxx_probe()
362 if (devtype->gpio_get) in mpc8xxx_probe()
363 gc->get = devtype->gpio_get; in mpc8xxx_probe()
/linux-6.3-rc2/arch/powerpc/boot/
A Dserial.c86 char devtype[MAX_PROP_LEN]; in serial_get_stdout_devp() local
99 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) in serial_get_stdout_devp()
100 && !strcmp(devtype, "serial")) in serial_get_stdout_devp()
/linux-6.3-rc2/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 …]
/linux-6.3-rc2/drivers/watchdog/
A Drzg2l_wdt.c60 enum rz_wdt_type devtype; member
67 if (priv->devtype == WDT_RZV2M) { in rzg2l_wdt_reset()
176 if (priv->devtype == WDT_RZG2L) { in rzg2l_wdt_restart()
280 priv->devtype = (uintptr_t)of_device_get_match_data(dev); in rzg2l_wdt_probe()
282 if (priv->devtype == WDT_RZV2M) { in rzg2l_wdt_probe()
/linux-6.3-rc2/sound/soc/codecs/
A Dtas5720.c48 enum tas572x_type devtype; member
174 switch (tas5720->devtype) { in tas5720_set_dai_tdm_slot()
192 switch (tas5720->devtype) { in tas5720_set_dai_tdm_slot()
218 switch (tas5720->devtype) { in tas5720_mute_soc_component()
330 switch (tas5720->devtype) { in tas5720_codec_probe()
355 switch (tas5720->devtype) { in tas5720_codec_probe()
742 data->devtype = id->driver_data; in tas5720_probe()
A Dmax98090.c1441 if (max98090->devtype == MAX98091) { in max98090_add_widgets()
1452 if (max98090->devtype == MAX98091) { in max98090_add_widgets()
2382 enum max98090_type devtype; in max98090_probe() local
2420 devtype = MAX98090; in max98090_probe()
2423 devtype = MAX98091; in max98090_probe()
2426 devtype = MAX98090; in max98090_probe()
2430 if (max98090->devtype != devtype) { in max98090_probe()
2432 max98090->devtype = devtype; in max98090_probe()
2569 max98090->devtype = driver_data; in max98090_i2c_probe()
/linux-6.3-rc2/drivers/media/i2c/
A Dov7670.c980 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_try_fmt_internal()
1004 wsize = info->devtype->win_sizes + i; in ov7670_try_fmt_internal()
1016 for (wsize = info->devtype->win_sizes; in ov7670_try_fmt_internal()
1180 info->devtype->get_framerate(sd, &ival->interval); in ov7670_g_frame_interval()
1192 return info->devtype->set_framerate(sd, tpf); in ov7670_s_frame_interval()
1209 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_enum_frame_interval()
1716 format->width = info->devtype->win_sizes[0].width; in ov7670_get_default_format()
1717 format->height = info->devtype->win_sizes[0].height; in ov7670_get_default_format()
1931 info->devtype = &ov7670_devdata[id->driver_data]; in ov7670_probe()
1933 info->wsize = &info->devtype->win_sizes[0]; in ov7670_probe()
[all …]
/linux-6.3-rc2/drivers/nvmem/
A Dimx-ocotp-scu.c35 int devtype; member
55 .devtype = IMX8QXP,
66 .devtype = IMX8QM,
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-bus-cxl61 What: /sys/bus/cxl/devices/*/devtype
66 (RO) CXL device objects export the devtype attribute which
142 decoder's decode window. For decoders of devtype
144 devtype "cxl_decoder_switch" the address is bounded by the
157 devtype "cxl_decoder_root" there is no standard facility to
158 unlock them. For decoders of devtype "cxl_decoder_switch" a
179 (RO) When a CXL decoder is of devtype "cxl_decoder_root", it
192 (RO) When a CXL decoder is of devtype "cxl_decoder_switch", it
215 (RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it
235 (RO) When a CXL decoder is of devtype "cxl_decoder_endpoint",
[all …]
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-rcar.c132 enum rcar_i2c_type devtype; member
221 if (priv->devtype == I2C_RCAR_GEN3) in rcar_i2c_init()
257 switch (priv->devtype) { in rcar_i2c_clock_calculate()
390 if (priv->devtype == I2C_RCAR_GEN3 && in rcar_i2c_cleanup_dma()
845 if (priv->devtype == I2C_RCAR_GEN3) { in rcar_i2c_master_xfer()
918 if (priv->devtype < I2C_RCAR_GEN3) in rcar_i2c_master_xfer_atomic()
1066 priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); in rcar_i2c_probe()
1097 if (priv->devtype < I2C_RCAR_GEN3) { in rcar_i2c_probe()
1102 if (priv->devtype == I2C_RCAR_GEN3) { in rcar_i2c_probe()
/linux-6.3-rc2/drivers/spi/
A Dspi-imx.c89 enum spi_imx_devtype devtype; member
133 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi()
138 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi()
970 .devtype = IMX1_CSPI,
984 .devtype = IMX21_CSPI,
999 .devtype = IMX27_CSPI,
1013 .devtype = IMX31_CSPI,
1028 .devtype = IMX35_CSPI,
1044 .devtype = IMX51_ECSPI,
1058 .devtype = IMX53_ECSPI,
[all …]
/linux-6.3-rc2/drivers/scsi/aacraid/
A Dlinit.c269 struct aac_driver_ident* aac_get_driver_ident(int devtype) in aac_get_driver_ident() argument
271 return &aac_drivers[devtype]; in aac_get_driver_ident()
397 u8 devtype = 0; in aac_slave_configure() local
402 devtype = aac->hba_map[chn][tid].devtype; in aac_slave_configure()
404 if (devtype == AAC_DEVTYPE_NATIVE_RAW) { in aac_slave_configure()
409 if (devtype == AAC_DEVTYPE_ARC_RAW) { in aac_slave_configure()
525 aac->hba_map[chn][tid].devtype == AAC_DEVTYPE_NATIVE_RAW) in aac_change_queue_depth()
923 if (!(info->devtype == AAC_DEVTYPE_NATIVE_RAW && in aac_eh_dev_reset()
986 if (!(info->devtype == AAC_DEVTYPE_NATIVE_RAW && in aac_eh_target_reset()
1059 info->devtype != AAC_DEVTYPE_NATIVE_RAW) { in aac_eh_bus_reset()
[all …]
/linux-6.3-rc2/drivers/mmc/host/
A Dsdhci-of-dwcmshc.c86 enum dwcmshc_rk_type devtype; member
269 if (priv->devtype == DWCMSHC_RK3568) in dwcmshc_rk3568_set_clock()
295 if ((priv->devtype == DWCMSHC_RK3588) && host->mmc->ios.timing == MMC_TIMING_MMC_HS400) { in dwcmshc_rk3568_set_clock()
526 rk_priv->devtype = DWCMSHC_RK3588; in dwcmshc_probe()
528 rk_priv->devtype = DWCMSHC_RK3568; in dwcmshc_probe()
/linux-6.3-rc2/drivers/rtc/
A Drtc-mxc.c70 enum imx_rtc_type devtype; member
82 return data->devtype == IMX1_RTC; in is_imx1_rtc()
306 pdata->devtype = (uintptr_t)of_device_get_match_data(&pdev->dev); in mxc_rtc_probe()
/linux-6.3-rc2/drivers/scsi/
A Datp870u.h49 unsigned char devtype; member

Completed in 79 milliseconds

123