Searched refs:fwdev (Results 1 – 3 of 3) sorted by relevance
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwmem.cpp | 53 struct fw_device *fwdev, in fwmem_xfer_req() argument 66 xfer->fc = fwdev->fc; in fwmem_xfer_req() 67 xfer->send.hdr.mode.hdr.dst = FWLOCALBUS | fwdev->dst; in fwmem_xfer_req() 69 xfer->send.spd = fwdev->speed; in fwmem_xfer_req() 71 xfer->send.spd = min_c(spd, fwdev->speed); in fwmem_xfer_req() 82 struct fw_device *fwdev, in fwmem_read_quad() argument 93 xfer = fwmem_xfer_req(fwdev, (char *)sc, spd, 0, 4, (void*)hand); in fwmem_read_quad() 107 printf("fwmem_read_quad: %d %04x:%08x\n", fwdev->dst, in fwmem_read_quad() 119 struct fw_device *fwdev, in fwmem_write_quad() argument 130 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, (void*)hand); in fwmem_write_quad() [all …]
|
H A D | firewire.cpp | 107 struct fw_device *fwdev; in fw_noderesolve_nodeid() local 111 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_nodeid() 112 if (fwdev->dst == dst && fwdev->status != FWDEVINVAL) in fw_noderesolve_nodeid() 116 return fwdev; in fw_noderesolve_nodeid() 125 struct fw_device *fwdev; in fw_noderesolve_eui64() local 130 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_eui64() 131 if (FW_EUI64_EQUAL(fwdev->eui, *eui)) in fw_noderesolve_eui64() 136 if(fwdev == NULL) return NULL; in fw_noderesolve_eui64() 137 if(fwdev->status == FWDEVINVAL) return NULL; in fw_noderesolve_eui64() 138 return fwdev; in fw_noderesolve_eui64() [all …]
|
/haiku/src/add-ons/kernel/drivers/bus/firewire/ |
H A D | fw_raw.c | 661 struct fw_device *fwdev; in fw_ioctl() local 774 fwdev = gFirewire->fw_noderesolve_eui64(fc, in fw_ioctl() 776 if (fwdev == NULL) { in fw_ioctl() 781 fp->mode.hdr.dst = FWLOCALBUS | fwdev->dst; in fw_ioctl() 881 STAILQ_FOREACH(fwdev, &fc->devices, link) { in fw_ioctl() 884 devinfo->dst = fwdev->dst; in fw_ioctl() 886 (fwdev->status == FWDEVINVAL) ? 0 : 1; in fw_ioctl() 887 devinfo->eui.hi = fwdev->eui.hi; in fw_ioctl() 888 devinfo->eui.lo = fwdev->eui.lo; in fw_ioctl() 900 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_ioctl() [all …]
|