/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_internal.h | 123 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy() 124 rphy->identify.initiator_port_protocols = dev->iproto; in sas_fill_in_rphy() 125 rphy->identify.target_port_protocols = dev->tproto; in sas_fill_in_rphy() 131 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy() 134 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy() 137 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy() 140 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy() 151 phy->identify.device_type = SAS_END_DEVICE; in sas_phy_set_target() 153 phy->identify.device_type = dev->dev_type; in sas_phy_set_target() 154 phy->identify in sas_phy_set_target() [all...] |
H A D | sas_phy.c | 138 phy->phy->identify.initiator_port_protocols = in sas_register_phys() 140 phy->phy->identify.target_port_protocols = phy->tproto; in sas_register_phys() 141 phy->phy->identify.sas_address = SAS_ADDR(sas_ha->sas_addr); in sas_register_phys() 142 phy->phy->identify.phy_identifier = i; in sas_register_phys()
|
H A D | sas_host_smp.c | 47 resp_data[12] = rphy->identify.device_type << 4; in sas_host_smp_discover() 48 resp_data[14] = rphy->identify.initiator_port_protocols; in sas_host_smp_discover() 49 resp_data[15] = rphy->identify.target_port_protocols; in sas_host_smp_discover() 157 if (rphy->identify.target_port_protocols != SAS_PROTOCOL_SATA) in sas_report_phy_sata()
|
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_internal.h | 142 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy() 143 rphy->identify.initiator_port_protocols = dev->iproto; in sas_fill_in_rphy() 144 rphy->identify.target_port_protocols = dev->tproto; in sas_fill_in_rphy() 150 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy() 153 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy() 156 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy() 159 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy() 170 phy->identify.device_type = SAS_END_DEVICE; in sas_phy_set_target() 172 phy->identify.device_type = dev->dev_type; in sas_phy_set_target() 173 phy->identify in sas_phy_set_target() [all...] |
H A D | sas_phy.c | 138 phy->phy->identify.initiator_port_protocols = in sas_register_phys() 140 phy->phy->identify.target_port_protocols = phy->tproto; in sas_register_phys() 141 phy->phy->identify.sas_address = SAS_ADDR(sas_ha->sas_addr); in sas_register_phys() 142 phy->phy->identify.phy_identifier = i; in sas_register_phys()
|
H A D | sas_host_smp.c | 47 resp_data[12] = rphy->identify.device_type << 4; in sas_host_smp_discover() 48 resp_data[14] = rphy->identify.initiator_port_protocols; in sas_host_smp_discover() 49 resp_data[15] = rphy->identify.target_port_protocols; in sas_host_smp_discover() 157 if (rphy->identify.target_port_protocols != SAS_PROTOCOL_SATA) in sas_report_phy_sata()
|
/kernel/linux/linux-6.6/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 59 struct sas_identify *identify; in pqi_sas_port_add_phy() local 64 identify = &phy->identify; in pqi_sas_port_add_phy() 65 memset(identify, 0, sizeof(*identify)); in pqi_sas_port_add_phy() 66 identify->sas_address = pqi_sas_port->sas_address; in pqi_sas_port_add_phy() 67 identify->device_type = SAS_END_DEVICE; in pqi_sas_port_add_phy() 68 identify->initiator_port_protocols = SAS_PROTOCOL_ALL; in pqi_sas_port_add_phy() 69 identify->target_port_protocols = SAS_PROTOCOL_ALL; in pqi_sas_port_add_phy() 91 struct sas_identify *identify; in pqi_sas_port_add_rphy() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 59 struct sas_identify *identify; in pqi_sas_port_add_phy() local 64 identify = &phy->identify; in pqi_sas_port_add_phy() 65 memset(identify, 0, sizeof(*identify)); in pqi_sas_port_add_phy() 66 identify->sas_address = pqi_sas_port->sas_address; in pqi_sas_port_add_phy() 67 identify->device_type = SAS_END_DEVICE; in pqi_sas_port_add_phy() 68 identify->initiator_port_protocols = SAS_PROTOCOL_STP; in pqi_sas_port_add_phy() 69 identify->target_port_protocols = SAS_PROTOCOL_STP; in pqi_sas_port_add_phy() 91 struct sas_identify *identify; in pqi_sas_port_add_rphy() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_transport.c | 121 if (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in _transport_get_port_id_by_rphy() 122 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) { in _transport_get_port_id_by_rphy() 132 } else if (rphy->identify.device_type == SAS_END_DEVICE) { in _transport_get_port_id_by_rphy() 192 * _transport_set_identify - set identify for phys and end devices 195 * @identify: sas identify info 197 * Populates sas identify info. 203 struct sas_identify *identify) in _transport_set_identify() 230 memset(identify, 0, sizeof(struct sas_identify)); in _transport_set_identify() 234 identify in _transport_set_identify() 202 _transport_set_identify(struct MPT3SAS_ADAPTER *ioc, u16 handle, struct sas_identify *identify) _transport_set_identify() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_transport.c | 130 * _transport_set_identify - set identify for phys and end devices 133 * @identify: sas identify info 135 * Populates sas identify info. 141 struct sas_identify *identify) in _transport_set_identify() 168 memset(identify, 0, sizeof(struct sas_identify)); in _transport_set_identify() 172 identify->sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _transport_set_identify() 175 identify->phy_identifier = sas_device_pg0.PhyNum; in _transport_set_identify() 180 identify->device_type = SAS_PHY_UNUSED; in _transport_set_identify() 183 identify in _transport_set_identify() 140 _transport_set_identify(struct MPT3SAS_ADAPTER *ioc, u16 handle, struct sas_identify *identify) _transport_set_identify() argument [all...] |
/kernel/linux/linux-5.10/drivers/message/fusion/ |
H A D | mptsas.c | 110 static void mptsas_parse_device_info(struct sas_identify *identify, 389 if (port_info->phy_info[i].identify.handle == handle) { in mptsas_find_portinfo_by_handle() 419 if (port_info->phy_info[i].identify.sas_address == in mptsas_find_portinfo_by_sas_address() 600 if (rphy->identify.sas_address == sas_address) { in mptsas_add_device_component() 766 rphy->identify.sas_address); in mptsas_add_device_component_starget() 1420 struct sas_identify identify; in mptsas_add_end_device() local 1464 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_add_end_device() 1473 rphy->identify = identify; in mptsas_add_end_device() 1760 rphy->identify in mptsas_target_alloc() 2973 mptsas_parse_device_info(struct sas_identify *identify, struct mptsas_devinfo *device_info) mptsas_parse_device_info() argument 3192 struct sas_identify identify; mptsas_probe_one_phy() local [all...] |
/kernel/linux/linux-6.6/drivers/message/fusion/ |
H A D | mptsas.c | 110 static void mptsas_parse_device_info(struct sas_identify *identify, 414 if (port_info->phy_info[i].identify.handle == handle) { in mptsas_find_portinfo_by_handle() 446 if (port_info->phy_info[i].identify.sas_address == in mptsas_find_portinfo_by_sas_address() 629 if (rphy->identify.sas_address == sas_address) { in mptsas_add_device_component() 792 rphy->identify.sas_address); in mptsas_add_device_component_starget() 1448 struct sas_identify identify; in mptsas_add_end_device() local 1492 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_add_end_device() 1501 rphy->identify = identify; in mptsas_add_end_device() 1788 rphy->identify in mptsas_target_alloc() 3004 mptsas_parse_device_info(struct sas_identify *identify, struct mptsas_devinfo *device_info) mptsas_parse_device_info() argument 3223 struct sas_identify identify; mptsas_probe_one_phy() local [all...] |
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | zns.c | 31 c.identify.opcode = nvme_admin_identify; in nvme_set_max_append() 32 c.identify.cns = NVME_ID_CNS_CS_CTRL; in nvme_set_max_append() 33 c.identify.csi = NVME_CSI_ZNS; in nvme_set_max_append() 77 c.identify.opcode = nvme_admin_identify; in nvme_update_zone_info() 78 c.identify.nsid = cpu_to_le32(ns->head->ns_id); in nvme_update_zone_info() 79 c.identify.cns = NVME_ID_CNS_CS_NS; in nvme_update_zone_info() 80 c.identify.csi = NVME_CSI_ZNS; in nvme_update_zone_info()
|
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | zns.c | 30 c.identify.opcode = nvme_admin_identify; in nvme_set_max_append() 31 c.identify.cns = NVME_ID_CNS_CS_CTRL; in nvme_set_max_append() 32 c.identify.csi = NVME_CSI_ZNS; in nvme_set_max_append() 81 c.identify.opcode = nvme_admin_identify; in nvme_update_zone_info() 82 c.identify.nsid = cpu_to_le32(ns->head->ns_id); in nvme_update_zone_info() 83 c.identify.cns = NVME_ID_CNS_CS_NS; in nvme_update_zone_info() 84 c.identify.csi = NVME_CSI_ZNS; in nvme_update_zone_info()
|
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_transport.c | 494 * address and hba port are used to identify the exact expander 526 phy->identify.sas_address, in mpi3mr_parent_present() 772 * mpi3mr_set_identify - set identify for phys and end devices 775 * @identify: SAS transport layer's identify info 777 * Populates sas identify info for a specific device. 782 struct sas_identify *identify) in mpi3mr_set_identify() 807 memset(identify, 0, sizeof(struct sas_identify)); in mpi3mr_set_identify() 812 identify->sas_address = le64_to_cpu(sasinf->sas_address); in mpi3mr_set_identify() 815 identify in mpi3mr_set_identify() 781 mpi3mr_set_identify(struct mpi3mr_ioc *mrioc, u16 handle, struct sas_identify *identify) mpi3mr_set_identify() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_transport_sas.c | 166 BUG_ON(rphy->identify.device_type != SAS_END_DEVICE); in sas_sdev_to_rdev() 326 return rdev->rphy.identify.sas_address; in sas_get_address() 518 if (!phy->identify.device_type) in show_sas_device_type() 520 return get_sas_device_type_names(phy->identify.device_type, buf); in show_sas_device_type() 603 sas_phy_protocol_attr(identify.initiator_port_protocols, 605 sas_phy_protocol_attr(identify.target_port_protocols, 607 sas_phy_simple_attr(identify.sas_address, sas_address, "0x%016llx\n", 609 sas_phy_simple_attr(identify.phy_identifier, phy_identifier, "%d\n", u8); 1173 if (!rphy->identify.device_type) in show_sas_rphy_device_type() 1176 rphy->identify in show_sas_rphy_device_type() 1513 struct sas_identify *identify = &rphy->identify; sas_rphy_add() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_transport_sas.c | 166 BUG_ON(rphy->identify.device_type != SAS_END_DEVICE); in sas_sdev_to_rdev() 332 return rdev->rphy.identify.sas_address; in sas_get_address() 524 if (!phy->identify.device_type) in show_sas_device_type() 526 return get_sas_device_type_names(phy->identify.device_type, buf); in show_sas_device_type() 609 sas_phy_protocol_attr(identify.initiator_port_protocols, 611 sas_phy_protocol_attr(identify.target_port_protocols, 613 sas_phy_simple_attr(identify.sas_address, sas_address, "0x%016llx\n", 615 sas_phy_simple_attr(identify.phy_identifier, phy_identifier, "%d\n", u8); 1179 if (!rphy->identify.device_type) in show_sas_rphy_device_type() 1182 rphy->identify in show_sas_rphy_device_type() 1519 struct sas_identify *identify = &rphy->identify; sas_rphy_add() local [all...] |
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_transport_sas.h | 65 struct sas_identify identify; member 97 struct sas_identify identify; member 238 return rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE || in scsi_is_sas_expander_device() 239 rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE; in scsi_is_sas_expander_device()
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_transport_sas.h | 66 struct sas_identify identify; member 98 struct sas_identify identify; member 239 return rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE || in scsi_is_sas_expander_device() 240 rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE; in scsi_is_sas_expander_device()
|
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
H A D | tps53679.c | 250 info->identify = tps53679_identify; in tps53679_probe() 253 info->identify = tps53676_identify; in tps53679_probe() 258 info->identify = tps53679_identify; in tps53679_probe() 263 info->identify = tps53681_identify; in tps53679_probe()
|
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
H A D | tps53679.c | 207 info->identify = tps53679_identify; in tps53679_probe() 212 info->identify = tps53679_identify; in tps53679_probe() 217 info->identify = tps53681_identify; in tps53679_probe()
|
/kernel/linux/linux-5.10/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 1063 * ATA identify data contains strings in byte-swapped 16-bit words. 1091 *timeout = ((*(dd->port->identify + 90) * 2) * 60000); in mtip_set_timeout() 1093 *timeout = ((*(dd->port->identify + 89) * 2) * 60000); in mtip_set_timeout() 1115 * identify information is still read from the drive and placed 1116 * into the identify data buffer (@e port->identify) in the 1118 * When the identify buffer contains valid identify information @e 1122 * @user_buffer A user space buffer where the identify data should be 1144 /* Set the identify informatio in mtip_get_identify() [all...] |
/kernel/linux/linux-6.6/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 1051 * ATA identify data contains strings in byte-swapped 16-bit words. 1079 *timeout = ((*(dd->port->identify + 90) * 2) * 60000); in mtip_set_timeout() 1081 *timeout = ((*(dd->port->identify + 89) * 2) * 60000); in mtip_set_timeout() 1103 * identify information is still read from the drive and placed 1104 * into the identify data buffer (@e port->identify) in the 1106 * When the identify buffer contains valid identify information @e 1110 * @user_buffer A user space buffer where the identify data should be 1132 /* Set the identify informatio in mtip_get_identify() [all...] |
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | passthru.c | 163 switch (req->cmd->identify.cns) { in nvmet_passthru_execute_cmd_work() 461 switch (req->cmd->identify.cns) { in nvmet_parse_passthru_admin_cmd() 467 switch (req->cmd->identify.csi) { in nvmet_parse_passthru_admin_cmd() 479 switch (req->cmd->identify.csi) { in nvmet_parse_passthru_admin_cmd()
|
/kernel/linux/linux-6.6/include/linux/pds/ |
H A D | pds_core_if.h | 105 * @version: Version of device identify 138 * struct pds_core_dev_identify_cmd - Driver/device identify command 140 * @ver: Highest version of identify supported by driver 152 * struct pds_core_dev_identify_comp - Device identify command completion 154 * @ver: Version of identify returned by device 455 struct pds_core_dev_identify_cmd identify; member 473 struct pds_core_dev_identify_comp identify; member
|