/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | fw-dbg.c | 150 u32 fifo_len; in iwl_mvm_dump_fifos() local 167 fifo_len = mvm->shared_mem_cfg.rxfifo_size[i]; in iwl_mvm_dump_fifos() 170 if (fifo_len == 0) in iwl_mvm_dump_fifos() 175 (*dump_data)->len = cpu_to_le32(fifo_len + sizeof(*fifo_hdr)); in iwl_mvm_dump_fifos() 211 fifo_len /= sizeof(u32); /* Size in DWORDS */ in iwl_mvm_dump_fifos() 212 for (j = 0; j < fifo_len; j++) in iwl_mvm_dump_fifos() 226 fifo_len = mvm->shared_mem_cfg.txfifo_size[i]; in iwl_mvm_dump_fifos() 229 if (fifo_len == 0) in iwl_mvm_dump_fifos() 234 (*dump_data)->len = cpu_to_le32(fifo_len + sizeof(*fifo_hdr)); in iwl_mvm_dump_fifos() 261 fifo_len /= sizeof(u32); /* Size in DWORDS */ in iwl_mvm_dump_fifos() [all …]
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 119 int fifo_len, min_lwm, max_lwm; in nv10_calc_arb() local 130 fifo_len = arb->two_heads ? 1536 : 1024; /* B */ in nv10_calc_arb() 176 max_burst_o = (1 + fifo_len - extra_lat * drain_rate / (1000 * 1000)) in nv10_calc_arb() 189 max_lwm = fifo_len - fifo->burst in nv10_calc_arb()
|
/drivers/spi/ |
D | spi-dw.c | 157 tx_room = dws->fifo_len - dw_readl(dws, DW_SPI_TXFLR); in tx_max() 170 return min3(tx_left, tx_room, (u32) (dws->fifo_len - rxtx_gap)); in tx_max() 363 txlevel = min_t(u16, dws->fifo_len / 2, dws->len / dws->n_bytes); in dw_spi_transfer_one() 459 if (!dws->fifo_len) { in spi_hw_init() 469 dws->fifo_len = (fifo == 1) ? 0 : fifo; in spi_hw_init() 470 dev_dbg(dev, "Detected FIFO size: %u bytes\n", dws->fifo_len); in spi_hw_init()
|
D | spi-rockchip.c | 172 u32 fifo_len; member 251 tx_room = rs->fifo_len - readl_relaxed(rs->regs + ROCKCHIP_SPI_TXFLR); in tx_max() 570 writel_relaxed(rs->fifo_len / 2 - 1, rs->regs + ROCKCHIP_SPI_TXFTLR); in rockchip_spi_config() 571 writel_relaxed(rs->fifo_len / 2 - 1, rs->regs + ROCKCHIP_SPI_RXFTLR); in rockchip_spi_config() 662 return (xfer->len > rs->fifo_len); in rockchip_spi_can_dma() 726 rs->fifo_len = get_fifo_len(rs); in rockchip_spi_probe() 727 if (!rs->fifo_len) { in rockchip_spi_probe()
|
D | spi-dw.h | 109 u32 fifo_len; /* depth of the FIFO buffer */ member
|
D | spi-dw-mid.c | 123 return xfer->len > dws->fifo_len; in mid_spi_can_dma()
|
/drivers/media/rc/ |
D | nuvoton-cir.c | 180 int fifo_len, duration; in wakeup_data_show() local 187 fifo_len = nvt_cir_wake_reg_read(nvt, CIR_WAKE_FIFO_COUNT); in wakeup_data_show() 188 fifo_len = min(fifo_len, WAKEUP_MAX_SIZE); in wakeup_data_show() 194 for (i = 0; i < fifo_len; i++) { in wakeup_data_show() 311 u8 i, fifo_len; in cir_wake_dump_regs() local 362 fifo_len = nvt_cir_wake_reg_read(nvt, CIR_WAKE_FIFO_COUNT); in cir_wake_dump_regs() 363 pr_info("%s: Dump CIR WAKE FIFO (len %d)\n", NVT_DRIVER_NAME, fifo_len); in cir_wake_dump_regs() 365 for (i = 0; i < fifo_len; i++) in cir_wake_dump_regs()
|
/drivers/staging/fwserial/ |
D | fwserial.h | 41 __be32 fifo_len; member 88 int fifo_len; member
|
D | fwserial.c | 1639 size_t fifo_len = port->rx_handler.length - 4; in fill_plug_params() local 1645 params->fifo_len = cpu_to_be32(fifo_len); in fill_plug_params() 1695 peer->fifo_len = be32_to_cpu(params->fifo_len); in fwserial_virt_plug_complete() 1700 port->max_payload = min(peer->max_payload, peer->fifo_len); in fwserial_virt_plug_complete()
|
/drivers/net/ethernet/neterion/ |
D | s2io.h | 379 u32 fifo_len; /* specifies len of FIFO up to 8192, ie no of TxDLs */ member 650 u32 fifo_len; member 655 u32 fifo_len; member
|
D | s2io.c | 591 size += tx_cfg->fifo_len; in init_shared_mem() 604 size = tx_cfg->fifo_len; in init_shared_mem() 622 int fifo_len = tx_cfg->fifo_len; in init_shared_mem() local 623 int list_holder_size = fifo_len * sizeof(struct list_info_hold); in init_shared_mem() 633 int page_num = TXD_MEM_PAGE_CNT(config->tx_cfg[i].fifo_len, in init_shared_mem() 639 fifo->tx_curr_put_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem() 641 fifo->tx_curr_get_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem() 680 if (l == tx_cfg->fifo_len) in init_shared_mem() 695 size = tx_cfg->fifo_len; in init_shared_mem() 907 page_num = TXD_MEM_PAGE_CNT(tx_cfg->fifo_len, lst_per_page); in free_shared_mem() [all …]
|
/drivers/crypto/ |
D | talitos.h | 137 unsigned int fifo_len; member
|
D | talitos.c | 303 priv->chan[ch].head = (priv->chan[ch].head + 1) & (priv->fifo_len - 1); in talitos_submit() 366 priv->chan[ch].tail = (tail + 1) & (priv->fifo_len - 1); in flush_channel() 468 iter = (iter + 1) & (priv->fifo_len - 1); in DEF_TALITOS2_DONE() 3300 priv->fifo_len = roundup_pow_of_two(priv->chfifo_len); in talitos_probe() 3311 priv->fifo_len, GFP_KERNEL); in talitos_probe()
|
/drivers/media/radio/ |
D | radio-si476x.c | 1117 size_t fifo_len; in si476x_radio_fops_read() local 1137 fifo_len = kfifo_len(&radio->core->rds_fifo); in si476x_radio_fops_read() 1140 min(fifo_len, count), in si476x_radio_fops_read()
|
/drivers/scsi/arm/ |
D | fas216.c | 1548 unsigned int fifo_len = fas216_readb(info, REG_CFIS) & CFIS_CF; in fas216_funcdone_intr() local 1558 if (fifo_len != 2) { in fas216_funcdone_intr() 1559 fas216_log(info, 0, "odd number of bytes in FIFO: %d", fifo_len); in fas216_funcdone_intr() 1577 info->scsi.msgin_fifo = fifo_len; in fas216_funcdone_intr()
|