/linux-4.1.27/drivers/bus/ |
H A D | imx-weim.c | 113 const struct imx_weim_devtype *devtype) weim_timing_setup() 115 u32 cs_idx, value[devtype->cs_regs_count]; weim_timing_setup() 123 if (cs_idx >= devtype->cs_count) weim_timing_setup() 127 value, devtype->cs_regs_count); weim_timing_setup() 132 for (i = 0; i < devtype->cs_regs_count; i++) weim_timing_setup() 133 writel(value[i], base + cs_idx * devtype->cs_stride + i * 4); weim_timing_setup() 143 const struct imx_weim_devtype *devtype = of_id->data; weim_parse_dt() local 147 if (devtype == &imx50_weim_devtype) { weim_parse_dt() 157 ret = weim_timing_setup(child, base, devtype); weim_parse_dt() 112 weim_timing_setup(struct device_node *np, void __iomem *base, const struct imx_weim_devtype *devtype) weim_timing_setup() argument
|
/linux-4.1.27/drivers/leds/ |
H A D | leds-mc13783.c | 43 struct mc13xxx_led_devtype *devtype; member in struct:mc13xxx_leds 108 mc13xxx_reg_rmw(leds->master, leds->devtype->ledctrl_base + reg, mc13xxx_led_work() 143 leds->devtype->num_regs); mc13xxx_led_probe_dt() 162 pdata->led[i].id = leds->devtype->led_min + tmp; for_each_child_of_node() 194 struct mc13xxx_led_devtype *devtype = mc13xxx_led_probe() local 204 leds->devtype = devtype; mc13xxx_led_probe() 218 (leds->num_leds > (devtype->led_max - devtype->led_min + 1))) { mc13xxx_led_probe() 228 for (i = 0; i < devtype->num_regs; i++) { mc13xxx_led_probe() 229 ret = mc13xxx_reg_write(mcdev, leds->devtype->ledctrl_base + i, mc13xxx_led_probe() 244 if ((id > devtype->led_max) || (id < devtype->led_min)) { mc13xxx_led_probe()
|
/linux-4.1.27/arch/powerpc/boot/ |
H A D | virtex.c | 82 char devtype[MAX_PROP_LEN]; platform_specific_init() local 94 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) platform_specific_init() 95 && !strcmp(devtype, "serial") platform_specific_init()
|
H A D | serial.c | 88 char devtype[MAX_PROP_LEN]; serial_get_stdout_devp() local 100 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) serial_get_stdout_devp() 101 && !strcmp(devtype, "serial")) serial_get_stdout_devp()
|
/linux-4.1.27/drivers/media/platform/coda/ |
H A D | coda-bit.c | 70 if (dev->devtype->product == CODA_960 || coda_command_async() 71 dev->devtype->product == CODA_7541) { coda_command_async() 82 if (dev->devtype->product == CODA_960) { coda_command_async() 122 if (dev->devtype->product == CODA_960) { coda_hw_reset() 136 if (dev->devtype->product == CODA_960) coda_hw_reset() 294 if ((dev->devtype->product == CODA_960) && coda_bit_stream_end_flag() 307 if (dev->devtype->product == CODA_DX6) coda_parabuf_write() 356 dev->devtype->product != CODA_DX6) coda_alloc_framebuffers() 378 dev->devtype->product != CODA_DX6) coda_alloc_framebuffers() 385 if ((dev->devtype->product != CODA_DX6) && coda_alloc_framebuffers() 399 if (dev->devtype->product != CODA_DX6) coda_free_context_buffers() 418 if (dev->devtype->product == CODA_DX6) coda_alloc_context_buffers() 431 if (!ctx->psbuf.vaddr && dev->devtype->product == CODA_7541) { coda_alloc_context_buffers() 439 size = dev->devtype->workbuf_size; coda_alloc_context_buffers() 440 if (dev->devtype->product == CODA_960 && coda_alloc_context_buffers() 464 if (dev->devtype->product == CODA_960) coda_encode_header() 470 if (dev->devtype->product == CODA_960) coda_encode_header() 480 if (dev->devtype->product == CODA_960) { coda_encode_header() 526 switch (dev->devtype->product) { coda_setup_iram() 550 if (dev->devtype->product == CODA_7541) { coda_setup_iram() 612 if (dev->devtype->product == CODA_7541) { coda_setup_iram() 669 if (dev->devtype->product == CODA_960) { coda_check_firmware() 685 if (product != dev->devtype->product) { coda_check_firmware() 688 coda_product_name(dev->devtype->product), coda_check_firmware() 778 switch (dev->devtype->product) { coda_start_encoding() 797 if (dev->devtype->product == CODA_DX6) { coda_start_encoding() 805 switch (dev->devtype->product) { coda_start_encoding() 836 if (dev->devtype->product == CODA_960) coda_start_encoding() 845 if (dev->devtype->product == CODA_960) coda_start_encoding() 916 if (dev->devtype->product == CODA_960) coda_start_encoding() 932 if (dev->devtype->product == CODA_960) coda_start_encoding() 947 if (dev->devtype->product == CODA_960) { coda_start_encoding() 954 if (dev->devtype->product == CODA_DX6) coda_start_encoding() 971 switch (dev->devtype->product) { coda_start_encoding() 1001 if (dev->devtype->product == CODA_960) coda_start_encoding() 1020 if (dev->devtype->product == CODA_7541) { coda_start_encoding() 1024 if (dev->devtype->product != CODA_DX6) { coda_start_encoding() 1035 if (dev->devtype->product == CODA_960) { coda_start_encoding() 1155 if (dev->devtype->product == CODA_960) coda_prepare_encode() 1224 if (dev->devtype->product == CODA_960) { coda_prepare_encode() 1249 if (dev->devtype->product != CODA_DX6) coda_prepare_encode() 1466 if ((dev->devtype->product == CODA_7541) || __coda_start_decoding() 1467 (dev->devtype->product == CODA_960)) __coda_start_decoding() 1474 if (dev->devtype->product == CODA_960 && __coda_start_decoding() 1480 if (dev->devtype->product == CODA_7541) { __coda_start_decoding() 1486 if (dev->devtype->product == CODA_960) { __coda_start_decoding() 1491 if (dev->devtype->product != CODA_960) __coda_start_decoding() 1513 if (dev->devtype->product == CODA_DX6) { __coda_start_decoding() 1567 if (dev->devtype->product != CODA_DX6) { __coda_start_decoding() 1581 if (dev->devtype->product == CODA_960) __coda_start_decoding() 1586 if (dev->devtype->product == CODA_960) { __coda_start_decoding() 1614 if (dev->devtype->product == CODA_7541) { __coda_start_decoding() 1621 } else if (dev->devtype->product == CODA_960) { __coda_start_decoding() 1689 if (dev->devtype->product == CODA_960) coda_prepare_decode() 1692 if (dev->devtype->product == CODA_960) { coda_prepare_decode() 1714 switch (dev->devtype->product) { coda_prepare_decode() 1731 if (dev->devtype->product != CODA_DX6) coda_prepare_decode() 1853 if (dev->devtype->product == CODA_7541) { coda_finish_decode()
|
H A D | coda-common.c | 301 const struct coda_codec *codecs = dev->devtype->codecs; coda_find_codec() 302 int num_codecs = dev->devtype->num_codecs; coda_find_codec() 326 const struct coda_codec *codecs = dev->devtype->codecs; coda_get_max_dimensions() 327 int num_codecs = dev->devtype->num_codecs; coda_get_max_dimensions() 352 if (i >= dev->devtype->num_vdevs) to_coda_video_device() 355 return dev->devtype->vdevs[i]; to_coda_video_device() 384 strlcpy(cap->card, coda_product_name(ctx->dev->devtype->product), coda_querycap() 1124 if (ctx->dev->devtype->product == CODA_960) set_default_params() 1254 ctx->dev->devtype->product == CODA_7541)) { coda_start_streaming() 1501 if (ctx->dev->devtype->product != CODA_960) { coda_encode_ctrls() 1634 (dev->devtype->product == CODA_DX6 && idx > CODADX6_MAX_INSTANCES)) coda_next_free_instance() 1686 switch (dev->devtype->product) { coda_open() 1786 if (ctx->dev->devtype->product == CODA_DX6) coda_release() 1837 if (dev->devtype->product == CODA_DX6) { coda_hw_init() 1857 if (dev->devtype->product == CODA_960 || coda_hw_init() 1858 dev->devtype->product == CODA_7541) { coda_hw_init() 1871 switch (dev->devtype->product) { coda_hw_init() 1880 if (dev->devtype->product == CODA_960) coda_hw_init() 1885 if (dev->devtype->product != CODA_DX6) coda_hw_init() 1915 if (i >= dev->devtype->num_vdevs) coda_register_device() 1918 strlcpy(vfd->name, dev->devtype->vdevs[i]->name, sizeof(vfd->name)); coda_register_device() 1978 for (i = 0; i < dev->devtype->num_vdevs; i++) { coda_fw_callback() 1983 dev->devtype->vdevs[i]->name, ret); coda_fw_callback() 2006 char *fw = dev->devtype->firmware; coda_firmware_request() 2009 coda_product_name(dev->devtype->product)); coda_firmware_request() 2104 dev->devtype = of_id->data; coda_probe() 2106 dev->devtype = &coda_devdata[pdev_id->driver_data]; coda_probe() 2184 if (dev->devtype->product == CODA_DX6) { coda_probe() 2186 dev->devtype->workbuf_size, "workbuf", coda_probe() 2192 if (dev->devtype->tempbuf_size) { coda_probe() 2194 dev->devtype->tempbuf_size, "tempbuf", coda_probe() 2200 dev->iram.size = dev->devtype->iram_size; coda_probe()
|
H A D | coda.h | 76 const struct coda_devtype *devtype; member in struct:coda_dev
|
/linux-4.1.27/drivers/staging/unisys/virtpci/ |
H A D | virtpci.c | 87 static int virtpci_device_add(struct device *parentbus, int devtype, 91 static int virtpci_device_del(struct device *parentbus, int devtype, 93 static int virtpci_device_serverdown(struct device *parentbus, int devtype, 96 static int virtpci_device_serverup(struct device *parentbus, int devtype, 545 static int delete_all_virt(enum virtpci_dev_type devtype, delete_all_virt() argument 559 if ((devtype != VIRTHBA_TYPE) && (devtype != VIRTNIC_TYPE)) delete_all_virt() 563 i = virtpci_device_del(vbus, devtype, NULL, NULL); delete_all_virt() 790 static int virtpci_device_add(struct device *parentbus, int devtype, virtpci_device_add() argument 804 if ((devtype != VIRTHBA_TYPE) && (devtype != VIRTNIC_TYPE)) { virtpci_device_add() 805 POSTCODE_LINUX_3(VPCI_CREATE_FAILURE_PC, devtype, virtpci_device_add() 818 virtpcidev->devtype = devtype; virtpci_device_add() 819 if (devtype == VIRTHBA_TYPE) { virtpci_device_add() 853 if (devtype == VIRTHBA_TYPE) { virtpci_device_add() 942 int devtype, virtpci_device_serverdown() 953 if ((devtype != VIRTHBA_TYPE) && (devtype != VIRTNIC_TYPE)) virtpci_device_serverdown() 962 if (tmpvpcidev->devtype != devtype) virtpci_device_serverdown() 965 if (devtype == VIRTHBA_TYPE) { virtpci_device_serverdown() 969 /* devtype is vhba, we're pausing vhba whose virtpci_device_serverdown() 976 /* devtype is vnic, we're pausing vnic whose virtpci_device_serverdown() 996 int devtype, virtpci_device_serverup() 1007 if ((devtype != VIRTHBA_TYPE) && (devtype != VIRTNIC_TYPE)) virtpci_device_serverup() 1017 if (tmpvpcidev->devtype != devtype) virtpci_device_serverup() 1020 if (devtype == VIRTHBA_TYPE) { virtpci_device_serverup() 1024 /* devtype is vhba, we're resuming vhba whose virtpci_device_serverup() 1030 /* devtype is vnic, we're resuming vnic whose virtpci_device_serverup() 1060 int devtype, struct vhba_wwnn *wwnn, virtpci_device_del() 1073 if ((devtype != VIRTHBA_TYPE) && (devtype != VIRTNIC_TYPE)) virtpci_device_del() 1079 all = ((devtype == VIRTHBA_TYPE) && (!wwnn)) || virtpci_device_del() 1080 ((devtype == VIRTNIC_TYPE) && (!macaddr)); virtpci_device_del() 1089 if (tmpvpcidev->devtype != devtype) virtpci_device_del() 1098 } else if (devtype == VIRTHBA_TYPE) { virtpci_device_del() 1102 /* devtype is vhba, we're deleting vhba whose virtpci_device_del() 1109 /* devtype is vnic, we're deleting vnic whose virtpci_device_del() 1298 if (tmpvpcidev->devtype == VIRTHBA_TYPE) { info_debugfs_read() 941 virtpci_device_serverdown(struct device *parentbus, int devtype, struct vhba_wwnn *wwnn, unsigned char macaddr[]) virtpci_device_serverdown() argument 995 virtpci_device_serverup(struct device *parentbus, int devtype, struct vhba_wwnn *wwnn, unsigned char macaddr[]) virtpci_device_serverup() argument 1059 virtpci_device_del(struct device *parentbus, int devtype, struct vhba_wwnn *wwnn, unsigned char macaddr[]) virtpci_device_del() argument
|
H A D | virtpci.h | 55 enum virtpci_dev_type devtype; /* indicates type of the member in struct:virtpci_dev
|
/linux-4.1.27/drivers/gpu/ipu-v3/ |
H A D | ipu-common.c | 800 const struct ipu_devtype *devtype = ipu->devtype; ipu_submodules_init() local 802 ret = ipu_cpmem_init(ipu, dev, ipu_base + devtype->cpmem_ofs); ipu_submodules_init() 808 ret = ipu_csi_init(ipu, dev, 0, ipu_base + devtype->csi0_ofs, ipu_submodules_init() 815 ret = ipu_csi_init(ipu, dev, 1, ipu_base + devtype->csi1_ofs, ipu_submodules_init() 823 ipu_base + devtype->ic_ofs, ipu_submodules_init() 824 ipu_base + devtype->tpm_ofs); ipu_submodules_init() 830 ret = ipu_di_init(ipu, dev, 0, ipu_base + devtype->disp0_ofs, ipu_submodules_init() 837 ret = ipu_di_init(ipu, dev, 1, ipu_base + devtype->disp1_ofs, ipu_submodules_init() 844 ret = ipu_dc_init(ipu, dev, ipu_base + devtype->cm_ofs + ipu_submodules_init() 845 IPU_CM_DC_REG_OFS, ipu_base + devtype->dc_tmpl_ofs); ipu_submodules_init() 852 devtype->cm_ofs + IPU_CM_DMFC_REG_OFS, ipu_clk); ipu_submodules_init() 858 ret = ipu_dp_init(ipu, dev, ipu_base + devtype->srm_ofs); ipu_submodules_init() 865 devtype->cm_ofs + IPU_CM_SMFC_REG_OFS); ipu_submodules_init() 1054 res.start = ipu_base + ipu->devtype->cm_ofs + reg->reg_offset; ipu_add_client_devices() 1196 const struct ipu_devtype *devtype; ipu_probe() local 1198 devtype = of_id->data; ipu_probe() 1218 ipu->devtype = devtype; ipu_probe() 1219 ipu->ipu_type = devtype->type; ipu_probe() 1225 ipu_base + devtype->cm_ofs); ipu_probe() 1227 ipu_base + devtype->cm_ofs + IPU_CM_IDMAC_REG_OFS); ipu_probe() 1229 ipu_base + devtype->cpmem_ofs); ipu_probe() 1231 ipu_base + devtype->csi0_ofs); ipu_probe() 1233 ipu_base + devtype->csi1_ofs); ipu_probe() 1235 ipu_base + devtype->ic_ofs); ipu_probe() 1237 ipu_base + devtype->disp0_ofs); ipu_probe() 1239 ipu_base + devtype->disp1_ofs); ipu_probe() 1241 ipu_base + devtype->srm_ofs); ipu_probe() 1243 ipu_base + devtype->tpm_ofs); ipu_probe() 1245 ipu_base + devtype->cm_ofs + IPU_CM_DC_REG_OFS); ipu_probe() 1247 ipu_base + devtype->cm_ofs + IPU_CM_IC_REG_OFS); ipu_probe() 1249 ipu_base + devtype->cm_ofs + IPU_CM_DMFC_REG_OFS); ipu_probe() 1251 ipu_base + devtype->vdi_ofs); ipu_probe() 1254 ipu_base + devtype->cm_ofs, PAGE_SIZE); ipu_probe() 1256 ipu_base + devtype->cm_ofs + IPU_CM_IDMAC_REG_OFS, ipu_probe() 1309 dev_info(&pdev->dev, "%s probed\n", devtype->name); ipu_probe()
|
H A D | ipu-prv.h | 147 const struct ipu_devtype *devtype; member in struct:ipu_soc
|
/linux-4.1.27/drivers/staging/unisys/include/ |
H A D | vbushelper.h | 34 snprintf(bus_device_info_ptr->devtype, bus_device_info_init() 35 sizeof(bus_device_info_ptr->devtype), bus_device_info_init()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | max310x.c | 269 struct max310x_devtype *devtype; member in struct:max310x_port 315 "%s ID 0x%02x does not match\n", s->devtype->name, val); max3107_detect() 336 dev_err(dev, "%s not present\n", s->devtype->name); max3108_detect() 358 "%s ID 0x%02x does not match\n", s->devtype->name, val); max3109_detect() 389 "%s ID 0x%02x does not match\n", s->devtype->name, val); max14830_detect() 918 s->devtype->power(port, 1); max310x_startup() 952 s->devtype->power(port, 0); max310x_shutdown() 959 return (port->type == PORT_MAX310X) ? s->devtype->name : NULL; max310x_type() 1014 s->devtype->power(&s->p[i].port, 0); max310x_suspend() 1026 s->devtype->power(&s->p[i].port, 1); max310x_resume() 1081 static int max310x_probe(struct device *dev, struct max310x_devtype *devtype, max310x_probe() argument 1094 sizeof(struct max310x_one) * devtype->nr, GFP_KERNEL); max310x_probe() 1131 s->devtype = devtype; max310x_probe() 1135 ret = devtype->detect(dev); max310x_probe() 1139 for (i = 0; i < devtype->nr; i++) { max310x_probe() 1167 s->uart.nr = devtype->nr; max310x_probe() 1184 s->gpio.ngpio = devtype->nr * 4; max310x_probe() 1193 for (i = 0; i < devtype->nr; i++) { max310x_probe() 1222 devtype->power(&s->p[i].port, 0); max310x_probe() 1261 s->devtype->power(&s->p[i].port, 0); max310x_remove() 1293 struct max310x_devtype *devtype; max310x_spi_probe() local 1310 devtype = (struct max310x_devtype *)of_id->data; max310x_spi_probe() 1314 devtype = (struct max310x_devtype *)id_entry->driver_data; max310x_spi_probe() 1318 regcfg.max_register = devtype->nr * 0x20 - 1; max310x_spi_probe() 1321 return max310x_probe(&spi->dev, devtype, regmap, spi->irq, flags); max310x_spi_probe()
|
H A D | sc16is7xx.c | 311 struct sc16is7xx_devtype *devtype; member in struct:sc16is7xx_port 935 return (port->type == PORT_SC16IS7XX) ? s->devtype->name : NULL; sc16is7xx_type() 1043 struct sc16is7xx_devtype *devtype, sc16is7xx_probe() 1055 sizeof(struct sc16is7xx_one) * devtype->nr_uart, sc16is7xx_probe() 1074 s->devtype = devtype; sc16is7xx_probe() 1080 s->uart.nr = devtype->nr_uart; sc16is7xx_probe() 1088 if (devtype->nr_gpio) { sc16is7xx_probe() 1098 s->gpio.ngpio = devtype->nr_gpio; sc16is7xx_probe() 1108 for (i = 0; i < devtype->nr_uart; ++i) { sc16is7xx_probe() 1148 if (devtype->nr_gpio) sc16is7xx_probe() 1168 if (s->devtype->nr_gpio) sc16is7xx_remove() 1210 struct sc16is7xx_devtype *devtype; sc16is7xx_i2c_probe() local 1218 devtype = (struct sc16is7xx_devtype *)of_id->data; sc16is7xx_i2c_probe() 1220 devtype = (struct sc16is7xx_devtype *)id->driver_data; sc16is7xx_i2c_probe() 1225 (devtype->nr_uart - 1); sc16is7xx_i2c_probe() 1228 return sc16is7xx_probe(&i2c->dev, devtype, regmap, i2c->irq, flags); sc16is7xx_i2c_probe() 1042 sc16is7xx_probe(struct device *dev, struct sc16is7xx_devtype *devtype, struct regmap *regmap, int irq, unsigned long flags) sc16is7xx_probe() argument
|
H A D | imx.c | 192 enum imx_uart_type devtype; member in struct:imx_uart_data 230 .devtype = IMX1_UART, 234 .devtype = IMX21_UART, 238 .devtype = IMX6Q_UART, 273 return sport->devdata->devtype == IMX1_UART; is_imx1_uart() 278 return sport->devdata->devtype == IMX21_UART; is_imx21_uart() 283 return sport->devdata->devtype == IMX6Q_UART; is_imx6q_uart()
|
H A D | mxs-auart.c | 153 enum mxs_auart_type devtype; member in struct:mxs_auart_port 192 return s->devtype == IMX28_AUART; is_imx28_auart() 1244 s->devtype = pdev->id_entry->driver_data; mxs_auart_probe()
|
/linux-4.1.27/drivers/scsi/ |
H A D | atp870u.h | 53 unsigned char devtype; member in struct:atp_unit::atp_id
|
H A D | atp870u.c | 1454 dev->id[0][i].devtype = mbuf[0]; is870() 1616 if ((dev->id[0][i].devtype == 0x00) || (dev->id[0][i].devtype == 0x07) || ((dev->id[0][i].devtype == 0x05) && ((n & 0x10) != 0))) { is870() 1973 dev->id[0][i].devtype = mbuf[0]; is880() 2291 if ((dev->id[0][i].devtype == 0x00) || (dev->id[0][i].devtype == 0x07) || ((dev->id[0][i].devtype == 0x05) && ((n & 0x10) != 0))) { is880() 2539 atp_dev->id[c][k].devtype = 0x7f; atp870u_init_tables() 3366 dev->id[c][i].devtype = mbuf[0]; is885() 3677 if ((dev->id[c][i].devtype == 0x00) || (dev->id[c][i].devtype == 0x07) || is885() 3678 ((dev->id[c][i].devtype == 0x05) && ((n & 0x10) != 0))) { is885()
|
H A D | gdth_proc.c | 290 pdi->devtype = 0xff; gdth_show_info() 293 if (pdi->devtype == 0) { gdth_show_info()
|
H A D | gdth.c | 1959 TRACE2(("gdth_search_dr() cache drive %d devtype %d\n", gdth_analyse_hdrive() 1961 ha->hdr[hdrive].devtype = (u16)ha->info; gdth_analyse_hdrive() 2187 if ( (nscp->cmnd[4]&1) && !(ha->hdr[t].devtype&1) ) { gdth_next() 2196 nscp->cmnd[3] = (ha->hdr[t].devtype&1) ? 1:0; gdth_next() 2344 TRACE2(("Inquiry hdrive %d devtype %d\n", gdth_internal_cache_cmd() 2345 t,ha->hdr[t].devtype)); gdth_internal_cache_cmd() 2346 inq.type_qual = (ha->hdr[t].devtype&4) ? TYPE_ROM:TYPE_DISK; gdth_internal_cache_cmd() 2350 if ((ha->hdr[t].devtype & 1) || gdth_internal_cache_cmd() 2376 mpd.hd.dev_par = (ha->hdr[t].devtype&2) ? 0x80:0; gdth_internal_cache_cmd() 4416 /* devtype, cluster info, R/W attribs */ ioc_rescan() 4427 ha->hdr[i].devtype = (status == S_OK ? (u16)info : 0); ioc_rescan()
|
H A D | hpsa.h | 40 int devtype; member in struct:hpsa_scsi_dev_t
|
H A D | gdth.h | 370 u8 devtype; /* SCSI devicetype */ member in struct:__anon8856 884 u16 devtype; /* further information */ member in struct:__anon8901::__anon8902
|
H A D | hpsa.c | 958 scsi_device_type(device->devtype), hostno, hpsa_scsi_add_entry() 993 scsi_device_type(new_entry->devtype), hostno, new_entry->bus, hpsa_scsi_update_entry() 1021 scsi_device_type(new_entry->devtype), hostno, new_entry->bus, hpsa_scsi_replace_entry() 1043 scsi_device_type(sd->devtype), hostno, sd->bus, sd->target, hpsa_scsi_remove_entry() 1096 if (dev1->devtype != dev2->devtype) device_is_the_same() 1292 if (dev[j]->devtype != TYPE_DISK) hpsa_figure_phys_disk_ptrs() 1334 if (dev[i]->devtype != TYPE_DISK) hpsa_update_log_drive_phys_drive_ptrs() 2685 this_device->devtype = (inq_buff[0] & 0x1f); hpsa_update_device_info() 2696 if (this_device->devtype == TYPE_DISK && hpsa_update_device_info() 2720 *is_OBDR_device = (this_device->devtype == TYPE_ROM && hpsa_update_device_info() 3173 switch (this_device->devtype) { hpsa_update_scsi_devices()
|
H A D | BusLogic.h | 1103 unsigned char devtype:5; /* Byte 0 Bits 0-4 */ member in struct:scsi_inquiry
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-wiimote-core.c | 206 if (wdata->state.devtype == WIIMOTE_DEV_BALANCE_BOARD) { select_drm() 616 unsigned int devtype) wiimote_modules_load() 623 mods = wiimote_devtype_mods[devtype]; wiimote_modules_load() 663 wdata->state.devtype = devtype; wiimote_modules_load() 686 mods = wiimote_devtype_mods[wdata->state.devtype]; wiimote_modules_unload() 689 wdata->state.devtype = WIIMOTE_DEV_UNKNOWN; wiimote_modules_unload() 807 __u8 devtype = WIIMOTE_DEV_GENERIC; wiimote_init_set_type() local 816 devtype = WIIMOTE_DEV_BALANCE_BOARD; wiimote_init_set_type() 819 devtype = WIIMOTE_DEV_PRO_CONTROLLER; wiimote_init_set_type() 824 devtype = WIIMOTE_DEV_GEN10; wiimote_init_set_type() 827 devtype = WIIMOTE_DEV_GEN20; wiimote_init_set_type() 830 devtype = WIIMOTE_DEV_BALANCE_BOARD; wiimote_init_set_type() 833 devtype = WIIMOTE_DEV_PRO_CONTROLLER; wiimote_init_set_type() 839 devtype = WIIMOTE_DEV_GEN10; wiimote_init_set_type() 842 devtype = WIIMOTE_DEV_GEN20; wiimote_init_set_type() 848 if (devtype == WIIMOTE_DEV_GENERIC) wiimote_init_set_type() 853 wiimote_devtype_names[devtype]); wiimote_init_set_type() 855 wiimote_modules_load(wdata, devtype); wiimote_init_set_type() 867 wdata->state.devtype = WIIMOTE_DEV_UNKNOWN; wiimote_init_detect() 1202 if (wdata->state.devtype == WIIMOTE_DEV_PENDING) { wiimote_init_worker() 1249 mods = wiimote_devtype_mods[wdata->state.devtype]; handler_keys() 1270 mods = wiimote_devtype_mods[wdata->state.devtype]; handler_accel() 1362 mods = wiimote_devtype_mods[wdata->state.devtype]; handler_ext() 1392 mods = wiimote_devtype_mods[wdata->state.devtype]; handler_ir() 1697 type = wdata->state.devtype; wiimote_dev_show() 1720 static DEVICE_ATTR(devtype, S_IRUGO, wiimote_dev_show, NULL); 615 wiimote_modules_load(struct wiimote_data *wdata, unsigned int devtype) wiimote_modules_load() argument
|
H A D | hid-wiimote.h | 121 __u8 devtype; member in struct:wiimote_state
|
/linux-4.1.27/drivers/block/paride/ |
H A D | paride.h | 22 Values for devtype: 42 int devtype; /* device type: PI_PD etc. */ member in struct:pi_adapter 69 int devtype, /* device type: PI_PD, PI_PCD, etc ... */
|
H A D | paride.c | 349 int devtype, int verbose, char *device) pi_init() 388 pi->devtype = devtype; pi_init() 347 pi_init(PIA * pi, int autoprobe, int port, int mode, int unit, int protocol, int delay, char *scratch, int devtype, int verbose, char *device) pi_init() argument
|
H A D | bpck.c | 243 if (pi->devtype == PI_PCD) { bpck_connect()
|
/linux-4.1.27/drivers/staging/unisys/common-spar/include/ |
H A D | vbusdeviceinfo.h | 29 u8 devtype[16]; /* short string identifying the device type */ member in struct:ultra_vbus_deviceinfo 160 psrc = &devinfo->devtype[0]; vbuschannel_devinfo_to_string() 161 nsrc = sizeof(devinfo->devtype); vbuschannel_devinfo_to_string()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-imx.c | 84 enum spi_imx_devtype devtype; member in struct:spi_imx_devtype_data 119 return d->devtype_data->devtype == IMX27_CSPI; is_imx27_cspi() 124 return d->devtype_data->devtype == IMX35_CSPI; is_imx35_cspi() 129 return (d->devtype_data->devtype == IMX51_ECSPI) ? 64 : 8; spi_imx_get_fifosize() 628 .devtype = IMX1_CSPI, 637 .devtype = IMX21_CSPI, 647 .devtype = IMX27_CSPI, 656 .devtype = IMX31_CSPI, 666 .devtype = IMX35_CSPI, 675 .devtype = IMX51_ECSPI,
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | ov7670.c | 237 const struct ov7670_devtype *devtype; /* Device specifics */ member in struct:ov7670_info 920 unsigned int n_win_sizes = info->devtype->n_win_sizes; ov7670_try_fmt_internal() 944 wsize = info->devtype->win_sizes + i; ov7670_try_fmt_internal() 956 for (wsize = info->devtype->win_sizes; ov7670_try_fmt_internal() 957 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++) ov7670_try_fmt_internal() 960 if (wsize >= info->devtype->win_sizes + win_sizes_limit) ov7670_try_fmt_internal() 1044 info->devtype->get_framerate(sd, &cp->timeperframe); ov7670_g_parm() 1060 return info->devtype->set_framerate(sd, tpf); ov7670_s_parm() 1096 unsigned int n_win_sizes = info->devtype->n_win_sizes; ov7670_enum_frame_size() 1106 struct ov7670_win_size *win = &info->devtype->win_sizes[i]; ov7670_enum_frame_size() 1574 info->devtype = &ov7670_devdata[id->driver_data]; ov7670_probe() 1581 info->devtype->set_framerate(sd, &tpf); ov7670_probe()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-mxc.c | 84 enum imx_rtc_type devtype; member in struct:rtc_plat_data 102 return data->devtype == IMX1_RTC; is_imx1_rtc() 369 pdata->devtype = pdev->id_entry->driver_data; mxc_rtc_probe()
|
/linux-4.1.27/drivers/block/ |
H A D | cciss_scsi.c | 437 sd->devtype = device->devtype; cciss_scsi_add_entry() 446 scsi_device_type(sd->devtype), hostno, cciss_scsi_add_entry() 469 scsi_device_type(sd.devtype), hostno, cciss_scsi_remove_entry() 507 return dev1->devtype == dev2->devtype && device_is_the_same() 589 csd->devtype = sd[j].devtype; adjust_cciss_scsi_table() 1222 this_device->devtype = (inq_buff[0] & 0x1f); cciss_update_non_disk_devices() 1238 switch (this_device->devtype) cciss_update_non_disk_devices() 1263 scsi_device_type(this_device->devtype)); cciss_update_non_disk_devices() 1344 sd->devtype, cciss_scsi_show_info()
|
H A D | cciss_scsi.h | 62 int devtype; member in struct:cciss_scsi_dev_t
|
/linux-4.1.27/drivers/mtd/devices/ |
H A D | lart.c | 306 __u32 manufacturer,devtype; flash_probe() local 314 devtype = FLASH_TO_DATA (read32 (ADDR_TO_FLASH_U2 (0x00000001))); flash_probe() 319 return (manufacturer == FLASH_MANUFACTURER && (devtype == FLASH_DEVICE_16mbit_TOP || devtype == FLASH_DEVICE_16mbit_BOTTOM)); flash_probe()
|
/linux-4.1.27/drivers/mtd/spi-nor/ |
H A D | fsl-quadspi.c | 200 enum fsl_qspi_devtype devtype; member in struct:fsl_qspi_devtype_data 207 .devtype = FSL_QUADSPI_VYBRID, 214 .devtype = FSL_QUADSPI_IMX6SX, 240 return q->devtype_data->devtype == FSL_QUADSPI_VYBRID; is_vybrid_qspi() 245 return q->devtype_data->devtype == FSL_QUADSPI_IMX6SX; is_imx6sx_qspi()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-rcar.c | 120 enum rcar_i2c_type devtype; member in struct:rcar_i2c_priv 176 switch (priv->devtype) { rcar_i2c_clock_calculate() 656 priv->devtype = (long)of_match_device(rcar_i2c_dt_ids, rcar_i2c_probe() 659 priv->devtype = platform_get_device_id(pdev)->driver_data; rcar_i2c_probe()
|
H A D | i2c-imx.c | 179 enum imx_i2c_type devtype; member in struct:imx_i2c_hwdata 215 .devtype = IMX1_I2C, 225 .devtype = IMX21_I2C, 235 .devtype = VF610_I2C, 267 return i2c_imx->hwdata->devtype == IMX1_I2C; is_imx1_i2c()
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | max98090.c | 1508 if (max98090->devtype == MAX98091) { max98090_add_widgets() 1519 if (max98090->devtype == MAX98091) { max98090_add_widgets() 2423 enum max98090_type devtype; max98090_probe() local 2459 devtype = MAX98090; max98090_probe() 2462 devtype = MAX98091; max98090_probe() 2465 devtype = MAX98090; max98090_probe() 2469 if (max98090->devtype != devtype) { max98090_probe() 2471 max98090->devtype = devtype; max98090_probe() 2576 max98090->devtype = driver_data; max98090_i2c_probe()
|
H A D | wm8904.c | 55 enum wm8904_type devtype; member in struct:wm8904_priv 1178 switch (wm8904->devtype) { wm8904_add_widgets() 2059 switch (wm8904->devtype) { wm8904_probe() 2067 wm8904->devtype); wm8904_probe() 2159 wm8904->devtype = *((enum wm8904_type *)match->data); wm8904_i2c_probe() 2161 wm8904->devtype = id->driver_data; wm8904_i2c_probe()
|
H A D | max98088.c | 43 enum max98088_type devtype; member in struct:max98088_priv 1989 max98088->devtype = id->driver_data; max98088_i2c_probe()
|
H A D | max98095.c | 45 enum max98095_type devtype; member in struct:max98095_priv 2404 max98095->devtype = id->driver_data; max98095_i2c_probe()
|
H A D | max98090.h | 1523 enum max98090_type devtype; member in struct:max98090_priv
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | mxcmmc.c | 162 enum mxcmci_type devtype; member in struct:mxcmci_host 199 return host->devtype == IMX31_MMC; is_imx31_mmc() 204 return host->devtype == MPC512X_MMC; is_mpc512x_mmc() 1060 host->devtype = id_entry->driver_data; mxcmci_probe() 1062 host->devtype = pdev->id_entry->driver_data; mxcmci_probe() 1065 /* adjust max_segs after devtype detection */ mxcmci_probe()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-driver.c | 907 u32 devtype; cx18_probe() local 972 devtype = cx18_read_reg(cx, 0xC72028); cx18_probe() 973 switch (devtype & 0xff000000) { cx18_probe() 975 CX18_INFO("cx23418 revision %08x (A)\n", devtype); cx18_probe() 978 CX18_INFO("cx23418 revision %08x (B)\n", devtype); cx18_probe() 981 CX18_INFO("cx23418 revision %08x (Unknown)\n", devtype); cx18_probe()
|
/linux-4.1.27/drivers/edac/ |
H A D | mv64x60_edac.c | 666 u32 devtype; mv64x60_init_csrows() local 681 devtype = (ctl >> 20) & 0x3; mv64x60_init_csrows() 682 switch (devtype) { mv64x60_init_csrows()
|
/linux-4.1.27/net/llc/ |
H A D | llc_sap.c | 28 static int llc_mac_header_len(unsigned short devtype) llc_mac_header_len() argument 30 switch (devtype) { llc_mac_header_len()
|
/linux-4.1.27/drivers/dma/ |
H A D | imx-dma.c | 188 enum imx_dma_type devtype; member in struct:imxdma_engine 230 return imxdma->devtype == IMX1_DMA; is_imx1_dma() 235 return imxdma->devtype == IMX27_DMA; is_imx27_dma() 1067 imxdma->devtype = pdev->id_entry->driver_data; imxdma_probe()
|
/linux-4.1.27/sound/core/ |
H A D | pcm.c | 1080 int devtype = -1; snd_pcm_dev_register() local 1085 devtype = SNDRV_DEVICE_TYPE_PCM_PLAYBACK; snd_pcm_dev_register() 1088 devtype = SNDRV_DEVICE_TYPE_PCM_CAPTURE; snd_pcm_dev_register() 1092 err = snd_register_device(devtype, pcm->card, pcm->device, snd_pcm_dev_register()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | imxfb.c | 145 enum imxfb_type devtype; member in struct:imxfb_info 201 return fbi->devtype == IMX1_FB; is_imx1_fb() 640 fbi->devtype = pdev->id_entry->driver_data; imxfb_init_fbinfo()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | linit.c | 278 * @devtype: index into lookup table 283 struct aac_driver_ident* aac_get_driver_ident(int devtype) aac_get_driver_ident() argument 285 return &aac_drivers[devtype]; aac_get_driver_ident()
|
H A D | aacraid.h | 2143 struct aac_driver_ident* aac_get_driver_ident(int devtype);
|
/linux-4.1.27/drivers/xen/xenbus/ |
H A D | xenbus_probe.c | 399 static DEVICE_ATTR_RO(devtype);
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
H A D | mx2_camera.c | 259 enum mx2_camera_type devtype; member in struct:mx2_camera_dev
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | device.c | 642 static DEVICE_ATTR(devtype, 0444, devtype_show, NULL);
|
/linux-4.1.27/include/linux/ |
H A D | netdevice.h | 1883 #define SET_NETDEV_DEVTYPE(net, devtype) ((net)->dev.type = (devtype))
|