/Linux-v5.4/drivers/media/rc/ |
D | sunxi-cir.c | 61 #define REG_RXSTA_GET_AC(val) (((val) >> 8) & (ir->fifo_size * 2 - 1)) 89 int fifo_size; member 97 int fifo_size; member 123 rc = rc > ir->fifo_size ? ir->fifo_size : rc; in sunxi_ir_irq() 171 ir->fifo_size = quirks->fifo_size; in sunxi_ir_probe() 287 REG_RXINT_RAI_EN | REG_RXINT_RAL(ir->fifo_size / 2 - 1), in sunxi_ir_probe() 333 .fifo_size = 16, 338 .fifo_size = 64, 343 .fifo_size = 64,
|
/Linux-v5.4/drivers/tty/serial/ |
D | pch_uart.c | 216 int fifo_size; member 501 unsigned int fifo_size, unsigned int trigger) in pch_uart_hal_set_fifo() argument 511 if (fifo_size & ~(PCH_UART_FCR_FIFOE | PCH_UART_FCR_FIFO256)) { in pch_uart_hal_set_fifo() 513 __func__, fifo_size); in pch_uart_hal_set_fifo() 523 switch (priv->fifo_size) { in pch_uart_hal_set_fifo() 542 dmamode | fifo_size | trigger | PCH_UART_FCR_RFR | PCH_UART_FCR_TFR; in pch_uart_hal_set_fifo() 886 int fifo_size; in handle_tx() local 899 fifo_size = max(priv->fifo_size, 1); in handle_tx() 905 fifo_size--; in handle_tx() 907 size = min(xmit->head - xmit->tail, fifo_size); in handle_tx() [all …]
|
/Linux-v5.4/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-v5.4/drivers/spi/ |
D | spi-sirf.c | 138 #define SIRFSOC_SPI_FIFO_THD_MASK(s) ((s)->fifo_size - 1) 287 unsigned int fifo_size; member 299 unsigned int fifo_size; member 628 sspi->fifo_size), in spi_sirfsoc_pio_transfer() 631 sspi->fifo_size), in spi_sirfsoc_pio_transfer() 641 sspi->fifo_size), in spi_sirfsoc_pio_transfer() 644 sspi->fifo_size), in spi_sirfsoc_pio_transfer() 659 data_units = sspi->fifo_size / sspi->word_width; in spi_sirfsoc_pio_transfer() 834 writel((SIRFSOC_SPI_FIFO_LEVEL_CHK_MASK(sspi, sspi->fifo_size - 2) << in spi_sirfsoc_config_mode() 836 (SIRFSOC_SPI_FIFO_LEVEL_CHK_MASK(sspi, sspi->fifo_size / 2) << in spi_sirfsoc_config_mode() [all …]
|
D | spi-bcm63xx.c | 141 unsigned int fifo_size; member 355 total_len > (bs->fifo_size + BCM63XX_SPI_MAX_PREPEND)) || in bcm63xx_spi_transfer_one() 356 (!can_use_prepend && total_len > bs->fifo_size)) { in bcm63xx_spi_transfer_one() 358 total_len, bs->fifo_size); in bcm63xx_spi_transfer_one() 427 return bs->fifo_size; in bcm63xx_spi_max_length() 554 bs->fifo_size = bs->reg_offsets[SPI_MSG_DATA_SIZE]; in bcm63xx_spi_probe() 592 r, irq, bs->fifo_size); in bcm63xx_spi_probe()
|
D | spi-imx.c | 76 unsigned int fifo_size; member 235 if (transfer->len < spi_imx->devtype_data->fifo_size) in spi_imx_can_dma() 917 .fifo_size = 8, 931 .fifo_size = 8, 946 .fifo_size = 8, 960 .fifo_size = 8, 975 .fifo_size = 8, 990 .fifo_size = 64, 1005 .fifo_size = 64, 1105 while (spi_imx->txfifo < spi_imx->devtype_data->fifo_size) { in spi_imx_push() [all …]
|
/Linux-v5.4/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-v5.4/drivers/tty/serial/8250/ |
D | 8250_port.c | 64 .fifo_size = 1, 69 .fifo_size = 1, 74 .fifo_size = 1, 79 .fifo_size = 1, 84 .fifo_size = 16, 92 .fifo_size = 1, 97 .fifo_size = 1, 103 .fifo_size = 32, 112 .fifo_size = 64, 121 .fifo_size = 1, [all …]
|
/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-at91-master.c | 35 if (dev->fifo_size) in at91_init_twi_bus_master() 178 if (dev->fifo_size) { in at91_twi_write_data_dma() 315 if (dev->fifo_size && IS_ALIGNED(buf_len, 4)) { in at91_twi_read_data_dma() 496 if (dev->fifo_size) { in at91_do_twi_transfer() 576 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer() 596 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer() 711 if (dev->fifo_size) in at91_twi_configure_dma() 792 &dev->fifo_size)) { in at91_twi_probe_master() 793 dev_info(dev->dev, "Using FIFO (%u data)\n", dev->fifo_size); in at91_twi_probe_master()
|
D | i2c-omap.c | 197 u8 fifo_size; /* use as flag and value member 465 OMAP_I2C_IE_AL) | ((omap->fifo_size) ? in omap_i2c_init() 619 omap->threshold = clamp(size, (u8) 1, omap->fifo_size); in omap_i2c_resize_fifo() 1128 if (omap->fifo_size) in omap_i2c_xfer_data() 1157 if (omap->fifo_size) in omap_i2c_xfer_data() 1456 omap->fifo_size = 0x8 << s; in omap_i2c_probe() 1464 omap->fifo_size = (omap->fifo_size / 2); in omap_i2c_probe() 1471 omap->latency = (1000000 * omap->fifo_size) / in omap_i2c_probe()
|
/Linux-v5.4/drivers/media/pci/cx25821/ |
D | cx25821-core.c | 38 .fifo_size = (VID_CLUSTER_SIZE << 2), 60 .fifo_size = (VID_CLUSTER_SIZE << 2), 82 .fifo_size = (VID_CLUSTER_SIZE << 2), 104 .fifo_size = (VID_CLUSTER_SIZE << 2), 126 .fifo_size = (VID_CLUSTER_SIZE << 2), 148 .fifo_size = (VID_CLUSTER_SIZE << 2), 170 .fifo_size = (VID_CLUSTER_SIZE << 2), 192 .fifo_size = (VID_CLUSTER_SIZE << 2), 213 .fifo_size = AUDIO_CLUSTER_SIZE * 3, 227 .fifo_size = (VID_CLUSTER_SIZE << 2), [all …]
|
/Linux-v5.4/drivers/media/pci/cx88/ |
D | cx88-core.c | 247 .fifo_size = 0x002800, 259 .fifo_size = 0x000800, 271 .fifo_size = 0x000800, 283 .fifo_size = 0x001000, 295 .fifo_size = 0x001000, 307 .fifo_size = 0x001000, /* same as audio IN */ 319 .fifo_size = 0x001000, 331 .fifo_size = 0x000C00, 349 lines = ch->fifo_size / bpl; in cx88_sram_channel_setup() 462 ch->fifo_start, ch->fifo_start + ch->fifo_size); in cx88_sram_channel_dump() [all …]
|
/Linux-v5.4/drivers/gpu/drm/mediatek/ |
D | mtk_disp_rdma.c | 47 #define RDMA_FIFO_SIZE(rdma) ((rdma)->data->fifo_size) 53 unsigned int fifo_size; member 324 .fifo_size = SZ_4K, 328 .fifo_size = SZ_8K,
|
/Linux-v5.4/drivers/media/pci/cx23885/ |
D | cx23885-core.c | 92 .fifo_size = 0x2800, 104 .fifo_size = 0x0, 116 .fifo_size = 0x1000, 128 .fifo_size = 0x0, 140 .fifo_size = 0x0, 152 .fifo_size = 0x1000, 164 .fifo_size = 0x1000, 176 .fifo_size = 0x0, 188 .fifo_size = 0x0, 203 .fifo_size = 0x2800, [all …]
|
/Linux-v5.4/sound/soc/stm/ |
D | stm32_sai.c | 24 .fifo_size = 8, 35 .fifo_size = 8, 218 sai->conf.fifo_size = FIELD_GET(SAI_HWCFGR_FIFO_SIZE, val); in stm32_sai_probe()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 242 unsigned int fifo_size, burst_size, graphics_lwm; in nv20_update_arb() local 244 fifo_size = 2048; in nv20_update_arb() 246 graphics_lwm = fifo_size - burst_size; in nv20_update_arb()
|
/Linux-v5.4/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 117 .fifo_size = 1024, 124 .fifo_size = 512, 131 .fifo_size = 512, 138 .fifo_size = 1024, 145 .fifo_size = 1024, 152 .fifo_size = 512, 159 .fifo_size = 512, 166 .fifo_size = 512, 173 .fifo_size = 1008,
|
/Linux-v5.4/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-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ldu.c | 550 size_t fifo_size; in vmw_kms_ldu_do_bo_dirty() local 558 fifo_size = sizeof(*cmd) * num_clips; in vmw_kms_ldu_do_bo_dirty() 559 cmd = VMW_FIFO_RESERVE(dev_priv, fifo_size); in vmw_kms_ldu_do_bo_dirty() 563 memset(cmd, 0, fifo_size); in vmw_kms_ldu_do_bo_dirty() 572 vmw_fifo_commit(dev_priv, fifo_size); in vmw_kms_ldu_do_bo_dirty()
|
D | vmwgfx_scrn.c | 123 size_t fifo_size; in vmw_sou_fifo_create() local 134 fifo_size = sizeof(*cmd); in vmw_sou_fifo_create() 135 cmd = VMW_FIFO_RESERVE(dev_priv, fifo_size); in vmw_sou_fifo_create() 139 memset(cmd, 0, fifo_size); in vmw_sou_fifo_create() 156 vmw_fifo_commit(dev_priv, fifo_size); in vmw_sou_fifo_create() 169 size_t fifo_size; in vmw_sou_fifo_destroy() local 183 fifo_size = sizeof(*cmd); in vmw_sou_fifo_destroy() 184 cmd = VMW_FIFO_RESERVE(dev_priv, fifo_size); in vmw_sou_fifo_destroy() 188 memset(cmd, 0, fifo_size); in vmw_sou_fifo_destroy() 192 vmw_fifo_commit(dev_priv, fifo_size); in vmw_sou_fifo_destroy()
|
D | vmwgfx_overlay.c | 100 size_t fifo_size; in vmw_overlay_send_put() local 123 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put() 125 cmds = VMW_FIFO_RESERVE(dev_priv, fifo_size); in vmw_overlay_send_put() 172 vmw_fifo_commit(dev_priv, fifo_size); in vmw_overlay_send_put()
|
/Linux-v5.4/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-v5.4/sound/soc/mxs/ |
D | mxs-pcm.c | 31 .fifo_size = 32,
|
/Linux-v5.4/sound/soc/rockchip/ |
D | rockchip_pcm.c | 28 .fifo_size = 32,
|