Home
last modified time | relevance | path

Searched refs:rpa (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/scsi/
Dfc_encode.h36 struct fc_fdmi_rpa rpa; member
381 &ct->payload.rpa.port.portname); in fc_ct_ms_fill()
385 &ct->payload.rpa.hba_attrs.numattrs); in fc_ct_ms_fill()
387 hba_attrs = &ct->payload.rpa.hba_attrs; in fc_ct_ms_fill()
/kernel/linux/linux-5.10/net/bluetooth/
Dsmp.h193 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa);
Dhci_request.c2027 !bacmp(&adv_instance->random_addr, &hdev->rpa)) in hci_get_random_address()
2033 !bacmp(&hdev->random_addr, &hdev->rpa)) in hci_get_random_address()
2037 err = smp_generate_rpa(hdev, hdev->irk, &hdev->rpa); in hci_get_random_address()
2043 bacpy(rand_addr, &hdev->rpa); in hci_get_random_address()
2448 static void set_random_addr(struct hci_request *req, bdaddr_t *rpa) in set_random_addr() argument
2469 hci_req_add(req, HCI_OP_LE_SET_RANDOM_ADDR, 6, rpa); in set_random_addr()
2494 !bacmp(&hdev->random_addr, &hdev->rpa)) in hci_update_random_address()
2497 err = smp_generate_rpa(hdev, hdev->irk, &hdev->rpa); in hci_update_random_address()
2503 set_random_addr(req, &hdev->rpa); in hci_update_random_address()
Dsmp.c516 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa) in smp_generate_rpa() argument
524 get_random_bytes(&rpa->b[3], 3); in smp_generate_rpa()
526 rpa->b[5] &= 0x3f; /* Clear two most significant bits */ in smp_generate_rpa()
527 rpa->b[5] |= 0x40; /* Set second most significant bit */ in smp_generate_rpa()
529 err = smp_ah(irk, &rpa->b[3], rpa->b); in smp_generate_rpa()
533 bt_dev_dbg(hdev, "RPA %pMR", rpa); in smp_generate_rpa()
2582 bdaddr_t rpa; in smp_cmd_ident_addr_info() local
2630 bacpy(&rpa, &hcon->dst); in smp_cmd_ident_addr_info()
2632 bacpy(&rpa, BDADDR_ANY); in smp_cmd_ident_addr_info()
2635 smp->id_addr_type, smp->irk, &rpa); in smp_cmd_ident_addr_info()
Dhci_core.c2503 struct smp_irk *hci_find_irk_by_rpa(struct hci_dev *hdev, bdaddr_t *rpa) in hci_find_irk_by_rpa() argument
2510 if (!bacmp(&irk->rpa, rpa)) { in hci_find_irk_by_rpa()
2517 if (smp_irk_matches(hdev, irk->val, rpa)) { in hci_find_irk_by_rpa()
2518 bacpy(&irk->rpa, rpa); in hci_find_irk_by_rpa()
2647 u8 addr_type, u8 val[16], bdaddr_t *rpa) in hci_add_irk() argument
2664 bacpy(&irk->rpa, rpa); in hci_add_irk()
Dhci_debugfs.c622 16, hdev->irk, &hdev->rpa); in identity_show()
770 16, irk->val, &irk->rpa); in identity_resolving_keys_show()
Dhci_conn.c1047 if (irk && bacmp(&irk->rpa, BDADDR_ANY)) { in hci_connect_le()
1048 dst = &irk->rpa; in hci_connect_le()
Dhci_event.c5093 bacpy(&conn->init_addr, &conn->hdev->rpa); in le_conn_update_addr()
5171 bacpy(&conn->init_addr, &hdev->rpa); in le_conn_complete_evt()
Dmgmt.c8124 bacpy(&ev.rpa, &irk->rpa); in mgmt_new_irk()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dhci_core.h197 bdaddr_t rpa; member
548 bdaddr_t rpa; member
1281 struct smp_irk *hci_find_irk_by_rpa(struct hci_dev *hdev, bdaddr_t *rpa);
1285 u8 addr_type, u8 val[16], bdaddr_t *rpa);
Dmgmt.h927 bdaddr_t rpa; member
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_gs.c2390 memcpy(ct_req->req.rpa.port_name, vha->port_name, in qla2x00_fdmi_rpa()
2391 sizeof(ct_req->req.rpa.port_name)); in qla2x00_fdmi_rpa()
2392 size += sizeof(ct_req->req.rpa.port_name); in qla2x00_fdmi_rpa()
2395 ct_req->req.rpa.attrs.count = cpu_to_be32(count); in qla2x00_fdmi_rpa()
2396 size += sizeof(ct_req->req.rpa.attrs.count); in qla2x00_fdmi_rpa()
2399 entries = ct_req->req.rpa.attrs.entry; in qla2x00_fdmi_rpa()
2407 "RPA %016llx.\n", wwn_to_u64(ct_req->req.rpa.port_name)); in qla2x00_fdmi_rpa()
Dqla_def.h2973 } rpa; member
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_fcs_lport.c2557 struct fdmi_rpa_s *rpa = (struct fdmi_rpa_s *) pyld; in bfa_fcs_lport_fdmi_build_rpa_pyld() local
2560 rpa->port_name = bfa_fcs_lport_get_pwwn(port); in bfa_fcs_lport_fdmi_build_rpa_pyld()
2563 (u8 *) &rpa->port_attr_blk); in bfa_fcs_lport_fdmi_build_rpa_pyld()
2565 len += sizeof(rpa->port_name); in bfa_fcs_lport_fdmi_build_rpa_pyld()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0008_linux_net.patch113 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa);
/kernel/linux/linux-5.10/
DMAINTAINERS10092 F: drivers/pci/hotplug/rpa*