• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/firewire/

Lines Matching refs:fwdev

199 	struct fw_device *fwdev;
339 struct fw_device *fwdev;
341 fwdev = sdev->target->fwdev;
349 fwdev->eui.hi,
350 fwdev->eui.lo,
351 fwdev->dst,
352 fwdev->speed,
353 fwdev->maxrec);
379 sbp_new_target(struct sbp_softc *sbp, struct fw_device *fwdev)
392 if (wired[i].eui.hi == fwdev->eui.hi &&
393 wired[i].eui.lo == fwdev->eui.lo)
399 sbp->targets[target].fwdev == NULL)
403 target, fwdev->eui.hi, fwdev->eui.lo);
408 if (sbp->targets[i].fwdev == NULL && w[i] == 0) {
426 crom_init_context(&cc, target->fwdev->csrrom);
488 crom_init_context(&cc, target->fwdev->csrrom);
577 sbp_alloc_target(struct sbp_softc *sbp, struct fw_device *fwdev)
587 i = sbp_new_target(sbp, fwdev);
594 target->fwdev = fwdev;
598 crom_init_context(&cc, target->fwdev->csrrom);
602 target->fwdev = NULL;
625 struct fw_device *fwdev;
632 fwdev = sdev->target->fwdev;
633 crom_init_context(cc, fwdev->csrrom);
685 #define SBP_FWDEV_ALIVE(fwdev) (((fwdev)->status == FWDEVATTACHED) \
686 && crom_has_specver((fwdev)->csrrom, CSRVAL_ANSIT10, CSRVAL_T10SBP2))
695 alive = SBP_FWDEV_ALIVE(target->fwdev);
787 struct fw_device *fwdev;
805 if (target->fwdev == NULL)
808 STAILQ_FOREACH(fwdev, &sbp->fd.fc->devices, link)
809 if (target->fwdev == fwdev)
811 if (fwdev == NULL) {
819 STAILQ_FOREACH(fwdev, &sbp->fd.fc->devices, link) {
822 __func__, fwdev->eui.hi, fwdev->eui.lo,
823 (fwdev->status != FWDEVATTACHED) ? "not" : "",
824 fwdev->status);
826 alive = SBP_FWDEV_ALIVE(fwdev);
829 if (target->fwdev == fwdev) {
837 target = sbp_alloc_target(sbp, fwdev);
1326 xfer->send.spd = min(sdev->target->fwdev->speed, max_speed);
1342 fp->mode.wreqq.dst = FWLOCALBUS | sdev->target->fwdev->dst;
1872 xfer->spd = min(sdev->target->fwdev->speed, max_speed);
1954 sbp->targets[i].fwdev = NULL;
2096 target->fwdev = NULL;
2267 target->fwdev = NULL;
2287 if (target->fwdev != NULL
2423 speed = min(target->fwdev->speed, max_speed);