/Linux-v4.19/drivers/isdn/hisax/ |
D | jade_irq.c | 77 int fifo_size = 32; in jade_fill_fifo() local 89 if (bcs->tx_skb->len > fifo_size) { in jade_fill_fifo() 91 count = fifo_size; in jade_fill_fifo() 119 int fifo_size = 32; in jade_interrupt() local 142 count = fifo_size; in jade_interrupt() 160 jade_empty_fifo(bcs, fifo_size); in jade_interrupt() 163 if (!(skb = dev_alloc_skb(fifo_size))) in jade_interrupt() 167 fifo_size); in jade_interrupt()
|
D | hscx_irq.c | 87 int fifo_size = test_bit(HW_IPAC, &cs->HW_Flags) ? 64 : 32; in hscx_fill_fifo() local 99 if (bcs->tx_skb->len > fifo_size) { in hscx_fill_fifo() 101 count = fifo_size; in hscx_fill_fifo() 128 int fifo_size = test_bit(HW_IPAC, &cs->HW_Flags) ? 64 : 32; in hscx_interrupt() local 164 count = fifo_size; in hscx_interrupt() 182 hscx_empty_fifo(bcs, fifo_size); in hscx_interrupt() 185 if (!(skb = dev_alloc_skb(fifo_size))) in hscx_interrupt() 189 fifo_size); in hscx_interrupt()
|
/Linux-v4.19/drivers/tty/serial/ |
D | pch_uart.c | 218 int fifo_size; member 503 unsigned int fifo_size, unsigned int trigger) in pch_uart_hal_set_fifo() argument 513 if (fifo_size & ~(PCH_UART_FCR_FIFOE | PCH_UART_FCR_FIFO256)) { in pch_uart_hal_set_fifo() 515 __func__, fifo_size); in pch_uart_hal_set_fifo() 525 switch (priv->fifo_size) { in pch_uart_hal_set_fifo() 544 dmamode | fifo_size | trigger | PCH_UART_FCR_RFR | PCH_UART_FCR_TFR; in pch_uart_hal_set_fifo() 888 int fifo_size; in handle_tx() local 901 fifo_size = max(priv->fifo_size, 1); in handle_tx() 907 fifo_size--; in handle_tx() 909 size = min(xmit->head - xmit->tail, fifo_size); in handle_tx() [all …]
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | atmel_usba_udc.c | 281 { .hw_ep_num = 0, .fifo_size = 64, .nr_banks = 1, }, 282 { .hw_ep_num = 1, .fifo_size = 1024, .nr_banks = 2, }, 283 { .hw_ep_num = 2, .fifo_size = 1024, .nr_banks = 1, }, 284 { .hw_ep_num = 3, .fifo_size = 1024, .nr_banks = 1, }, 285 { .hw_ep_num = 4, .fifo_size = 1024, .nr_banks = 1, }, 286 { .hw_ep_num = 5, .fifo_size = 1024, .nr_banks = 1, }, 287 { .hw_ep_num = 6, .fifo_size = 1024, .nr_banks = 1, }, 292 { .hw_ep_num = 0, .fifo_size = 64, .nr_banks = 1, }, 293 { .hw_ep_num = 1, .fifo_size = 1024, .nr_banks = 3, }, 294 { .hw_ep_num = 2, .fifo_size = 1024, .nr_banks = 2, }, [all …]
|
D | pxa25x_udc.c | 432 || ep->fifo_size < usb_endpoint_maxp (desc)) { in pxa25x_ep_enable() 617 is_short = unlikely (max < ep->fifo_size); in write_fifo() 2055 .fifo_size = BULK_FIFO_SIZE, 2070 .fifo_size = BULK_FIFO_SIZE, 2087 .fifo_size = ISO_FIFO_SIZE, 2102 .fifo_size = ISO_FIFO_SIZE, 2117 .fifo_size = INT_FIFO_SIZE, 2134 .fifo_size = BULK_FIFO_SIZE, 2149 .fifo_size = BULK_FIFO_SIZE, 2165 .fifo_size = ISO_FIFO_SIZE, [all …]
|
/Linux-v4.19/drivers/media/rc/ |
D | sunxi-cir.c | 64 #define REG_RXSTA_GET_AC(val) (((val) >> 8) & (ir->fifo_size * 2 - 1)) 89 int fifo_size; member 115 rc = rc > ir->fifo_size ? ir->fifo_size : rc; in sunxi_ir_irq() 157 ir->fifo_size = 64; in sunxi_ir_probe() 159 ir->fifo_size = 16; in sunxi_ir_probe() 275 REG_RXINT_RAI_EN | REG_RXINT_RAL(ir->fifo_size / 2 - 1), in sunxi_ir_probe()
|
/Linux-v4.19/drivers/spi/ |
D | spi-sirf.c | 139 #define SIRFSOC_SPI_FIFO_THD_MASK(s) ((s)->fifo_size - 1) 288 unsigned int fifo_size; member 300 unsigned int fifo_size; member 629 sspi->fifo_size), in spi_sirfsoc_pio_transfer() 632 sspi->fifo_size), in spi_sirfsoc_pio_transfer() 642 sspi->fifo_size), in spi_sirfsoc_pio_transfer() 645 sspi->fifo_size), in spi_sirfsoc_pio_transfer() 660 data_units = sspi->fifo_size / sspi->word_width; in spi_sirfsoc_pio_transfer() 835 writel((SIRFSOC_SPI_FIFO_LEVEL_CHK_MASK(sspi, sspi->fifo_size - 2) << in spi_sirfsoc_config_mode() 837 (SIRFSOC_SPI_FIFO_LEVEL_CHK_MASK(sspi, sspi->fifo_size / 2) << in spi_sirfsoc_config_mode() [all …]
|
D | spi-bcm63xx.c | 150 unsigned int fifo_size; member 364 total_len > (bs->fifo_size + BCM63XX_SPI_MAX_PREPEND)) || in bcm63xx_spi_transfer_one() 365 (!can_use_prepend && total_len > bs->fifo_size)) { in bcm63xx_spi_transfer_one() 367 total_len, bs->fifo_size); in bcm63xx_spi_transfer_one() 436 return bs->fifo_size; in bcm63xx_spi_max_length() 565 bs->fifo_size = bs->reg_offsets[SPI_MSG_DATA_SIZE]; in bcm63xx_spi_probe() 603 r, irq, bs->fifo_size); in bcm63xx_spi_probe()
|
/Linux-v4.19/drivers/rpmsg/ |
D | qcom_smd.c | 218 int fifo_size; member 435 return (head - tail) & (channel->fifo_size - 1); in qcom_smd_channel_get_rx_avail() 507 len = min_t(size_t, count, channel->fifo_size - tail); in qcom_smd_channel_peek() 535 tail &= (channel->fifo_size - 1); in qcom_smd_channel_advance() 553 if (tail + channel->pkt_size >= channel->fifo_size) { in qcom_smd_channel_recv_single() 687 unsigned mask = channel->fifo_size - 1; in qcom_smd_get_tx_avail() 709 len = min_t(size_t, count, channel->fifo_size - head); in qcom_smd_write_fifo() 725 head &= (channel->fifo_size - 1); in qcom_smd_write_fifo() 756 if (tlen >= channel->fifo_size) in __qcom_smd_send() 825 bb_size = min(channel->fifo_size, SZ_4K); in qcom_smd_channel_open() [all …]
|
/Linux-v4.19/drivers/tty/serial/8250/ |
D | 8250_port.c | 71 .fifo_size = 1, 76 .fifo_size = 1, 81 .fifo_size = 1, 86 .fifo_size = 1, 91 .fifo_size = 16, 99 .fifo_size = 1, 104 .fifo_size = 1, 110 .fifo_size = 32, 119 .fifo_size = 64, 128 .fifo_size = 1, [all …]
|
/Linux-v4.19/drivers/media/pci/cx25821/ |
D | cx25821-core.c | 48 .fifo_size = (VID_CLUSTER_SIZE << 2), 70 .fifo_size = (VID_CLUSTER_SIZE << 2), 92 .fifo_size = (VID_CLUSTER_SIZE << 2), 114 .fifo_size = (VID_CLUSTER_SIZE << 2), 136 .fifo_size = (VID_CLUSTER_SIZE << 2), 158 .fifo_size = (VID_CLUSTER_SIZE << 2), 180 .fifo_size = (VID_CLUSTER_SIZE << 2), 202 .fifo_size = (VID_CLUSTER_SIZE << 2), 223 .fifo_size = AUDIO_CLUSTER_SIZE * 3, 237 .fifo_size = (VID_CLUSTER_SIZE << 2), [all …]
|
/Linux-v4.19/drivers/media/pci/cx88/ |
D | cx88-core.c | 256 .fifo_size = 0x002800, 268 .fifo_size = 0x000800, 280 .fifo_size = 0x000800, 292 .fifo_size = 0x001000, 304 .fifo_size = 0x001000, 316 .fifo_size = 0x001000, /* same as audio IN */ 328 .fifo_size = 0x001000, 340 .fifo_size = 0x000C00, 358 lines = ch->fifo_size / bpl; in cx88_sram_channel_setup() 471 ch->fifo_start, ch->fifo_start + ch->fifo_size); in cx88_sram_channel_dump() [all …]
|
/Linux-v4.19/drivers/gpu/drm/mediatek/ |
D | mtk_disp_rdma.c | 55 #define RDMA_FIFO_SIZE(rdma) ((rdma)->data->fifo_size) 61 unsigned int fifo_size; member 332 .fifo_size = SZ_4K, 336 .fifo_size = SZ_8K,
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-at91.c | 147 u32 fifo_size; member 182 if (dev->fifo_size) in at91_init_twi_bus() 324 if (dev->fifo_size) { in at91_twi_write_data_dma() 461 if (dev->fifo_size && IS_ALIGNED(buf_len, 4)) { in at91_twi_read_data_dma() 642 if (dev->fifo_size) { in at91_do_twi_transfer() 723 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer() 743 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer() 976 if (dev->fifo_size) in at91_twi_configure_dma() 1107 &dev->fifo_size)) { in at91_twi_probe() 1108 dev_info(dev->dev, "Using FIFO (%u data)\n", dev->fifo_size); in at91_twi_probe()
|
D | i2c-omap.c | 206 u8 fifo_size; /* use as flag and value member 472 OMAP_I2C_IE_AL) | ((omap->fifo_size) ? in omap_i2c_init() 626 omap->threshold = clamp(size, (u8) 1, omap->fifo_size); in omap_i2c_resize_fifo() 1101 if (omap->fifo_size) in omap_i2c_isr_thread() 1130 if (omap->fifo_size) in omap_i2c_isr_thread() 1414 omap->fifo_size = 0x8 << s; in omap_i2c_probe() 1422 omap->fifo_size = (omap->fifo_size / 2); in omap_i2c_probe() 1429 omap->latency = (1000000 * omap->fifo_size) / in omap_i2c_probe()
|
D | i2c-altera.c | 96 u32 fifo_size; member 226 size_t tx_fifo_avail = idev->fifo_size - readl(idev->base + in altr_i2c_fill_tx_fifo() 426 &idev->fifo_size); in altr_i2c_probe() 430 idev->fifo_size = ALTR_I2C_DFLT_FIFO_SZ; in altr_i2c_probe()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_scrn.c | 115 size_t fifo_size; in vmw_sou_fifo_create() local 126 fifo_size = sizeof(*cmd); in vmw_sou_fifo_create() 127 cmd = vmw_fifo_reserve(dev_priv, fifo_size); in vmw_sou_fifo_create() 134 memset(cmd, 0, fifo_size); in vmw_sou_fifo_create() 151 vmw_fifo_commit(dev_priv, fifo_size); in vmw_sou_fifo_create() 164 size_t fifo_size; in vmw_sou_fifo_destroy() local 178 fifo_size = sizeof(*cmd); in vmw_sou_fifo_destroy() 179 cmd = vmw_fifo_reserve(dev_priv, fifo_size); in vmw_sou_fifo_destroy() 186 memset(cmd, 0, fifo_size); in vmw_sou_fifo_destroy() 190 vmw_fifo_commit(dev_priv, fifo_size); in vmw_sou_fifo_destroy()
|
D | vmwgfx_ldu.c | 556 size_t fifo_size; in vmw_kms_ldu_do_bo_dirty() local 564 fifo_size = sizeof(*cmd) * num_clips; in vmw_kms_ldu_do_bo_dirty() 565 cmd = vmw_fifo_reserve(dev_priv, fifo_size); in vmw_kms_ldu_do_bo_dirty() 571 memset(cmd, 0, fifo_size); in vmw_kms_ldu_do_bo_dirty() 580 vmw_fifo_commit(dev_priv, fifo_size); in vmw_kms_ldu_do_bo_dirty()
|
D | vmwgfx_overlay.c | 102 size_t fifo_size; in vmw_overlay_send_put() local 125 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put() 127 cmds = vmw_fifo_reserve(dev_priv, fifo_size); in vmw_overlay_send_put() 174 vmw_fifo_commit(dev_priv, fifo_size); in vmw_overlay_send_put()
|
/Linux-v4.19/drivers/media/pci/cx23885/ |
D | cx23885-core.c | 89 .fifo_size = 0x2800, 101 .fifo_size = 0x0, 113 .fifo_size = 0x1000, 125 .fifo_size = 0x0, 137 .fifo_size = 0x0, 149 .fifo_size = 0x1000, 161 .fifo_size = 0x1000, 173 .fifo_size = 0x0, 185 .fifo_size = 0x0, 200 .fifo_size = 0x2800, [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 244 unsigned int fifo_size, burst_size, graphics_lwm; in nv20_update_arb() local 246 fifo_size = 2048; in nv20_update_arb() 248 graphics_lwm = fifo_size - burst_size; in nv20_update_arb()
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | cb_pcidas.c | 221 int fifo_size; /* number of samples fifo can hold */ member 236 .fifo_size = 512, 247 .fifo_size = 1024, 254 .fifo_size = 1024, 262 .fifo_size = 1024, 267 .fifo_size = 512, 276 .fifo_size = 1024, 281 .fifo_size = 1024, 288 .fifo_size = 1024, 1009 cb_pcidas_ao_load_fifo(dev, s, board->fifo_size); in cb_pcidas_ao_inttrig() [all …]
|
/Linux-v4.19/drivers/video/fbdev/aty/ |
D | mach64_ct.c | 160 tmp = ((multiplier * pll->fifo_size) << vshift) / divider; in aty_dsp_gt() 173 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider - in aty_dsp_gt() 443 pll->ct.fifo_size = 32; in aty_init_pll_ct() 445 pll->ct.fifo_size = 24; in aty_init_pll_ct() 505 pll->ct.fifo_size = 32; in aty_init_pll_ct() 507 pll->ct.fifo_size = 24; in aty_init_pll_ct()
|
/Linux-v4.19/sound/soc/rockchip/ |
D | rockchip_pcm.c | 30 .fifo_size = 32,
|
/Linux-v4.19/sound/soc/mxs/ |
D | mxs-pcm.c | 44 .fifo_size = 32,
|