Home
last modified time | relevance | path

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

12

/drivers/usb/serial/
Dgeneric.c113 kfifo_reset_out(&port->write_fifo); in usb_serial_generic_close()
126 return kfifo_out_locked(&port->write_fifo, dest, size, &port->lock); in usb_serial_generic_prepare_write_buffer()
146 if (!port->write_urbs_free || !kfifo_len(&port->write_fifo)) { in usb_serial_generic_write_start()
212 count = kfifo_in_locked(&port->write_fifo, buf, count, &port->lock); in usb_serial_generic_write()
231 room = kfifo_avail(&port->write_fifo); in usb_serial_generic_write_room()
248 chars = kfifo_len(&port->write_fifo) + port->tx_bytes; in usb_serial_generic_chars_in_buffer()
413 kfifo_reset_out(&port->write_fifo); in usb_serial_generic_write_bulk_callback()
Doti6858.c282 count = kfifo_len(&port->write_fifo); in send_data()
317 count = kfifo_out_locked(&port->write_fifo, in send_data()
365 count = kfifo_in_locked(&port->write_fifo, buf, count, &port->lock); in oti6858_write()
377 room = kfifo_avail(&port->write_fifo); in oti6858_write_room()
390 chars = kfifo_len(&port->write_fifo); in oti6858_chars_in_buffer()
575 kfifo_reset_out(&port->write_fifo); in oti6858_close()
779 count = kfifo_len(&port->write_fifo); in oti6858_read_int_callback()
Dcypress_m8.c101 struct kfifo write_fifo; /* write fifo */ member
463 if (kfifo_alloc(&priv->write_fifo, CYPRESS_BUF_SIZE, GFP_KERNEL)) { in cypress_generic_port_probe()
579 kfifo_free(&priv->write_fifo); in cypress_port_remove()
651 kfifo_reset_out(&priv->write_fifo); in cypress_close()
682 count = kfifo_in_locked(&priv->write_fifo, buf, count, &priv->lock); in cypress_write()
742 count = kfifo_out_locked(&priv->write_fifo, in cypress_send()
808 room = kfifo_avail(&priv->write_fifo); in cypress_write_room()
1058 chars = kfifo_len(&priv->write_fifo); in cypress_chars_in_buffer()
Dti_usb_3410_5052.c80 struct kfifo write_fifo; member
434 if (kfifo_alloc(&tport->write_fifo, TI_WRITE_BUF_SIZE, GFP_KERNEL)) { in ti_port_probe()
452 kfifo_free(&tport->write_fifo); in ti_port_remove()
619 kfifo_reset_out(&tport->write_fifo); in ti_close()
658 count = kfifo_in_locked(&tport->write_fifo, data, count, in ti_write()
677 room = kfifo_avail(&tport->write_fifo); in ti_write_room()
696 chars = kfifo_len(&tport->write_fifo); in ti_chars_in_buffer()
1200 count = kfifo_out(&tport->write_fifo, in ti_send()
Dio_ti.c96 struct kfifo write_fifo; member
1907 kfifo_reset_out(&edge_port->write_fifo); in edge_close()
1941 count = kfifo_in_locked(&edge_port->write_fifo, data, count, in edge_write()
1961 count = kfifo_out(&edge_port->write_fifo, in edge_send()
2009 room = kfifo_avail(&edge_port->write_fifo); in edge_write_room()
2026 chars = kfifo_len(&edge_port->write_fifo); in edge_chars_in_buffer()
2457 ret = kfifo_alloc(&edge_port->write_fifo, EDGE_OUT_BUF_SIZE, in edge_port_probe()
2473 kfifo_free(&edge_port->write_fifo); in edge_port_probe()
2489 kfifo_free(&edge_port->write_fifo); in edge_port_remove()
Daircable.c87 count = kfifo_out_locked(&port->write_fifo, buf + HCI_HEADER_LENGTH, in aircable_prepare_write_buffer()
Dsafe_serial.c248 count = kfifo_out_locked(&port->write_fifo, buf, size - trailer_len, in safe_prepare_write_buffer()
Dir-usb.c281 count = kfifo_out_locked(&port->write_fifo, buf + 1, size - 1, in ir_prepare_write_buffer()
Dkl5kusb105.c371 count = kfifo_out_locked(&port->write_fifo, buf + KLSI_HDR_LEN, size, in klsi_105_prepare_write_buffer()
/drivers/isdn/hisax/
Dsportster.c46 write_fifo(unsigned int adr, u_char *data, int size) in write_fifo() function
74 write_fifo(cs->hw.spt.isac, data, size); in WriteISACfifo()
96 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.spt.hscx[nr], ptr, cnt)
Ds0box.c77 write_fifo(unsigned int padr, signed int adr, u_char *data, int size) in write_fifo() function
116 write_fifo(cs->hw.teles3.cfg_reg, cs->hw.teles3.isacfifo, data, size); in WriteISACfifo()
138 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.teles3.cfg_reg, cs->hw.teles3.hscxfifo[nr…
Davm_a1.c48 write_fifo(unsigned int adr, u_char *data, int size) in write_fifo() function
76 write_fifo(cs->hw.avm.isacfifo, data, size); in WriteISACfifo()
98 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt)
Dteles3.c48 write_fifo(unsigned int adr, u_char *data, int size) in write_fifo() function
76 write_fifo(cs->hw.teles3.isacfifo, data, size); in WriteISACfifo()
98 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.teles3.hscxfifo[nr], ptr, cnt)
Dgazel.c64 write_fifo(unsigned int adr, u_char *data, int size) in write_fifo() function
159 write_fifo(cs->hw.gazel.isacfifo, data, size); in WriteISACfifo()
189 write_fifo(cs->hw.gazel.hscxfifo[hscx], data, size); in WriteHSCXfifo()
Dhfc_sx.c117 write_fifo(struct IsdnCardState *cs, struct sk_buff *skb, u_char fifo, int trans_max) in write_fifo() function
515 if (write_fifo(cs, cs->tx_skb, HFCSX_SEL_D_TX, 0)) { in hfcsx_fill_dfifo()
535 if (write_fifo(cs, bcs->tx_skb, in hfcsx_fill_fifo()
/drivers/isdn/hardware/mISDN/
Dipac.h36 fifo_func *write_fifo; member
79 fifo_func *write_fifo; member
Disar.h53 fifo_func *write_fifo; member
Diohelper.h102 dest.write_fifo = &WriteFiFo##name##_##typ; \
Dhfc_multi_8xx.h129 hc->write_fifo = write_fifo_embsd; in setup_embedded()
/drivers/usb/gadget/
Domap_udc.c359 static int write_fifo(struct omap_ep *ep, struct omap_req *req) in write_fifo() function
798 (is_in ? write_fifo : read_fifo)(ep, req); in dma_channel_claim()
988 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()
Dimx_udc.c496 static int write_fifo(struct imx_ep_struct *imx_ep, struct imx_request *req) in write_fifo() function
547 completed = write_fifo(imx_ep, req); in handle_ep()
569 write_fifo(imx_ep, req); in handle_ep0()
Dpxa25x_udc.c386 write_fifo (struct pxa25x_ep *ep, struct pxa25x_request *req) in write_fifo() function
715 && write_fifo(ep, req)) in pxa25x_ep_queue()
1649 completed = write_fifo(ep, req); in handle_ep()
Dat91_udc.c382 static int write_fifo(struct at91_ep *ep, struct at91_request *req) in write_fifo() function
681 status = write_fifo(ep, req); in at91_ep_queue()
1020 return write_fifo(ep, req); in handle_ep()
Dgoku_udc.c346 static int write_fifo(struct goku_ep *ep, struct goku_request *req) in write_fifo() function
525 (ep->is_in ? write_fifo : read_fifo)(ep, req); in pio_advance()
765 status = (ep->is_in ? write_fifo : read_fifo)(ep, req); in goku_queue()
Dnet2280.c454 write_fifo (struct net2280_ep *ep, struct usb_request *req) in write_fifo() function
891 write_fifo (ep, _req); in net2280_queue()
2040 write_fifo (ep, NULL); in handle_ep_small()
2195 write_fifo (ep, &req->req); in handle_ep_small()

12