Searched refs:buf_num (Results 1 – 5 of 5) sorted by relevance
162 int buf_num; in set_addr() local171 buf_num = (page_addr & 1) << 2; in set_addr()177 buf_num = page_addr & 7; in set_addr()180 ctrl->addr = priv->vbase + buf_num * 1024; in set_addr()189 buf_num, ctrl->addr, priv->vbase, ctrl->index, in set_addr()
229 int buf_num; in set_addr() local237 buf_num = page_addr & priv->bufnum_mask; in set_addr()239 ctrl->addr = priv->vbase + buf_num * (mtd->writesize * 2); in set_addr()
1223 int buf_num; member2592 bm_pool->buf_num = 0; in mvpp2_bm_pool_create()2616 for (i = 0; i < bm_pool->buf_num; i++) { in mvpp2_bm_bufs_free()2621 bm_pool->buf_num = 0; in mvpp2_bm_bufs_free()2632 if (bm_pool->buf_num) { in mvpp2_bm_pool_destroy()2771 struct mvpp2_bm_pool *bm_pool, int buf_num) in mvpp2_bm_bufs_add() argument2775 if (buf_num < 0 || in mvpp2_bm_bufs_add()2776 (buf_num + bm_pool->buf_num > bm_pool->size)) { in mvpp2_bm_bufs_add()2783 for (i = 0; i < buf_num; i++) { in mvpp2_bm_bufs_add()2791 bm_pool->buf_num += i; in mvpp2_bm_bufs_add()[all …]
100 u64 buf_num : 1; member
Completed in 26 milliseconds