Home
last modified time | relevance | path

Searched refs:device_info (Results 1 – 10 of 10) sorted by relevance

/drivers/hv/
Dvmbus_drv.c138 struct hv_device_info *device_info; in vmbus_show_device_attr() local
142 device_info = kzalloc(sizeof(struct hv_device_info), GFP_KERNEL); in vmbus_show_device_attr()
143 if (!device_info) in vmbus_show_device_attr()
146 get_channel_info(hv_dev, device_info); in vmbus_show_device_attr()
151 device_info->chn_type.b[3], in vmbus_show_device_attr()
152 device_info->chn_type.b[2], in vmbus_show_device_attr()
153 device_info->chn_type.b[1], in vmbus_show_device_attr()
154 device_info->chn_type.b[0], in vmbus_show_device_attr()
155 device_info->chn_type.b[5], in vmbus_show_device_attr()
156 device_info->chn_type.b[4], in vmbus_show_device_attr()
[all …]
/drivers/net/hyperv/
Dnetvsc_drv.c311 struct netvsc_device_info device_info; in netvsc_change_mtu() local
333 device_info.ring_size = ring_size; in netvsc_change_mtu()
334 rndis_filter_device_add(hdev, &device_info); in netvsc_change_mtu()
380 struct netvsc_device_info device_info; in netvsc_probe() local
413 device_info.ring_size = ring_size; in netvsc_probe()
414 ret = rndis_filter_device_add(dev, &device_info); in netvsc_probe()
422 memcpy(net->dev_addr, device_info.mac_adr, ETH_ALEN); in netvsc_probe()
Drndis_filter.c701 struct netvsc_device_info *device_info = additional_info; in rndis_filter_device_add() local
742 memcpy(device_info->mac_adr, rndis_device->hw_mac_adr, ETH_ALEN); in rndis_filter_device_add()
746 device_info->link_state = rndis_device->link_state; in rndis_filter_device_add()
750 device_info->link_state ? "down" : "up"); in rndis_filter_device_add()
/drivers/message/fusion/
Dmptsas.h82 u32 device_info; /* specific bits for devices */ member
100 u32 device_info; member
142 u32 device_info; /* bitfield detailed info about this device */ member
Dmptsas.c111 struct mptsas_devinfo *device_info);
117 struct mptsas_devinfo *device_info, u32 form, u32 form_specific);
436 (attached->device_info & in mptsas_is_end_device()
438 ((attached->device_info & in mptsas_is_end_device()
440 (attached->device_info & in mptsas_is_end_device()
442 (attached->device_info & in mptsas_is_end_device()
555 u64 sas_address, u32 device_info, u16 slot, u64 enclosure_logical_id) in mptsas_add_device_component() argument
588 sas_info->device_info = device_info; in mptsas_add_device_component()
639 sas_device.id, sas_device.sas_address, sas_device.device_info, in mptsas_add_device_component_by_fw()
778 phy_info->attached.device_info, in mptsas_add_device_component_starget()
[all …]
/drivers/scsi/mpt2sas/
Dmpt2sas_transport.c140 u32 device_info; in _transport_set_identify() local
167 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _transport_set_identify()
173 switch (device_info & MPI2_SAS_DEVICE_INFO_MASK_DEVICE_TYPE) { in _transport_set_identify()
189 if (device_info & MPI2_SAS_DEVICE_INFO_SSP_INITIATOR) in _transport_set_identify()
191 if (device_info & MPI2_SAS_DEVICE_INFO_STP_INITIATOR) in _transport_set_identify()
193 if (device_info & MPI2_SAS_DEVICE_INFO_SMP_INITIATOR) in _transport_set_identify()
195 if (device_info & MPI2_SAS_DEVICE_INFO_SATA_HOST) in _transport_set_identify()
199 if (device_info & MPI2_SAS_DEVICE_INFO_SSP_TARGET) in _transport_set_identify()
201 if (device_info & MPI2_SAS_DEVICE_INFO_STP_TARGET) in _transport_set_identify()
203 if (device_info & MPI2_SAS_DEVICE_INFO_SMP_TARGET) in _transport_set_identify()
[all …]
Dmpt2sas_scsih.c853 _scsih_is_end_device(u32 device_info) in _scsih_is_end_device() argument
855 if (device_info & MPI2_SAS_DEVICE_INFO_END_DEVICE && in _scsih_is_end_device()
856 ((device_info & MPI2_SAS_DEVICE_INFO_SSP_TARGET) | in _scsih_is_end_device()
857 (device_info & MPI2_SAS_DEVICE_INFO_STP_TARGET) | in _scsih_is_end_device()
858 (device_info & MPI2_SAS_DEVICE_INFO_SATA_DEVICE))) in _scsih_is_end_device()
1203 if (sas_device && sas_device->device_info & in _scsih_adjust_queue_depth()
1479 u32 device_info; in _scsih_display_sata_capabilities() local
1497 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_display_sata_capabilities()
1502 (device_info & MPI2_SAS_DEVICE_INFO_ATAPI_DEVICE) ? "y" : "n", in _scsih_display_sata_capabilities()
1705 raid_device->device_info = in _scsih_get_volume_capabilities()
[all …]
Dmpt2sas_base.h364 u32 device_info; member
414 u32 device_info; member
/drivers/hid/
Dhid-hyperv.c189 struct synthhid_device_info *device_info) in mousevsc_on_receive_device_info() argument
197 input_device->hid_dev_info = device_info->hid_dev_info; in mousevsc_on_receive_device_info()
198 desc = &device_info->hid_descriptor; in mousevsc_on_receive_device_info()
/drivers/net/wireless/
Dmwl8k.c171 struct mwl8k_device_info *device_info; member
514 struct mwl8k_device_info *di = priv->device_info; in mwl8k_request_firmware()
2427 if (priv->device_info->fw_api_ap != api_version) { in mwl8k_cmd_get_hw_spec_ap()
2430 priv->device_info->part_name, in mwl8k_cmd_get_hw_spec_ap()
2431 priv->device_info->fw_api_ap, in mwl8k_cmd_get_hw_spec_ap()
4492 di = priv->device_info; in mwl8k_add_interface()
4584 di = priv->device_info; in mwl8k_hw_restart_work()
5297 struct mwl8k_device_info *di = priv->device_info; in mwl8k_fw_state_machine()
5437 priv->rxd_ops = priv->device_info->ap_rxd_ops; in mwl8k_probe_hw()
5534 priv->device_info->part_name, in mwl8k_probe_hw()
[all …]