Lines Matching full:fc

113 	struct firewire_comm *fc;  in fwip_poll()  local
119 fc = fwip->fd.fc; in fwip_poll()
120 fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count); in fwip_poll()
161 fwip->fd.fc = device_get_ivars(dev); in fwip_attach()
163 tx_speed = fwip->fd.fc->speed; in fwip_attach()
175 hwaddr->sender_unique_ID_hi = htonl(fwip->fd.fc->eui.hi); in fwip_attach()
176 hwaddr->sender_unique_ID_lo = htonl(fwip->fd.fc->eui.lo); in fwip_attach()
177 hwaddr->sender_max_rec = fwip->fd.fc->maxrec; in fwip_attach()
178 hwaddr->sspd = fwip->fd.fc->speed; in fwip_attach()
206 struct firewire_comm *fc; in fwip_stop() local
212 fc = fwip->fd.fc; in fwip_stop()
215 xferq = fc->ir[fwip->dma_ch]; in fwip_stop()
218 fc->irx_disable(fc, fwip->dma_ch); in fwip_stop()
228 fw_bindremove(fc, &fwip->fwb); in fwip_stop()
279 struct firewire_comm *fc; in fwip_init() local
288 fc = fwip->fd.fc; in fwip_init()
291 fwip->dma_ch = fw_open_isodma(fc, /* tx */0); in fwip_init()
294 xferq = fc->ir[fwip->dma_ch]; in fwip_init()
335 xfer->fc = fc; in fwip_init()
340 fw_bindadd(fc, &fwip->fwb); in fwip_init()
348 xfer->fc = fwip->fd.fc; in fwip_init()
354 xferq = fc->ir[fwip->dma_ch]; in fwip_init()
361 fc->irx_enable(fc, fwip->dma_ch); in fwip_init()
397 struct firewire_comm *fc = fwip->fd.fc; in fwip_ioctl() local
405 fc->set_intr(fc, 0); in fwip_ioctl()
413 fc->set_intr(fc, 1); in fwip_ioctl()
437 src = fwip->fd.fc->crom_src; in fwip_post_busreset()
438 root = fwip->fd.fc->crom_root; in fwip_post_busreset()
528 struct firewire_comm *fc = fwip->fd.fc; in fwip_async_output() local
540 xferq = fc->atq; in fwip_async_output()
594 nodeid = FWLOCALBUS | fc->nodeid; in fwip_async_output()
631 fd = fw_noderesolve_eui64(fc, &eui); in fwip_async_output()
655 xfer->send.spd = min(destfw->sspd, fc->speed); in fwip_async_output()
660 error = fw_asyreq(fc, -1, xfer); in fwip_async_output()
689 xferq->start(fc); in fwip_async_output()
697 fwip->fd.fc->atq->start(fwip->fd.fc); in fwip_start_send()
721 if (fwip->fd.fc->irx_post != NULL) in fwip_stream_input()
722 fwip->fd.fc->irx_post(fwip->fd.fc, fp->mode.ld); in fwip_stream_input()
785 fd = fw_noderesolve_nodeid(fwip->fd.fc, in fwip_stream_input()
808 fwip->fd.fc->irx_enable(fwip->fd.fc, fwip->dma_ch); in fwip_stream_input()
887 fd = fw_noderesolve_nodeid(fwip->fd.fc, in fwip_unicast_input()