/Linux-v4.19/drivers/bus/ |
D | imx-weim.c | 115 const struct imx_weim_devtype *devtype) in weim_timing_setup() argument 120 if (WARN_ON(devtype->cs_regs_count > MAX_CS_REGS_COUNT)) in weim_timing_setup() 128 if (cs_idx >= devtype->cs_count) in weim_timing_setup() 132 value, devtype->cs_regs_count); in weim_timing_setup() 137 for (i = 0; i < devtype->cs_regs_count; i++) in weim_timing_setup() 138 writel(value[i], base + cs_idx * devtype->cs_stride + i * 4); in weim_timing_setup() 148 const struct imx_weim_devtype *devtype = of_id->data; in weim_parse_dt() local 152 if (devtype == &imx50_weim_devtype) { in weim_parse_dt() 162 ret = weim_timing_setup(child, base, devtype); in weim_parse_dt()
|
/Linux-v4.19/drivers/leds/ |
D | leds-mc13783.c | 40 struct mc13xxx_led_devtype *devtype; member 108 return mc13xxx_reg_rmw(leds->master, leds->devtype->ledctrl_base + reg, in mc13xxx_led_set() 133 leds->devtype->num_regs); in mc13xxx_led_probe_dt() 152 pdata->led[i].id = leds->devtype->led_min + tmp; in mc13xxx_led_probe_dt() 184 struct mc13xxx_led_devtype *devtype = in mc13xxx_led_probe() local 194 leds->devtype = devtype; in mc13xxx_led_probe() 208 (leds->num_leds > (devtype->led_max - devtype->led_min + 1))) { in mc13xxx_led_probe() 218 for (i = 0; i < devtype->num_regs; i++) { in mc13xxx_led_probe() 219 ret = mc13xxx_reg_write(mcdev, leds->devtype->ledctrl_base + i, in mc13xxx_led_probe() 234 if ((id > devtype->led_max) || (id < devtype->led_min)) { in mc13xxx_led_probe()
|
/Linux-v4.19/drivers/media/platform/coda/ |
D | coda-bit.c | 71 if (dev->devtype->product == CODA_HX4 || in coda_command_async() 72 dev->devtype->product == CODA_7541 || in coda_command_async() 73 dev->devtype->product == CODA_960) { in coda_command_async() 84 if (dev->devtype->product == CODA_960) { in coda_command_async() 124 if (dev->devtype->product == CODA_960) { in coda_hw_reset() 138 if (dev->devtype->product == CODA_960) in coda_hw_reset() 354 if ((dev->devtype->product == CODA_960) && in coda_bit_stream_end_flag() 367 if (dev->devtype->product == CODA_DX6) in coda_parabuf_write() 417 if (dev->devtype->product != CODA_DX6 && in coda_alloc_framebuffers() 457 if (dev->devtype->product == CODA_DX6) in coda_alloc_framebuffers() [all …]
|
D | coda-common.c | 283 const struct coda_codec *codecs = dev->devtype->codecs; in coda_find_codec() 284 int num_codecs = dev->devtype->num_codecs; in coda_find_codec() 308 const struct coda_codec *codecs = dev->devtype->codecs; in coda_get_max_dimensions() 309 int num_codecs = dev->devtype->num_codecs; in coda_get_max_dimensions() 335 if (i >= dev->devtype->num_vdevs) in to_coda_video_device() 338 return dev->devtype->vdevs[i]; in to_coda_video_device() 394 strlcpy(cap->card, coda_product_name(ctx->dev->devtype->product), in coda_querycap() 1867 int max_gop_size = (ctx->dev->devtype->product == CODA_DX6) ? 60 : 99; in coda_encode_ctrls() 1877 if (ctx->dev->devtype->product != CODA_960) { in coda_encode_ctrls() 1895 if (ctx->dev->devtype->product == CODA_HX4 || in coda_encode_ctrls() [all …]
|
/Linux-v4.19/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 959 const struct ipu_devtype *devtype = ipu->devtype; in ipu_submodules_init() local 961 ret = ipu_cpmem_init(ipu, dev, ipu_base + devtype->cpmem_ofs); in ipu_submodules_init() 967 ret = ipu_csi_init(ipu, dev, 0, ipu_base + devtype->csi0_ofs, in ipu_submodules_init() 974 ret = ipu_csi_init(ipu, dev, 1, ipu_base + devtype->csi1_ofs, in ipu_submodules_init() 982 ipu_base + devtype->ic_ofs, in ipu_submodules_init() 983 ipu_base + devtype->tpm_ofs); in ipu_submodules_init() 989 ret = ipu_vdi_init(ipu, dev, ipu_base + devtype->vdi_ofs, in ipu_submodules_init() 1003 ret = ipu_di_init(ipu, dev, 0, ipu_base + devtype->disp0_ofs, in ipu_submodules_init() 1010 ret = ipu_di_init(ipu, dev, 1, ipu_base + devtype->disp1_ofs, in ipu_submodules_init() 1017 ret = ipu_dc_init(ipu, dev, ipu_base + devtype->cm_ofs + in ipu_submodules_init() [all …]
|
/Linux-v4.19/drivers/tty/serial/ |
D | max310x.c | 263 struct max310x_devtype *devtype; member 320 "%s ID 0x%02x does not match\n", s->devtype->name, val); in max3107_detect() 341 dev_err(dev, "%s not present\n", s->devtype->name); in max3108_detect() 363 "%s ID 0x%02x does not match\n", s->devtype->name, val); in max3109_detect() 394 "%s ID 0x%02x does not match\n", s->devtype->name, val); in max14830_detect() 804 if (s->devtype->nr > 1) { in max310x_ist() 810 val = ((1 << s->devtype->nr) - 1) & ~val; in max310x_ist() 1007 s->devtype->power(port, 1); in max310x_startup() 1041 s->devtype->power(port, 0); in max310x_shutdown() 1048 return (port->type == PORT_MAX310X) ? s->devtype->name : NULL; in max310x_type() [all …]
|
D | sc16is7xx.c | 321 const struct sc16is7xx_devtype *devtype; member 699 for (i = 0; i < s->devtype->nr_uart; ++i) in sc16is7xx_ist() 1036 return (port->type == PORT_SC16IS7XX) ? s->devtype->name : NULL; in sc16is7xx_type() 1144 const struct sc16is7xx_devtype *devtype, in sc16is7xx_probe() argument 1157 sizeof(struct sc16is7xx_one) * devtype->nr_uart, in sc16is7xx_probe() 1179 s->devtype = devtype; in sc16is7xx_probe() 1193 if (devtype->nr_gpio) { in sc16is7xx_probe() 1203 s->gpio.ngpio = devtype->nr_gpio; in sc16is7xx_probe() 1215 for (i = 0; i < devtype->nr_uart; ++i) { in sc16is7xx_probe() 1277 if (devtype->nr_gpio) in sc16is7xx_probe() [all …]
|
/Linux-v4.19/arch/powerpc/boot/ |
D | virtex.c | 82 char devtype[MAX_PROP_LEN]; in platform_specific_init() local 94 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) in platform_specific_init() 95 && !strcmp(devtype, "serial") in platform_specific_init()
|
D | serial.c | 88 char devtype[MAX_PROP_LEN]; in serial_get_stdout_devp() local 100 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) in serial_get_stdout_devp() 101 && !strcmp(devtype, "serial")) in serial_get_stdout_devp()
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-mpc8xxx.c | 303 const struct mpc8xxx_gpio_devtype *devtype = in mpc8xxx_probe() local 344 if (!devtype) in mpc8xxx_probe() 345 devtype = &mpc8xxx_gpio_devtype_default; in mpc8xxx_probe() 351 mpc8xxx_irq_chip.irq_set_type = devtype->irq_set_type; in mpc8xxx_probe() 353 if (devtype->gpio_dir_out) in mpc8xxx_probe() 354 gc->direction_output = devtype->gpio_dir_out; in mpc8xxx_probe() 355 if (devtype->gpio_get) in mpc8xxx_probe() 356 gc->get = devtype->gpio_get; in mpc8xxx_probe()
|
/Linux-v4.19/drivers/net/can/ |
D | xilinx_can.c | 196 struct xcan_devtype_data devtype; member 289 if (priv->devtype.flags & XCAN_FLAG_RX_FIFO_MULTI) in xcan_rx_int_mask() 359 btr1 |= (bt->phase_seg2 - 1) << priv->devtype.btr_ts2_shift; in xcan_set_bittiming() 362 btr1 |= (bt->sjw - 1) << priv->devtype.btr_sjw_shift; in xcan_set_bittiming() 407 if (priv->devtype.flags & XCAN_FLAG_RXMNF) in xcan_chip_start() 424 if (priv->devtype.flags & XCAN_FLAG_EXT_FILTERS) in xcan_chip_start() 623 if (priv->devtype.flags & XCAN_FLAG_TX_MAILBOXES) in xcan_start_xmit() 962 if (priv->devtype.flags & XCAN_FLAG_RX_FIFO_MULTI) { in xcan_rx_fifo_get_next_frame() 1013 if (priv->devtype.flags & XCAN_FLAG_RX_FIFO_MULTI) in xcan_rx_poll() 1457 const struct xcan_devtype_data *devtype = &xcan_axi_data; in xcan_probe() local [all …]
|
/Linux-v4.19/drivers/hid/ |
D | hid-wiimote-core.c | 206 if (wdata->state.devtype == WIIMOTE_DEV_BALANCE_BOARD) { in select_drm() 624 unsigned int devtype) in wiimote_modules_load() argument 631 mods = wiimote_devtype_mods[devtype]; in wiimote_modules_load() 671 wdata->state.devtype = devtype; in wiimote_modules_load() 694 mods = wiimote_devtype_mods[wdata->state.devtype]; in wiimote_modules_unload() 697 wdata->state.devtype = WIIMOTE_DEV_UNKNOWN; in wiimote_modules_unload() 815 __u8 devtype = WIIMOTE_DEV_GENERIC; in wiimote_init_set_type() local 824 devtype = WIIMOTE_DEV_BALANCE_BOARD; in wiimote_init_set_type() 827 devtype = WIIMOTE_DEV_PRO_CONTROLLER; in wiimote_init_set_type() 832 devtype = WIIMOTE_DEV_GEN10; in wiimote_init_set_type() [all …]
|
/Linux-v4.19/drivers/media/i2c/ |
D | ov7670.c | 254 const struct ov7670_devtype *devtype; /* Device specifics */ member 950 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_try_fmt_internal() 974 wsize = info->devtype->win_sizes + i; in ov7670_try_fmt_internal() 986 for (wsize = info->devtype->win_sizes; in ov7670_try_fmt_internal() 987 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++) in ov7670_try_fmt_internal() 990 if (wsize >= info->devtype->win_sizes + win_sizes_limit) in ov7670_try_fmt_internal() 1137 info->devtype->get_framerate(sd, &ival->interval); in ov7670_g_frame_interval() 1149 return info->devtype->set_framerate(sd, tpf); in ov7670_s_frame_interval() 1166 unsigned int n_win_sizes = info->devtype->n_win_sizes; in ov7670_enum_frame_interval() 1181 struct ov7670_win_size *win = &info->devtype->win_sizes[i]; in ov7670_enum_frame_interval() [all …]
|
/Linux-v4.19/drivers/fpga/ |
D | altera-ps-spi.c | 35 enum altera_ps_devtype devtype; member 63 .devtype = CYCLONE5, 71 .devtype = ARRIA10,
|
/Linux-v4.19/drivers/mtd/devices/ |
D | lart.c | 306 __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()
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-mxc.c | 69 enum imx_rtc_type devtype; member 96 return data->devtype == IMX1_RTC; in is_imx1_rtc() 335 pdata->devtype = (enum imx_rtc_type)of_id->data; in mxc_rtc_probe() 337 pdata->devtype = pdev->id_entry->driver_data; in mxc_rtc_probe()
|
/Linux-v4.19/drivers/block/paride/ |
D | paride.h | 42 int devtype; /* device type: PI_PD etc. */ member 69 int devtype, /* device type: PI_PD, PI_PCD, etc ... */
|
/Linux-v4.19/drivers/spi/ |
D | spi-imx.c | 71 enum spi_imx_devtype devtype; member 115 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi() 120 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi() 125 return d->devtype_data->devtype == IMX51_ECSPI; in is_imx51_ecspi() 130 return d->devtype_data->devtype == IMX53_ECSPI; in is_imx53_ecspi() 871 .devtype = IMX1_CSPI, 884 .devtype = IMX21_CSPI, 898 .devtype = IMX27_CSPI, 911 .devtype = IMX31_CSPI, 925 .devtype = IMX35_CSPI, [all …]
|
/Linux-v4.19/drivers/visorbus/ |
D | vbuschannel.h | 48 u8 devtype[16]; member
|
D | visorbus_main.c | 420 if (!isprint(devinfo->devtype[0])) in vbuschannel_print_devinfo() 431 seq_printf(seq, "%-*.*s ", (int)sizeof(devinfo->devtype), in vbuschannel_print_devinfo() 432 (int)sizeof(devinfo->devtype), devinfo->devtype); in vbuschannel_print_devinfo() 824 snprintf(bus_device_info_ptr->devtype, in bus_device_info_init() 825 sizeof(bus_device_info_ptr->devtype), in bus_device_info_init()
|
/Linux-v4.19/drivers/scsi/aacraid/ |
D | linit.c | 283 struct aac_driver_ident* aac_get_driver_ident(int devtype) in aac_get_driver_ident() argument 285 return &aac_drivers[devtype]; in aac_get_driver_ident() 409 u8 devtype = 0; in aac_slave_configure() local 414 devtype = aac->hba_map[chn][tid].devtype; in aac_slave_configure() 416 if (devtype == AAC_DEVTYPE_NATIVE_RAW) in aac_slave_configure() 418 else if (devtype == AAC_DEVTYPE_ARC_RAW) in aac_slave_configure() 531 aac->hba_map[chn][tid].devtype == AAC_DEVTYPE_NATIVE_RAW) in aac_change_queue_depth() 691 if (aac->hba_map[bus][cid].devtype == AAC_DEVTYPE_NATIVE_RAW) { in aac_eh_abort() 915 if (info->devtype != AAC_DEVTYPE_NATIVE_RAW && in aac_eh_dev_reset() 973 if (info->devtype != AAC_DEVTYPE_NATIVE_RAW && in aac_eh_target_reset() [all …]
|
/Linux-v4.19/drivers/scsi/ |
D | atp870u.h | 49 unsigned char devtype; member
|
/Linux-v4.19/sound/soc/codecs/ |
D | max98090.c | 1452 if (max98090->devtype == MAX98091) { in max98090_add_widgets() 1463 if (max98090->devtype == MAX98091) { in max98090_add_widgets() 2367 enum max98090_type devtype; in max98090_probe() local 2405 devtype = MAX98090; in max98090_probe() 2408 devtype = MAX98091; in max98090_probe() 2411 devtype = MAX98090; in max98090_probe() 2415 if (max98090->devtype != devtype) { in max98090_probe() 2417 max98090->devtype = devtype; in max98090_probe() 2549 max98090->devtype = driver_data; in max98090_i2c_probe()
|
/Linux-v4.19/drivers/mtd/spi-nor/ |
D | fsl-quadspi.c | 221 enum fsl_qspi_devtype devtype; member 229 .devtype = FSL_QUADSPI_VYBRID, 237 .devtype = FSL_QUADSPI_IMX6SX, 246 .devtype = FSL_QUADSPI_IMX7D, 255 .devtype = FSL_QUADSPI_IMX6UL, 264 .devtype = FSL_QUADSPI_LS1021A, 272 .devtype = FSL_QUADSPI_LS2080A,
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-rcar.c | 132 enum rcar_i2c_type devtype; member 245 switch (priv->devtype) { in rcar_i2c_clock_calculate() 376 if (priv->devtype == I2C_RCAR_GEN3 && in rcar_i2c_dma_unmap() 783 if (priv->devtype == I2C_RCAR_GEN3) { in rcar_i2c_master_xfer() 936 priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); in rcar_i2c_probe() 965 if (priv->devtype == I2C_RCAR_GEN3) { in rcar_i2c_probe()
|