Home
last modified time | relevance | path

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

12345

/drivers/memory/tegra/
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 …]
/drivers/media/rc/
Dsunxi-cir.c61 #define REG_RXSTA_GET_AC(val) (((val) >> 8) & (ir->fifo_size * 2 - 1))
85 int fifo_size; member
92 int fifo_size; member
116 rc = rc > ir->fifo_size ? ir->fifo_size : rc; in sunxi_ir_irq()
211 REG_RXINT_RAI_EN | REG_RXINT_RAL(ir->fifo_size / 2 - 1), in sunxi_ir_hw_init()
271 ir->fifo_size = quirks->fifo_size; in sunxi_ir_probe()
384 .fifo_size = 16,
389 .fifo_size = 64,
394 .fifo_size = 64,
/drivers/gpu/drm/mediatek/
Dmtk_disp_rdma.c52 #define RDMA_FIFO_SIZE(rdma) ((rdma)->data->fifo_size)
58 unsigned int fifo_size; member
72 u32 fifo_size; member
168 if (rdma->fifo_size) in mtk_rdma_config()
169 rdma_fifo_size = rdma->fifo_size; in mtk_rdma_config()
319 &priv->fifo_size); in mtk_disp_rdma_probe()
362 .fifo_size = SZ_4K,
366 .fifo_size = SZ_8K,
370 .fifo_size = 5 * SZ_1K,
374 .fifo_size = 1920,
/drivers/tty/serial/
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()
827 int fifo_size; in handle_tx() local
838 fifo_size = max(priv->fifo_size, 1); in handle_tx()
845 fifo_size--; in handle_tx()
848 while (!uart_tx_stopped(port) && !uart_circ_empty(xmit) && fifo_size) { in handle_tx()
[all …]
/drivers/usb/gadget/udc/
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 …]
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()
2051 .fifo_size = BULK_FIFO_SIZE,
2066 .fifo_size = BULK_FIFO_SIZE,
2083 .fifo_size = ISO_FIFO_SIZE,
2098 .fifo_size = ISO_FIFO_SIZE,
2113 .fifo_size = INT_FIFO_SIZE,
2130 .fifo_size = BULK_FIFO_SIZE,
2145 .fifo_size = BULK_FIFO_SIZE,
2161 .fifo_size = ISO_FIFO_SIZE,
[all …]
/drivers/spi/
Dspi-fsl-dspi.c122 int fifo_size; member
142 .fifo_size = 4,
148 .fifo_size = 4,
154 .fifo_size = 16,
159 .fifo_size = 4,
165 .fifo_size = 16,
171 .fifo_size = 16,
176 .fifo_size = 4,
181 .fifo_size = 4,
186 .fifo_size = 4,
[all …]
Dspi-bcm63xx.c142 unsigned int fifo_size; member
356 total_len > (bs->fifo_size + BCM63XX_SPI_MAX_PREPEND)) || in bcm63xx_spi_transfer_one()
357 (!can_use_prepend && total_len > bs->fifo_size)) { in bcm63xx_spi_transfer_one()
359 total_len, bs->fifo_size); in bcm63xx_spi_transfer_one()
428 return bs->fifo_size; in bcm63xx_spi_max_length()
560 bs->fifo_size = bs->reg_offsets[SPI_MSG_DATA_SIZE]; in bcm63xx_spi_probe()
606 r, irq, bs->fifo_size); in bcm63xx_spi_probe()
Dspi-imx.c83 unsigned int fifo_size; member
248 if (transfer->len < spi_imx->devtype_data->fifo_size) in spi_imx_can_dma()
984 .fifo_size = 8,
998 .fifo_size = 8,
1013 .fifo_size = 8,
1027 .fifo_size = 8,
1042 .fifo_size = 8,
1058 .fifo_size = 64,
1074 .fifo_size = 64,
1089 .fifo_size = 64,
[all …]
/drivers/tty/serial/8250/
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 …]
/drivers/rpmsg/
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 …]
/drivers/i2c/busses/
Di2c-npcm7xx.c267 u8 fifo_size; member
275 .fifo_size = 16,
283 .fifo_size = 32,
775 size_free_fifo = bus->data->fifo_size - npcm_i2c_fifo_usage(bus); in npcm_i2c_write_to_fifo_master()
781 size_free_fifo = bus->data->fifo_size - npcm_i2c_fifo_usage(bus); in npcm_i2c_write_to_fifo_master()
802 rxf_ctl = min_t(int, nread, bus->data->fifo_size); in npcm_i2c_set_fifo()
805 if (nread <= bus->data->fifo_size) in npcm_i2c_set_fifo()
824 if (nwrite > bus->data->fifo_size) in npcm_i2c_set_fifo()
826 iowrite8(bus->data->fifo_size, bus->reg + NPCM_I2CTXF_CTL); in npcm_i2c_set_fifo()
893 while (max_bytes-- && bus->data->fifo_size != npcm_i2c_fifo_usage(bus)) { in npcm_i2c_write_fifo_slave()
[all …]
Di2c-at91-master.c39 if (dev->fifo_size) in at91_init_twi_bus_master()
217 if (dev->fifo_size) { in at91_twi_write_data_dma()
354 if (dev->fifo_size && IS_ALIGNED(buf_len, 4)) { in at91_twi_read_data_dma()
535 if (dev->fifo_size) { in at91_do_twi_transfer()
615 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer()
635 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer()
769 if (dev->fifo_size) in at91_twi_configure_dma()
900 &dev->fifo_size)) { in at91_twi_probe_master()
901 dev_info(dev->dev, "Using FIFO (%u data)\n", dev->fifo_size); in at91_twi_probe_master()
Di2c-omap.c197 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()
1451 omap->fifo_size = 0x8 << s; in omap_i2c_probe()
1459 omap->fifo_size = (omap->fifo_size / 2); in omap_i2c_probe()
1466 omap->latency = (1000000 * omap->fifo_size) / in omap_i2c_probe()
/drivers/media/pci/cx25821/
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 …]
/drivers/media/pci/cx88/
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 …]
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c144 .fifo_size = 1024,
153 .fifo_size = 512,
162 .fifo_size = 512,
171 .fifo_size = 4096,
180 .fifo_size = 1024,
189 .fifo_size = 1024,
198 .fifo_size = 512,
207 .fifo_size = 512,
216 .fifo_size = 512,
225 .fifo_size = 512,
[all …]
/drivers/media/pci/cx23885/
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 …]
/drivers/gpu/drm/i915/
Dintel_pm.c552 .fifo_size = PINEVIEW_DISPLAY_FIFO,
560 .fifo_size = PINEVIEW_DISPLAY_FIFO,
568 .fifo_size = PINEVIEW_CURSOR_FIFO,
576 .fifo_size = PINEVIEW_CURSOR_FIFO,
584 .fifo_size = I965_CURSOR_FIFO,
592 .fifo_size = I945_FIFO_SIZE,
600 .fifo_size = I915_FIFO_SIZE,
608 .fifo_size = I855GM_FIFO_SIZE,
616 .fifo_size = I855GM_FIFO_SIZE,
624 .fifo_size = I830_FIFO_SIZE,
[all …]
/drivers/comedi/drivers/
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 …]
/drivers/gpu/drm/nouveau/dispnv04/
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()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c574 size_t fifo_size; in vmw_kms_ldu_do_bo_dirty() local
582 fifo_size = sizeof(*cmd) * num_clips; in vmw_kms_ldu_do_bo_dirty()
583 cmd = VMW_CMD_RESERVE(dev_priv, fifo_size); in vmw_kms_ldu_do_bo_dirty()
587 memset(cmd, 0, fifo_size); in vmw_kms_ldu_do_bo_dirty()
596 vmw_cmd_commit(dev_priv, fifo_size); in vmw_kms_ldu_do_bo_dirty()
Dvmwgfx_scrn.c121 size_t fifo_size; in vmw_sou_fifo_create() local
132 fifo_size = sizeof(*cmd); in vmw_sou_fifo_create()
133 cmd = VMW_CMD_RESERVE(dev_priv, fifo_size); in vmw_sou_fifo_create()
137 memset(cmd, 0, fifo_size); in vmw_sou_fifo_create()
154 vmw_cmd_commit(dev_priv, fifo_size); in vmw_sou_fifo_create()
167 size_t fifo_size; in vmw_sou_fifo_destroy() local
181 fifo_size = sizeof(*cmd); in vmw_sou_fifo_destroy()
182 cmd = VMW_CMD_RESERVE(dev_priv, fifo_size); in vmw_sou_fifo_destroy()
186 memset(cmd, 0, fifo_size); in vmw_sou_fifo_destroy()
190 vmw_cmd_commit(dev_priv, fifo_size); in vmw_sou_fifo_destroy()
/drivers/video/fbdev/aty/
Dmach64_ct.c158 tmp = ((multiplier * pll->fifo_size) << vshift) / divider; in aty_dsp_gt()
171 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider - in aty_dsp_gt()
444 pll->ct.fifo_size = 32; in aty_init_pll_ct()
446 pll->ct.fifo_size = 24; in aty_init_pll_ct()
506 pll->ct.fifo_size = 32; in aty_init_pll_ct()
508 pll->ct.fifo_size = 24; in aty_init_pll_ct()
/drivers/usb/dwc3/
Dgadget.c699 int fifo_size; in dwc3_gadget_calc_tx_fifo_size() local
708 fifo_size = mult * (max_packet / mdwidth) + 1; in dwc3_gadget_calc_tx_fifo_size()
710 fifo_size = mult * ((max_packet + mdwidth) / mdwidth) + 1; in dwc3_gadget_calc_tx_fifo_size()
711 return fifo_size; in dwc3_gadget_calc_tx_fifo_size()
781 int fifo_size; in dwc3_gadget_resize_tx_fifos() local
828 fifo_size = (num_fifos - 1) * fifo; in dwc3_gadget_resize_tx_fifos()
829 if (remaining < fifo_size) in dwc3_gadget_resize_tx_fifos()
830 fifo_size = remaining; in dwc3_gadget_resize_tx_fifos()
832 fifo_size += fifo; in dwc3_gadget_resize_tx_fifos()
834 fifo_size++; in dwc3_gadget_resize_tx_fifos()
[all …]

12345