Home
last modified time | relevance | path

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

/haiku/src/bin/fwcontrol/
H A Dfwcontrol.c118 fweui2eui64(const struct fw_eui64 *fweui, struct eui64 *eui) in fweui2eui64() argument
120 *(u_int32_t*)&(eui->octet[0]) = htonl(fweui->hi); in fweui2eui64()
121 *(u_int32_t*)&(eui->octet[4]) = htonl(fweui->lo); in fweui2eui64()
137 struct eui64 eui, tmpeui; in str2node() local
156 if (eui64_aton(nodestr, &eui) != 0) in str2node()
158 if (eui64_hostton(nodestr, &eui) != 0 && eui64_aton(nodestr, &eui) != 0) in str2node()
168 fweui2eui64(&data->dev[i].eui, &tmpeui); in str2node()
169 if (memcmp(&eui, &tmpeui, sizeof(struct eui64)) == 0) { in str2node()
193 struct eui64 eui; in list_dev() local
205 fweui2eui64(&devinfo->eui, &eui); in list_dev()
[all …]
/haiku/headers/private/firewire/
H A Dfirewire.h253 #define FW_EUI64_BYTE(eui, x) \ argument
255 ((eui)->hi >> (8*(3-(x)))): \
256 ((eui)->lo >> (8*(7-(x)))) \
271 struct fw_eui64 eui; member
279 struct fw_eui64 eui; member
424 struct fw_eui64 eui; member
H A Dfirewire_module.h23 struct fw_device * (*fw_noderesolve_eui64)(struct firewire_comm *fc, struct fw_eui64 *eui);
H A Dfirewirereg.h73 struct fw_eui64 eui; member
171 struct fw_eui64 eui; member
/haiku/src/add-ons/kernel/drivers/bus/firewire/
H A Dfw_raw.c775 &asyreq->req.dst.eui); in fw_ioctl()
879 devinfo->eui.hi = fc->eui.hi; in fw_ioctl()
880 devinfo->eui.lo = fc->eui.lo; in fw_ioctl()
887 devinfo->eui.hi = fwdev->eui.hi; in fw_ioctl()
888 devinfo->eui.lo = fwdev->eui.lo; in fw_ioctl()
901 if (FW_EUI64_EQUAL(fwdev->eui, crom_buf->eui)) in fw_ioctl()
904 if (!FW_EUI64_EQUAL(fc->eui, crom_buf->eui)) { in fw_ioctl()
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfirewire.cpp123 fw_noderesolve_eui64(struct firewire_comm *fc, struct fw_eui64 *eui) in fw_noderesolve_eui64() argument
131 if (FW_EUI64_EQUAL(fwdev->eui, *eui)) in fw_noderesolve_eui64()
691 src->businfo.eui64.hi = fc->eui.hi; in fw_init_crom()
692 src->businfo.eui64.lo = fc->eui.lo; in fw_init_crom()
1509 __func__, fwdev->eui.hi, fwdev->eui.lo); in fw_bus_probe()
1514 __func__, fwdev->eui.hi, fwdev->eui.lo); in fw_bus_probe()
1661 if (FW_EUI64_EQUAL(fwdev->eui, binfo->eui64)) in fw_explore_node()
1673 fwdev->eui = binfo->eui64; in fw_explore_node()
1713 if (tfwdev->eui.hi > fwdev->eui.hi || in fw_explore_node()
1714 (tfwdev->eui.hi == fwdev->eui.hi && in fw_explore_node()
[all …]
H A Dfwohci.cpp732 sc->fc.eui.hi = OREAD(sc, FWOHCIGUID_H);
733 sc->fc.eui.lo = OREAD(sc, FWOHCIGUID_L);
735 ui[i] = FW_EUI64_BYTE(&sc->fc.eui,i);