Home
last modified time | relevance | path

Searched refs:sas_addr (Results 1 – 25 of 38) sorted by relevance

12

/drivers/scsi/libsas/
Dsas_expander.c37 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr);
39 u8 *sas_addr, int include);
40 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr);
140 SAS_ADDR(dev->sas_addr), in smp_execute_task()
202 u8 sas_addr[SAS_ADDR_SIZE]; in sas_set_ex_phy() local
236 memcpy(sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
327 SAS_ADDR(phy->attached_sas_addr) != SAS_ADDR(sas_addr)) in sas_set_ex_phy()
341 SAS_ADDR(dev->sas_addr), phy->phy_id, in sas_set_ex_phy()
384 if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { in sas_ex_phy_discover_helper()
493 SAS_ADDR(dev->sas_addr), res); in sas_ex_general()
[all …]
Dsas_port.c37 memcmp(port->sas_addr, phy->sas_addr, SAS_ADDR_SIZE) != 0)) in phy_is_wideport_member()
124 if (*(u64 *) port->sas_addr && in sas_form_port()
138 if (*(u64 *)port->sas_addr == 0 in sas_form_port()
140 memcpy(port->sas_addr, phy->sas_addr, in sas_form_port()
243 memset(port->sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
Dsas_scsi_host.c408 SAS_ADDR(dev->sas_addr), in sas_recover_lu()
434 SAS_ADDR(dev->sas_addr)); in sas_recover_I_T()
710 SAS_ADDR(task->dev->sas_addr)); in sas_eh_handle_sas_errors()
747 SAS_ADDR(task->dev->sas_addr), in sas_eh_handle_sas_errors()
945 "TCQ\n", SAS_ADDR(dev->sas_addr), in sas_slave_configure()
1111 SAS_ADDR(sas_ha->sas_addr)); in sas_shutdown_queue()
1170 static void sas_parse_addr(u8 *sas_addr, const char *p) in sas_parse_addr() argument
1181 sas_addr[i] = (h<<4) | l; in sas_parse_addr()
Dsas_internal.h123 SAS_ADDR(dev->sas_addr), err); in sas_fail_probe()
130 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy()
Dsas_task.c29 SAS_ADDR(task->dev->sas_addr), in sas_ssp_task_response()
Dsas_dump.c66 SAS_ADDR(port->sas_addr)); in sas_dump_port()
Dsas_discover.c142 memcpy(dev->sas_addr, port->attached_sas_addr, SAS_ADDR_SIZE); in sas_get_port_device()
144 sas_hash_addr(dev->hashed_sas_addr, dev->sas_addr); in sas_get_port_device()
192 SAS_ADDR(dev->sas_addr), res); in sas_notify_lldd_dev_found()
Dsas_init.c88 void sas_hash_addr(u8 *hashed, const u8 *sas_addr) in sas_hash_addr() argument
98 if ((1 << b) & sas_addr[i]) { in sas_hash_addr()
128 sas_hash_addr(sas_ha->hashed_sas_addr, sas_ha->sas_addr); in sas_register_ha()
Dsas_phy.c169 phy->phy->identify.sas_address = SAS_ADDR(sas_ha->sas_addr); in sas_register_phys()
/drivers/scsi/aic94xx/
Daic94xx_scb.c154 static void asd_get_attached_sas_addr(struct asd_phy *phy, u8 *sas_addr) in asd_get_attached_sas_addr() argument
160 u64 addr = be64_to_cpu(*(__be64 *)phy->phy_desc->sas_addr); in asd_get_attached_sas_addr()
163 *(__be64 *)sas_addr = cpu_to_be64(addr); in asd_get_attached_sas_addr()
167 memcpy(sas_addr, idframe->sas_addr, SAS_ADDR_SIZE); in asd_get_attached_sas_addr()
186 memcmp(port->sas_addr, sas_phy->sas_addr, in asd_form_port()
204 memcpy(port->sas_addr, sas_phy->sas_addr, in asd_form_port()
Daic94xx.h62 static inline void asd_stringify_sas_addr(char *p, const u8 *sas_addr) in asd_stringify_sas_addr() argument
66 snprintf(p, 3, "%02X", sas_addr[i]); in asd_stringify_sas_addr()
Daic94xx_sds.c424 u8 sas_addr[SAS_ADDR_SIZE]; member
543 u8 sas_addr[SAS_ADDR_SIZE]; member
709 memcpy(asd_ha->hw_prof.sas_addr, ms->sas_addr, SAS_ADDR_SIZE); in asd_ms_get_sas_addr()
910 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_process_ms()
946 if (*(u64 *)pe->sas_addr == 0) { in asd_process_ctrla_phy_settings()
951 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, pe->sas_addr, in asd_process_ctrla_phy_settings()
965 SAS_ADDR(asd_ha->hw_prof.phy_desc[i].sas_addr), in asd_process_ctrla_phy_settings()
998 memcpy(dflt_ps.phy_ent[i].sas_addr, in asd_process_ctrl_a_user()
999 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_process_ctrl_a_user()
Daic94xx_hwi.c46 if (asd_ha->hw_prof.sas_addr[0]) in asd_get_user_sas_addr()
50 asd_ha->hw_prof.sas_addr); in asd_get_user_sas_addr()
58 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr()
63 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_propagate_sas_addr()
64 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr()
65 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_propagate_sas_addr()
82 memcpy(phy->identify_frame->sas_addr, phy->phy_desc->sas_addr, in asd_init_phy_identify()
123 memset(asd_port->sas_addr, 0, SAS_ADDR_SIZE); in asd_init_ports()
143 phy->sas_phy.sas_addr = &phy->phy_desc->sas_addr[0]; in asd_init_phys()
Daic94xx_hwi.h82 u8 sas_addr[SAS_ADDR_SIZE]; member
108 u8 sas_addr[SAS_ADDR_SIZE]; member
189 u8 sas_addr[SAS_ADDR_SIZE]; member
Daic94xx_seq.c977 u8 *sas_addr; in asd_init_lseq_cio() local
1058 sas_addr = asd_ha->phys[lseq].phy_desc->sas_addr; in asd_init_lseq_cio()
1060 asd_write_reg_byte(asd_ha, LmWWN(lseq) + i, sas_addr[i]); in asd_init_lseq_cio()
Daic94xx_init.c701 asd_ha->sas_ha.sas_addr = &asd_ha->hw_prof.sas_addr[0]; in asd_register_sas_ha()
818 pci_name(dev), SAS_ADDR(asd_ha->hw_prof.sas_addr), in asd_pci_probe()
/drivers/scsi/pm8001/
Dpm8001_init.c130 sas_phy->sas_addr = &pm8001_ha->sas_addr[0]; in pm8001_phy_init()
592 sha->sas_addr = &pm8001_ha->sas_addr[0]; in pm8001_post_sas_ha_init()
640 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add()
643 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add()
649 pm8001_ha->sas_addr, SAS_ADDR_SIZE); in pm8001_init_sas_add()
661 memcpy(pm8001_ha->sas_addr, &pm8001_ha->phy[0].dev_sas_addr, in pm8001_init_sas_add()
Dpm8001_sas.c637 == SAS_ADDR(dev->sas_addr)) { in pm8001_dev_found_notify()
645 " at ex:%016llx.\n", SAS_ADDR(dev->sas_addr), in pm8001_dev_found_notify()
646 SAS_ADDR(parent_dev->sas_addr))); in pm8001_dev_found_notify()
767 SAS_ADDR(dev->sas_addr), in pm8001_exec_internal_tmf_task()
841 SAS_ADDR(dev->sas_addr), in pm8001_exec_internal_task_abort()
/drivers/scsi/isci/
Dremote_node_context.c118 __le64 sas_addr; in sci_remote_node_context_construct_buffer() local
131 sas_addr = cpu_to_le64(SAS_ADDR(dev->sas_addr)); in sci_remote_node_context_construct_buffer()
132 rnc->ssp.remote_sas_address_hi = upper_32_bits(sas_addr); in sci_remote_node_context_construct_buffer()
133 rnc->ssp.remote_sas_address_lo = lower_32_bits(sas_addr); in sci_remote_node_context_construct_buffer()
Dphy.c459 memcpy(sas, iaf->sas_addr, SAS_ADDR_SIZE); in sci_phy_get_attached_sas_address()
1395 __be64 sas_addr; in isci_phy_init() local
1400 sas_addr = cpu_to_be64(sci_sas_addr); in isci_phy_init()
1401 memcpy(iphy->sas_addr, &sas_addr, sizeof(sas_addr)); in isci_phy_init()
1405 iphy->sas_phy.sas_addr = &iphy->sas_addr[0]; in isci_phy_init()
Dphy.h99 u8 sas_addr[SAS_ADDR_SIZE]; member
Dhost.c1789 u8 other = memcmp(requester->frame_rcvd.iaf.sas_addr, in power_control_timeout()
1790 iphy->frame_rcvd.iaf.sas_addr, in power_control_timeout()
1791 sizeof(requester->frame_rcvd.iaf.sas_addr)); in power_control_timeout()
1846 other = memcmp(current_phy->frame_rcvd.iaf.sas_addr, in sci_controller_power_control_queue_insert()
1847 iphy->frame_rcvd.iaf.sas_addr, in sci_controller_power_control_queue_insert()
1848 sizeof(current_phy->frame_rcvd.iaf.sas_addr)); in sci_controller_power_control_queue_insert()
/drivers/scsi/mvsas/
Dmv_sas.h298 u64 sas_addr[8]; member
359 u8 sas_addr[SAS_ADDR_SIZE]; member
461 u32 off_hi, u64 sas_addr);
Dmv_init.c117 sas_phy->sas_addr = &mvi->sas_addr[0]; in mvs_phy_init()
510 sha->sas_addr = &mvi->sas_addr[0]; in mvs_post_sas_ha_init()
537 memcpy(mvi->sas_addr, &mvi->phy[0].dev_sas_addr, SAS_ADDR_SIZE); in mvs_init_sas_add()
Dmv_sas.c224 u32 off_hi, u64 sas_addr) in mvs_set_sas_addr() argument
226 u32 lo = (u32)sas_addr; in mvs_set_sas_addr()
227 u32 hi = (u32)(sas_addr>>32); in mvs_set_sas_addr()
410 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_smp()
558 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ata()
666 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ssp()
740 SAS_ADDR(dev->sas_addr)); in mvs_task_prep()
1316 SAS_ADDR(dev->sas_addr)) { in mvs_dev_found_notify()
1325 SAS_ADDR(dev->sas_addr), in mvs_dev_found_notify()
1326 SAS_ADDR(parent_dev->sas_addr)); in mvs_dev_found_notify()
[all …]

12