| /freebsd/sys/dev/firewire/ |
| H A D | firewire.c | 169 struct fw_device *fwdev; in fw_noderesolve_nodeid() local 172 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_nodeid() 173 if (fwdev->dst == dst && fwdev->status != FWDEVINVAL) in fw_noderesolve_nodeid() 177 return fwdev; in fw_noderesolve_nodeid() 186 struct fw_device *fwdev; in fw_noderesolve_eui64() local 189 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_eui64() 190 if (FW_EUI64_EQUAL(fwdev->eui, *eui)) in fw_noderesolve_eui64() 194 if (fwdev == NULL) in fw_noderesolve_eui64() 196 if (fwdev->status == FWDEVINVAL) in fw_noderesolve_eui64() 198 return fwdev; in fw_noderesolve_eui64() [all …]
|
| H A D | fwmem.c | 92 struct fw_device *fwdev, in fwmem_xfer_req() argument 105 xfer->fc = fwdev->fc; in fwmem_xfer_req() 106 xfer->send.hdr.mode.hdr.dst = FWLOCALBUS | fwdev->dst; in fwmem_xfer_req() 108 xfer->send.spd = fwdev->speed; in fwmem_xfer_req() 110 xfer->send.spd = min(spd, fwdev->speed); in fwmem_xfer_req() 121 struct fw_device *fwdev, in fwmem_read_quad() argument 132 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 4, hand); in fwmem_read_quad() 146 printf("fwmem_read_quad: %d %04x:%08x\n", fwdev->dst, in fwmem_read_quad() 158 struct fw_device *fwdev, in fwmem_write_quad() argument 169 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, hand); in fwmem_write_quad() [all …]
|
| H A D | fwisound.c | 65 if (sc->fwdev == NULL) { in fwisound_read_quadlet() 69 dst = FWLOCALBUS | sc->fwdev->dst; in fwisound_read_quadlet() 70 spd = min(sc->fwdev->speed, FWSPD_S400); in fwisound_read_quadlet() 89 if (sc->fwdev == NULL) { in fwisound_write_quadlet() 93 dst = FWLOCALBUS | sc->fwdev->dst; in fwisound_write_quadlet() 94 spd = min(sc->fwdev->speed, FWSPD_S400); in fwisound_write_quadlet() 111 struct fw_device *fwdev = unit->fwdev; in fwisound_find_audio_base() local 122 udir = (struct csrdirectory *)&fwdev->csrrom[udir_qoff]; in fwisound_find_audio_base() 149 if (sc->state == FWISOUND_STATE_DETACHING || sc->fwdev == NULL) in fwisound_probe_task() 214 if (sc->state == FWISOUND_STATE_DETACHING || sc->fwdev == NULL) { in fwisound_iso_start() [all …]
|
| H A D | fwdv.c | 101 if (sc->fwdev == NULL) { in fwdv_read_quadlet() 105 dst = FWLOCALBUS | sc->fwdev->dst; in fwdv_read_quadlet() 106 spd = min(sc->fwdev->speed, FWSPD_S400); in fwdv_read_quadlet() 144 if (sc->fwdev == NULL || in fwdv_fcp_handler() 145 (FWLOCALBUS | sc->fwdev->dst) != src_id) { in fwdv_fcp_handler() 185 if (sc->fwdev == NULL) { in fwdv_avc_command() 191 dst = FWLOCALBUS | sc->fwdev->dst; in fwdv_avc_command() 192 spd = min(sc->fwdev->speed, FWSPD_S400); in fwdv_avc_command() 250 sc->fwdev == NULL) { in fwdv_avc_command() 480 if (sc->state == FWDV_STATE_DETACHING || sc->fwdev == NULL) { in fwdv_iso_start() [all …]
|
| H A D | sbp_targ.c | 106 struct fw_device *fwdev; member 205 struct fw_device *fwdev; member 642 xfer = fwmem_write_block(orbi->fwdev, (void *)orbi, in sbp_targ_status_FIFO() 941 xfer = fwmem_read_block(orbi->fwdev, in sbp_targ_xfer_buf() 948 xfer = fwmem_write_block(orbi->fwdev, in sbp_targ_xfer_buf() 1121 xfer = fwmem_read_block(orbi->fwdev, (void *)orbi, /*spd*/FWSPD_S400, in sbp_targ_fetch_pt() 1266 login->fwdev, in sbp_targ_action1() 1481 sbp_targ_fetch_orb(orbi->sc, orbi->fwdev, in sbp_targ_cmd_handler() 1499 sbp_targ_get_login(struct sbp_targ_softc *sc, struct fw_device *fwdev, int lun) in sbp_targ_get_login() argument 1508 if (login->fwdev == fwdev) in sbp_targ_get_login() [all …]
|
| H A D | sbp.c | 195 struct fw_device *fwdev; member 330 struct fw_device *fwdev; in sbp_show_sdev_info() local 332 fwdev = sdev->target->fwdev; in sbp_show_sdev_info() 340 fwdev->eui.hi, in sbp_show_sdev_info() 341 fwdev->eui.lo, in sbp_show_sdev_info() 342 fwdev->dst, in sbp_show_sdev_info() 343 fwdev->speed, in sbp_show_sdev_info() 344 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 …]
|
| H A D | fwdev.c | 524 struct fw_device *fwdev; in fw_ioctl() local 640 fwdev = fw_noderesolve_eui64(fc, in fw_ioctl() 642 if (fwdev == NULL) { in fw_ioctl() 648 fp->mode.hdr.dst = FWLOCALBUS | fwdev->dst; in fw_ioctl() 744 STAILQ_FOREACH(fwdev, &fc->devices, link) { in fw_ioctl() 747 devinfo->dst = fwdev->dst; in fw_ioctl() 749 (fwdev->status == FWDEVINVAL) ? 0 : 1; in fw_ioctl() 750 devinfo->eui.hi = fwdev->eui.hi; in fw_ioctl() 751 devinfo->eui.lo = fwdev->eui.lo; in fw_ioctl() 763 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_ioctl() [all …]
|
| H A D | fwcam.c | 163 return (fwcam_search_dir_cmd_base(unit->fwdev->csrrom, in fwcam_find_iidc_cmd_base() 175 if (sc->fwdev == NULL) { in fwcam_read_quadlet() 179 dst = FWLOCALBUS | sc->fwdev->dst; in fwcam_read_quadlet() 180 spd = min(sc->fwdev->speed, FWSPD_S400); in fwcam_read_quadlet() 199 if (sc->fwdev == NULL) { in fwcam_write_quadlet() 203 dst = FWLOCALBUS | sc->fwdev->dst; in fwcam_write_quadlet() 204 spd = min(sc->fwdev->speed, FWSPD_S400); in fwcam_write_quadlet() 324 if (sc->state == FWCAM_STATE_DETACHING || sc->fwdev == NULL) in fwcam_probe_task() 573 if (sc->fwdev != NULL) in fwcam_iso_stop() 1245 if (unit == NULL || unit->fwdev == NULL) in fwcam_attach() [all …]
|
| H A D | fwisound.h | 78 struct fw_device *fwdev; member
|
| H A D | firewirereg.h | 71 struct fw_device *fwdev; member 345 return (iv->u.unit->fwdev->fc); in fw_get_comm()
|
| H A D | fwdv.h | 153 struct fw_device *fwdev; member
|
| H A D | fwcam.h | 218 struct fw_device *fwdev; member
|
| /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 | 1742 dev/firewire/fwdev.c optional firewire
|