| /drivers/i2c/busses/ |
| A D | i2c-cadence.c | 223 u32 fifo_depth; member 507 if (id->recv_count <= id->fifo_depth && in cdns_i2c_master_isr() 544 id->fifo_depth; in cdns_i2c_master_isr() 547 id->fifo_depth, in cdns_i2c_master_isr() 570 avail_bytes = id->fifo_depth - in cdns_i2c_master_isr() 692 if ((id->recv_count - id->fifo_depth) > in cdns_i2c_mrecv_atomic() 697 id->fifo_depth; in cdns_i2c_mrecv_atomic() 700 id->fifo_depth, in cdns_i2c_mrecv_atomic() 747 if (id->recv_count > id->fifo_depth) in cdns_i2c_mrecv() 860 if (id->send_count > id->fifo_depth) in cdns_i2c_msend() [all …]
|
| A D | i2c-exynos5.c | 220 unsigned int fifo_depth; member 225 .fifo_depth = 64, 230 .fifo_depth = 16, 235 .fifo_depth = 16, 240 .fifo_depth = 64, 245 .fifo_depth = 64, 590 len = i2c->variant->fifo_depth - fifo_level; in exynos5_i2c_irq() 731 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start() 732 (i2c->variant->fifo_depth * 3 / 4) : i2c->msg->len; in exynos5_i2c_message_start() 740 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start() [all …]
|
| /drivers/net/can/spi/mcp251xfd/ |
| A D | mcp251xfd-ram.c | 17 max = min_t(u8, obj->max, obj->fifo_num * config->fifo_depth); in can_ram_clamp() 38 ret = min_t(u8, coalesce * 2, config->fifo_depth); in can_ram_rounddown_pow_of_two() 47 config->fifo_depth); in can_ram_rounddown_pow_of_two() 119 max = min_t(u8, num_rx / 2, config->fifo_depth); in can_ram_get_layout() 142 max = min_t(u8, num_tx / 2, config->fifo_depth); in can_ram_get_layout()
|
| A D | mcp251xfd-ram.h | 39 u8 fifo_depth; member
|
| A D | mcp251xfd-ring.c | 467 .fifo_depth = MCP251XFD_FIFO_DEPTH,
|
| /drivers/spi/ |
| A D | spi-sun6i.c | 94 unsigned long fifo_depth; member 171 cnt = sspi->cfg->fifo_depth - sun6i_spi_get_tx_fifo_count(sspi); in sun6i_spi_fill_fifo() 315 trig_level = sspi->cfg->fifo_depth / 4 * 3; in sun6i_spi_transfer_one() 322 trig_level = sspi->cfg->fifo_depth / 2; in sun6i_spi_transfer_one() 478 if (rx_len > sspi->cfg->fifo_depth) in sun6i_spi_transfer_one() 480 if (tx_len > sspi->cfg->fifo_depth) in sun6i_spi_transfer_one() 626 return xfer->len > sspi->cfg->fifo_depth; in sun6i_spi_can_dma() 781 .fifo_depth = SUN6I_FIFO_DEPTH, 786 .fifo_depth = SUN8I_FIFO_DEPTH, 791 .fifo_depth = SUN8I_FIFO_DEPTH,
|
| A D | spi-s3c64xx.c | 167 unsigned int fifo_depth; member 224 unsigned int fifo_depth; member 559 u32 max_fifo = sdd->fifo_depth; in s3c64xx_spi_wait_for_timeout() 666 loops = xfer->len / sdd->fifo_depth; in s3c64xx_wait_for_pio() 1286 if (sdd->port_conf->fifo_depth) in s3c64xx_spi_probe() 1287 sdd->fifo_depth = sdd->port_conf->fifo_depth; in s3c64xx_spi_probe() 1289 &sdd->fifo_depth)) in s3c64xx_spi_probe() 1290 sdd->fifo_depth = FIFO_DEPTH(sdd); in s3c64xx_spi_probe() 1383 mem_res, sdd->fifo_depth); in s3c64xx_spi_probe() 1577 .fifo_depth = 64, [all …]
|
| A D | spi-sifive.c | 94 unsigned int fifo_depth; /* fifo depth in words */ member 205 return 1600000 * spi->fifo_depth <= t->speed_hz * mode; in sifive_spi_prep_transfer() 265 unsigned int n_words = min(remaining_words, spi->fifo_depth); in sifive_spi_transfer_one() 331 &spi->fifo_depth); in sifive_spi_probe() 333 spi->fifo_depth = SIFIVE_SPI_DEFAULT_DEPTH; in sifive_spi_probe()
|
| A D | spi-cadence-quadspi.c | 94 u32 fifo_depth; member 1560 cqspi->fifo_depth = 0; in cqspi_of_get_pdata() 1604 writel(cqspi->fifo_depth * cqspi->fifo_width / 2, in cqspi_controller_init() 1607 writel(cqspi->fifo_depth * cqspi->fifo_width / 8, in cqspi_controller_init() 1628 u32 reg, fifo_depth; in cqspi_controller_detect_fifo_depth() local 1636 fifo_depth = reg + 1; in cqspi_controller_detect_fifo_depth() 1639 if (cqspi->fifo_depth == 0) { in cqspi_controller_detect_fifo_depth() 1640 cqspi->fifo_depth = fifo_depth; in cqspi_controller_detect_fifo_depth() 1641 dev_dbg(dev, "using FIFO depth of %u\n", fifo_depth); in cqspi_controller_detect_fifo_depth() 1642 } else if (fifo_depth != cqspi->fifo_depth) { in cqspi_controller_detect_fifo_depth() [all …]
|
| A D | spi-omap2-mcspi.c | 131 int fifo_depth; member 346 mcspi->fifo_depth = max_fifo_depth; in omap2_mcspi_set_fifo() 359 mcspi->fifo_depth = 0; in omap2_mcspi_set_fifo() 472 if (mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma() 492 if ((l & OMAP2_MCSPI_CHCONF_TURBO) && mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma() 541 if (mcspi->fifo_depth > 0) in omap2_mcspi_rx_dma() 667 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma() 681 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma() 1236 if (mcspi->fifo_depth > 0) in omap2_mcspi_transfer_one() 1251 if (mcspi->fifo_depth > 0 && t) in omap2_mcspi_transfer_one()
|
| /drivers/parport/ |
| A D | parport_ip32.c | 254 unsigned int fifo_depth; member 1286 count = priv->fifo_depth; in parport_ip32_fwp_wait_polling() 1353 count = priv->fifo_depth; in parport_ip32_fwp_wait_interrupt() 1887 priv->fifo_depth = 0; in parport_ip32_fifo_supported() 1891 priv->fifo_depth = i; in parport_ip32_fifo_supported() 1900 if (!priv->fifo_depth) { in parport_ip32_fifo_supported() 1904 pr_probe(p, "FIFO is %u PWords deep\n", priv->fifo_depth); in parport_ip32_fifo_supported() 1912 for (i = 0; i < priv->fifo_depth; i++) { in parport_ip32_fifo_supported() 1921 if (i + 1 < priv->fifo_depth in parport_ip32_fifo_supported() 1952 for (i = 0; i < priv->fifo_depth; i++) { in parport_ip32_fifo_supported() [all …]
|
| A D | parport_pc.c | 493 const int fifo_depth = priv->fifo_depth; in parport_pc_fifo_write_block_pio() local 556 const int n = left < fifo_depth ? left : fifo_depth; in parport_pc_fifo_write_block_pio() 754 expire = jiffies + (priv->fifo_depth * HZ * 4); in parport_pc_compat_write_block_pio() 769 for (written -= priv->fifo_depth; ; written++) { in parport_pc_compat_write_block_pio() 849 expire = jiffies + (priv->fifo_depth * (HZ * 4)); in parport_pc_ecp_write_block_pio() 1610 priv->fifo_depth = i; in parport_ECP_supported() 1617 for (i = 1; i <= priv->fifo_depth; i++) { in parport_ECP_supported() 1624 if (i <= priv->fifo_depth) { in parport_ECP_supported() 1641 for (i = 1; i <= priv->fifo_depth; i++) { in parport_ECP_supported() 1647 if (i <= priv->fifo_depth) { in parport_ECP_supported() [all …]
|
| /drivers/gpu/drm/vc4/ |
| A D | vc4_crtc.c | 248 u32 fifo_len_bytes = pv_data->fifo_depth; in vc4_get_fifo_full_level() 1199 .fifo_depth = 64, 1214 .fifo_depth = 64, 1229 .fifo_depth = 64, 1244 .fifo_depth = 64, 1259 .fifo_depth = 64, 1274 .fifo_depth = 256, 1288 .fifo_depth = 64, 1302 .fifo_depth = 64, 1315 .fifo_depth = 64, [all …]
|
| A D | vc4_drv.h | 535 unsigned int fifo_depth; member
|
| /drivers/mmc/host/ |
| A D | dw_mmc-pci.c | 31 .fifo_depth = 32,
|
| A D | dw_mmc.c | 1002 tx_wmark = (host->fifo_depth) / 2; in dw_mci_adjust_fifoth() 1003 tx_wmark_invers = host->fifo_depth - tx_wmark; in dw_mci_adjust_fifoth() 1032 u32 blksz_depth, fifo_depth; in dw_mci_ctrl_thld() local 1063 fifo_depth = host->fifo_depth; in dw_mci_ctrl_thld() 1065 if (blksz_depth > fifo_depth) in dw_mci_ctrl_thld() 2744 unsigned int fifo_depth = host->fifo_depth; in dw_mci_write_data_pio() local 2757 fcnt = ((fifo_depth - in dw_mci_write_data_pio() 3313 if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth)) in dw_mci_parse_dt() 3501 if (!host->pdata->fifo_depth) { in dw_mci_probe() 3511 fifo_size = host->pdata->fifo_depth; in dw_mci_probe() [all …]
|
| A D | dw_mmc.h | 218 int fifo_depth; member 272 unsigned int fifo_depth; member
|
| /drivers/video/fbdev/aty/ |
| A D | aty128fb.c | 409 u32 fifo_depth; member 990 par->constants.fifo_depth = 32; in aty128_timings() 1430 u32 fifo_depth = par->constants.fifo_depth; in aty128_ddafifo() local 1462 roff = x * (fifo_depth - 4); in aty128_ddafifo()
|
| /drivers/usb/gadget/udc/ |
| A D | amd5536udc.h | 524 fifo_depth : 14, member
|
| A D | snps_udc_core.c | 1446 dev->ep[UDC_EPIN_STATUS_IX].fifo_depth = UDC_EPIN_SMALLINT_BUFF_SIZE; in make_ep_lists() 1448 dev->ep[UDC_EPIN_IX].fifo_depth = UDC_FS_EPIN_BUFF_SIZE; in make_ep_lists() 1450 dev->ep[UDC_EPIN_IX].fifo_depth = hs_tx_buf; in make_ep_lists() 1451 dev->ep[UDC_EPOUT_IX].fifo_depth = UDC_RXFIFO_SIZE; in make_ep_lists() 1549 ep->fifo_depth = UDC_TXFIFO_SIZE; in udc_setup_endpoints() 1552 ep->fifo_depth = UDC_RXFIFO_SIZE; in udc_setup_endpoints()
|
| /drivers/gpu/drm/sprd/ |
| A D | sprd_dsi.c | 584 const u32 fifo_depth = 1096; in sprd_dsi_edpi_video() local 593 max_fifo_len = word_length * fifo_depth * 100 / bpp_x100; in sprd_dsi_edpi_video()
|
| /drivers/usb/dwc3/ |
| A D | gadget.c | 741 int fifo_depth; in dwc3_gadget_clear_tx_fifos() local 752 fifo_depth = DWC3_GTXFIFOSIZ_TXFDEP(size); in dwc3_gadget_clear_tx_fifos() 754 fifo_depth = DWC31_GTXFIFOSIZ_TXFDEP(size); in dwc3_gadget_clear_tx_fifos() 756 dwc->last_fifo_depth = fifo_depth; in dwc3_gadget_clear_tx_fifos()
|
| /drivers/block/ |
| A D | floppy.c | 1246 static int fifo_depth = 0xa; variable 1256 output_byte(fdc, 0x10 | (no_fifo & 0x20) | (fifo_depth & 0xf)); in fdc_configure() 4399 {"fifo_depth", NULL, &fifo_depth, 0xa, 0},
|