Searched refs:buf_array (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.c | 2487 static void dpaa2_switch_free_bufs(struct ethsw_core *ethsw, u64 *buf_array, int count) in dpaa2_switch_free_bufs() argument 2494 vaddr = dpaa2_iova_to_virt(ethsw->iommu_domain, buf_array[i]); in dpaa2_switch_free_bufs() 2495 dma_unmap_page(dev, buf_array[i], DPAA2_SWITCH_RX_BUF_SIZE, in dpaa2_switch_free_bufs() 2507 u64 buf_array[BUFS_PER_CMD]; in dpaa2_switch_add_bufs() local 2531 buf_array[i] = addr; in dpaa2_switch_add_bufs() 2539 buf_array, i)) == -EBUSY) { in dpaa2_switch_add_bufs() 2548 dpaa2_switch_free_bufs(ethsw, buf_array, i); in dpaa2_switch_add_bufs() 2608 u64 buf_array[BUFS_PER_CMD]; in dpaa2_switch_drain_bp() local 2613 buf_array, BUFS_PER_CMD); in dpaa2_switch_drain_bp() 2619 dpaa2_switch_free_bufs(ethsw, buf_array, ret); in dpaa2_switch_drain_bp()
|
D | dpaa2-eth.c | 281 static void dpaa2_eth_free_bufs(struct dpaa2_eth_priv *priv, u64 *buf_array, in dpaa2_eth_free_bufs() argument 289 vaddr = dpaa2_iova_to_virt(priv->iommu_domain, buf_array[i]); in dpaa2_eth_free_bufs() 290 dma_unmap_page(dev, buf_array[i], priv->rx_buf_size, in dpaa2_eth_free_bufs() 1637 u64 buf_array[DPAA2_ETH_BUFS_PER_CMD]; in dpaa2_eth_add_bufs() local 1660 buf_array[i] = addr; in dpaa2_eth_add_bufs() 1672 buf_array, i)) == -EBUSY) { in dpaa2_eth_add_bufs() 1682 dpaa2_eth_free_bufs(priv, buf_array, i); in dpaa2_eth_add_bufs() 1726 u64 buf_array[DPAA2_ETH_BUFS_PER_CMD]; in dpaa2_eth_drain_bufs() local 1732 buf_array, count); in dpaa2_eth_drain_bufs() 1740 dpaa2_eth_free_bufs(priv, buf_array, ret); in dpaa2_eth_drain_bufs()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_flex_type.h | 73 struct ice_buf buf_array[]; member
|
D | ice_flex_pipe.c | 170 return ice_pkg_val_buf(state->buf_table->buf_array); in ice_pkg_enum_buf() 174 return ice_pkg_val_buf(state->buf_table->buf_array + in ice_pkg_enum_buf() 1236 status = ice_dwnld_cfg_bufs(hw, ice_buf_tbl->buf_array, in ice_download_pkg()
|