Home
last modified time | relevance | path

Searched refs:fifo_size (Results 1 – 25 of 246) sorted by relevance

12345678910

/openbmc/linux/drivers/memory/tegra/
H A Dtegra30.c48 .fifo_size = 16 * 2,
65 .fifo_size = 16 * 128,
82 .fifo_size = 16 * 128,
99 .fifo_size = 16 * 64,
116 .fifo_size = 16 * 64,
133 .fifo_size = 16 * 128,
150 .fifo_size = 16 * 128,
167 .fifo_size = 16 * 64,
184 .fifo_size = 16 * 64,
201 .fifo_size = 16 * 8,
[all …]
/openbmc/linux/drivers/media/rc/
H A Dsunxi-cir.c62 #define REG_RXSTA_GET_AC(val) (((val) >> 8) & (ir->fifo_size * 2 - 1))
86 int fifo_size; member
93 int fifo_size; member
117 rc = rc > ir->fifo_size ? ir->fifo_size : rc; in sunxi_ir_irq()
212 REG_RXINT_RAI_EN | REG_RXINT_RAL(ir->fifo_size / 2 - 1), in sunxi_ir_hw_init()
272 ir->fifo_size = quirks->fifo_size; in sunxi_ir_probe()
383 .fifo_size = 16,
388 .fifo_size = 64,
393 .fifo_size = 64,
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_disp_rdma.c52 #define RDMA_FIFO_SIZE(rdma) ((rdma)->data->fifo_size)
72 unsigned int fifo_size; member
88 u32 fifo_size; member
198 if (rdma->fifo_size) in mtk_rdma_config()
199 rdma_fifo_size = rdma->fifo_size; in mtk_rdma_config()
349 &priv->fifo_size); in mtk_disp_rdma_probe()
390 .fifo_size = SZ_4K,
396 .fifo_size = SZ_8K,
402 .fifo_size = 5 * SZ_1K,
408 .fifo_size = 1920,
/openbmc/linux/drivers/tty/serial/
H A Dpch_uart.c212 int fifo_size; member
494 unsigned int fifo_size, unsigned int trigger) in pch_uart_hal_set_fifo() argument
504 if (fifo_size & ~(PCH_UART_FCR_FIFOE | PCH_UART_FCR_FIFO256)) { in pch_uart_hal_set_fifo()
506 __func__, fifo_size); in pch_uart_hal_set_fifo()
516 switch (priv->fifo_size) { in pch_uart_hal_set_fifo()
535 dmamode | fifo_size | trigger | PCH_UART_FCR_RFR | PCH_UART_FCR_TFR; in pch_uart_hal_set_fifo()
824 int fifo_size; in handle_tx() local
835 fifo_size = max(priv->fifo_size, 1); in handle_tx()
842 fifo_size--; in handle_tx()
845 while (!uart_tx_stopped(port) && !uart_circ_empty(xmit) && fifo_size) { in handle_tx()
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c282 { .hw_ep_num = 0, .fifo_size = 64, .nr_banks = 1, },
283 { .hw_ep_num = 1, .fifo_size = 1024, .nr_banks = 2, },
284 { .hw_ep_num = 2, .fifo_size = 1024, .nr_banks = 1, },
285 { .hw_ep_num = 3, .fifo_size = 1024, .nr_banks = 1, },
286 { .hw_ep_num = 4, .fifo_size = 1024, .nr_banks = 1, },
287 { .hw_ep_num = 5, .fifo_size = 1024, .nr_banks = 1, },
288 { .hw_ep_num = 6, .fifo_size = 1024, .nr_banks = 1, },
293 { .hw_ep_num = 0, .fifo_size = 64, .nr_banks = 1, },
294 { .hw_ep_num = 1, .fifo_size = 1024, .nr_banks = 3, },
295 { .hw_ep_num = 2, .fifo_size = 1024, .nr_banks = 2, },
[all …]
H A Dpxa25x_udc.c428 || ep->fifo_size < usb_endpoint_maxp (desc)) { in pxa25x_ep_enable()
613 is_short = unlikely (max < ep->fifo_size); in write_fifo()
2017 .fifo_size = BULK_FIFO_SIZE,
2032 .fifo_size = BULK_FIFO_SIZE,
2049 .fifo_size = ISO_FIFO_SIZE,
2064 .fifo_size = ISO_FIFO_SIZE,
2079 .fifo_size = INT_FIFO_SIZE,
2096 .fifo_size = BULK_FIFO_SIZE,
2111 .fifo_size = BULK_FIFO_SIZE,
2127 .fifo_size = ISO_FIFO_SIZE,
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_port.c60 .fifo_size = 1,
65 .fifo_size = 1,
70 .fifo_size = 1,
75 .fifo_size = 1,
80 .fifo_size = 16,
88 .fifo_size = 1,
93 .fifo_size = 1,
99 .fifo_size = 32,
108 .fifo_size = 64,
117 .fifo_size = 1,
[all …]
/openbmc/linux/drivers/rpmsg/
H A Dqcom_smd.c218 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 …]
/openbmc/linux/drivers/spi/
H A Dspi-fsl-dspi.c123 int fifo_size; member
143 .fifo_size = 4,
149 .fifo_size = 4,
155 .fifo_size = 16,
160 .fifo_size = 4,
166 .fifo_size = 16,
172 .fifo_size = 16,
177 .fifo_size = 4,
182 .fifo_size = 4,
187 .fifo_size = 4,
[all …]
H A Dspi-bcm63xx.c142 unsigned int fifo_size; member
346 total_len > (bs->fifo_size + BCM63XX_SPI_MAX_PREPEND)) || in bcm63xx_spi_transfer_one()
347 (!can_use_prepend && total_len > bs->fifo_size)) { in bcm63xx_spi_transfer_one()
349 total_len, bs->fifo_size); in bcm63xx_spi_transfer_one()
418 return bs->fifo_size; in bcm63xx_spi_max_length()
551 bs->fifo_size = bs->reg_offsets[SPI_MSG_DATA_SIZE]; in bcm63xx_spi_probe()
599 r, irq, bs->fifo_size); in bcm63xx_spi_probe()
/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821-core.c38 .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 …]
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-core.c249 .fifo_size = 0x002800,
261 .fifo_size = 0x000800,
273 .fifo_size = 0x000800,
285 .fifo_size = 0x001000,
297 .fifo_size = 0x001000,
309 .fifo_size = 0x001000, /* same as audio IN */
321 .fifo_size = 0x001000,
333 .fifo_size = 0x000C00,
351 lines = ch->fifo_size / bpl; in cx88_sram_channel_setup()
464 ch->fifo_start, ch->fifo_start + ch->fifo_size); in cx88_sram_channel_dump()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-npcm7xx.c526 u8 fifo_size; member
534 .fifo_size = 16,
542 .fifo_size = 32,
1035 size_free_fifo = bus->data->fifo_size - npcm_i2c_fifo_usage(bus); in npcm_i2c_write_to_fifo_master()
1041 size_free_fifo = bus->data->fifo_size - npcm_i2c_fifo_usage(bus); in npcm_i2c_write_to_fifo_master()
1062 rxf_ctl = min_t(int, nread, bus->data->fifo_size); in npcm_i2c_set_fifo()
1065 if (nread <= bus->data->fifo_size) in npcm_i2c_set_fifo()
1084 if (nwrite > bus->data->fifo_size) in npcm_i2c_set_fifo()
1086 iowrite8(bus->data->fifo_size, bus->reg + NPCM_I2CTXF_CTL); in npcm_i2c_set_fifo()
1153 while (max_bytes-- && bus->data->fifo_size != npcm_i2c_fifo_usage(bus)) { in npcm_i2c_write_fifo_slave()
[all …]
H A Di2c-at91-master.c38 if (dev->fifo_size) in at91_init_twi_bus_master()
216 if (dev->fifo_size) { in at91_twi_write_data_dma()
353 if (dev->fifo_size && IS_ALIGNED(buf_len, 4)) { in at91_twi_read_data_dma()
534 if (dev->fifo_size) { in at91_do_twi_transfer()
614 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer()
634 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer()
768 if (dev->fifo_size) in at91_twi_configure_dma()
903 &dev->fifo_size)) { in at91_twi_probe_master()
904 dev_info(dev->dev, "Using FIFO (%u data)\n", dev->fifo_size); in at91_twi_probe_master()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Di9xx_wm.c351 .fifo_size = PINEVIEW_DISPLAY_FIFO,
359 .fifo_size = PINEVIEW_DISPLAY_FIFO,
367 .fifo_size = PINEVIEW_CURSOR_FIFO,
375 .fifo_size = PINEVIEW_CURSOR_FIFO,
383 .fifo_size = I965_CURSOR_FIFO,
391 .fifo_size = I945_FIFO_SIZE,
399 .fifo_size = I915_FIFO_SIZE,
407 .fifo_size = I855GM_FIFO_SIZE,
415 .fifo_size = I855GM_FIFO_SIZE,
423 .fifo_size = I830_FIFO_SIZE,
[all …]
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_core.c147 .fifo_size = 1024,
156 .fifo_size = 512,
165 .fifo_size = 512,
174 .fifo_size = 4096,
183 .fifo_size = 1024,
192 .fifo_size = 1024,
201 .fifo_size = 512,
210 .fifo_size = 512,
219 .fifo_size = 512,
228 .fifo_size = 512,
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dpxa25x_udc.c303 || ep->fifo_size < in pxa25x_ep_enable()
492 is_short = unlikely(max < ep->fifo_size); in write_fifo()
1658 .fifo_size = BULK_FIFO_SIZE,
1671 .fifo_size = BULK_FIFO_SIZE,
1686 .fifo_size = ISO_FIFO_SIZE,
1699 .fifo_size = ISO_FIFO_SIZE,
1713 .fifo_size = INT_FIFO_SIZE,
1728 .fifo_size = BULK_FIFO_SIZE,
1741 .fifo_size = BULK_FIFO_SIZE,
1755 .fifo_size = ISO_FIFO_SIZE,
[all …]
/openbmc/linux/drivers/media/pci/cx23885/
H A Dcx23885-core.c92 .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 …]
/openbmc/u-boot/drivers/mmc/
H A Ddw_mmc.c501 uint32_t fifo_size; local
503 fifo_size = dwmci_readl(host, DWMCI_FIFOTH);
504 fifo_size = ((fifo_size & RX_WMARK_MASK) >> RX_WMARK_SHIFT) + 1;
505 host->fifoth_val = MSIZE(0x2) | RX_WMARK(fifo_size / 2 - 1) |
506 TX_WMARK(fifo_size / 2);
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Darb.c241 unsigned int fifo_size, burst_size, graphics_lwm; in nv20_update_arb() local
243 fifo_size = 2048; in nv20_update_arb()
245 graphics_lwm = fifo_size - burst_size; in nv20_update_arb()
/openbmc/u-boot/drivers/spi/
H A Dexynos_spi.c35 unsigned int fifo_size; member
144 while (tx_lvl < priv->fifo_size/2 && out_bytes) { in spi_rx_tx()
286 priv->fifo_size = 64; in exynos_spi_probe()
288 priv->fifo_size = 256; in exynos_spi_probe()
/openbmc/linux/drivers/comedi/drivers/
H A Dcb_pcidas.c220 int fifo_size; /* number of samples fifo can hold */ member
235 .fifo_size = 512,
246 .fifo_size = 1024,
253 .fifo_size = 1024,
261 .fifo_size = 1024,
266 .fifo_size = 512,
275 .fifo_size = 1024,
280 .fifo_size = 1024,
287 .fifo_size = 1024,
1008 cb_pcidas_ao_load_fifo(dev, s, board->fifo_size); in cb_pcidas_ao_inttrig()
[all …]
/openbmc/linux/sound/soc/stm/
H A Dstm32_sai.c24 .fifo_size = 8,
35 .fifo_size = 8,
217 sai->conf.fifo_size = FIELD_GET(SAI_HWCFGR_FIFO_SIZE, val); in stm32_sai_probe()
/openbmc/qemu/hw/dma/
H A Dsoc_dma.c48 static int fifo_size; variable
51 if (ch->bytes > fifo_size) in transfer_fifo2fifo()
52 fifo_buf = g_realloc(fifo_buf, fifo_size = ch->bytes); in transfer_fifo2fifo()
254 fifo_size = 0; in soc_dma_init()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c122 size_t fifo_size; in vmw_sou_fifo_create() local
133 fifo_size = sizeof(*cmd); in vmw_sou_fifo_create()
134 cmd = VMW_CMD_RESERVE(dev_priv, fifo_size); in vmw_sou_fifo_create()
138 memset(cmd, 0, fifo_size); in vmw_sou_fifo_create()
155 vmw_cmd_commit(dev_priv, fifo_size); in vmw_sou_fifo_create()
168 size_t fifo_size; in vmw_sou_fifo_destroy() local
182 fifo_size = sizeof(*cmd); in vmw_sou_fifo_destroy()
183 cmd = VMW_CMD_RESERVE(dev_priv, fifo_size); in vmw_sou_fifo_destroy()
187 memset(cmd, 0, fifo_size); in vmw_sou_fifo_destroy()
191 vmw_cmd_commit(dev_priv, fifo_size); in vmw_sou_fifo_destroy()

12345678910