Home
last modified time | relevance | path

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

/linux/drivers/gpu/host1x/
H A Dchannel.c23 chlist->allocated_channels = bitmap_zalloc(num_channels, GFP_KERNEL); in host1x_channel_list_init()
24 if (!chlist->allocated_channels) { in host1x_channel_list_init()
36 bitmap_free(chlist->allocated_channels); in host1x_channel_list_free()
96 for_each_set_bit(bit, chlist->allocated_channels, host->info->nb_channels) in host1x_channel_stop_all()
112 clear_bit(channel->id, chlist->allocated_channels); in release_channel()
129 index = find_first_zero_bit(chlist->allocated_channels, max_channels); in acquire_unused_channel()
138 set_bit(index, chlist->allocated_channels); in acquire_unused_channel()
179 clear_bit(channel->id, chlist->allocated_channels); in host1x_channel_request()
H A Dchannel.h24 unsigned long *allocated_channels; member