/freebsd/sys/dev/firewire/ |
H A D | fwmem.c | 91 struct fw_device *fwdev, in fwmem_xfer_req() argument 104 xfer->fc = fwdev->fc; in fwmem_xfer_req() 105 xfer->send.hdr.mode.hdr.dst = FWLOCALBUS | fwdev->dst; in fwmem_xfer_req() 107 xfer->send.spd = fwdev->speed; in fwmem_xfer_req() 109 xfer->send.spd = min(spd, fwdev->speed); in fwmem_xfer_req() 120 struct fw_device *fwdev, in fwmem_read_quad() argument 131 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 4, hand); in fwmem_read_quad() 145 printf("fwmem_read_quad: %d %04x:%08x\n", fwdev->dst, in fwmem_read_quad() 157 struct fw_device *fwdev, in fwmem_write_quad() argument 168 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, hand); in fwmem_write_quad() [all …]
|
H A D | firewire.c | 147 struct fw_device *fwdev; in fw_noderesolve_nodeid() local 150 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_nodeid() 151 if (fwdev->dst == dst && fwdev->status != FWDEVINVAL) in fw_noderesolve_nodeid() 155 return fwdev; in fw_noderesolve_nodeid() 164 struct fw_device *fwdev; in fw_noderesolve_eui64() local 167 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_eui64() 168 if (FW_EUI64_EQUAL(fwdev->eui, *eui)) in fw_noderesolve_eui64() 172 if (fwdev == NULL) in fw_noderesolve_eui64() 174 if (fwdev->status == FWDEVINVAL) in fw_noderesolve_eui64() 176 return fwdev; in fw_noderesolve_eui64() [all …]
|
H A D | sbp_targ.c | 105 struct fw_device *fwdev; member 204 struct fw_device *fwdev; member 645 xfer = fwmem_write_block(orbi->fwdev, (void *)orbi, in sbp_targ_status_FIFO() 962 xfer = fwmem_read_block(orbi->fwdev, in sbp_targ_xfer_buf() 969 xfer = fwmem_write_block(orbi->fwdev, in sbp_targ_xfer_buf() 1142 xfer = fwmem_read_block(orbi->fwdev, (void *)orbi, /*spd*/FWSPD_S400, in sbp_targ_fetch_pt() 1287 login->fwdev, in sbp_targ_action1() 1510 sbp_targ_fetch_orb(orbi->sc, orbi->fwdev, in sbp_targ_cmd_handler() 1528 sbp_targ_get_login(struct sbp_targ_softc *sc, struct fw_device *fwdev, int lun) in sbp_targ_get_login() argument 1537 if (login->fwdev == fwdev) in sbp_targ_get_login() [all …]
|
H A D | sbp.c | 197 struct fw_device *fwdev; member 337 struct fw_device *fwdev; in sbp_show_sdev_info() local 339 fwdev = sdev->target->fwdev; in sbp_show_sdev_info() 347 fwdev->eui.hi, in sbp_show_sdev_info() 348 fwdev->eui.lo, in sbp_show_sdev_info() 349 fwdev->dst, in sbp_show_sdev_info() 350 fwdev->speed, in sbp_show_sdev_info() 351 fwdev->maxrec); in sbp_show_sdev_info() 377 sbp_new_target(struct sbp_softc *sbp, struct fw_device *fwdev) in sbp_new_target() argument 575 sbp_alloc_target(struct sbp_softc * sbp,struct fw_device * fwdev) sbp_alloc_target() argument 623 struct fw_device *fwdev; sbp_probe_lun() local 683 SBP_FWDEV_ALIVE(fwdev) global() argument 785 struct fw_device *fwdev; sbp_post_explore() local [all...] |
H A D | fwdev.c | 543 struct fw_device *fwdev; in fw_ioctl() local 659 fwdev = fw_noderesolve_eui64(fc, in fw_ioctl() 661 if (fwdev == NULL) { in fw_ioctl() 667 fp->mode.hdr.dst = FWLOCALBUS | fwdev->dst; in fw_ioctl() 763 STAILQ_FOREACH(fwdev, &fc->devices, link) { in fw_ioctl() 766 devinfo->dst = fwdev->dst; in fw_ioctl() 768 (fwdev->status == FWDEVINVAL) ? 0 : 1; in fw_ioctl() 769 devinfo->eui.hi = fwdev->eui.hi; in fw_ioctl() 770 devinfo->eui.lo = fwdev->eui.lo; in fw_ioctl() 782 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_ioctl() [all …]
|
/freebsd/sys/modules/firewire/firewire/ |
H A D | Makefile | 10 fwcrom.c fwdev.c fwmem.c fwmem.h fwdma.c fwdma.h
|
/freebsd/sys/conf/ |
H A D | files | 1700 dev/firewire/fwdev.c optional firewire
|