Searched refs:MAX_FLAGS (Results 1 – 1 of 1) sorted by relevance
21 #define MAX_FLAGS 64 macro40 static DECLARE_BITMAP(flags_free, MAX_FLAGS);380 bit = find_first_bit(flags_free, MAX_FLAGS); in pasemi_dma_alloc_flag()381 if (bit >= MAX_FLAGS) in pasemi_dma_alloc_flag()399 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_free_flag()412 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_set_flag()427 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_clear_flag()445 bit = find_first_bit(fun_free, MAX_FLAGS); in pasemi_dma_alloc_fun()446 if (bit >= MAX_FLAGS) in pasemi_dma_alloc_fun()464 BUG_ON(fun >= MAX_FLAGS); in pasemi_dma_free_fun()[all …]