Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 151 of 151) sorted by relevance

/linux-4.4.14/arch/arm/mach-ux500/
Dboard-mop500-audio.c20 .dev_type = DB8500_DMA_DEV31_MSP0_SLIM0_CH0,
26 .dev_type = DB8500_DMA_DEV31_MSP0_SLIM0_CH0,
38 .dev_type = DB8500_DMA_DEV30_MSP3,
44 .dev_type = DB8500_DMA_DEV30_MSP1,
56 .dev_type = DB8500_DMA_DEV14_MSP2,
62 .dev_type = DB8500_DMA_DEV14_MSP2,
/linux-4.4.14/drivers/regulator/
Dmax14577.c52 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
74 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_set_current_limit()
182 enum maxim_device_type dev_type) in match_init_data() argument
184 switch (dev_type) { in match_init_data()
195 enum maxim_device_type dev_type) in match_of_node() argument
197 switch (dev_type) { in match_of_node()
208 enum maxim_device_type dev_type) in match_init_data() argument
214 enum maxim_device_type dev_type) in match_of_node() argument
229 switch (max14577->dev_type) { in max14577_get_regmap()
253 enum maxim_device_type dev_type = max14577->dev_type; in max14577_regulator_probe() local
[all …]
Ds2mps11.c48 enum sec_device_type dev_type; member
518 switch (s2mps11->dev_type) { in s2mps14_regulator_enable()
550 switch (s2mps11->dev_type) { in s2mps14_regulator_set_suspend_disable()
721 if (s2mps11->dev_type == S2MPS14X) in s2mps11_pmic_dt_parse()
976 s2mps11->dev_type = platform_get_device_id(pdev)->driver_data; in s2mps11_pmic_probe()
977 switch (s2mps11->dev_type) { in s2mps11_pmic_probe()
1000 s2mps11->dev_type); in s2mps11_pmic_probe()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_dev.c87 if (dev->dev_type == SAS_SATA_PM_PORT) in asd_set_ddb_type()
119 if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM_PORT) { in asd_set_dmamode()
143 if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM || in asd_init_sata()
144 dev->dev_type == SAS_SATA_PM_PORT) { in asd_init_sata()
177 if ((dev->dev_type == SAS_SATA_DEV) || in asd_init_target_ddb()
191 (dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || in asd_init_target_ddb()
192 dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE)) in asd_init_target_ddb()
201 if (dev->dev_type == SAS_SATA_PM) in asd_init_target_ddb()
214 if (dev->dev_type == SAS_SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { in asd_init_target_ddb()
222 if (dev->dev_type == SAS_END_DEVICE) { in asd_init_target_ddb()
[all …]
Daic94xx_tmf.c187 int reset_type = (dev->dev_type == SAS_SATA_DEV || in asd_I_T_nexus_reset()
Daic94xx_hwi.c77 phy->identify_frame->dev_type = SAS_END_DEVICE; in asd_init_phy_identify()
/linux-4.4.14/include/scsi/
Dsas_ata.h35 return dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM || in dev_is_sata()
36 dev->dev_type == SAS_SATA_PM_PORT || dev->dev_type == SAS_SATA_PENDING; in dev_is_sata()
Dsas.h265 u8 dev_type:3; member
459 u8 dev_type:3; member
Dlibsas.h192 enum sas_device_type dev_type; member
/linux-4.4.14/drivers/scsi/libsas/
Dsas_discover.c41 switch (dev->dev_type) { in sas_init_dev()
96 dev->dev_type = SAS_SATA_PM; in sas_get_port_device()
98 dev->dev_type = SAS_SATA_DEV; in sas_get_port_device()
103 dev->dev_type = id->dev_type; in sas_get_port_device()
111 switch (dev->dev_type) { in sas_get_port_device()
131 printk("ERROR: Unidentified device type %d\n", dev->dev_type); in sas_get_port_device()
159 if (dev_is_sata(dev) || dev->dev_type == SAS_END_DEVICE) in sas_get_port_device()
318 if (dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE) in sas_free_device()
346 if (dev->dev_type == SAS_END_DEVICE && in sas_unregister_common_dev()
459 switch (dev->dev_type) { in sas_discover_domain()
[all …]
Dsas_expander.c200 enum sas_device_type dev_type; in sas_set_ex_phy() local
234 dev_type = phy->attached_dev_type; in sas_set_ex_phy()
325 if (new_phy || phy->attached_dev_type != dev_type || in sas_set_ex_phy()
836 child->dev_type = SAS_END_DEVICE; in sas_ex_discover_end_dev()
951 child->dev_type = phy->attached_dev_type; in sas_ex_discover_expander()
1133 if (child->dev_type != SAS_EDGE_EXPANDER_DEVICE && in sas_check_level_subtractive_boundary()
1134 child->dev_type != SAS_FANOUT_EXPANDER_DEVICE) in sas_check_level_subtractive_boundary()
1211 if (dev->dev_type != SAS_EDGE_EXPANDER_DEVICE) in sas_check_ex_subtractive_boundary()
1256 ex_type[parent->dev_type], in sas_print_parent_topology_bug()
1260 ex_type[child->dev_type], in sas_print_parent_topology_bug()
[all …]
Dsas_internal.h131 switch (dev->dev_type) { in sas_fill_in_rphy()
158 phy->identify.device_type = dev->dev_type; in sas_phy_set_target()
Dsas_ata.c285 dev->dev_type = SAS_SATA_PENDING; in sas_get_ata_info()
289 dev->dev_type = SAS_SATA_DEV; in sas_get_ata_info()
310 if (dev->dev_type != SAS_SATA_PENDING) in sas_ata_clear_pending()
617 if (dev->dev_type == SAS_SATA_PENDING) in sas_get_ata_command_set()
725 if (dev->dev_type == SAS_SATA_PM) in sas_discover_sata()
Dsas_port.c72 if (dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE) { in sas_resume_port()
/linux-4.4.14/drivers/staging/unisys/include/
Dvbushelper.h28 const char *dev_type, const char *drv_name, in bus_device_info_init() argument
34 "%s", (dev_type) ? dev_type : "unknownType"); in bus_device_info_init()
/linux-4.4.14/arch/powerpc/platforms/ps3/
Ddevice-init.c49 dev->dev_type = PS3_DEVICE_TYPE_LPM; in ps3_register_lpm_devices()
137 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_GELIC); in ps3_setup_gelic_device()
147 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_gelic_device()
208 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_USB); in ps3_setup_uhc_device()
218 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_uhc_device()
313 p->dev.dev_type = PS3_DEVICE_TYPE_VUART; in ps3_setup_vuart_device()
354 repo->dev_index, repo->dev_type, port, blk_size, num_blocks, in ps3_setup_storage_dev()
366 p->sbd.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_storage_dev()
467 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_sound_devices()
503 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_graphics_devices()
[all …]
Drepository.c239 unsigned int dev_index, enum ps3_dev_type *dev_type) in ps3_repository_read_dev_type() argument
250 *dev_type = v1; in ps3_repository_read_dev_type()
340 &tmp.dev_type); in ps3_repository_find_device()
357 __func__, __LINE__, tmp.dev_type, tmp.dev_index, tmp.dev_id); in ps3_repository_find_device()
427 &tmp.dev_type); in ps3_repository_find_device_by_id()
434 __func__, __LINE__, tmp.bus_type, tmp.dev_type, tmp.bus_index, in ps3_repository_find_device_by_id()
1317 repo->dev_index, &repo->dev_type); in dump_device_info()
1338 repo->dev_type, (unsigned long)repo->dev_id); in dump_device_info()
Dplatform.h121 unsigned int dev_index, enum ps3_dev_type *dev_type);
141 enum ps3_dev_type dev_type; member
Dsystem-bus.c331 switch (dev->dev_type) { in ps3_mmio_region_init()
757 switch (dev->dev_type) { in ps3_system_bus_device_register()
Dmm.c1144 switch (dev->dev_type) { in ps3_dma_region_init()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-core.c206 if (dev->dev_type == TM6010) { in tm6000_set_fourcc_format()
232 if (dev->dev_type == TM6010) { in tm6000_set_vbi()
288 if (dev->dev_type == TM6010) { in tm6000_init_analog_mode()
359 if (dev->dev_type == TM6010) { in tm6000_init_digital_mode()
579 if (dev->dev_type != TM6000) in tm6000_init()
580 dev->dev_type = TM6000; in tm6000_init()
584 if (dev->dev_type != TM6010) in tm6000_init()
585 dev->dev_type = TM6010; in tm6000_init()
593 if (dev->dev_type == TM6010) { in tm6000_init()
643 if (dev->dev_type == TM6010) { in tm6000_set_audio_bitrate()
[all …]
Dtm6000-i2c.c51 if (dev->dev_type == TM6010) in tm6000_i2c_send_regs()
85 if (dev->dev_type == TM6010) in tm6000_i2c_recv_regs()
132 if (dev->dev_type == TM6010) { in tm6000_i2c_recv_regs16()
Dtm6000-stds.c493 if (dev->dev_type == TM6010) { in tm6000_set_standard()
630 if ((dev->dev_type == TM6010) && in tm6000_set_standard()
Dtm6000.h179 enum tm6000_devtype dev_type; /* type of device */ member
Dtm6000-cards.c950 if (dev->dev_type == TM6010) in tm6000_config_tuner()
988 dev->dev_type = tm6000_boards[dev->model].type; in fill_board_specific_data()
/linux-4.4.14/drivers/input/misc/
Dmax77693-haptic.c52 enum max77693_types dev_type; member
89 if (haptic->dev_type != TYPE_MAX77843) in max77843_haptic_bias()
111 switch (haptic->dev_type) { in max77693_haptic_configure()
144 if (haptic->dev_type != TYPE_MAX77693) in max77693_haptic_lowsys()
309 haptic->dev_type = platform_get_device_id(pdev)->driver_data; in max77693_haptic_probe()
310 switch (haptic->dev_type) { in max77693_haptic_probe()
319 haptic->dev_type); in max77693_haptic_probe()
/linux-4.4.14/drivers/bluetooth/
Dhci_vhci.c95 __u8 dev_type; in __vhci_create_device() local
101 dev_type = opcode & 0x03; in __vhci_create_device()
103 if (dev_type != HCI_BREDR && dev_type != HCI_AMP) in __vhci_create_device()
123 hdev->dev_type = dev_type; in __vhci_create_device()
Dbtmrvl_main.c139 priv->btmrvl_dev.dev_type = HCI_AMP; in btmrvl_process_event()
141 priv->btmrvl_dev.dev_type = HCI_BREDR; in btmrvl_process_event()
143 BT_DBG("dev_type: %d", priv->btmrvl_dev.dev_type); in btmrvl_process_event()
685 hdev->dev_type = priv->btmrvl_dev.dev_type; in btmrvl_register_hdev()
Dbtsdio.c312 hdev->dev_type = HCI_AMP; in btsdio_probe()
314 hdev->dev_type = HCI_BREDR; in btsdio_probe()
Dbtmrvl_drv.h63 u8 dev_type; member
Dhci_ldisc.c614 hdev->dev_type = HCI_AMP; in hci_uart_register_dev()
616 hdev->dev_type = HCI_BREDR; in hci_uart_register_dev()
Dbtusb.c2884 hdev->dev_type = HCI_AMP; in btusb_probe()
2886 hdev->dev_type = HCI_BREDR; in btusb_probe()
/linux-4.4.14/drivers/power/
Dpower_supply.h19 extern void power_supply_init_attrs(struct device_type *dev_type);
24 static inline void power_supply_init_attrs(struct device_type *dev_type) {} in power_supply_init_attrs() argument
Dmax14577_charger.c37 enum maxim_device_type dev_type, u8 val) { in maxim_get_charger_type() argument
48 if (dev_type == MAXIM_DEVICE_TYPE_MAX77836) in maxim_get_charger_type()
143 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_online()
182 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_battery_health()
277 switch (chg->max14577->dev_type) { in max14577_init_eoc()
317 &maxim_charger_currents[chg->max14577->dev_type]; in max14577_init_fast_charge()
445 val->strval = model_names[chg->max14577->dev_type]; in max14577_charger_get_property()
Dpower_supply_sysfs.c246 void power_supply_init_attrs(struct device_type *dev_type) in power_supply_init_attrs() argument
250 dev_type->groups = power_supply_attr_groups; in power_supply_init_attrs()
/linux-4.4.14/drivers/mfd/
Dmax14577.c293 max14577->dev_type, device_id, vendor_id); in max14577_print_dev_type()
418 max14577->dev_type = in max14577_i2c_probe()
421 max14577->dev_type = id->driver_data; in max14577_i2c_probe()
426 switch (max14577->dev_type) { in max14577_i2c_probe()
452 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) { in max14577_i2c_probe()
468 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_probe()
482 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_remove()
/linux-4.4.14/arch/s390/include/asm/
Dccwdev.h31 .cu_type=(cu), .cu_model=(cum), .dev_type=(dev), .dev_model=(devm),\
58 && (id->dev_type != match->dev_type)) in ccw_device_id_match()
/linux-4.4.14/usr/
Dgen_init_cpio.c240 uid_t uid, gid_t gid, char dev_type, in cpio_mknod() argument
245 if (dev_type == 'b') in cpio_mknod()
279 char dev_type; in cpio_mknod_line() local
285 name, &mode, &uid, &gid, &dev_type, &maj, &min)) { in cpio_mknod_line()
289 rc = cpio_mknod(name, mode, uid, gid, dev_type, maj, min); in cpio_mknod_line()
/linux-4.4.14/include/rdma/
Dib_addr.h82 unsigned short dev_type; member
150 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0; in rdma_addr_gid_offset()
211 dev_addr->dev_type != ARPHRD_INFINIBAND) in rdma_addr_get_sgid()
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_sas.c352 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)))
369 if (dev->dev_type != SAS_SATA_DEV) in pm8001_task_exec()
531 if (pm8001_ha->devices[dev].dev_type == SAS_PHY_UNUSED) { in pm8001_alloc_dev()
567 pm8001_dev->dev_type = SAS_PHY_UNUSED; in pm8001_free_dev()
603 pm8001_device->dev_type = dev->dev_type; in pm8001_dev_found_notify()
605 if (parent_dev && DEV_IS_EXPANDER(parent_dev->dev_type)) { in pm8001_dev_found_notify()
625 if (dev->dev_type == SAS_SATA_DEV) { in pm8001_dev_found_notify()
635 if (dev->dev_type == SAS_END_DEVICE) in pm8001_dev_found_notify()
855 pm8001_dev->device_id, pm8001_dev->dev_type)); in pm8001_dev_gone_notify()
912 if (!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)) in pm8001_open_reject_retry()
Dpm8001_hwi.c1508 && (pm8001_dev->dev_type == SAS_PHY_UNUSED))) { in pm8001_work_fn()
2351 (DEV_IS_EXPANDER(t->dev->parent->dev_type)))) { in mpi_sata_completion()
3249 id->dev_type = phy->identify.device_type; in pm8001_bytes_dmaed()
3374 u8 deviceType = pPayload->sas_identify.dev_type; in hw_event_sas_phy_up()
4480 payload.sas_identify.dev_type = SAS_END_DEVICE; in pm8001_chip_phy_start_req()
4542 if (pm8001_dev->dev_type == SAS_SATA_DEV) in pm8001_chip_reg_dev_req()
4544 else if (pm8001_dev->dev_type == SAS_END_DEVICE || in pm8001_chip_reg_dev_req()
4545 pm8001_dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || in pm8001_chip_reg_dev_req()
4546 pm8001_dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE) in pm8001_chip_reg_dev_req()
4549 if (parent_dev && DEV_IS_EXPANDER(parent_dev->dev_type)) in pm8001_chip_reg_dev_req()
[all …]
Dpm80xx_hwi.c2045 (DEV_IS_EXPANDER(t->dev->parent->dev_type)))) { in mpi_sata_completion()
2866 u8 deviceType = pPayload->sas_identify.dev_type; in hw_event_port_recover()
2909 u8 deviceType = pPayload->sas_identify.dev_type; in hw_event_sas_phy_up()
4389 payload.sas_identify.dev_type = SAS_END_DEVICE; in pm80xx_chip_phy_start_req()
4452 if (pm8001_dev->dev_type == SAS_SATA_DEV) in pm80xx_chip_reg_dev_req()
4454 else if (pm8001_dev->dev_type == SAS_END_DEVICE || in pm80xx_chip_reg_dev_req()
4455 pm8001_dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || in pm80xx_chip_reg_dev_req()
4456 pm8001_dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE) in pm80xx_chip_reg_dev_req()
4459 if (parent_dev && DEV_IS_EXPANDER(parent_dev->dev_type)) in pm80xx_chip_reg_dev_req()
Dpm8001_sas.h269 enum sas_device_type dev_type; member
Dpm8001_init.c371 pm8001_ha->devices[i].dev_type = SAS_PHY_UNUSED; in pm8001_alloc()
/linux-4.4.14/drivers/i2c/busses/
Di2c-mxs.c74 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0)
76 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8)
119 enum mxs_i2c_devtype dev_type; member
363 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_trigger_write_cmd()
555 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_setup_xfer()
631 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_xfer_msg()
821 i2c->dev_type = device_id->driver_data; in mxs_i2c_probe()
/linux-4.4.14/arch/s390/include/uapi/asm/
Ddasd.h34 unsigned int dev_type : 16; /* from SenseID */ member
98 unsigned int dev_type : 16; /* from SenseID */ member
/linux-4.4.14/drivers/media/pci/mantis/
Dmantis_vp3028.c33 .dev_type = MANTIS_DEV_TYPE,
Dmantis_core.c81 .dev_type = MANTIS_DEV_UNKNOWN,
120 mantis->hwconfig->model_name, mantis->hwconfig->dev_type, in mantis_core_init()
Dhopper_vp3028.c78 .dev_type = MANTIS_DEV_TYPE,
Dmantis_vp3030.c93 .dev_type = MANTIS_DEV_TYPE,
Dmantis_vp1034.c110 .dev_type = MANTIS_DEV_TYPE,
Dmantis_vp1033.c202 .dev_type = MANTIS_DEV_TYPE,
Dmantis_pci.c58 config->dev_type, in mantis_pci_init()
Dmantis_vp2040.c177 .dev_type = MANTIS_DEV_TYPE,
Dmantis_vp2033.c178 .dev_type = MANTIS_DEV_TYPE,
Dmantis_common.h90 char *dev_type; member
Dmantis_vp1041.c347 .dev_type = MANTIS_DEV_TYPE,
/linux-4.4.14/drivers/hid/
Dhid-lgff.c37 struct dev_type { struct
59 static const struct dev_type devices[] = { argument
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Drxon.c44 ctx->staging.dev_type = ctx->unused_devtype; in iwl_connection_init_rx_config()
48 ctx->staging.dev_type = ctx->ap_devtype; in iwl_connection_init_rx_config()
52 ctx->staging.dev_type = ctx->station_devtype; in iwl_connection_init_rx_config()
57 ctx->staging.dev_type = ctx->ibss_devtype; in iwl_connection_init_rx_config()
64 ctx->staging.dev_type = RXON_DEV_TYPE_SNIFFER; in iwl_connection_init_rx_config()
125 u8 old_dev_type = send->dev_type; in iwlagn_disable_pan()
136 send->dev_type = RXON_DEV_TYPE_P2P; in iwlagn_disable_pan()
141 send->dev_type = old_dev_type; in iwlagn_disable_pan()
883 CHK_NEQ(staging->dev_type, active->dev_type); in iwl_full_rxon_required()
927 IWL_DEBUG_RADIO(priv, "u8 dev_type: 0x%x\n", rxon->dev_type); in iwl_print_rx_config_cmd()
Dscan.c393 switch (ctx->staging.dev_type) { in iwl_limit_dwell()
Dcommands.h625 u8 dev_type; member
/linux-4.4.14/arch/arm/mach-omap2/
Did.c155 u8 dev_type, rev; in omap2xxx_check_revision() local
162 dev_type = (prod_id >> 16) & 0x0f; in omap2xxx_check_revision()
173 prod_id, dev_type); in omap2xxx_check_revision()
187 if (dev_type == omap_ids[j].dev) in omap2xxx_check_revision()
/linux-4.4.14/fs/cifs/
Dcifs_debug.c118 __u32 dev_type; in cifs_debug_data_proc_show() local
190 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in cifs_debug_data_proc_show()
203 if (dev_type == FILE_DEVICE_DISK) in cifs_debug_data_proc_show()
205 else if (dev_type == FILE_DEVICE_CD_ROM) in cifs_debug_data_proc_show()
208 seq_printf(m, " type: %d ", dev_type); in cifs_debug_data_proc_show()
/linux-4.4.14/drivers/gpu/drm/imx/
Ddw_hdmi-imx.c180 .dev_type = IMX6Q_HDMI,
188 .dev_type = IMX6DL_HDMI,
/linux-4.4.14/drivers/scsi/isci/
Dremote_device.h300 return dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE; in dev_is_expander()
Dtask.c246 if (dev->dev_type == SAS_END_DEVICE) { in isci_task_request_build()
Dremote_device.c1088 if (dev->dev_type == SAS_SATA_DEV || (dev->tproto & SAS_PROTOCOL_SATA)) { in sci_remote_device_ready_state_enter()
1101 if (dev->dev_type == SAS_END_DEVICE) { in sci_remote_device_ready_state_exit()
Drequest.c2977 if (!task && dev->dev_type == SAS_END_DEVICE) { in sci_request_started_state_enter()
3100 if (dev->dev_type == SAS_END_DEVICE) in sci_io_request_construct()
3124 if (dev->dev_type == SAS_END_DEVICE || dev_is_sata(dev)) { in sci_task_request_construct()
/linux-4.4.14/drivers/edac/
Dsynopsys_edac.c266 static enum dev_type synps_edac_get_dtype(const void __iomem *base) in synps_edac_get_dtype()
268 enum dev_type dt; in synps_edac_get_dtype()
298 enum dev_type dt; in synps_edac_get_eccstate()
Di82975x_edac.c362 static enum dev_type i82975x_dram_type(void __iomem *mch_window, int rank) in i82975x_dram_type()
379 enum dev_type dtype; in i82975x_init_csrows()
Dsb_edac.c283 enum dev_type (*get_width)(struct sbridge_pvt *pvt, u32 mtr);
772 static enum dev_type sbridge_get_width(struct sbridge_pvt *pvt, u32 mtr) in sbridge_get_width()
778 static enum dev_type __ibridge_get_width(u32 mtr) in __ibridge_get_width()
780 enum dev_type type; in __ibridge_get_width()
800 static enum dev_type ibridge_get_width(struct sbridge_pvt *pvt, u32 mtr) in ibridge_get_width()
809 static enum dev_type broadwell_get_width(struct sbridge_pvt *pvt, u32 mtr) in broadwell_get_width()
Dppc4xx_edac.c841 static enum dev_type ppc4xx_edac_get_dtype(u32 mcopt1) in ppc4xx_edac_get_dtype()
899 enum dev_type dtype; in ppc4xx_edac_init_csrows()
Dcpc925_edac.c332 enum dev_type dtype; in cpc925_init_csrows()
Dedac_mc_sysfs.c273 DEVICE_ATTR_LEGACY(dev_type, S_IRUGO, csrow_dev_type_show, NULL);
/linux-4.4.14/drivers/dma/
Dste_dma40.c1260 u32 event = D40_TYPE_TO_EVENT(d40c->dma_cfg.dev_type); in d40_config_set_event()
1735 if ((is_log && conf->dev_type > d40c->base->num_log_chans) || in d40_validate_conf()
1736 (!is_log && conf->dev_type > d40c->base->num_phy_chans) || in d40_validate_conf()
1737 (conf->dev_type < 0)) { in d40_validate_conf()
1738 chan_err(d40c, "Invalid device type (%d)\n", conf->dev_type); in d40_validate_conf()
1859 int dev_type = d40c->dma_cfg.dev_type; in d40_allocate_channel() local
1874 log_num = 2 * dev_type; in d40_allocate_channel()
1879 log_num = 2 * dev_type + 1; in d40_allocate_channel()
1884 event_group = D40_TYPE_TO_GROUP(dev_type); in d40_allocate_channel()
1885 event_line = D40_TYPE_TO_EVENT(dev_type); in d40_allocate_channel()
[all …]
Dste_dma40_ll.c76 src |= D40_TYPE_TO_EVENT(cfg->dev_type); in d40_phy_cfg()
87 dst |= D40_TYPE_TO_EVENT(cfg->dev_type); in d40_phy_cfg()
/linux-4.4.14/arch/mips/include/asm/
Dcdmm.h67 void __iomem *mips_cdmm_early_probe(unsigned int dev_type);
/linux-4.4.14/include/drm/bridge/
Ddw_hdmi.h51 enum dw_hdmi_devtype dev_type; member
/linux-4.4.14/drivers/media/common/b2c2/
Dflexcop-misc.c71 prefix, flexcop_device_names[fc->dev_type], in flexcop_device_name()
Dflexcop-fe-tuner.c645 fc->dev_type = FC_SKYS2_REV33; in skystarS2_rev33_attach()
689 fc->dev_type = flexcop_frontends[i].type; in flexcop_frontend_init()
698 fc->dev_type = FC_UNK; in flexcop_frontend_init()
Dflexcop-common.h72 flexcop_device_type_t dev_type; member
Dflexcop-i2c.c58 if (i2c->fc->dev_type == FC_SKY_REV27) in flexcop_i2c_read4()
/linux-4.4.14/drivers/s390/char/
Dvmur.h35 __u8 dev_type; member
Dtape_proc.c58 seq_printf(m, "%04X/", device->cdev->id.dev_type); in tape_proc_show()
/linux-4.4.14/drivers/bus/
Dmips_cdmm.c446 void __iomem *mips_cdmm_early_probe(unsigned int dev_type) in mips_cdmm_early_probe() argument
454 if (WARN_ON(!dev_type)) in mips_cdmm_early_probe()
470 if (type == dev_type) in mips_cdmm_early_probe()
/linux-4.4.14/include/linux/platform_data/
Ddma-ste-dma40.h113 int dev_type; member
/linux-4.4.14/include/linux/
Dedac.h103 enum dev_type { enum
554 enum dev_type dtype; /* memory device type */
Dmod_devicetable.h159 __u16 dev_type; /* device type */ member
174 __u8 dev_type; /* device type */ member
Di2c.h319 #define I2C_BOARD_INFO(dev_type, dev_addr) \ argument
320 .type = dev_type, .addr = (dev_addr)
Dhyperv.h946 uuid_le dev_type; member
960 uuid_le dev_type; member
/linux-4.4.14/scripts/mod/
Ddevicetable-offsets.c49 DEVID_FIELD(ccw_device_id, dev_type); in main()
53 DEVID_FIELD(ap_device_id, dev_type); in main()
Dfile2alias.c469 DEF_FIELD(symval, ccw_device_id, dev_type); in do_ccw_entry()
478 dev_type); in do_ccw_entry()
490 DEF_FIELD(symval, ap_device_id, dev_type); in do_ap_entry()
492 sprintf(alias, "ap:t%02X*", dev_type); in do_ap_entry()
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-tplg-interface.h147 u8 dev_type; member
Dskl-topology.c876 static u8 skl_tplg_be_link_type(int dev_type) in skl_tplg_be_link_type() argument
880 switch (dev_type) { in skl_tplg_be_link_type()
919 int link_type = skl_tplg_be_link_type(mconfig->dev_type); in skl_tplg_be_fill_pipe_params()
1154 mconfig->dev_type = dfw_config->dev_type; in skl_tplg_widget_load()
Dskl-topology.h255 u8 dev_type; member
Dskl-messages.c337 switch (mconfig->dev_type) { in skl_setup_cpr_gateway_cfg()
/linux-4.4.14/net/ipv6/
Dip6_gre.c124 int dev_type = (gre_proto == htons(ETH_P_TEB)) ? in ip6gre_tunnel_lookup() local
136 t->dev->type != dev_type) in ip6gre_tunnel_lookup()
142 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
160 t->dev->type != dev_type) in ip6gre_tunnel_lookup()
166 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
186 t->dev->type != dev_type) in ip6gre_tunnel_lookup()
192 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
209 t->dev->type != dev_type) in ip6gre_tunnel_lookup()
215 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
/linux-4.4.14/block/partitions/
Dibm.c88 if ((info->cu_type == 0x6310 && info->dev_type == 0x9336) || in find_label()
89 (info->cu_type == 0x3880 && info->dev_type == 0x3370)) in find_label()
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_sas.c265 id->dev_type = phy->identify.device_type; in mvs_bytes_dmaed()
707 #define DEV_IS_GONE(mvi_dev) ((!mvi_dev || (mvi_dev->dev_type == SAS_PHY_UNUSED)))
727 if (dev->dev_type != SAS_SATA_DEV) in mvs_task_prep()
1162 if (mvi->devices[dev].dev_type == SAS_PHY_UNUSED) { in mvs_alloc_dev()
1180 mvi_dev->dev_type = SAS_PHY_UNUSED; in mvs_free_dev()
1205 mvi_device->dev_type = dev->dev_type; in mvs_dev_found_notify()
1208 if (parent_dev && DEV_IS_EXPANDER(parent_dev->dev_type)) { in mvs_dev_found_notify()
1257 mvi_dev->device_id, mvi_dev->dev_type); in mvs_dev_gone_notify()
1386 int reset_type = (dev->dev_type == SAS_SATA_DEV || in mvs_debug_I_T_nexus_reset()
1535 if (SAS_SATA_DEV == dev->dev_type) { in mvs_abort_task()
Dmv_sas.h244 enum sas_device_type dev_type; member
Dmv_init.c247 mvi->devices[i].dev_type = SAS_PHY_UNUSED; in mvs_alloc()
Dmv_94xx.c809 att_dev_info |= id->dev_type; in mvs_94xx_make_dev_info()
/linux-4.4.14/net/bluetooth/
Dhci_core.c451 switch (hdev->dev_type) { in hci_init1_req()
461 BT_ERR("Unknown device type %d", hdev->dev_type); in hci_init1_req()
597 if (hdev->dev_type == HCI_AMP) in hci_init2_req()
933 if (hdev->dev_type != HCI_BREDR) in __hci_init()
1332 if (hdev->dev_type != HCI_BREDR) { in hci_inquiry()
1437 hdev->dev_type == HCI_BREDR && in hci_dev_do_open()
1530 hdev->dev_type == HCI_BREDR) { in hci_dev_do_open()
1699 if (!auto_off && hdev->dev_type == HCI_BREDR) in hci_dev_do_close()
1937 if (hdev->dev_type != HCI_BREDR) { in hci_dev_cmd()
2091 di.type = (hdev->bus & 0x0f) | ((hdev->dev_type & 0x03) << 4); in hci_get_dev_info()
[all …]
Dhci_sysfs.c143 return sprintf(buf, "%s\n", host_typetostr(hdev->dev_type)); in show_type()
Da2mp.c109 if (hdev->dev_type == HCI_AMP) { in __a2mp_add_cl()
173 if (hdev->dev_type == HCI_AMP) in a2mp_discover_req()
312 if (!hdev || hdev->dev_type != HCI_AMP) { in a2mp_getinfo_req()
Dhci_sock.c322 ni->type = hdev->dev_type; in create_monitor_event()
646 if (hdev->dev_type != HCI_BREDR) in hci_sock_bound_ioctl()
Dmgmt.c360 if (d->dev_type == HCI_BREDR && in read_index_list()
385 if (d->dev_type == HCI_BREDR && in read_index_list()
420 if (d->dev_type == HCI_BREDR && in read_unconf_index_list()
445 if (d->dev_type == HCI_BREDR && in read_unconf_index_list()
480 if (d->dev_type == HCI_BREDR || d->dev_type == HCI_AMP) in read_ext_index_list()
504 if (d->dev_type == HCI_BREDR) { in read_ext_index_list()
509 } else if (d->dev_type == HCI_AMP) { in read_ext_index_list()
7472 switch (hdev->dev_type) { in mgmt_index_added()
7505 switch (hdev->dev_type) { in mgmt_index_removed()
Dhci_conn.c624 d->dev_type != HCI_BREDR) in hci_get_route()
Dl2cap_core.c4474 if (hdev->dev_type != HCI_AMP || !test_bit(HCI_UP, &hdev->flags)) { in l2cap_create_channel_req()
4914 if (!hdev || hdev->dev_type != HCI_AMP || in l2cap_move_channel_req()
7464 if (!conn && hcon->hdev->dev_type != HCI_BREDR) in l2cap_recv_acldata()
Dhci_event.c3251 switch (hdev->dev_type) { in __hci_conn_lookup_handle()
3260 BT_ERR("%s unknown dev_type %d", hdev->name, hdev->dev_type); in __hci_conn_lookup_handle()
/linux-4.4.14/drivers/s390/cio/
Dio_sch.h98 u16 dev_type; /* device type */ member
Ddevice_fsm.c187 cdev->id.dev_type = cdev->private->senseid.dev_type; in ccw_device_update_sense_data()
195 cdev->id.dev_type == cdev->private->senseid.dev_type && in ccw_device_test_sense_data()
Ddevice_id.c185 senseid->cu_type, senseid->cu_model, senseid->dev_type, in snsid_callback()
Ddevice.c90 if (id->dev_type != 0) in snprint_alias()
91 len += snprintf(buf, size, "dt%04Xdm%02X%s", id->dev_type, in snprint_alias()
120 ret = add_uevent_var(env, "DEV_TYPE=%04X", id->dev_type); in ccw_uevent()
253 if (id->dev_type != 0) in devtype_show()
255 id->dev_type, id->dev_model); in devtype_show()
/linux-4.4.14/drivers/s390/crypto/
Dap_bus.h236 .dev_type=(dt), \
Dap_bus.c1192 (id->dev_type != ap_dev->device_type)) in ap_bus_match()
/linux-4.4.14/net/ipv4/
Darp.c657 u16 dev_type = dev->type; in arp_process() local
672 switch (dev_type) { in arp_process()
675 htons(dev_type) != arp->ar_hrd) in arp_process()
721 switch (dev_type) { in arp_process()
741 if (dev_type == ARPHRD_DLCI) in arp_process()
/linux-4.4.14/drivers/s390/block/
Ddasd_eckd.h240 __u16 dev_type; member
319 __u8 dev_type[6]; member
Ddasd_ioctl.c404 dasd_info->dev_type = cdev->id.dev_type; in dasd_ioctl_information()
Ddasd_fba.c182 cdev->id.dev_type, in dasd_fba_check_characteristics()
Ddasd_eckd.c175 switch (rdc->dev_type) { in recs_per_track()
358 switch (private->rdc_data.dev_type) { in fill_LRE_data()
652 switch (private->rdc_data.dev_type) { in locate_record()
1816 private->rdc_data.dev_type, in dasd_eckd_check_characteristics()
3068 switch (basepriv->rdc_data.dev_type) { in prepare_itcw()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c292 if (tgt->dev_type == TYPE_TAPE) { in bnx2fc_send_session_ofld_req()
756 if (tgt->dev_type != TYPE_TAPE) in bnx2fc_process_unsol_compl()
1565 if (tgt->dev_type == TYPE_TAPE) in bnx2fc_init_cleanup_task()
1630 if (tgt->dev_type == TYPE_TAPE) in bnx2fc_init_mp_task()
1692 int dev_type = tgt->dev_type; in bnx2fc_init_task() local
1713 if ((dev_type == TYPE_DISK) && (bd_count == 1)) { in bnx2fc_init_task()
1742 if (dev_type == TYPE_TAPE) { in bnx2fc_init_task()
1795 if (dev_type == TYPE_DISK) { in bnx2fc_init_task()
Dbnx2fc_tgt.c395 tgt->dev_type = TYPE_TAPE; in bnx2fc_init_tgt()
398 tgt->dev_type = TYPE_DISK; in bnx2fc_init_tgt()
Dbnx2fc.h296 int dev_type; member
/linux-4.4.14/drivers/nvdimm/
Dregion_devs.c628 struct nd_region_desc *ndr_desc, struct device_type *dev_type, in nd_region_create() argument
652 if (dev_type == &nd_blk_device_type) { in nd_region_create()
714 dev->type = dev_type; in nd_region_create()
/linux-4.4.14/drivers/hv/
Dvmbus_drv.c121 sprintf(&alias_name[i], "%02x", hv_dev->dev_type.b[i/2]); in print_alias_name()
566 if (hv_vmbus_get_id(drv->id_table, hv_dev->dev_type.b)) in vmbus_match()
583 dev_id = hv_vmbus_get_id(drv->id_table, dev->dev_type.b); in vmbus_probe()
966 memcpy(&child_device_obj->dev_type, type, sizeof(uuid_le)); in vmbus_device_create()
/linux-4.4.14/drivers/extcon/
Dextcon-max14577.c587 switch (info->max14577->dev_type) { in max14577_muic_irq_handler()
681 switch (max14577->dev_type) { in max14577_muic_probe()
/linux-4.4.14/arch/powerpc/kernel/
Dvio.c1656 const char *dev_type; in vio_find_node() local
1662 dev_type = of_get_property(vnode_parent, "device_type", NULL); in vio_find_node()
1664 if (!dev_type) in vio_find_node()
1668 if (!strcmp(dev_type, "vdevice")) { in vio_find_node()
1676 } else if (!strcmp(dev_type, "ibm,platform-facilities")) in vio_find_node()
/linux-4.4.14/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c835 int dev_type = solo_enc->solo_dev->type; in solo_enc_enum_fmt_cap() local
839 switch (dev_type) { in solo_enc_enum_fmt_cap()
863 static inline int solo_valid_pixfmt(u32 pixfmt, int dev_type) in solo_valid_pixfmt() argument
865 return (pixfmt == V4L2_PIX_FMT_H264 && dev_type == SOLO_DEV_6110) in solo_valid_pixfmt()
866 || (pixfmt == V4L2_PIX_FMT_MPEG4 && dev_type == SOLO_DEV_6010) in solo_valid_pixfmt()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Ddw_hdmi-rockchip.c234 .dev_type = RK3288_HDMI,
/linux-4.4.14/drivers/gpu/drm/bridge/
Ddw_hdmi.c109 enum dw_hdmi_devtype dev_type; member
835 if (hdmi->dev_type == RK3288_HDMI) in hdmi_phy_configure()
1151 if (hdmi->dev_type == IMX6DL_HDMI) { in dw_hdmi_clear_overflow()
1680 hdmi->dev_type = plat_data->dev_type; in dw_hdmi_bind()
/linux-4.4.14/sound/oss/
Daudio.c75 int dev_type = dev & 0x0f; in audio_open() local
82 if (dev_type == SND_DEV_DSP16) in audio_open()
110 if (dev_type == SND_DEV_AUDIO) in audio_open()
/linux-4.4.14/include/linux/mfd/
Dmax14577-private.h440 enum maxim_device_type dev_type; member
/linux-4.4.14/drivers/infiniband/core/
Dcma.c424 dev_addr->dev_type = ARPHRD_INFINIBAND; in cma_translate_ib()
444 union ib_gid *gid, int dev_type, in cma_validate_port() argument
450 if ((dev_type == ARPHRD_INFINIBAND) && !rdma_protocol_ib(device, port)) in cma_validate_port()
453 if ((dev_type != ARPHRD_INFINIBAND) && rdma_protocol_ib(device, port)) in cma_validate_port()
456 if (dev_type == ARPHRD_ETHER && rdma_protocol_roce(device, port)) in cma_validate_port()
476 if (dev_addr->dev_type != ARPHRD_INFINIBAND && in cma_acquire_dev()
494 dev_addr->dev_type, in cma_acquire_dev()
513 dev_addr->dev_type, in cma_acquire_dev()
1642 rt->addr.dev_addr.dev_type = ARPHRD_INFINIBAND; in cma_new_conn_id()
2463 id_priv->id.route.addr.dev_addr.dev_type = in cma_bind_loopback()
[all …]
Daddr.c114 dev_addr->dev_type = dev->type; in rdma_copy_addr()
/linux-4.4.14/arch/powerpc/include/asm/
Dps3.h362 enum ps3_system_bus_device_type dev_type; member
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Dcommands.h659 u8 dev_type; member
678 u8 dev_type; member
701 u8 dev_type; member
Dcommon.c3808 CHK_NEQ(staging->dev_type, active->dev_type); in il_full_rxon_required()
4019 il->staging.dev_type = RXON_DEV_TYPE_ESS; in il_connection_init_rx_config()
4022 il->staging.dev_type = RXON_DEV_TYPE_ESS; in il_connection_init_rx_config()
4026 il->staging.dev_type = RXON_DEV_TYPE_IBSS; in il_connection_init_rx_config()
4148 D_RADIO("u8 dev_type: 0x%x\n", rxon->dev_type); in il_print_rx_config_cmd()
/linux-4.4.14/drivers/scsi/
Dmvumi.h486 u8 dev_type; member
Ddc395x.c292 u8 dev_type; member
3261 dcb->dev_type = bval1; in add_dev()
/linux-4.4.14/drivers/scsi/esas2r/
Datvda.h196 u8 dev_type; member
293 u8 dev_type; member
Datioctl.h957 u8 dev_type; member
/linux-4.4.14/sound/core/seq/oss/
Dseq_oss_midi.c660 inf->dev_type = 0; /* FIXME: ?? */ in snd_seq_oss_midi_make_info()
/linux-4.4.14/include/uapi/linux/
Dsoundcard.h519 int dev_type; member
/linux-4.4.14/Documentation/s390/
Ddriver-model.txt115 __u16 dev_type;
/linux-4.4.14/net/core/
Ddev.c311 static inline unsigned short netdev_lock_pos(unsigned short dev_type) in netdev_lock_pos() argument
316 if (netdev_lock_type[i] == dev_type) in netdev_lock_pos()
323 unsigned short dev_type) in netdev_set_xmit_lockdep_class() argument
327 i = netdev_lock_pos(dev_type); in netdev_set_xmit_lockdep_class()
343 unsigned short dev_type) in netdev_set_xmit_lockdep_class() argument
/linux-4.4.14/drivers/target/
Dtarget_core_stat.c366 CONFIGFS_ATTR_RO(target_stat_lu_, dev_type);
/linux-4.4.14/include/net/bluetooth/
Dhci_core.h202 __u8 dev_type; member
/linux-4.4.14/Documentation/
Dedac.txt271 'dev_type'
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c116 #define CARDS_WITH_FAULTY_LINK_INDICATORS(dev_type, subid) \ argument
117 (dev_type == XFRAME_I_DEVICE) ? \
/linux-4.4.14/drivers/s390/net/
Dqeth_core_main.c1536 if ((CARD_RDEV(card)->id.dev_type == in qeth_determine_card_type()