/Linux-v6.1/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()
|
/Linux-v6.1/include/scsi/ |
D | sas_ata.h | 20 return dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM || in dev_is_sata() 21 dev->dev_type == SAS_SATA_PM_PORT || dev->dev_type == SAS_SATA_PENDING; in dev_is_sata()
|
/Linux-v6.1/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 | 181 enum sas_device_type dev_type; in sas_set_ex_phy() local 214 dev_type = phy->attached_dev_type; in sas_set_ex_phy() 306 if (new_phy || phy->attached_dev_type != dev_type || in sas_set_ex_phy() 845 child->dev_type = SAS_END_DEVICE; in sas_ex_discover_end_dev() 959 child->dev_type = phy->attached_dev_type; in sas_ex_discover_expander() 1121 if (!dev_is_expander(child->dev_type)) in sas_check_level_subtractive_boundary() 1196 if (dev->dev_type != SAS_EDGE_EXPANDER_DEVICE) in sas_check_ex_subtractive_boundary() 1236 ex_type[parent->dev_type], in sas_print_parent_topology_bug() 1240 ex_type[child->dev_type], in sas_print_parent_topology_bug() 1302 if (!dev_is_expander(child->parent->dev_type)) in sas_check_parent_topology() [all …]
|
/Linux-v6.1/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, 41 { .dev_type = AP_DEVICE_TYPE_CEX8,
|
D | zcrypt_cex2a.c | 50 { .dev_type = AP_DEVICE_TYPE_CEX2A, 52 { .dev_type = AP_DEVICE_TYPE_CEX3A, 60 { .dev_type = AP_DEVICE_TYPE_CEX2A, 62 { .dev_type = AP_DEVICE_TYPE_CEX3A,
|
D | zcrypt_cex4.c | 44 { .dev_type = AP_DEVICE_TYPE_CEX4, 46 { .dev_type = AP_DEVICE_TYPE_CEX5, 48 { .dev_type = AP_DEVICE_TYPE_CEX6, 50 { .dev_type = AP_DEVICE_TYPE_CEX7, 52 { .dev_type = AP_DEVICE_TYPE_CEX8, 60 { .dev_type = AP_DEVICE_TYPE_CEX4, 62 { .dev_type = AP_DEVICE_TYPE_CEX5, 64 { .dev_type = AP_DEVICE_TYPE_CEX6, 66 { .dev_type = AP_DEVICE_TYPE_CEX7, 68 { .dev_type = AP_DEVICE_TYPE_CEX8,
|
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,
|
/Linux-v6.1/arch/powerpc/platforms/ps3/ |
D | device-init.c | 38 dev->dev_type = PS3_DEVICE_TYPE_LPM; in ps3_register_lpm_devices() 126 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_GELIC); in ps3_setup_gelic_device() 136 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_gelic_device() 197 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_USB); in ps3_setup_uhc_device() 207 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_uhc_device() 302 p->dev.dev_type = PS3_DEVICE_TYPE_VUART; in ps3_setup_vuart_device() 343 repo->dev_index, repo->dev_type, port, blk_size, num_blocks, in ps3_setup_storage_dev() 353 p->sbd.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_storage_dev() 454 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_sound_devices() 490 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_graphics_devices() [all …]
|
/Linux-v6.1/drivers/staging/media/deprecated/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 …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/hv/ |
D | channel_mgmt.c | 32 { .dev_type = HV_IDE, 39 { .dev_type = HV_SCSI, 46 { .dev_type = HV_FC, 53 { .dev_type = HV_NIC, 60 { .dev_type = HV_ND, 67 { .dev_type = HV_PCIE, 74 { .dev_type = HV_FB, 81 { .dev_type = HV_KBD, 88 { .dev_type = HV_MOUSE, 95 { .dev_type = HV_KVP, [all …]
|
/Linux-v6.1/tools/testing/selftests/gpio/ |
D | gpio-mockup.sh | 12 dev_type="cdev" 220 if [ "$dev_type" != "sysfs" ]; then 322 dev_type=$OPTARG 341 case "$dev_type" in 353 fail "unknown interface type: $dev_type"
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/power/supply/ |
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
|
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()
|
/Linux-v6.1/drivers/vdpa/ifcvf/ |
D | ifcvf_main.c | 425 u32 type = vf->dev_type; in ifcvf_vdpa_get_device_features() 432 IFCVF_ERR(pdev, "VIRTIO ID %u not supported\n", vf->dev_type); in ifcvf_vdpa_get_device_features() 606 return vf->dev_type; in ifcvf_vdpa_get_device_id() 732 u32 dev_type; in get_dev_type() local 743 dev_type = pdev->subsystem_device; in get_dev_type() 745 dev_type = pdev->device - 0x1040; in get_dev_type() 747 return dev_type; in get_dev_type() 805 u32 dev_type; in ifcvf_probe() local 843 vf->dev_type = get_dev_type(pdev); in ifcvf_probe() 871 dev_type = get_dev_type(pdev); in ifcvf_probe() [all …]
|
/Linux-v6.1/sound/hda/ |
D | intel-nhlt.c | 269 u32 bus_id, u8 link_type, u8 dir, u8 dev_type) in nhlt_check_ep_match() argument 282 epnt->device_type == dev_type; in nhlt_check_ep_match() 288 u8 num_ch, u32 rate, u8 dir, u8 dev_type) in intel_nhlt_get_endpoint_blob() argument 300 bus_id, link_type, dir, dev_type); in intel_nhlt_get_endpoint_blob() 307 if (nhlt_check_ep_match(dev, epnt, bus_id, link_type, dir, dev_type)) { in intel_nhlt_get_endpoint_blob()
|
/Linux-v6.1/arch/s390/include/asm/ |
D | ccwdev.h | 33 .cu_type=(cu), .cu_model=(cum), .dev_type=(dev), .dev_model=(devm),\ 60 && (id->dev_type != match->dev_type)) in ccw_device_id_match()
|
/Linux-v6.1/drivers/bluetooth/ |
D | hci_vhci.c | 285 __u8 dev_type; in __vhci_create_device() local 291 dev_type = opcode & 0x03; in __vhci_create_device() 293 if (dev_type != HCI_PRIMARY && dev_type != HCI_AMP) in __vhci_create_device() 313 hdev->dev_type = dev_type; in __vhci_create_device()
|
/Linux-v6.1/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() 802 i2c->dev_type = (uintptr_t)of_device_get_match_data(&pdev->dev); in mxs_i2c_probe()
|
/Linux-v6.1/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 384 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED))) 438 if (dev->dev_type != SAS_SATA_DEV) in pm8001_queue_command() 572 if (pm8001_ha->devices[dev].dev_type == SAS_PHY_UNUSED) { in pm8001_alloc_dev() 608 pm8001_dev->dev_type = SAS_PHY_UNUSED; in pm8001_free_dev() 644 pm8001_device->dev_type = dev->dev_type; in pm8001_dev_found_notify() 646 if (parent_dev && dev_is_expander(parent_dev->dev_type)) { in pm8001_dev_found_notify() 666 if (dev->dev_type == SAS_SATA_DEV) { in pm8001_dev_found_notify() 676 if (dev->dev_type == SAS_END_DEVICE) in pm8001_dev_found_notify() 714 pm8001_dev->device_id, pm8001_dev->dev_type); in pm8001_dev_gone_notify() 761 if (!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)) in pm8001_open_reject_retry()
|
/Linux-v6.1/usr/ |
D | gen_init_cpio.c | 245 uid_t uid, gid_t gid, char dev_type, in cpio_mknod() argument 250 if (dev_type == 'b') in cpio_mknod() 284 char dev_type; in cpio_mknod_line() local 290 name, &mode, &uid, &gid, &dev_type, &maj, &min)) { in cpio_mknod_line() 294 rc = cpio_mknod(name, mode, uid, gid, dev_type, maj, min); in cpio_mknod_line()
|
/Linux-v6.1/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 11 ((!dev) || (dev->dev_type == SAS_PHY_UNUSED)) 481 if (device->dev_type != SAS_SATA_DEV && !internal_abort) in hisi_sas_queue_command() 641 id->dev_type = phy->identify.device_type; in hisi_sas_bytes_dmaed() 662 if (hisi_hba->devices[i].dev_type == SAS_PHY_UNUSED) { in hisi_sas_alloc_dev() 669 sas_dev->dev_type = device->dev_type; in hisi_sas_alloc_dev() 712 switch (device->dev_type) { in hisi_sas_init_device() 793 if (parent_dev && dev_is_expander(parent_dev->dev_type)) { in hisi_sas_dev_found() 816 sas_dev->device_id, sas_dev->dev_type); in hisi_sas_dev_found() 1082 if ((sas_dev->dev_type == SAS_PHY_UNUSED) || in hisi_sas_release_tasks() 1129 sas_dev->device_id, sas_dev->dev_type); in hisi_sas_dev_gone() [all …]
|