Home
last modified time | relevance | path

Searched refs:fifo_count (Results 1 – 16 of 16) sorted by relevance

/drivers/scsi/
Dsun3_scsi_vme.c261 dregs->fifo_count = 0; in sun3scsi_detect()
359 dregs->fifo_count, in scsi_sun3_intr()
443 dregs->fifo_count = 0; in sun3scsi_dma_setup()
474 printk("scsi: dma_start data %p count %x csr %x fifo %x\n", data, count, csr, dregs->fifo_count); in sun3scsi_dma_start()
481 dregs->fifo_count = (sun3_dma_orig_count & 0xffff); in sun3scsi_dma_start()
499 fifo = dregs->fifo_count; in sun3scsi_dma_finish()
547 dregs->fifo_count = 0; in sun3scsi_dma_finish()
Dsun3_scsi.c299 dregs->fifo_count = 0; in sun3scsi_detect()
440 dregs->fifo_count = 0; in sun3scsi_dma_setup()
454 dregs->fifo_count = count; in sun3scsi_dma_setup()
462 if(dregs->fifo_count != count) { in sun3scsi_dma_setup()
464 default_instance->host_no, dregs->fifo_count, in sun3scsi_dma_setup()
588 fifo = dregs->fifo_count; in sun3scsi_dma_finish()
609 dregs->fifo_count = 0; in sun3scsi_dma_finish()
Dmesh.c316 (mr->bus_status1 << 8) + mr->bus_status0, mr->fifo_count, in mesh_dump_regs()
319 while(in_8(&mr->fifo_count)) in mesh_dump_regs()
448 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count)); in mesh_start_cmd()
461 mr->error, mr->fifo_count)); in mesh_start_cmd()
468 mr->error, mr->fifo_count)); in mesh_start_cmd()
506 mr->error, mr->fifo_count)); in mesh_start_cmd()
512 mr->error, mr->fifo_count)); in mesh_start_cmd()
523 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count)); in mesh_start_cmd()
528 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count)); in mesh_start_cmd()
539 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count)); in mesh_start_cmd()
[all …]
Dmesh.h27 unsigned char fifo_count; member
Dsun3_scsi.h126 unsigned short fifo_count; member
Dfd_mcs.c259 int fifo_count; member
430 FIFO_COUNT = user_fifo_count ? user_fifo_count : fd_mcs_adapters[loop].fifo_count; in fd_mcs_detect()
/drivers/usb/musb/
Dmusb_gadget.c258 u16 fifo_count = 0, csr; in txstate() local
273 fifo_count = min(max_ep_writesize(musb, musb_ep), in txstate()
289 epnum, musb_ep->packet_sz, fifo_count, in txstate()
382 musb_write_fifo(musb_ep->hw_ep, fifo_count, in txstate()
384 request->actual += fifo_count; in txstate()
395 fifo_count, in txstate()
578 unsigned fifo_count = 0; in rxstate() local
684 fifo_count = request->length - request->actual; in rxstate()
687 len, fifo_count, in rxstate()
690 fifo_count = min_t(unsigned, len, fifo_count); in rxstate()
[all …]
Dmusb_gadget_ep0.c495 u8 fifo_count; in ep0_txstate() local
505 fifo_count = min((unsigned) MUSB_EP0_FIFOSIZE, in ep0_txstate()
507 musb_write_fifo(&musb->endpoints[0], fifo_count, fifo_src); in ep0_txstate()
508 request->actual += fifo_count; in ep0_txstate()
511 if (fifo_count < MUSB_MAX_END0_PACKET in ep0_txstate()
Dmusb_host.c932 u16 fifo_count = 0; in musb_h_ep0_continue() local
940 fifo_count = min_t(size_t, len, urb->transfer_buffer_length - in musb_h_ep0_continue()
942 if (fifo_count < len) in musb_h_ep0_continue()
945 musb_read_fifo(hw_ep, fifo_count, fifo_dest); in musb_h_ep0_continue()
947 urb->actual_length += fifo_count; in musb_h_ep0_continue()
974 fifo_count = min_t(size_t, qh->maxpacket, in musb_h_ep0_continue()
977 if (fifo_count) { in musb_h_ep0_continue()
981 fifo_count, in musb_h_ep0_continue()
982 (fifo_count == 1) ? "" : "s", in musb_h_ep0_continue()
984 musb_write_fifo(hw_ep, fifo_count, fifo_dest); in musb_h_ep0_continue()
[all …]
/drivers/usb/gadget/
Ds3c2410_udc.c458 int fifo_count = 0; in s3c2410_udc_read_fifo() local
496 fifo_count = s3c2410_udc_fifo_count_out(); in s3c2410_udc_read_fifo()
497 dprintk(DEBUG_NORMAL, "%s fifo count : %d\n", __func__, fifo_count); in s3c2410_udc_read_fifo()
499 if (fifo_count > ep->ep.maxpacket) in s3c2410_udc_read_fifo()
502 avail = fifo_count; in s3c2410_udc_read_fifo()
504 fifo_count = s3c2410_udc_read_packet(fifo_reg, buf, req, avail); in s3c2410_udc_read_fifo()
509 if (idx != 0 && fifo_count < ep->ep.maxpacket) { in s3c2410_udc_read_fifo()
512 if (fifo_count != avail) in s3c2410_udc_read_fifo()
519 fifo_count = s3c2410_udc_fifo_count_out(); in s3c2410_udc_read_fifo()
524 __func__, fifo_count,is_last); in s3c2410_udc_read_fifo()
[all …]
/drivers/char/pcmcia/
Dsynclink_cs.c889 unsigned char fifo_count, read_count, i; in rx_ready_hdlc() local
909 if (!(fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f))) in rx_ready_hdlc()
910 fifo_count = 32; in rx_ready_hdlc()
912 fifo_count = 32; in rx_ready_hdlc()
915 if (fifo_count == 1) { in rx_ready_hdlc()
922 fifo_count -= read_count; in rx_ready_hdlc()
923 if (!fifo_count && eom) in rx_ready_hdlc()
936 } while (fifo_count); in rx_ready_hdlc()
951 int fifo_count; in rx_ready_async() local
957 fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f); in rx_ready_async()
[all …]
/drivers/staging/comedi/drivers/
Dme4000.h298 int fifo_count; member
/drivers/net/
Dsmc911x.c348 unsigned int fifo_count, timeout, reg; in smc911x_drop_pkt() local
351 fifo_count = SMC_GET_RX_FIFO_INF(lp) & 0xFFFF; in smc911x_drop_pkt()
352 if (fifo_count <= 4) { in smc911x_drop_pkt()
354 while (fifo_count--) in smc911x_drop_pkt()
/drivers/staging/me4000/
Dme4000.h344 int fifo_count; member
Dme4000.c750 if (info->board_p->ao.fifo_count) { in alloc_ao_contexts()
835 if (info->board_p->ao.fifo_count) { in alloc_ao_contexts()
1338 && (dev >= board_info->board_p->ao.fifo_count)) { in me4000_open()
5401 user_info.ao_fifo_count = board_info->board_p->ao.fifo_count; in me4000_get_user_info()
6035 board_info->board_p->ao.fifo_count); in me4000_read_procmem()
/drivers/mmc/host/
Ds3cmci.c224 static inline u32 fifo_count(struct s3cmci_host *host) in fifo_count() function
253 while ((fifo = fifo_count(host))) { in do_pio_read()