Searched refs:fwdev (Results 1 – 6 of 6) sorted by relevance
| /dflybsd-src/sys/bus/firewire/ |
| H A D | fwmem.c | 82 struct fw_device *fwdev, in fwmem_xfer_req() argument 95 xfer->fc = fwdev->fc; in fwmem_xfer_req() 96 xfer->send.hdr.mode.hdr.dst = FWLOCALBUS | fwdev->dst; in fwmem_xfer_req() 98 xfer->send.spd = fwdev->speed; in fwmem_xfer_req() 100 xfer->send.spd = min(spd, fwdev->speed); in fwmem_xfer_req() 112 struct fw_device *fwdev, in fwmem_read_quad() argument 123 xfer = fwmem_xfer_req(fwdev, (void *)sc, spd, 0, 4, hand); in fwmem_read_quad() 137 kprintf("fwmem_read_quad: %d %04x:%08x\n", fwdev->dst, in fwmem_read_quad() 149 struct fw_device *fwdev, in fwmem_write_quad() argument 160 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, hand); in fwmem_write_quad() [all …]
|
| H A D | firewire.c | 149 struct fw_device *fwdev; in fw_noderesolve_nodeid() local 152 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_nodeid() 153 if (fwdev->dst == dst && fwdev->status != FWDEVINVAL) in fw_noderesolve_nodeid() 157 return fwdev; in fw_noderesolve_nodeid() 166 struct fw_device *fwdev; in fw_noderesolve_eui64() local 169 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_eui64() 170 if (FW_EUI64_EQUAL(fwdev->eui, *eui)) in fw_noderesolve_eui64() 174 if(fwdev == NULL) return NULL; in fw_noderesolve_eui64() 175 if(fwdev->status == FWDEVINVAL) return NULL; in fw_noderesolve_eui64() 176 return fwdev; in fw_noderesolve_eui64() [all …]
|
| H A D | fwdev.c | 419 struct fw_device *fwdev; in fw_ioctl() local 540 fwdev = fw_noderesolve_eui64(sc->fc, in fw_ioctl() 542 if (fwdev == NULL) { in fw_ioctl() 548 fp->mode.hdr.dst = FWLOCALBUS | fwdev->dst; in fw_ioctl() 643 STAILQ_FOREACH(fwdev, &sc->fc->devices, link) { in fw_ioctl() 646 devinfo->dst = fwdev->dst; in fw_ioctl() 648 (fwdev->status == FWDEVINVAL)?0:1; in fw_ioctl() 649 devinfo->eui.hi = fwdev->eui.hi; in fw_ioctl() 650 devinfo->eui.lo = fwdev->eui.lo; in fw_ioctl() 662 STAILQ_FOREACH(fwdev, &sc->fc->devices, link) in fw_ioctl() [all …]
|
| H A D | Makefile | 9 fwcrom.c fwdev.c fwmem.c fwdma.c
|
| /dflybsd-src/sys/dev/disk/sbp/ |
| H A D | sbp.c | 197 struct fw_device *fwdev; member 321 struct fw_device *fwdev; in sbp_show_sdev_info() local 331 fwdev = sdev->target->fwdev; in sbp_show_sdev_info() 336 fwdev->eui.hi, in sbp_show_sdev_info() 337 fwdev->eui.lo, in sbp_show_sdev_info() 338 fwdev->dst, in sbp_show_sdev_info() 339 fwdev->speed, in sbp_show_sdev_info() 340 fwdev->maxrec in sbp_show_sdev_info() 365 sbp_new_target(struct sbp_softc *sbp, struct fw_device *fwdev) in sbp_new_target() argument 378 if (wired[i].eui.hi == fwdev->eui.hi && in sbp_new_target() [all …]
|
| /dflybsd-src/sys/conf/ |
| H A D | files | 369 bus/firewire/fwdev.c optional firewire
|