Home
last modified time | relevance | path

Searched refs:mvneta_bm (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/marvell/
Dmvneta_bm.h95 struct mvneta_bm { struct
129 struct mvneta_bm *priv;
134 struct mvneta_bm *mvneta_bm_get(struct device_node *node);
135 void mvneta_bm_put(struct mvneta_bm *priv);
137 void mvneta_bm_pool_destroy(struct mvneta_bm *priv,
139 void mvneta_bm_bufs_free(struct mvneta_bm *priv, struct mvneta_bm_pool *bm_pool,
142 int mvneta_bm_pool_refill(struct mvneta_bm *priv,
144 struct mvneta_bm_pool *mvneta_bm_pool_use(struct mvneta_bm *priv, u8 pool_id,
148 static inline void mvneta_bm_pool_put_bp(struct mvneta_bm *priv, in mvneta_bm_pool_put_bp()
156 static inline u32 mvneta_bm_pool_get_bp(struct mvneta_bm *priv, in mvneta_bm_pool_get_bp()
[all …]
Dmvneta_bm.c30 static void mvneta_bm_write(struct mvneta_bm *priv, u32 offset, u32 data) in mvneta_bm_write()
35 static u32 mvneta_bm_read(struct mvneta_bm *priv, u32 offset) in mvneta_bm_read()
40 static void mvneta_bm_pool_enable(struct mvneta_bm *priv, int pool_id) in mvneta_bm_pool_enable()
52 static void mvneta_bm_pool_disable(struct mvneta_bm *priv, int pool_id) in mvneta_bm_pool_disable()
61 static inline void mvneta_bm_config_set(struct mvneta_bm *priv, u32 mask) in mvneta_bm_config_set()
70 static inline void mvneta_bm_config_clear(struct mvneta_bm *priv, u32 mask) in mvneta_bm_config_clear()
79 static void mvneta_bm_pool_target_set(struct mvneta_bm *priv, int pool_id, in mvneta_bm_pool_target_set()
97 struct mvneta_bm *priv = bm_pool->priv; in mvneta_bm_construct()
116 static int mvneta_bm_pool_create(struct mvneta_bm *priv, in mvneta_bm_pool_create()
158 struct mvneta_bm_pool *mvneta_bm_pool_use(struct mvneta_bm *priv, u8 pool_id, in mvneta_bm_pool_use()
[all …]
DMakefile8 obj-$(CONFIG_MVNETA_BM) += mvneta_bm.o
Dmvneta.c534 struct mvneta_bm *bm_priv;