Home
last modified time | relevance | path

Searched refs:allocated_channels (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/host1x/
Dchannel.c24 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()
Dchannel.h21 unsigned long *allocated_channels; member