Lines Matching defs:pool
64 #define MVNETA_PORT_POOL_BUFFER_SZ_REG(pool) (0x1700 + ((pool) << 2))
184 #define MVNETA_CAUSE_BMU_ALLOC_ERR_MASK(pool) (1 << (MVNETA_CAUSE_BMU_ALLOC_ERR_SHIFT + (pool)))
1038 /* Notify HW about port's assignment of pool for bigger packets */
1051 /* Notify HW about port's assignment of pool for smaller packets */
1064 /* Set port's receive buffer size for assigned BM pool */
1168 if (of_property_read_u32(dn, "bm,pool-long", &long_pool_id)) {
1169 netdev_info(pp->dev, "missing long pool id\n");
1173 /* Create port's long pool depending on mtu */
1178 netdev_info(pp->dev, "fail to obtain long pool for port\n");
1187 /* If short pool id is not defined, assume using single pool */
1188 if (of_property_read_u32(dn, "bm,pool-short", &short_pool_id))
1191 /* Create port's short pool */
1196 netdev_info(pp->dev, "fail to obtain short pool for port\n");
1210 /* Update settings of a pool for bigger packets */
1217 /* Release all buffers from long pool */
1220 WARN(1, "cannot free all buffers in pool %d\n",
1230 /* Fill entire long pool */
1233 WARN(1, "pool %d: %d of %d allocated\n",
2003 /* Return dropped buffer to the pool */
2395 mvneta_swbm_build_skb(struct mvneta_port *pp, struct page_pool *pool,
2577 /* Return the buffer to the pool */
2607 /* Return the buffer to the pool */
3481 /* Fill RXQ with buffers from RX pool */