Searched refs:fifo_space (Results 1 – 3 of 3) sorted by relevance
158 int fifo_space; in __cvmx_usbd_device_reset_complete() local168 fifo_space = usbcx_ghwcfg3.s.dfifodepth; in __cvmx_usbd_device_reset_complete()175 fifo_space -= siz.s.dptxfsize; in __cvmx_usbd_device_reset_complete()176 siz.s.dptxfstaddr = fifo_space; in __cvmx_usbd_device_reset_complete()182 gnptxfsiz.s.nptxfdep = fifo_space / 2; in __cvmx_usbd_device_reset_complete()183 fifo_space -= gnptxfsiz.s.nptxfdep; in __cvmx_usbd_device_reset_complete()184 gnptxfsiz.s.nptxfstaddr = fifo_space; in __cvmx_usbd_device_reset_complete()188 __cvmx_usbd_write_csr32(usb, CVMX_USBCX_GRXFSIZ(usb->index), fifo_space); in __cvmx_usbd_device_reset_complete()
225 static size_t fifo_space(struct cyapa_softc *sc, struct cyapa_fifo *fifo);783 while ((n = fifo_space(sc, &sc->wfifo)) > 0 && uio->uio_resid) { in cyapawrite()1652 fifo_space(struct cyapa_softc *sc, struct cyapa_fifo *fifo) in fifo_space() function
1915 int fifo_space, fifo_pkt_len; in lem_82547_fifo_workaround() local1920 fifo_space = adapter->tx_fifo_size - adapter->tx_fifo_head; in lem_82547_fifo_workaround()1922 if (fifo_pkt_len >= (EM_82547_PKT_THRESH + fifo_space)) { in lem_82547_fifo_workaround()