Home
last modified time | relevance | path

Searched refs:write_fifo (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-dbgtty.c32 len = kfifo_len(&port->write_fifo); in dbc_send_packet()
36 size = kfifo_out(&port->write_fifo, packet, size); in dbc_send_packet()
213 count = kfifo_in(&port->write_fifo, buf, count); in dbc_tty_write()
227 status = kfifo_put(&port->write_fifo, ch); in dbc_tty_put_char()
250 room = kfifo_avail(&port->write_fifo); in dbc_tty_write_room()
263 chars = kfifo_len(&port->write_fifo); in dbc_tty_chars_in_buffer()
412 ret = kfifo_alloc(&port->write_fifo, DBC_WRITE_BUF_SIZE, GFP_KERNEL); in xhci_dbc_tty_register_device()
441 kfifo_free(&port->write_fifo); in xhci_dbc_tty_register_device()
460 kfifo_free(&port->write_fifo); in xhci_dbc_tty_unregister_device()
Dxhci-dbgcap.h110 struct kfifo write_fifo; member
/kernel/linux/linux-5.10/drivers/usb/serial/
Dgeneric.c129 kfifo_reset_out(&port->write_fifo); in usb_serial_generic_close()
142 return kfifo_out_locked(&port->write_fifo, dest, size, &port->lock); in usb_serial_generic_prepare_write_buffer()
166 if (!port->write_urbs_free || !kfifo_len(&port->write_fifo)) { in usb_serial_generic_write_start()
224 count = kfifo_in_locked(&port->write_fifo, buf, count, &port->lock); in usb_serial_generic_write()
243 room = kfifo_avail(&port->write_fifo); in usb_serial_generic_write_room()
260 chars = kfifo_len(&port->write_fifo) + port->tx_bytes; in usb_serial_generic_chars_in_buffer()
Doti6858.c280 count = kfifo_len(&port->write_fifo); in send_data()
313 count = kfifo_out_locked(&port->write_fifo, in send_data()
363 count = kfifo_in_locked(&port->write_fifo, buf, count, &port->lock); in oti6858_write()
375 room = kfifo_avail(&port->write_fifo); in oti6858_write_room()
388 chars = kfifo_len(&port->write_fifo); in oti6858_chars_in_buffer()
564 kfifo_reset_out(&port->write_fifo); in oti6858_close()
741 count = kfifo_len(&port->write_fifo); in oti6858_read_int_callback()
Dcypress_m8.c98 struct kfifo write_fifo; /* write fifo */ member
456 if (kfifo_alloc(&priv->write_fifo, CYPRESS_BUF_SIZE, GFP_KERNEL)) { in cypress_generic_port_probe()
573 kfifo_free(&priv->write_fifo); in cypress_port_remove()
645 kfifo_reset_out(&priv->write_fifo); in cypress_close()
676 count = kfifo_in_locked(&priv->write_fifo, buf, count, &priv->lock); in cypress_write()
736 count = kfifo_out_locked(&priv->write_fifo, in cypress_send()
802 room = kfifo_avail(&priv->write_fifo); in cypress_write_room()
983 chars = kfifo_len(&priv->write_fifo); in cypress_chars_in_buffer()
Daircable.c78 count = kfifo_out_locked(&port->write_fifo, buf + HCI_HEADER_LENGTH, in aircable_prepare_write_buffer()
Domninet.c165 count = kfifo_out_locked(&port->write_fifo, buf + OMNINET_HEADERLEN, in omninet_prepare_write_buffer()
Dti_usb_3410_5052.c793 kfifo_reset_out(&port->write_fifo); in ti_close()
827 count = kfifo_in_locked(&port->write_fifo, data, count, in ti_write()
843 room = kfifo_avail(&port->write_fifo); in ti_write_room()
859 chars = kfifo_len(&port->write_fifo); in ti_chars_in_buffer()
1309 count = kfifo_out(&port->write_fifo, in ti_send()
1415 ss->xmit_fifo_size = kfifo_size(&port->write_fifo); in ti_get_serial_info()
Dsafe_serial.c234 count = kfifo_out_locked(&port->write_fifo, buf, size - trailer_len, in safe_prepare_write_buffer()
Df81534.c495 tx_len = kfifo_out_locked(&port->write_fifo, in f81534_prepare_write_buffer()
512 if (kfifo_is_empty(&port->write_fifo)) { in f81534_submit_writer()
1132 kfifo_reset_out(&port->write_fifo); in f81534_close()
1497 bytes_out = kfifo_in_locked(&port->write_fifo, buf, count, in f81534_write()
Dio_ti.c1999 kfifo_reset_out(&port->write_fifo); in edge_close()
2033 count = kfifo_in_locked(&port->write_fifo, data, count, in edge_write()
2053 count = kfifo_out(&port->write_fifo, in edge_send()
2103 room = kfifo_avail(&port->write_fifo); in edge_write_room()
2120 chars = kfifo_len(&port->write_fifo); in edge_chars_in_buffer()
Dkl5kusb105.c362 count = kfifo_out_locked(&port->write_fifo, buf + KLSI_HDR_LEN, size, in klsi_105_prepare_write_buffer()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Duart.c63 struct kfifo write_fifo; member
245 send_size = kfifo_out_peek(&gb_tty->write_fifo, in gb_uart_tx_write_work()
273 ret = kfifo_out(&gb_tty->write_fifo, &request->data[0], in gb_uart_tx_write_work()
435 count = kfifo_in_spinlocked(&gb_tty->write_fifo, buf, count, in gb_tty_write()
450 room = kfifo_avail(&gb_tty->write_fifo); in gb_tty_write_room()
467 chars = kfifo_len(&gb_tty->write_fifo); in gb_tty_chars_in_buffer()
761 kfifo_reset_out(&gb_tty->write_fifo); in gb_tty_port_shutdown()
787 kfifo_free(&gb_tty->write_fifo); in gb_tty_port_destruct()
863 retval = kfifo_alloc(&gb_tty->write_fifo, GB_UART_WRITE_FIFO_SIZE, in gb_uart_probe()
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
Dipac.h23 fifo_func *write_fifo; member
66 fifo_func *write_fifo; member
Disar.h40 fifo_func *write_fifo; member
Diohelper.h89 dest.write_fifo = &WriteFiFo##name##_##typ; \
Dhfc_multi_8xx.h129 hc->write_fifo = write_fifo_embsd; in setup_embedded()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_io.h33 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf); member
Dmusb_core.c453 return hw_ep->musb->io.write_fifo(hw_ep, len, src); in musb_write_fifo()
2430 if (musb->ops->write_fifo) in musb_init_controller()
2431 musb->io.write_fifo = musb->ops->write_fifo; in musb_init_controller()
2433 musb->io.write_fifo = musb_default_write_fifo; in musb_init_controller()
Dmusb_core.h176 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf); member
/kernel/linux/linux-5.10/drivers/net/can/m_can/
Dm_can.h67 int (*write_fifo)(struct m_can_classdev *cdev, int addr_offset, member
Dm_can_platform.c52 .write_fifo = iomap_write_fifo,
/kernel/linux/linux-5.10/drivers/spi/
Dspi-synquacer.c184 static int write_fifo(struct synquacer_spi *sspi) in write_fifo() function
422 status = write_fifo(sspi); in synquacer_spi_transfer_one()
594 write_fifo(sspi); in sq_spi_tx_handler()
/kernel/linux/linux-5.10/include/linux/usb/
Dserial.h100 struct kfifo write_fifo; member
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Domap_udc.c354 static int write_fifo(struct omap_ep *ep, struct omap_req *req) in write_fifo() function
793 (is_in ? write_fifo : read_fifo)(ep, req); in dma_channel_claim()
983 if ((is_in ? write_fifo : read_fifo)(ep, req) == 1) in omap_ep_queue()
1433 stat = write_fifo(ep0, req); in ep0_irq()
1950 (void) write_fifo(ep, req); in omap_udc_pio_irq()
1993 write_fifo(ep, req); in omap_udc_iso_irq()

12