/linux/drivers/scsi/libsas/ |
A D | sas_expander.c | 26 u8 *sas_addr, int include); 126 SAS_ADDR(dev->sas_addr), in smp_execute_task_sg() 199 u8 sas_addr[SAS_ADDR_SIZE]; in sas_set_ex_phy() local 504 SAS_ADDR(dev->sas_addr)); in sas_ex_general() 644 u8 *sas_addr) in sas_dev_present_in_domain() argument 648 if (SAS_ADDR(port->sas_addr) == SAS_ADDR(sas_addr)) in sas_dev_present_in_domain() 651 if (SAS_ADDR(dev->sas_addr) == SAS_ADDR(sas_addr)) in sas_dev_present_in_domain() 1063 SAS_ADDR(dev->sas_addr), in sas_ex_discover_dev() 1092 SAS_ADDR(dev->sas_addr), in sas_ex_discover_dev() 1282 SAS_ADDR(child->sas_addr), in sas_check_eeds() [all …]
|
A D | sas_port.c | 21 memcmp(port->sas_addr, phy->sas_addr, SAS_ADDR_SIZE) != 0)) in phy_is_wideport_member() 110 if (*(u64 *) port->sas_addr && in sas_form_port() 124 if (*(u64 *)port->sas_addr == 0 in sas_form_port() 126 memcpy(port->sas_addr, phy->sas_addr, in sas_form_port() 239 memset(port->sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
|
A D | sas_internal.h | 113 SAS_ADDR(dev->sas_addr), err); in sas_fail_probe() 120 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy()
|
A D | sas_task.c | 31 SAS_ADDR(task->dev->sas_addr), iu->status); in sas_ssp_task_response()
|
/linux/net/atm/ |
A D | addr.c | 20 if (!*addr->sas_addr.pub) in check_addr() 21 return *addr->sas_addr.prv ? 0 : -EINVAL; in check_addr() 23 if (!addr->sas_addr.pub[i]) in check_addr() 30 if (*a->sas_addr.prv) in identical() 31 if (memcmp(a->sas_addr.prv, b->sas_addr.prv, ATM_ESA_LEN)) in identical() 33 if (!*a->sas_addr.pub) in identical() 34 return !*b->sas_addr.pub; in identical() 35 if (!*b->sas_addr.pub) in identical() 37 return !strcmp(a->sas_addr.pub, b->sas_addr.pub); in identical()
|
A D | atm_sysfs.c | 42 &aaddr->addr.sas_addr.prv[0], in atmaddress_show() 43 &aaddr->addr.sas_addr.prv[1], in atmaddress_show() 44 &aaddr->addr.sas_addr.prv[3], in atmaddress_show() 45 &aaddr->addr.sas_addr.prv[13], in atmaddress_show() 46 &aaddr->addr.sas_addr.prv[19]); in atmaddress_show()
|
A D | signaling.c | 80 if (!*vcc->local.sas_addr.prv && !*vcc->local.sas_addr.pub) { in sigd_send() 82 memcpy(vcc->local.sas_addr.prv, in sigd_send() 83 msg->local.sas_addr.prv, ATM_ESA_LEN); in sigd_send() 84 memcpy(vcc->local.sas_addr.pub, in sigd_send() 85 msg->local.sas_addr.pub, ATM_E164_LEN + 1); in sigd_send()
|
A D | proc.c | 213 seq_printf(seq, "%s%s", vcc->remote.sas_addr.pub, in svc_info() 214 *vcc->remote.sas_addr.pub && *vcc->remote.sas_addr.prv ? "+" : ""); in svc_info() 215 if (*vcc->remote.sas_addr.prv) { in svc_info() 219 seq_printf(seq, "%02x", vcc->remote.sas_addr.prv[i]); in svc_info()
|
A D | clip.c | 710 if (*addr->sas_addr.pub) { in svc_addr() 711 seq_printf(seq, "%s", addr->sas_addr.pub); in svc_addr() 712 if (*addr->sas_addr.prv) in svc_addr() 714 } else if (!*addr->sas_addr.prv) { in svc_addr() 718 if (*addr->sas_addr.prv) { in svc_addr() 719 unsigned char *prv = addr->sas_addr.prv; in svc_addr()
|
/linux/include/uapi/linux/ |
A D | atm.h | 214 } sas_addr __ATM_API_ALIGN; /* SVC address */ 220 return *addr.sas_addr.prv || *addr.sas_addr.pub; in atmsvc_addr_in_use()
|
/linux/drivers/scsi/aic94xx/ |
A D | aic94xx_scb.c | 137 static void asd_get_attached_sas_addr(struct asd_phy *phy, u8 *sas_addr) in asd_get_attached_sas_addr() argument 143 u64 addr = be64_to_cpu(*(__be64 *)phy->phy_desc->sas_addr); in asd_get_attached_sas_addr() 146 *(__be64 *)sas_addr = cpu_to_be64(addr); in asd_get_attached_sas_addr() 150 memcpy(sas_addr, idframe->sas_addr, SAS_ADDR_SIZE); in asd_get_attached_sas_addr() 169 memcmp(port->sas_addr, sas_phy->sas_addr, in asd_form_port() 187 memcpy(port->sas_addr, sas_phy->sas_addr, in asd_form_port()
|
A D | aic94xx_hwi.c | 28 if (asd_ha->hw_prof.sas_addr[0]) in asd_get_user_sas_addr() 32 asd_ha->hw_prof.sas_addr); in asd_get_user_sas_addr() 40 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr() 45 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_propagate_sas_addr() 46 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr() 47 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_propagate_sas_addr() 64 memcpy(phy->identify_frame->sas_addr, phy->phy_desc->sas_addr, in asd_init_phy_identify() 105 memset(asd_port->sas_addr, 0, SAS_ADDR_SIZE); in asd_init_ports() 125 phy->sas_phy.sas_addr = &phy->phy_desc->sas_addr[0]; in asd_init_phys()
|
A D | aic94xx_sds.c | 406 u8 sas_addr[SAS_ADDR_SIZE]; member 527 u8 sas_addr[SAS_ADDR_SIZE]; member 693 memcpy(asd_ha->hw_prof.sas_addr, ms->sas_addr, SAS_ADDR_SIZE); in asd_ms_get_sas_addr() 896 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_process_ms() 932 if (*(u64 *)pe->sas_addr == 0) { in asd_process_ctrla_phy_settings() 937 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, pe->sas_addr, in asd_process_ctrla_phy_settings() 951 SAS_ADDR(asd_ha->hw_prof.phy_desc[i].sas_addr), in asd_process_ctrla_phy_settings() 984 memcpy(dflt_ps.phy_ent[i].sas_addr, in asd_process_ctrl_a_user() 985 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_process_ctrl_a_user()
|
A D | aic94xx_hwi.h | 64 u8 sas_addr[SAS_ADDR_SIZE]; member 90 u8 sas_addr[SAS_ADDR_SIZE]; member 171 u8 sas_addr[SAS_ADDR_SIZE]; member
|
/linux/drivers/scsi/esas2r/ |
A D | esas2r_flash.c | 1281 memcpy(&sas_address_bytes[0], n->sas_addr, 8); in esas2r_nvram_write() 1369 n->sas_addr[3] |= 0x0F; in esas2r_nvram_set_defaults() 1370 n->sas_addr[4] = HIBYTE(LOWORD(time)); in esas2r_nvram_set_defaults() 1371 n->sas_addr[5] = LOBYTE(LOWORD(time)); in esas2r_nvram_set_defaults() 1372 n->sas_addr[6] = a->pcid->bus->number; in esas2r_nvram_set_defaults() 1373 n->sas_addr[7] = a->pcid->devfn; in esas2r_nvram_set_defaults() 1379 u8 sas_addr[8]; in esas2r_nvram_get_defaults() local 1385 memcpy(&sas_addr[0], a->nvram->sas_addr, 8); in esas2r_nvram_get_defaults() 1387 memcpy(&nvram->sas_addr[0], &sas_addr[0], 8); in esas2r_nvram_get_defaults()
|
A D | esas2r_targdb.c | 233 u64 *sas_addr) in esas2r_targ_db_find_by_sas_addr() argument 238 if (t->sas_addr == *sas_addr) in esas2r_targ_db_find_by_sas_addr()
|
A D | esas2r_disc.c | 961 memcpy(&dc->sas_addr, in esas2r_disc_passthru_dev_addr_cb() 965 memset(&dc->sas_addr, 0, sizeof(dc->sas_addr)); in esas2r_disc_passthru_dev_addr_cb() 984 memcpy(&t->sas_addr, &dc->sas_addr, in esas2r_disc_passthru_dev_addr_cb() 985 sizeof(t->sas_addr)); in esas2r_disc_passthru_dev_addr_cb()
|
/linux/include/scsi/ |
A D | libsas.h | 189 u8 sas_addr[SAS_ADDR_SIZE]; member 262 u8 sas_addr[SAS_ADDR_SIZE]; member 331 u8 *sas_addr; /* must be set */ member 383 u8 *sas_addr; /* must be set */ member 425 void sas_hash_addr(u8 *hashed, const u8 *sas_addr);
|
A D | sas.h | 282 u8 sas_addr[SAS_ADDR_SIZE]; member 415 u8 sas_addr[8]; member 515 u8 sas_addr[SAS_ADDR_SIZE]; member 648 u8 sas_addr[8]; member
|
/linux/drivers/scsi/pm8001/ |
A D | pm8001_init.c | 154 sas_phy->sas_addr = (u8 *)&phy->dev_sas_addr; in pm8001_phy_init() 638 sha->sas_phy[i]->sas_addr = in pm8001_post_sas_ha_init() 645 sha->sas_addr = &pm8001_ha->sas_addr[0]; in pm8001_post_sas_ha_init() 708 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add() 711 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add() 716 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add() 719 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add() 722 memcpy(sas_add, pm8001_ha->sas_addr, SAS_ADDR_SIZE); in pm8001_init_sas_add() 739 memcpy(pm8001_ha->sas_addr, &pm8001_ha->phy[0].dev_sas_addr, in pm8001_init_sas_add()
|
/linux/drivers/scsi/isci/ |
A D | remote_node_context.c | 121 __le64 sas_addr; in sci_remote_node_context_construct_buffer() local 134 sas_addr = cpu_to_le64(SAS_ADDR(dev->sas_addr)); in sci_remote_node_context_construct_buffer() 135 rnc->ssp.remote_sas_address_hi = upper_32_bits(sas_addr); in sci_remote_node_context_construct_buffer() 136 rnc->ssp.remote_sas_address_lo = lower_32_bits(sas_addr); in sci_remote_node_context_construct_buffer()
|
A D | phy.c | 456 memcpy(sas, iaf->sas_addr, SAS_ADDR_SIZE); in sci_phy_get_attached_sas_address() 1392 __be64 sas_addr; in isci_phy_init() local 1397 sas_addr = cpu_to_be64(sci_sas_addr); in isci_phy_init() 1398 memcpy(iphy->sas_addr, &sas_addr, sizeof(sas_addr)); in isci_phy_init() 1402 iphy->sas_phy.sas_addr = &iphy->sas_addr[0]; in isci_phy_init()
|
/linux/drivers/scsi/hisi_sas/ |
A D | hisi_sas_main.c | 432 SAS_ADDR(device->sas_addr)); in hisi_sas_task_prep() 802 SAS_ADDR(device->sas_addr)) in hisi_sas_dev_found() 809 SAS_ADDR(device->sas_addr), in hisi_sas_dev_found() 810 SAS_ADDR(parent_dev->sas_addr)); in hisi_sas_dev_found() 959 sas_phy->sas_addr = &hisi_hba->sas_addr[0]; in hisi_sas_phy_init() 1313 SAS_ADDR(device->sas_addr), in hisi_sas_exec_internal_tmf_task() 1333 SAS_ADDR(device->sas_addr), in hisi_sas_exec_internal_tmf_task() 1389 SAS_ADDR(device->sas_addr)); in hisi_sas_softreset_ata_disk() 1393 SAS_ADDR(device->sas_addr)); in hisi_sas_softreset_ata_disk() 2206 SAS_ADDR(device->sas_addr), task, in _hisi_sas_internal_task_abort() [all …]
|
A D | hisi_sas_v1_hw.c | 471 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v1_hw() 472 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v1_hw() 499 u64 sas_addr; in setup_itct_v1_hw() local 524 memcpy(&sas_addr, device->sas_addr, SAS_ADDR_SIZE); in setup_itct_v1_hw() 525 itct->sas_addr = cpu_to_le64(__swab64(sas_addr)); in setup_itct_v1_hw() 1366 &id->sas_addr, SAS_ADDR_SIZE); in int_phyup_v1_hw()
|
/linux/drivers/scsi/mvsas/ |
A D | mv_init.c | 97 sas_phy->sas_addr = &mvi->sas_addr[0]; in mvs_phy_init() 466 sha->sas_addr = &mvi->sas_addr[0]; in mvs_post_sas_ha_init() 490 memcpy(mvi->sas_addr, &mvi->phy[0].dev_sas_addr, SAS_ADDR_SIZE); in mvs_init_sas_add()
|