/linux/drivers/scsi/ |
A D | sun3_scsi.c | 72 unsigned short fifo_count; member 238 dregs->fifo_count = 0; in sun3scsi_dma_setup() 261 dregs->fifo_count = 0; in sun3scsi_dma_setup() 264 dregs->fifo_count = count; in sun3scsi_dma_setup() 272 if(dregs->fifo_count != count) { in sun3scsi_dma_setup() 356 dregs->fifo_count = (sun3_dma_orig_count & 0xffff); in sun3scsi_dma_start() 381 fifo = dregs->fifo_count; in sun3scsi_dma_finish() 435 fifo = dregs->fifo_count; in sun3scsi_dma_finish() 462 dregs->fifo_count = 0; in sun3scsi_dma_finish() 469 dregs->fifo_count = 0; in sun3scsi_dma_finish() [all …]
|
A D | mesh.c | 318 while(in_8(&mr->fifo_count)) in mesh_dump_regs() 450 mr->error, mr->fifo_count)); in mesh_start_cmd() 457 mr->error, mr->fifo_count)); in mesh_start_cmd() 495 mr->error, mr->fifo_count)); in mesh_start_cmd() 501 mr->error, mr->fifo_count)); in mesh_start_cmd() 805 mr->fifo_count)); in start_phase() 821 n = mr->fifo_count; in get_msgin() 919 if (in_8(&mr->fifo_count) == 0) { in reselected() 928 } while (in_8(&mr->fifo_count)); in reselected() 1334 nb += mr->fifo_count; in halt_dma() [all …]
|
A D | mesh.h | 28 unsigned char fifo_count; member
|
/linux/drivers/iio/imu/inv_mpu6050/ |
A D | inv_mpu_ring.c | 123 u16 fifo_count; in inv_mpu6050_read_fifo() local 165 fifo_count = be16_to_cpup((__be16 *)&st->data[0]); in inv_mpu6050_read_fifo() 173 if (fifo_count >= st->hw->fifo_size - nb) { in inv_mpu6050_read_fifo() 179 nb = fifo_count / bytes_per_datum; in inv_mpu6050_read_fifo()
|
/linux/sound/drivers/ |
A D | serial-u16550.c | 129 short int fifo_count; /* used in uart16550 */ member 180 uart->fifo_count++; in snd_uart16550_buffer_output() 239 uart->fifo_count = 0; in snd_uart16550_io_loop() 244 while (uart->fifo_count == 0 && (status & UART_MSR_CTS) && in snd_uart16550_io_loop() 251 while (uart->fifo_count < uart->fifo_limit /* Can we write ? */ in snd_uart16550_io_loop() 365 uart->fifo_count = 0; in snd_uart16550_do_open() 602 (uart->fifo_count == 0 /* FIFO empty? */ in snd_uart16550_output_byte() 608 uart->fifo_count = 1; in snd_uart16550_output_byte() 611 if (uart->fifo_count < uart->fifo_limit) { in snd_uart16550_output_byte() 612 uart->fifo_count++; in snd_uart16550_output_byte()
|
/linux/drivers/usb/musb/ |
A D | musb_gadget.c | 229 u16 fifo_count = 0, csr; in txstate() local 387 request->actual += fifo_count; in txstate() 398 fifo_count, in txstate() 525 u16 fifo_count; in rxstate() local 535 fifo_count = musb_ep->packet_sz; in rxstate() 660 (unsigned)fifo_count); in rxstate() 688 transfer_size = fifo_count; in rxstate() 698 (unsigned)fifo_count); in rxstate() 728 fifo_count, len, in rxstate() 731 fifo_count = min_t(unsigned, len, fifo_count); in rxstate() [all …]
|
A D | musb_gadget_ep0.c | 524 u8 fifo_count; in ep0_txstate() local 536 fifo_count = min((unsigned) MUSB_EP0_FIFOSIZE, in ep0_txstate() 538 musb_write_fifo(&musb->endpoints[0], fifo_count, fifo_src); in ep0_txstate() 539 request->actual += fifo_count; in ep0_txstate() 542 if (fifo_count < MUSB_MAX_END0_PACKET in ep0_txstate()
|
A D | musb_host.c | 976 u16 fifo_count = 0; in musb_h_ep0_continue() local 984 fifo_count = min_t(size_t, len, urb->transfer_buffer_length - in musb_h_ep0_continue() 986 if (fifo_count < len) in musb_h_ep0_continue() 989 musb_read_fifo(hw_ep, fifo_count, fifo_dest); in musb_h_ep0_continue() 991 urb->actual_length += fifo_count; in musb_h_ep0_continue() 1018 fifo_count = min_t(size_t, qh->maxpacket, in musb_h_ep0_continue() 1021 if (fifo_count) { in musb_h_ep0_continue() 1025 fifo_count, in musb_h_ep0_continue() 1026 (fifo_count == 1) ? "" : "s", in musb_h_ep0_continue() 1028 musb_write_fifo(hw_ep, fifo_count, fifo_dest); in musb_h_ep0_continue() [all …]
|
/linux/drivers/i2c/busses/ |
A D | i2c-fsi.c | 267 u8 fifo_count) in fsi_i2c_write_fifo() argument 272 int bytes_to_write = i2c->fifo_size - fifo_count; in fsi_i2c_write_fifo() 293 u8 fifo_count) in fsi_i2c_read_fifo() argument 302 bytes_to_read = min_t(int, fifo_count, xfr_remaining); in fsi_i2c_read_fifo() 529 u8 fifo_count; in fsi_i2c_handle_status() local 556 fifo_count = FIELD_GET(I2C_STAT_FIFO_COUNT, status); in fsi_i2c_handle_status() 559 return fsi_i2c_read_fifo(port, msg, fifo_count); in fsi_i2c_handle_status() 561 return fsi_i2c_write_fifo(port, msg, fifo_count); in fsi_i2c_handle_status()
|
/linux/drivers/usb/dwc2/ |
A D | params.c | 331 int fifo_count; in dwc2_set_param_tx_fifo_sizes() local 334 fifo_count = dwc2_hsotg_tx_fifo_count(hsotg); in dwc2_set_param_tx_fifo_sizes() 338 for (i = 1; i <= fifo_count; i++) in dwc2_set_param_tx_fifo_sizes() 626 int fifo_count; in dwc2_check_param_tx_fifo_sizes() local 632 fifo_count = dwc2_hsotg_tx_fifo_count(hsotg); in dwc2_check_param_tx_fifo_sizes() 635 for (fifo = 1; fifo <= fifo_count; fifo++) in dwc2_check_param_tx_fifo_sizes() 644 for (fifo = 1; fifo <= fifo_count; fifo++) { in dwc2_check_param_tx_fifo_sizes() 775 int fifo, fifo_count; in dwc2_get_dev_hwparams() local 784 fifo_count = dwc2_hsotg_tx_fifo_count(hsotg); in dwc2_get_dev_hwparams() 786 for (fifo = 1; fifo <= fifo_count; fifo++) { in dwc2_get_dev_hwparams()
|
A D | debugfs.c | 186 int fifo_count = dwc2_hsotg_tx_fifo_count(hsotg); in fifo_show() local 200 for (idx = 1; idx <= fifo_count; idx++) { in fifo_show()
|
A D | gadget.c | 4150 unsigned fifo_count = dwc2_hsotg_tx_fifo_count(hsotg); in dwc2_hsotg_ep_enable() local 4155 for (i = 1; i <= fifo_count; ++i) { in dwc2_hsotg_ep_enable()
|
/linux/drivers/usb/gadget/udc/ |
A D | s3c2410_udc.c | 402 int fifo_count = 0; in s3c2410_udc_read_fifo() local 441 fifo_count = s3c2410_udc_fifo_count_out(); in s3c2410_udc_read_fifo() 444 if (fifo_count > ep->ep.maxpacket) in s3c2410_udc_read_fifo() 447 avail = fifo_count; in s3c2410_udc_read_fifo() 457 if (fifo_count != avail) in s3c2410_udc_read_fifo() 464 fifo_count = s3c2410_udc_fifo_count_out(); in s3c2410_udc_read_fifo() 469 __func__, fifo_count, is_last); in s3c2410_udc_read_fifo() 1163 int fifo_count = 0; in s3c2410_udc_queue() local 1205 fifo_count = s3c2410_udc_fifo_count_out(); in s3c2410_udc_queue() 1209 fifo_count = s3c2410_udc_fifo_count_out(); in s3c2410_udc_queue() [all …]
|
/linux/drivers/char/pcmcia/ |
A D | synclink_cs.c | 852 if (fifo_count == 0) in rx_ready_hdlc() 853 fifo_count = 32; in rx_ready_hdlc() 855 fifo_count = 32; in rx_ready_hdlc() 858 if (fifo_count == 1) { in rx_ready_hdlc() 879 } while (fifo_count); in rx_ready_hdlc() 895 int fifo_count; in rx_ready_async() local 907 fifo_count = 32; in rx_ready_async() 909 fifo_count = 32; in rx_ready_async() 913 while (fifo_count) { in rx_ready_async() 916 fifo_count -= 2; in rx_ready_async() [all …]
|
/linux/drivers/iio/adc/ |
A D | imx8qxp-adc.c | 264 u32 fifo_count; in imx8qxp_adc_isr() local 266 fifo_count = FIELD_GET(IMX8QXP_ADC_FCTRL_FCOUNT_MASK, in imx8qxp_adc_isr() 269 if (fifo_count) in imx8qxp_adc_isr()
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc911x.c | 340 unsigned int fifo_count, timeout, reg; in smc911x_drop_pkt() local 344 fifo_count = SMC_GET_RX_FIFO_INF(lp) & 0xFFFF; in smc911x_drop_pkt() 345 if (fifo_count <= 4) { in smc911x_drop_pkt() 347 while (fifo_count--) in smc911x_drop_pkt()
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_uncore.h | 156 unsigned int fifo_count; member
|
A D | intel_uncore.c | 371 n = uncore->fifo_count; in __gen6_gt_wait_for_fifo() 383 uncore->fifo_count = n - 1; in __gen6_gt_wait_for_fifo() 574 uncore->fifo_count = fifo_free_entries(uncore); in forcewake_early_sanitize()
|
/linux/drivers/mmc/host/ |
A D | s3cmci.c | 340 static inline u32 fifo_count(struct s3cmci_host *host) in fifo_count() function 424 while ((fifo = fifo_count(host))) { in do_pio_read()
|
/linux/drivers/crypto/axis/ |
A D | artpec6_crypto.c | 452 int fifo_count = ac->pending_count; in artpec6_crypto_busy() local 454 return fifo_count > 6; in artpec6_crypto_busy()
|