Searched refs:num_map (Results 1 – 3 of 3) sorted by relevance
70 for (i = 0; i < mem->num_map; i++) in rxe_mem_cleanup()80 int num_map; in rxe_mem_alloc() local83 num_map = (num_buf + RXE_BUF_PER_MAP - 1) / RXE_BUF_PER_MAP; in rxe_mem_alloc()85 mem->map = kmalloc_array(num_map, sizeof(*map), GFP_KERNEL); in rxe_mem_alloc()89 for (i = 0; i < num_map; i++) { in rxe_mem_alloc()101 mem->num_map = num_map; in rxe_mem_alloc()102 mem->max_buf = num_map * RXE_BUF_PER_MAP; in rxe_mem_alloc()
317 u32 num_map; member
1789 u32 reg, val, shift, num_map, i; in sdma_event_remap() local1796 num_map = event_remap ? (event_remap->length / sizeof(u32)) : 0; in sdma_event_remap()1797 if (!num_map) { in sdma_event_remap()1800 } else if (num_map % EVENT_REMAP_CELLS) { in sdma_event_remap()1814 for (i = 0; i < num_map; i += EVENT_REMAP_CELLS) { in sdma_event_remap()