mvneta_bm 445 drivers/net/ethernet/marvell/mvneta.c struct mvneta_bm *bm_priv; mvneta_bm 30 drivers/net/ethernet/marvell/mvneta_bm.c static void mvneta_bm_write(struct mvneta_bm *priv, u32 offset, u32 data) mvneta_bm 35 drivers/net/ethernet/marvell/mvneta_bm.c static u32 mvneta_bm_read(struct mvneta_bm *priv, u32 offset) mvneta_bm 40 drivers/net/ethernet/marvell/mvneta_bm.c static void mvneta_bm_pool_enable(struct mvneta_bm *priv, int pool_id) mvneta_bm 52 drivers/net/ethernet/marvell/mvneta_bm.c static void mvneta_bm_pool_disable(struct mvneta_bm *priv, int pool_id) mvneta_bm 61 drivers/net/ethernet/marvell/mvneta_bm.c static inline void mvneta_bm_config_set(struct mvneta_bm *priv, u32 mask) mvneta_bm 70 drivers/net/ethernet/marvell/mvneta_bm.c static inline void mvneta_bm_config_clear(struct mvneta_bm *priv, u32 mask) mvneta_bm 79 drivers/net/ethernet/marvell/mvneta_bm.c static void mvneta_bm_pool_target_set(struct mvneta_bm *priv, int pool_id, mvneta_bm 97 drivers/net/ethernet/marvell/mvneta_bm.c struct mvneta_bm *priv = bm_pool->priv; mvneta_bm 116 drivers/net/ethernet/marvell/mvneta_bm.c static int mvneta_bm_pool_create(struct mvneta_bm *priv, mvneta_bm 158 drivers/net/ethernet/marvell/mvneta_bm.c struct mvneta_bm_pool *mvneta_bm_pool_use(struct mvneta_bm *priv, u8 pool_id, mvneta_bm 217 drivers/net/ethernet/marvell/mvneta_bm.c void mvneta_bm_bufs_free(struct mvneta_bm *priv, struct mvneta_bm_pool *bm_pool, mvneta_bm 258 drivers/net/ethernet/marvell/mvneta_bm.c void mvneta_bm_pool_destroy(struct mvneta_bm *priv, mvneta_bm 283 drivers/net/ethernet/marvell/mvneta_bm.c static void mvneta_bm_pools_init(struct mvneta_bm *priv) mvneta_bm 339 drivers/net/ethernet/marvell/mvneta_bm.c static void mvneta_bm_default_set(struct mvneta_bm *priv) mvneta_bm 358 drivers/net/ethernet/marvell/mvneta_bm.c static int mvneta_bm_init(struct mvneta_bm *priv) mvneta_bm 375 drivers/net/ethernet/marvell/mvneta_bm.c struct mvneta_bm *priv) mvneta_bm 390 drivers/net/ethernet/marvell/mvneta_bm.c static void mvneta_bm_put_sram(struct mvneta_bm *priv) mvneta_bm 396 drivers/net/ethernet/marvell/mvneta_bm.c struct mvneta_bm *mvneta_bm_get(struct device_node *node) mvneta_bm 404 drivers/net/ethernet/marvell/mvneta_bm.c void mvneta_bm_put(struct mvneta_bm *priv) mvneta_bm 413 drivers/net/ethernet/marvell/mvneta_bm.c struct mvneta_bm *priv; mvneta_bm 416 drivers/net/ethernet/marvell/mvneta_bm.c priv = devm_kzalloc(&pdev->dev, sizeof(struct mvneta_bm), GFP_KERNEL); mvneta_bm 462 drivers/net/ethernet/marvell/mvneta_bm.c struct mvneta_bm *priv = platform_get_drvdata(pdev); mvneta_bm 129 drivers/net/ethernet/marvell/mvneta_bm.h struct mvneta_bm *priv; mvneta_bm 134 drivers/net/ethernet/marvell/mvneta_bm.h struct mvneta_bm *mvneta_bm_get(struct device_node *node); mvneta_bm 135 drivers/net/ethernet/marvell/mvneta_bm.h void mvneta_bm_put(struct mvneta_bm *priv); mvneta_bm 137 drivers/net/ethernet/marvell/mvneta_bm.h void mvneta_bm_pool_destroy(struct mvneta_bm *priv, mvneta_bm 139 drivers/net/ethernet/marvell/mvneta_bm.h void mvneta_bm_bufs_free(struct mvneta_bm *priv, struct mvneta_bm_pool *bm_pool, mvneta_bm 142 drivers/net/ethernet/marvell/mvneta_bm.h int mvneta_bm_pool_refill(struct mvneta_bm *priv, mvneta_bm 144 drivers/net/ethernet/marvell/mvneta_bm.h struct mvneta_bm_pool *mvneta_bm_pool_use(struct mvneta_bm *priv, u8 pool_id, mvneta_bm 148 drivers/net/ethernet/marvell/mvneta_bm.h static inline void mvneta_bm_pool_put_bp(struct mvneta_bm *priv, mvneta_bm 156 drivers/net/ethernet/marvell/mvneta_bm.h static inline u32 mvneta_bm_pool_get_bp(struct mvneta_bm *priv, mvneta_bm 163 drivers/net/ethernet/marvell/mvneta_bm.h static inline void mvneta_bm_pool_destroy(struct mvneta_bm *priv, mvneta_bm 166 drivers/net/ethernet/marvell/mvneta_bm.h static inline void mvneta_bm_bufs_free(struct mvneta_bm *priv, mvneta_bm 171 drivers/net/ethernet/marvell/mvneta_bm.h static inline int mvneta_bm_pool_refill(struct mvneta_bm *priv, mvneta_bm 174 drivers/net/ethernet/marvell/mvneta_bm.h static inline struct mvneta_bm_pool *mvneta_bm_pool_use(struct mvneta_bm *priv, mvneta_bm 181 drivers/net/ethernet/marvell/mvneta_bm.h static inline void mvneta_bm_pool_put_bp(struct mvneta_bm *priv, mvneta_bm 185 drivers/net/ethernet/marvell/mvneta_bm.h static inline u32 mvneta_bm_pool_get_bp(struct mvneta_bm *priv, mvneta_bm 188 drivers/net/ethernet/marvell/mvneta_bm.h static inline struct mvneta_bm *mvneta_bm_get(struct device_node *node) mvneta_bm 190 drivers/net/ethernet/marvell/mvneta_bm.h static inline void mvneta_bm_put(struct mvneta_bm *priv) {}