Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
220 count = kfifo_in(&port->write_fifo, buf, count); in dbc_tty_write()
234 status = kfifo_put(&port->write_fifo, ch); in dbc_tty_put_char()
257 room = kfifo_avail(&port->write_fifo); in dbc_tty_write_room()
270 chars = kfifo_len(&port->write_fifo); in dbc_tty_chars_in_buffer()
428 ret = kfifo_alloc(&port->write_fifo, DBC_WRITE_BUF_SIZE, GFP_KERNEL); in xhci_dbc_tty_register_device()
457 kfifo_free(&port->write_fifo); in xhci_dbc_tty_register_device()
482 kfifo_free(&port->write_fifo); in xhci_dbc_tty_unregister_device()
Dxhci-dbgcap.h111 struct kfifo write_fifo; member
/linux-6.1.9/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()
744 kfifo_reset_out(&gb_tty->write_fifo); in gb_tty_port_shutdown()
770 kfifo_free(&gb_tty->write_fifo); in gb_tty_port_destruct()
846 retval = kfifo_alloc(&gb_tty->write_fifo, GB_UART_WRITE_FIFO_SIZE, in gb_uart_probe()
/linux-6.1.9/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.c281 count = kfifo_len(&port->write_fifo); in send_data()
314 count = kfifo_out_locked(&port->write_fifo, in send_data()
362 count = kfifo_in_locked(&port->write_fifo, buf, count, &port->lock); in oti6858_write()
374 room = kfifo_avail(&port->write_fifo); in oti6858_write_room()
387 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
457 if (kfifo_alloc(&priv->write_fifo, CYPRESS_BUF_SIZE, GFP_KERNEL)) { in cypress_generic_port_probe()
574 kfifo_free(&priv->write_fifo); in cypress_port_remove()
644 kfifo_reset_out(&priv->write_fifo); in cypress_close()
675 count = kfifo_in_locked(&priv->write_fifo, buf, count, &priv->lock); in cypress_write()
735 count = kfifo_out_locked(&priv->write_fifo, in cypress_send()
801 room = kfifo_avail(&priv->write_fifo); in cypress_write_room()
968 chars = kfifo_len(&priv->write_fifo); in cypress_chars_in_buffer()
Dkeyspan_pda.c477 count = kfifo_len(&port->write_fifo); in keyspan_pda_write_start()
491 count = kfifo_out(&port->write_fifo, urb->transfer_buffer, count); in keyspan_pda_write_start()
545 count = kfifo_in_locked(&port->write_fifo, buf, count, &port->lock); in keyspan_pda_write()
603 kfifo_reset(&port->write_fifo); in keyspan_pda_close()
Daircable.c78 count = kfifo_out_locked(&port->write_fifo, buf + HCI_HEADER_LENGTH, in aircable_prepare_write_buffer()
Domninet.c163 count = kfifo_out_locked(&port->write_fifo, buf + OMNINET_HEADERLEN, in omninet_prepare_write_buffer()
Dsafe_serial.c234 count = kfifo_out_locked(&port->write_fifo, buf, size - trailer_len, in safe_prepare_write_buffer()
Dti_usb_3410_5052.c778 kfifo_reset_out(&port->write_fifo); in ti_close()
809 count = kfifo_in_locked(&port->write_fifo, data, count, in ti_write()
825 room = kfifo_avail(&port->write_fifo); in ti_write_room()
841 chars = kfifo_len(&port->write_fifo); in ti_chars_in_buffer()
1298 count = kfifo_out(&port->write_fifo, in ti_send()
Df81534.c493 tx_len = kfifo_out_locked(&port->write_fifo, in f81534_prepare_write_buffer()
510 if (kfifo_is_empty(&port->write_fifo)) { in f81534_submit_writer()
1116 kfifo_reset_out(&port->write_fifo); in f81534_close()
1475 bytes_out = kfifo_in_locked(&port->write_fifo, buf, count, in f81534_write()
Dio_ti.c1984 kfifo_reset_out(&port->write_fifo); in edge_close()
2016 count = kfifo_in_locked(&port->write_fifo, data, count, in edge_write()
2036 count = kfifo_out(&port->write_fifo, in edge_send()
2086 room = kfifo_avail(&port->write_fifo); in edge_write_room()
2103 chars = kfifo_len(&port->write_fifo); in edge_chars_in_buffer()
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/musb/
Dmusb_io.h33 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf); member
/linux-6.1.9/drivers/net/can/m_can/
Dm_can.h68 int (*write_fifo)(struct m_can_classdev *cdev, int addr_offset, member
Dm_can_pci.c83 .write_fifo = iomap_write_fifo,
Dm_can_platform.c73 .write_fifo = iomap_write_fifo,
Dtcan4x5x-core.c294 .write_fifo = tcan4x5x_write_fifo,
/linux-6.1.9/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()
/linux-6.1.9/include/linux/usb/
Dserial.h94 struct kfifo write_fifo; member
/linux-6.1.9/drivers/usb/gadget/udc/
Domap_udc.c357 static int write_fifo(struct omap_ep *ep, struct omap_req *req) in write_fifo() function
796 (is_in ? write_fifo : read_fifo)(ep, req); in dma_channel_claim()
986 if ((is_in ? write_fifo : read_fifo)(ep, req) == 1) in omap_ep_queue()
1438 stat = write_fifo(ep0, req); in ep0_irq()
1955 (void) write_fifo(ep, req); in omap_udc_pio_irq()
1998 write_fifo(ep, req); in omap_udc_iso_irq()

12