Home
last modified time | relevance | path

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

123456

/linux/drivers/acpi/
H A Dnhlt.c69 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_endpoint_match() argument
73 (dev_type < 0 || ep->device_type == dev_type) && in acpi_nhlt_endpoint_match()
95 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_tb_find_endpoint() argument
100 if (acpi_nhlt_endpoint_match(ep, link_type, dev_type, dir, bus_id)) in acpi_nhlt_tb_find_endpoint()
120 acpi_nhlt_find_endpoint(int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_find_endpoint() argument
123 return acpi_nhlt_tb_find_endpoint(acpi_gbl_nhlt, link_type, dev_type, dir, bus_id); in acpi_nhlt_find_endpoint()
181 int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_tb_find_fmtcfg() argument
188 if (!acpi_nhlt_endpoint_match(ep, link_type, dev_type, dir, bus_id)) in acpi_nhlt_tb_find_fmtcfg()
219 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_find_fmtcfg() argument
223 return acpi_nhlt_tb_find_fmtcfg(acpi_gbl_nhlt, link_type, dev_type, dir, bus_id, in acpi_nhlt_find_fmtcfg()
/linux/drivers/scsi/aic94xx/
H A Daic94xx_dev.c70 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/drivers/scsi/libsas/
H A Dsas_discover.c24 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()
378 if (dev_is_expander(dev->dev_type)) in sas_abort_device_scsi_cmds()
[all …]
H A Dsas_expander.c203 enum sas_device_type dev_type; in sas_set_ex_phy() local
236 dev_type = phy->attached_dev_type; in sas_set_ex_phy()
327 if (new_phy || phy->attached_dev_type != dev_type || in sas_set_ex_phy()
781 child->dev_type = SAS_END_DEVICE; in sas_ex_add_dev()
933 child->dev_type = phy->attached_dev_type; in sas_ex_discover_expander()
1093 if (!dev_is_expander(child->dev_type)) in sas_check_level_subtractive_boundary()
1168 if (dev->dev_type != SAS_EDGE_EXPANDER_DEVICE) in sas_check_ex_subtractive_boundary()
1208 ex_type[parent->dev_type], in sas_print_parent_topology_bug()
1212 ex_type[child->dev_type], in sas_print_parent_topology_bug()
1271 if (child->dev_type == SAS_FANOUT_EXPANDER_DEVICE) { in sas_check_edge_expander_topo()
[all …]
H A Dsas_port.c57 if (dev_is_expander(dev->dev_type)) { in sas_resume_port()
192 if (port_dev && dev_is_expander(port_dev->dev_type)) { in sas_form_port()
260 if (port->port && dev && dev_is_expander(dev->dev_type)) { in sas_deform_port()
/linux/arch/powerpc/platforms/ps3/
H A Ddevice-init.c39 dev->dev_type = PS3_DEVICE_TYPE_LPM; in ps3_register_lpm_devices()
127 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_GELIC); in ps3_setup_gelic_device()
137 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_gelic_device()
198 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_USB); in ps3_setup_uhc_device()
208 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_uhc_device()
303 p->dev.dev_type = PS3_DEVICE_TYPE_VUART; in ps3_setup_vuart_device()
344 repo->dev_index, repo->dev_type, port, blk_size, num_blocks, in ps3_setup_storage_dev()
354 p->sbd.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_storage_dev()
455 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_sound_devices()
491 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_graphics_devices()
[all …]
/linux/drivers/s390/crypto/
H A Dvfio_ap_drv.c45 { .dev_type = AP_DEVICE_TYPE_CEX4,
47 { .dev_type = AP_DEVICE_TYPE_CEX5,
49 { .dev_type = AP_DEVICE_TYPE_CEX6,
51 { .dev_type = AP_DEVICE_TYPE_CEX7,
53 { .dev_type = AP_DEVICE_TYPE_CEX8,
H A Dzcrypt_cex4.c45 { .dev_type = AP_DEVICE_TYPE_CEX4,
47 { .dev_type = AP_DEVICE_TYPE_CEX5,
49 { .dev_type = AP_DEVICE_TYPE_CEX6,
51 { .dev_type = AP_DEVICE_TYPE_CEX7,
53 { .dev_type = AP_DEVICE_TYPE_CEX8,
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,
69 { .dev_type = AP_DEVICE_TYPE_CEX8,
H A Dpkey_cca.c23 { .dev_type = AP_DEVICE_TYPE_CEX4 },
24 { .dev_type = AP_DEVICE_TYPE_CEX5 },
25 { .dev_type = AP_DEVICE_TYPE_CEX6 },
26 { .dev_type = AP_DEVICE_TYPE_CEX7 },
27 { .dev_type = AP_DEVICE_TYPE_CEX8 },
/linux/tools/testing/selftests/gpio/
H A Dgpio-mockup.sh12 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/drivers/input/misc/
H A Dmax77693-haptic.c50 enum max77693_types dev_type; member
91 if (haptic->dev_type != TYPE_MAX77843) in max77843_haptic_bias()
113 switch (haptic->dev_type) { in max77693_haptic_configure()
153 if (haptic->dev_type != TYPE_MAX77693) in max77693_haptic_lowsys()
320 haptic->dev_type = max77693->type; in max77693_haptic_probe()
321 switch (haptic->dev_type) { in max77693_haptic_probe()
331 haptic->dev_type); in max77693_haptic_probe()
H A Dda7280.c238 u8 dev_type; member
785 haptics->dev_type = DA7280_DEV_MAX; in da7280_parse_properties()
788 haptics->dev_type = da7280_haptic_of_mode_str(dev, str); in da7280_parse_properties()
972 if (haptics->dev_type == DA7280_DEV_MAX) { in da7280_init()
977 haptics->dev_type = val & DA7280_ACTUATOR_TYPE_MASK ? in da7280_init()
982 if (haptics->dev_type == DA7280_LRA && in da7280_init()
992 } else if (haptics->dev_type == DA7280_ERM_COIN) { in da7280_init()
1019 (haptics->dev_type ? 1 : 0)) | in da7280_init()
/linux/drivers/mfd/
H A Dmax14577.c281 max14577->dev_type, device_id, vendor_id); in max14577_print_dev_type()
400 max14577->dev_type = (kernel_ulong_t)i2c_get_match_data(i2c); in max14577_i2c_probe()
404 switch (max14577->dev_type) { in max14577_i2c_probe()
430 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) { in max14577_i2c_probe()
446 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_probe()
461 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_remove()
/linux/sound/hda/core/
H A Dintel-nhlt.c273 u32 bus_id, u8 link_type, u8 dir, u8 dev_type) in nhlt_check_ep_match() argument
286 epnt->device_type == dev_type; in nhlt_check_ep_match()
292 u8 num_ch, u32 rate, u8 dir, u8 dev_type) in intel_nhlt_get_endpoint_blob() argument
305 bus_id, link_type, dir, dev_type); in intel_nhlt_get_endpoint_blob()
331 if (nhlt_check_ep_match(dev, epnt, bus_id, link_type, dir, dev_type)) { in intel_nhlt_get_endpoint_blob()
/linux/arch/s390/include/asm/
H A Dccwdev.h34 .cu_type=(cu), .cu_model=(cum), .dev_type=(dev), .dev_model=(devm),\
61 && (id->dev_type != match->dev_type)) in ccw_device_id_match()
/linux/drivers/scsi/pm8001/
H A Dpm8001_sas.c445 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)))
499 if (dev->dev_type != SAS_SATA_DEV) in pm8001_queue_command()
642 if (pm8001_dev->dev_type == SAS_PHY_UNUSED) { in pm8001_alloc_dev()
676 pm8001_dev->dev_type = SAS_PHY_UNUSED; in pm8001_free_dev()
712 pm8001_device->dev_type = dev->dev_type; in pm8001_dev_found_notify()
728 if (dev->dev_type == SAS_SATA_DEV) { in pm8001_dev_found_notify()
738 if (dev->dev_type == SAS_END_DEVICE) in pm8001_dev_found_notify()
770 pm8001_dev->device_id, pm8001_dev->dev_type); in pm8001_dev_gone_notify()
827 if (!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)) in pm8001_open_reject_retry()
/linux/usr/
H A Dgen_init_cpio.c274 uid_t uid, gid_t gid, char dev_type, in cpio_mknod() argument
280 if (dev_type == 'b') in cpio_mknod()
320 char dev_type; in cpio_mknod_line() local
326 name, &mode, &uid, &gid, &dev_type, &maj, &min)) { in cpio_mknod_line()
330 rc = cpio_mknod(name, mode, uid, gid, dev_type, maj, min); in cpio_mknod_line()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c21 ((!dev) || (dev->dev_type == SAS_PHY_UNUSED))
517 if (device->dev_type != SAS_SATA_DEV && !internal_abort) in hisi_sas_queue_command()
678 id->dev_type = phy->identify.device_type; in hisi_sas_bytes_dmaed()
699 if (hisi_hba->devices[i].dev_type == SAS_PHY_UNUSED) { in hisi_sas_alloc_dev()
706 sas_dev->dev_type = device->dev_type; in hisi_sas_alloc_dev()
798 switch (device->dev_type) { in hisi_sas_init_device()
894 sas_dev->device_id, sas_dev->dev_type); in hisi_sas_dev_found()
957 if (port_dev && !dev_is_expander(port_dev->dev_type)) { in hisi_sas_phyup_work_common()
1176 if ((sas_dev->dev_type == SAS_PHY_UNUSED) || in hisi_sas_release_tasks()
1223 sas_dev->device_id, sas_dev->dev_type); in hisi_sas_dev_gone()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drxon.c24 ctx->staging.dev_type = ctx->unused_devtype; in iwl_connection_init_rx_config()
28 ctx->staging.dev_type = ctx->ap_devtype; in iwl_connection_init_rx_config()
32 ctx->staging.dev_type = ctx->station_devtype; in iwl_connection_init_rx_config()
37 ctx->staging.dev_type = ctx->ibss_devtype; in iwl_connection_init_rx_config()
44 ctx->staging.dev_type = RXON_DEV_TYPE_SNIFFER; in iwl_connection_init_rx_config()
105 u8 old_dev_type = send->dev_type; in iwlagn_disable_pan()
116 send->dev_type = RXON_DEV_TYPE_P2P; in iwlagn_disable_pan()
121 send->dev_type = old_dev_type; in iwlagn_disable_pan()
858 CHK_NEQ(staging->dev_type, active->dev_type); in iwl_full_rxon_required()
902 IWL_DEBUG_RADIO(priv, "u8 dev_type: 0x%x\n", rxon->dev_type); in iwl_print_rx_config_cmd()
/linux/drivers/hid/
H A Dhid-lgff.c25 struct dev_type { struct
47 static const struct dev_type devices[] = { argument
/linux/include/sound/
H A Dintel-nhlt.h144 u8 num_ch, u32 rate, u8 dir, u8 dev_type);
185 u8 num_ch, u32 rate, u8 dir, u8 dev_type) in intel_nhlt_get_endpoint_blob() argument
/linux/include/linux/device-id/
H A Dap.h16 __u8 dev_type; /* device type */ member
H A Dccw.h20 __u16 dev_type; /* device type */ member
/linux/include/rdma/
H A Dib_addr.h40 unsigned short dev_type; member
106 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0; in rdma_addr_gid_offset()
/linux/include/scsi/
H A Dsas_ata.h20 switch (dev->dev_type) { in dev_is_sata()

123456