Lines Matching refs:mvneta_bm

30 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()
217 void mvneta_bm_bufs_free(struct mvneta_bm *priv, struct mvneta_bm_pool *bm_pool, in mvneta_bm_bufs_free()
258 void mvneta_bm_pool_destroy(struct mvneta_bm *priv, in mvneta_bm_pool_destroy()
283 static void mvneta_bm_pools_init(struct mvneta_bm *priv) in mvneta_bm_pools_init()
339 static void mvneta_bm_default_set(struct mvneta_bm *priv) in mvneta_bm_default_set()
358 static int mvneta_bm_init(struct mvneta_bm *priv) in mvneta_bm_init()
375 struct mvneta_bm *priv) in mvneta_bm_get_sram()
390 static void mvneta_bm_put_sram(struct mvneta_bm *priv) in mvneta_bm_put_sram()
396 struct mvneta_bm *mvneta_bm_get(struct device_node *node) in mvneta_bm_get()
404 void mvneta_bm_put(struct mvneta_bm *priv) in mvneta_bm_put()
413 struct mvneta_bm *priv; in mvneta_bm_probe()
416 priv = devm_kzalloc(&pdev->dev, sizeof(struct mvneta_bm), GFP_KERNEL); in mvneta_bm_probe()
462 struct mvneta_bm *priv = platform_get_drvdata(pdev); in mvneta_bm_remove()