Home
last modified time | relevance | path

Searched refs:eui (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_main.c60 static void hns_roce_addrconf_ifid_eui48(u8 *eui, u16 vlan_id, in hns_roce_addrconf_ifid_eui48() argument
63 memcpy(eui, dev->dev_addr, 3); in hns_roce_addrconf_ifid_eui48()
64 memcpy(eui + 5, dev->dev_addr + 3, 3); in hns_roce_addrconf_ifid_eui48()
66 eui[3] = vlan_id >> 8; in hns_roce_addrconf_ifid_eui48()
67 eui[4] = vlan_id & 0xff; in hns_roce_addrconf_ifid_eui48()
69 eui[3] = 0xff; in hns_roce_addrconf_ifid_eui48()
70 eui[4] = 0xfe; in hns_roce_addrconf_ifid_eui48()
72 eui[0] ^= 2; in hns_roce_addrconf_ifid_eui48()
/drivers/nvme/host/
Dcore.c904 memcpy(ns->eui, (*id)->eui64, sizeof(ns->eui)); in nvme_revalidate_ns()
1429 if (memchr_inv(ns->eui, 0, sizeof(ns->eui))) in wwid_show()
1430 return sprintf(buf, "eui.%8phN\n", ns->eui); in wwid_show()
1454 return sprintf(buf, "%8phd\n", ns->eui); in eui_show()
1456 static DEVICE_ATTR(eui, S_IRUGO, eui_show, NULL);
1485 if (!memchr_inv(ns->eui, 0, sizeof(ns->eui))) in nvme_ns_attrs_are_visible()
Dscsi.c599 void *eui; in nvme_fill_device_id_eui64() local
606 eui = id_ns->eui64; in nvme_fill_device_id_eui64()
610 if (bitmap_empty(eui, len * 8)) { in nvme_fill_device_id_eui64()
611 eui = id_ns->nguid; in nvme_fill_device_id_eui64()
616 if (bitmap_empty(eui, len * 8)) { in nvme_fill_device_id_eui64()
630 memcpy(&inq_response[8], eui, len); in nvme_fill_device_id_eui64()
Dnvme.h161 u8 eui[8]; member
/drivers/firmware/
Dedd.c211 info->params.device_path.i1394.eui); in edd_show_interface()