/drivers/scsi/aic94xx/ |
D | aic94xx_dev.c | 70 if (dev->dev_type == SAS_SATA_PM_PORT) in asd_set_ddb_type() 102 if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM_PORT) { in asd_set_dmamode() 126 if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM || in asd_init_sata() 127 dev->dev_type == SAS_SATA_PM_PORT) { in asd_init_sata() 160 if ((dev->dev_type == SAS_SATA_DEV) || in asd_init_target_ddb() 173 if (!dev->parent && dev_is_expander(dev->dev_type)) in asd_init_target_ddb() 182 if (dev->dev_type == SAS_SATA_PM) in asd_init_target_ddb() 195 if (dev->dev_type == SAS_SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { in asd_init_target_ddb() 203 if (dev->dev_type == SAS_END_DEVICE) { in asd_init_target_ddb() 311 switch (dev->dev_type) { in asd_dev_found()
|
/drivers/scsi/libsas/ |
D | sas_discover.c | 24 switch (dev->dev_type) { in sas_init_dev() 79 dev->dev_type = SAS_SATA_PM; in sas_get_port_device() 81 dev->dev_type = SAS_SATA_DEV; in sas_get_port_device() 86 dev->dev_type = id->dev_type; in sas_get_port_device() 103 switch (dev->dev_type) { in sas_get_port_device() 123 pr_warn("ERROR: Unidentified device type %d\n", dev->dev_type); in sas_get_port_device() 151 if (dev_is_sata(dev) || dev->dev_type == SAS_END_DEVICE) in sas_get_port_device() 299 if (dev_is_expander(dev->dev_type)) in sas_free_device() 330 if (dev->dev_type == SAS_END_DEVICE && in sas_unregister_common_dev() 448 switch (dev->dev_type) { in sas_discover_domain() [all …]
|
D | sas_expander.c | 197 enum sas_device_type dev_type; in sas_set_ex_phy() local 231 dev_type = phy->attached_dev_type; in sas_set_ex_phy() 323 if (new_phy || phy->attached_dev_type != dev_type || in sas_set_ex_phy() 867 child->dev_type = SAS_END_DEVICE; in sas_ex_discover_end_dev() 981 child->dev_type = phy->attached_dev_type; in sas_ex_discover_expander() 1143 if (!dev_is_expander(child->dev_type)) in sas_check_level_subtractive_boundary() 1218 if (dev->dev_type != SAS_EDGE_EXPANDER_DEVICE) in sas_check_ex_subtractive_boundary() 1258 ex_type[parent->dev_type], in sas_print_parent_topology_bug() 1262 ex_type[child->dev_type], in sas_print_parent_topology_bug() 1324 if (!dev_is_expander(child->parent->dev_type)) in sas_check_parent_topology() [all …]
|
/drivers/media/usb/tm6000/ |
D | tm6000-core.c | 192 if (dev->dev_type == TM6010) { in tm6000_set_fourcc_format() 218 if (dev->dev_type == TM6010) { in tm6000_set_vbi() 274 if (dev->dev_type == TM6010) { in tm6000_init_analog_mode() 345 if (dev->dev_type == TM6010) { in tm6000_init_digital_mode() 565 if (dev->dev_type != TM6000) in tm6000_init() 566 dev->dev_type = TM6000; in tm6000_init() 570 if (dev->dev_type != TM6010) in tm6000_init() 571 dev->dev_type = TM6010; in tm6000_init() 579 if (dev->dev_type == TM6010) { in tm6000_init() 629 if (dev->dev_type == TM6010) { in tm6000_set_audio_bitrate() [all …]
|
D | tm6000-i2c.c | 37 if (dev->dev_type == TM6010) in tm6000_i2c_send_regs() 71 if (dev->dev_type == TM6010) in tm6000_i2c_recv_regs() 118 if (dev->dev_type == TM6010) { in tm6000_i2c_recv_regs16()
|
/drivers/hv/ |
D | channel_mgmt.c | 31 { .dev_type = HV_IDE, 37 { .dev_type = HV_SCSI, 43 { .dev_type = HV_FC, 49 { .dev_type = HV_NIC, 55 { .dev_type = HV_ND, 61 { .dev_type = HV_PCIE, 67 { .dev_type = HV_FB, 73 { .dev_type = HV_KBD, 79 { .dev_type = HV_MOUSE, 85 { .dev_type = HV_KVP, [all …]
|
/drivers/regulator/ |
D | max14577-regulator.c | 42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit() 64 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_set_current_limit() 167 switch (max14577->dev_type) { in max14577_get_regmap() 191 enum maxim_device_type dev_type = max14577->dev_type; in max14577_regulator_probe() local 193 switch (dev_type) { in max14577_regulator_probe()
|
/drivers/input/misc/ |
D | max77693-haptic.c | 48 enum max77693_types dev_type; member 88 if (haptic->dev_type != TYPE_MAX77843) in max77843_haptic_bias() 110 switch (haptic->dev_type) { in max77693_haptic_configure() 143 if (haptic->dev_type != TYPE_MAX77693) in max77693_haptic_lowsys() 310 haptic->dev_type = platform_get_device_id(pdev)->driver_data; in max77693_haptic_probe() 311 switch (haptic->dev_type) { in max77693_haptic_probe() 320 haptic->dev_type); in max77693_haptic_probe()
|
/drivers/bluetooth/ |
D | hci_vhci.c | 83 __u8 dev_type; in __vhci_create_device() local 89 dev_type = opcode & 0x03; in __vhci_create_device() 91 if (dev_type != HCI_PRIMARY && dev_type != HCI_AMP) in __vhci_create_device() 111 hdev->dev_type = dev_type; in __vhci_create_device()
|
D | btmrvl_main.c | 139 priv->btmrvl_dev.dev_type = HCI_AMP; in btmrvl_process_event() 141 priv->btmrvl_dev.dev_type = HCI_PRIMARY; in btmrvl_process_event() 143 BT_DBG("dev_type: %d", priv->btmrvl_dev.dev_type); in btmrvl_process_event() 702 hdev->dev_type = priv->btmrvl_dev.dev_type; in btmrvl_register_hdev()
|
/drivers/s390/crypto/ |
D | vfio_ap_drv.c | 33 { .dev_type = AP_DEVICE_TYPE_CEX4, 35 { .dev_type = AP_DEVICE_TYPE_CEX5, 37 { .dev_type = AP_DEVICE_TYPE_CEX6, 39 { .dev_type = AP_DEVICE_TYPE_CEX7,
|
D | zcrypt_cex2a.c | 49 { .dev_type = AP_DEVICE_TYPE_CEX2A, 51 { .dev_type = AP_DEVICE_TYPE_CEX3A, 59 { .dev_type = AP_DEVICE_TYPE_CEX2A, 61 { .dev_type = AP_DEVICE_TYPE_CEX3A,
|
D | zcrypt_cex4.c | 47 { .dev_type = AP_DEVICE_TYPE_CEX4, 49 { .dev_type = AP_DEVICE_TYPE_CEX5, 51 { .dev_type = AP_DEVICE_TYPE_CEX6, 53 { .dev_type = AP_DEVICE_TYPE_CEX7, 61 { .dev_type = AP_DEVICE_TYPE_CEX4, 63 { .dev_type = AP_DEVICE_TYPE_CEX5, 65 { .dev_type = AP_DEVICE_TYPE_CEX6, 67 { .dev_type = AP_DEVICE_TYPE_CEX7,
|
D | zcrypt_cex2c.c | 43 { .dev_type = AP_DEVICE_TYPE_CEX2C, 45 { .dev_type = AP_DEVICE_TYPE_CEX3C, 53 { .dev_type = AP_DEVICE_TYPE_CEX2C, 55 { .dev_type = AP_DEVICE_TYPE_CEX3C,
|
/drivers/mfd/ |
D | max14577.c | 283 max14577->dev_type, device_id, vendor_id); in max14577_print_dev_type() 408 max14577->dev_type = in max14577_i2c_probe() 411 max14577->dev_type = id->driver_data; in max14577_i2c_probe() 416 switch (max14577->dev_type) { in max14577_i2c_probe() 442 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) { in max14577_i2c_probe() 458 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_probe() 472 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_remove()
|
/drivers/power/supply/ |
D | max14577_charger.c | 27 enum maxim_device_type dev_type, u8 val) { in maxim_get_charger_type() argument 38 if (dev_type == MAXIM_DEVICE_TYPE_MAX77836) in maxim_get_charger_type() 133 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_online() 172 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_battery_health() 267 switch (chg->max14577->dev_type) { in max14577_init_eoc() 307 &maxim_charger_currents[chg->max14577->dev_type]; in max14577_init_fast_charge() 435 val->strval = model_names[chg->max14577->dev_type]; in max14577_charger_get_property()
|
D | power_supply.h | 18 extern void power_supply_init_attrs(struct device_type *dev_type); 23 static inline void power_supply_init_attrs(struct device_type *dev_type) {} in power_supply_init_attrs() argument
|
/drivers/i2c/busses/ |
D | i2c-mxs.c | 70 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0) 72 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8) 115 enum mxs_i2c_devtype dev_type; member 362 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_trigger_write_cmd() 551 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_setup_xfer() 624 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_xfer_msg() 817 i2c->dev_type = device_id->driver_data; in mxs_i2c_probe()
|
/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 372 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED))) 397 if (dev->dev_type != SAS_SATA_DEV) in pm8001_task_exec() 567 if (pm8001_ha->devices[dev].dev_type == SAS_PHY_UNUSED) { in pm8001_alloc_dev() 603 pm8001_dev->dev_type = SAS_PHY_UNUSED; in pm8001_free_dev() 639 pm8001_device->dev_type = dev->dev_type; in pm8001_dev_found_notify() 641 if (parent_dev && dev_is_expander(parent_dev->dev_type)) { in pm8001_dev_found_notify() 661 if (dev->dev_type == SAS_SATA_DEV) { in pm8001_dev_found_notify() 671 if (dev->dev_type == SAS_END_DEVICE) in pm8001_dev_found_notify() 885 pm8001_dev->device_id, pm8001_dev->dev_type); in pm8001_dev_gone_notify() 943 if (!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)) in pm8001_open_reject_retry()
|
/drivers/staging/greybus/ |
D | spilib.c | 445 u8 dev_type; in gb_spi_setup_device() local 455 dev_type = response.device_type; in gb_spi_setup_device() 457 if (dev_type == GB_SPI_SPI_DEV) in gb_spi_setup_device() 460 else if (dev_type == GB_SPI_SPI_NOR) in gb_spi_setup_device() 463 else if (dev_type == GB_SPI_SPI_MODALIAS) in gb_spi_setup_device()
|
/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_reg.c | 74 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_init_analog_param() 76 if (dp->plat_data->dev_type == RK3288_DP) in analogix_dp_init_analog_param() 125 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_reset() 237 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_set_pll_power_down() 258 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down() 263 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down() 321 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down() 333 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down() 481 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_init_aux() 976 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_config_video_slave_mode()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rxon.c | 29 ctx->staging.dev_type = ctx->unused_devtype; in iwl_connection_init_rx_config() 33 ctx->staging.dev_type = ctx->ap_devtype; in iwl_connection_init_rx_config() 37 ctx->staging.dev_type = ctx->station_devtype; in iwl_connection_init_rx_config() 42 ctx->staging.dev_type = ctx->ibss_devtype; in iwl_connection_init_rx_config() 49 ctx->staging.dev_type = RXON_DEV_TYPE_SNIFFER; in iwl_connection_init_rx_config() 110 u8 old_dev_type = send->dev_type; in iwlagn_disable_pan() 121 send->dev_type = RXON_DEV_TYPE_P2P; in iwlagn_disable_pan() 126 send->dev_type = old_dev_type; in iwlagn_disable_pan() 863 CHK_NEQ(staging->dev_type, active->dev_type); in iwl_full_rxon_required() 907 IWL_DEBUG_RADIO(priv, "u8 dev_type: 0x%x\n", rxon->dev_type); in iwl_print_rx_config_cmd()
|
/drivers/dma/ |
D | ste_dma40.c | 1241 u32 event = D40_TYPE_TO_EVENT(d40c->dma_cfg.dev_type); in d40_config_set_event() 1713 if ((is_log && conf->dev_type > d40c->base->num_log_chans) || in d40_validate_conf() 1714 (!is_log && conf->dev_type > d40c->base->num_phy_chans) || in d40_validate_conf() 1715 (conf->dev_type < 0)) { in d40_validate_conf() 1716 chan_err(d40c, "Invalid device type (%d)\n", conf->dev_type); in d40_validate_conf() 1834 int dev_type = d40c->dma_cfg.dev_type; in d40_allocate_channel() local 1849 log_num = 2 * dev_type; in d40_allocate_channel() 1854 log_num = 2 * dev_type + 1; in d40_allocate_channel() 1859 event_group = D40_TYPE_TO_GROUP(dev_type); in d40_allocate_channel() 1860 event_line = D40_TYPE_TO_EVENT(dev_type); in d40_allocate_channel() [all …]
|
/drivers/hid/ |
D | hid-alps.c | 101 enum dev_num dev_type; member 456 switch (data->dev_type) { in alps_post_reset() 690 switch (data->dev_type) { in alps_input_configured() 803 data->dev_type = T4; in alps_probe() 808 data->dev_type = U1; in alps_probe() 811 data->dev_type = UNKNOWN; in alps_probe()
|
D | hid-lgff.c | 25 struct dev_type { struct 47 static const struct dev_type devices[] = { argument
|