Lines Matching refs:fc
114 struct firewire_comm *fc; in fwip_poll() local
120 fc = fwip->fd.fc; in fwip_poll()
121 fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count); in fwip_poll()
164 fwip->fd.fc = device_get_ivars(dev); in fwip_attach()
166 tx_speed = fwip->fd.fc->speed; in fwip_attach()
178 hwaddr->sender_unique_ID_hi = htonl(fwip->fd.fc->eui.hi); in fwip_attach()
179 hwaddr->sender_unique_ID_lo = htonl(fwip->fd.fc->eui.lo); in fwip_attach()
180 hwaddr->sender_max_rec = fwip->fd.fc->maxrec; in fwip_attach()
181 hwaddr->sspd = fwip->fd.fc->speed; in fwip_attach()
209 struct firewire_comm *fc; in fwip_stop() local
215 fc = fwip->fd.fc; in fwip_stop()
218 xferq = fc->ir[fwip->dma_ch]; in fwip_stop()
221 fc->irx_disable(fc, fwip->dma_ch); in fwip_stop()
231 fw_bindremove(fc, &fwip->fwb); in fwip_stop()
282 struct firewire_comm *fc; in fwip_init() local
291 fc = fwip->fd.fc; in fwip_init()
294 fwip->dma_ch = fw_open_isodma(fc, /* tx */0); in fwip_init()
297 xferq = fc->ir[fwip->dma_ch]; in fwip_init()
342 xfer->fc = fc; in fwip_init()
347 fw_bindadd(fc, &fwip->fwb); in fwip_init()
355 xfer->fc = fwip->fd.fc; in fwip_init()
361 xferq = fc->ir[fwip->dma_ch]; in fwip_init()
368 fc->irx_enable(fc, fwip->dma_ch); in fwip_init()
404 struct firewire_comm *fc = fwip->fd.fc; in fwip_ioctl() local
412 fc->set_intr(fc, 0); in fwip_ioctl()
420 fc->set_intr(fc, 1); in fwip_ioctl()
444 src = fwip->fd.fc->crom_src; in fwip_post_busreset()
445 root = fwip->fd.fc->crom_root; in fwip_post_busreset()
535 struct firewire_comm *fc = fwip->fd.fc; in fwip_async_output() local
547 xferq = fc->atq; in fwip_async_output()
601 nodeid = FWLOCALBUS | fc->nodeid; in fwip_async_output()
638 fd = fw_noderesolve_eui64(fc, &eui); in fwip_async_output()
662 xfer->send.spd = min(destfw->sspd, fc->speed); in fwip_async_output()
667 error = fw_asyreq(fc, -1, xfer); in fwip_async_output()
696 xferq->start(fc); in fwip_async_output()
704 fwip->fd.fc->atq->start(fwip->fd.fc); in fwip_start_send()
728 if (fwip->fd.fc->irx_post != NULL) in fwip_stream_input()
729 fwip->fd.fc->irx_post(fwip->fd.fc, fp->mode.ld); in fwip_stream_input()
792 fd = fw_noderesolve_nodeid(fwip->fd.fc, in fwip_stream_input()
815 fwip->fd.fc->irx_enable(fwip->fd.fc, fwip->dma_ch); in fwip_stream_input()
894 fd = fw_noderesolve_nodeid(fwip->fd.fc, in fwip_unicast_input()