Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_expander.c24 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr);
26 u8 *sas_addr, int include);
27 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr);
126 SAS_ADDR(dev->sas_addr), in smp_execute_task_sg()
199 u8 sas_addr[SAS_ADDR_SIZE]; in sas_set_ex_phy() local
233 memcpy(sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
325 SAS_ADDR(phy->attached_sas_addr) != SAS_ADDR(sas_addr)) in sas_set_ex_phy()
339 SAS_ADDR(dev->sas_addr), phy->phy_id, in sas_set_ex_phy()
382 if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { in sas_ex_phy_discover_helper()
491 SAS_ADDR(dev->sas_addr), res); in sas_ex_general()
[all …]
Dsas_port.c21 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()
Dsas_task.c31 SAS_ADDR(task->dev->sas_addr), iu->status); in sas_ssp_task_response()
Dsas_internal.h116 SAS_ADDR(dev->sas_addr), err); in sas_fail_probe()
123 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy()
/kernel/linux/linux-5.10/net/atm/
Daddr.c20 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()
Datm_sysfs.c42 &aaddr->addr.sas_addr.prv[0], in show_atmaddress()
43 &aaddr->addr.sas_addr.prv[1], in show_atmaddress()
44 &aaddr->addr.sas_addr.prv[3], in show_atmaddress()
45 &aaddr->addr.sas_addr.prv[13], in show_atmaddress()
46 &aaddr->addr.sas_addr.prv[19]); in show_atmaddress()
Dsignaling.c80 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()
Dproc.c213 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()
Dclip.c710 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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Datm.h137 } sas_addr __ATM_API_ALIGN;
141 return *addr.sas_addr.prv || *addr.sas_addr.pub; in atmsvc_addr_in_use()
/kernel/linux/linux-5.10/include/uapi/linux/
Datm.h214 } sas_addr __ATM_API_ALIGN; /* SVC address */
220 return *addr.sas_addr.prv || *addr.sas_addr.pub; in atmsvc_addr_in_use()
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_scb.c135 static void asd_get_attached_sas_addr(struct asd_phy *phy, u8 *sas_addr) in asd_get_attached_sas_addr() argument
141 u64 addr = be64_to_cpu(*(__be64 *)phy->phy_desc->sas_addr); in asd_get_attached_sas_addr()
144 *(__be64 *)sas_addr = cpu_to_be64(addr); in asd_get_attached_sas_addr()
148 memcpy(sas_addr, idframe->sas_addr, SAS_ADDR_SIZE); in asd_get_attached_sas_addr()
167 memcmp(port->sas_addr, sas_phy->sas_addr, in asd_form_port()
185 memcpy(port->sas_addr, sas_phy->sas_addr, in asd_form_port()
Daic94xx_sds.c406 u8 sas_addr[SAS_ADDR_SIZE]; member
525 u8 sas_addr[SAS_ADDR_SIZE]; member
691 memcpy(asd_ha->hw_prof.sas_addr, ms->sas_addr, SAS_ADDR_SIZE); in asd_ms_get_sas_addr()
892 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_process_ms()
928 if (*(u64 *)pe->sas_addr == 0) { in asd_process_ctrla_phy_settings()
933 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, pe->sas_addr, in asd_process_ctrla_phy_settings()
947 SAS_ADDR(asd_ha->hw_prof.phy_desc[i].sas_addr), in asd_process_ctrla_phy_settings()
980 memcpy(dflt_ps.phy_ent[i].sas_addr, in asd_process_ctrl_a_user()
981 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_process_ctrl_a_user()
Daic94xx_hwi.c28 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()
Daic94xx_hwi.h64 u8 sas_addr[SAS_ADDR_SIZE]; member
90 u8 sas_addr[SAS_ADDR_SIZE]; member
171 u8 sas_addr[SAS_ADDR_SIZE]; member
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Desas2r_targdb.c233 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()
Desas2r_flash.c1281 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()
Desas2r_disc.c961 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()
/kernel/linux/linux-5.10/include/scsi/
Dlibsas.h189 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);
Dsas.h282 u8 sas_addr[SAS_ADDR_SIZE]; member
413 u8 sas_addr[8]; member
513 u8 sas_addr[SAS_ADDR_SIZE]; member
644 u8 sas_addr[8]; member
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dremote_node_context.c121 __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()
Dphy.c459 memcpy(sas, iaf->sas_addr, SAS_ADDR_SIZE); in sci_phy_get_attached_sas_address()
1396 __be64 sas_addr; in isci_phy_init() local
1401 sas_addr = cpu_to_be64(sci_sas_addr); in isci_phy_init()
1402 memcpy(iphy->sas_addr, &sas_addr, sizeof(sas_addr)); in isci_phy_init()
1406 iphy->sas_phy.sas_addr = &iphy->sas_addr[0]; in isci_phy_init()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_init.c153 sas_phy->sas_addr = (u8 *)&phy->dev_sas_addr; in pm8001_phy_init()
629 sha->sas_phy[i]->sas_addr = in pm8001_post_sas_ha_init()
636 sha->sas_addr = &pm8001_ha->sas_addr[0]; in pm8001_post_sas_ha_init()
699 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add()
702 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add()
707 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add()
710 pm8001_ha->sas_addr[j] = in pm8001_init_sas_add()
713 memcpy(sas_add, pm8001_ha->sas_addr, SAS_ADDR_SIZE); in pm8001_init_sas_add()
730 memcpy(pm8001_ha->sas_addr, &pm8001_ha->phy[0].dev_sas_addr, in pm8001_init_sas_add()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_init.c97 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()
Dmv_sas.h281 u64 sas_addr[8]; member
342 u8 sas_addr[SAS_ADDR_SIZE]; member
438 u32 off_hi, u64 sas_addr);

123