Searched refs:allocated_channels (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
H A D | channel.c | 24 chlist->allocated_channels = in host1x_channel_list_init() 27 if (!chlist->allocated_channels) { in host1x_channel_list_init() 32 bitmap_zero(chlist->allocated_channels, num_channels); in host1x_channel_list_init() 39 kfree(chlist->allocated_channels); in host1x_channel_list_free() 88 clear_bit(channel->id, chlist->allocated_channels); in release_channel() 103 index = find_first_zero_bit(chlist->allocated_channels, max_channels); in acquire_unused_channel() 111 set_bit(index, chlist->allocated_channels); in acquire_unused_channel() 150 clear_bit(channel->id, chlist->allocated_channels); in host1x_channel_request()
|
H A D | channel.h | 21 unsigned long *allocated_channels; member
|
/kernel/linux/linux-6.6/drivers/gpu/host1x/ |
H A D | channel.c | 24 chlist->allocated_channels = bitmap_zalloc(num_channels, GFP_KERNEL); in host1x_channel_list_init() 25 if (!chlist->allocated_channels) { in host1x_channel_list_init() 35 bitmap_free(chlist->allocated_channels); in host1x_channel_list_free() 92 clear_bit(channel->id, chlist->allocated_channels); in release_channel() 107 index = find_first_zero_bit(chlist->allocated_channels, max_channels); in acquire_unused_channel() 115 set_bit(index, chlist->allocated_channels); in acquire_unused_channel() 154 clear_bit(channel->id, chlist->allocated_channels); in host1x_channel_request()
|
H A D | channel.h | 21 unsigned long *allocated_channels; member
|
Completed in 2 milliseconds