Home
last modified time | relevance | path

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

1234567

/drivers/acpi/
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()
/drivers/scsi/aic94xx/
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()
/drivers/scsi/libsas/
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()
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()
477 switch (dev->dev_type) { in sas_discover_domain()
491 pr_err("unhandled device %d\n", dev->dev_type); in sas_discover_domain()
[all …]
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()
781 child->dev_type = SAS_END_DEVICE; in sas_ex_add_dev()
1093 if (!dev_is_expander(child->dev_type)) in sas_check_level_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()
1334 switch (child->parent->dev_type) { in sas_check_parent_topology()
1588 if (dev_is_expander(dev->dev_type)) { in sas_ex_level_discovery()
1821 if (dev_is_expander(ch->dev_type)) { in sas_find_bcast_dev()
1838 if (dev_is_expander(child->dev_type)) in sas_unregister_ex_tree()
[all …]
A Dsas_internal.h154 if (dev->parent && !dev_is_expander(dev->dev_type)) { in sas_fail_probe()
171 switch (dev->dev_type) { in sas_fill_in_rphy()
198 phy->identify.device_type = dev->dev_type; in sas_phy_set_target()
/drivers/s390/crypto/
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,
A Dzcrypt_cex4.c44 { .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,
A Dpkey_ep11.c25 { .dev_type = AP_DEVICE_TYPE_CEX4 },
26 { .dev_type = AP_DEVICE_TYPE_CEX5 },
27 { .dev_type = AP_DEVICE_TYPE_CEX6 },
28 { .dev_type = AP_DEVICE_TYPE_CEX7 },
29 { .dev_type = AP_DEVICE_TYPE_CEX8 },
A Dpkey_cca.c24 { .dev_type = AP_DEVICE_TYPE_CEX4 },
25 { .dev_type = AP_DEVICE_TYPE_CEX5 },
26 { .dev_type = AP_DEVICE_TYPE_CEX6 },
27 { .dev_type = AP_DEVICE_TYPE_CEX7 },
28 { .dev_type = AP_DEVICE_TYPE_CEX8 },
/drivers/hv/
A Dchannel_mgmt.c33 { .dev_type = HV_IDE,
40 { .dev_type = HV_SCSI,
47 { .dev_type = HV_FC,
54 { .dev_type = HV_NIC,
61 { .dev_type = HV_ND,
75 { .dev_type = HV_FB,
82 { .dev_type = HV_KBD,
96 { .dev_type = HV_KVP,
103 { .dev_type = HV_TS,
110 { .dev_type = HV_HB,
[all …]
/drivers/regulator/
A Dmax14577-regulator.c42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
67 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_set_current_limit()
170 switch (max14577->dev_type) { in max14577_get_regmap()
194 enum maxim_device_type dev_type = max14577->dev_type; in max14577_regulator_probe() local
196 switch (dev_type) { in max14577_regulator_probe()
/drivers/input/misc/
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()
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()
/drivers/vdpa/ifcvf/
A Difcvf_main.c369 u32 type = vf->dev_type; in ifcvf_vdpa_get_device_features()
539 return vf->dev_type; in ifcvf_vdpa_get_device_id()
675 u32 dev_type; in get_dev_type() local
686 dev_type = pdev->subsystem_device; in get_dev_type()
688 dev_type = pdev->device - 0x1040; in get_dev_type()
690 return dev_type; in get_dev_type()
766 u32 dev_type; in ifcvf_probe() local
802 vf->dev_type = get_dev_type(pdev); in ifcvf_probe()
818 dev_type = get_dev_type(pdev); in ifcvf_probe()
819 switch (dev_type) { in ifcvf_probe()
[all …]
/drivers/power/supply/
A Dmax14577_charger.c27 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()
/drivers/mfd/
A Dmax14577.c282 max14577->dev_type, device_id, vendor_id); in max14577_print_dev_type()
401 max14577->dev_type = (kernel_ulong_t)i2c_get_match_data(i2c); in max14577_i2c_probe()
405 switch (max14577->dev_type) { in max14577_i2c_probe()
431 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) { in max14577_i2c_probe()
447 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_probe()
462 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_remove()
/drivers/scsi/pm8001/
A Dpm8001_sas.c435 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)))
489 if (dev->dev_type != SAS_SATA_DEV) in pm8001_queue_command()
632 if (pm8001_dev->dev_type == SAS_PHY_UNUSED) { in pm8001_alloc_dev()
666 pm8001_dev->dev_type = SAS_PHY_UNUSED; in pm8001_free_dev()
702 pm8001_device->dev_type = dev->dev_type; in pm8001_dev_found_notify()
704 if (parent_dev && dev_is_expander(parent_dev->dev_type)) { in pm8001_dev_found_notify()
718 if (dev->dev_type == SAS_SATA_DEV) { in pm8001_dev_found_notify()
728 if (dev->dev_type == SAS_END_DEVICE) in pm8001_dev_found_notify()
760 pm8001_dev->device_id, pm8001_dev->dev_type); in pm8001_dev_gone_notify()
808 if (!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)) in pm8001_open_reject_retry()
/drivers/i2c/busses/
A Di2c-mxs.c69 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0)
71 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8)
114 enum mxs_i2c_devtype dev_type; member
361 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_trigger_write_cmd()
550 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()
809 i2c->dev_type = (uintptr_t)of_device_get_match_data(&pdev->dev); in mxs_i2c_probe()
/drivers/scsi/hisi_sas/
A Dhisi_sas_main.c21 ((!dev) || (dev->dev_type == SAS_PHY_UNUSED))
678 id->dev_type = phy->identify.device_type; in hisi_sas_bytes_dmaed()
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()
1223 sas_dev->device_id, sas_dev->dev_type); in hisi_sas_dev_gone()
1240 sas_dev->dev_type = SAS_PHY_UNUSED; in hisi_sas_dev_gone()
1409 if ((sas_dev->dev_type == SAS_PHY_UNUSED) in hisi_sas_refresh_port_id()
1459 if (dev_is_expander(dev->dev_type)) in hisi_sas_rescan_topology()
1749 if (task->dev->dev_type == SAS_SATA_DEV) { in hisi_sas_abort_task()
[all …]
/drivers/staging/greybus/
A Dspilib.c449 u8 dev_type; in gb_spi_setup_device() local
459 dev_type = response.device_type; in gb_spi_setup_device()
461 if (dev_type == GB_SPI_SPI_DEV) in gb_spi_setup_device()
464 else if (dev_type == GB_SPI_SPI_NOR) in gb_spi_setup_device()
467 else if (dev_type == GB_SPI_SPI_MODALIAS) in gb_spi_setup_device()
/drivers/gpu/drm/bridge/analogix/
A Danalogix_dp_reg.c75 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_init_analog_param()
77 if (dp->plat_data->dev_type == RK3288_DP) in analogix_dp_init_analog_param()
126 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_reset()
236 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_set_pll_power_down()
257 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down()
262 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down()
320 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down()
332 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down()
468 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_init_aux()
840 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_config_video_slave_mode()
/drivers/net/wireless/intel/iwlwifi/dvm/
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()
/drivers/dma/
A Dste_dma40.c1737 (conf->dev_type < 0)) { in d40_validate_conf()
1856 int dev_type = d40c->dma_cfg.dev_type; in d40_allocate_channel() local
1871 log_num = 2 * dev_type; in d40_allocate_channel()
1876 log_num = 2 * dev_type + 1; in d40_allocate_channel()
1881 event_group = D40_TYPE_TO_GROUP(dev_type); in d40_allocate_channel()
1882 event_line = D40_TYPE_TO_EVENT(dev_type); in d40_allocate_channel()
1919 if (dev_type == -1) in d40_allocate_channel()
2319 u32 event = D40_TYPE_TO_EVENT(dev_type); in __d40_set_prio_rt()
2320 u32 group = D40_TYPE_TO_GROUP(dev_type); in __d40_set_prio_rt()
2379 cfg.dev_type = dma_spec->args[0]; in d40_xlate()
[all …]
/drivers/hid/
A Dhid-alps.c101 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()
A Dhid-lgff.c25 struct dev_type { struct
47 static const struct dev_type devices[] = { argument

Completed in 62 milliseconds

1234567