Home
last modified time | relevance | path

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

/linux/drivers/gpu/host1x/
A Dchannel.c21 if (!chlist->channels) in host1x_channel_list_init()
24 chlist->allocated_channels = in host1x_channel_list_init()
27 if (!chlist->allocated_channels) { in host1x_channel_list_init()
28 kfree(chlist->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()
40 kfree(chlist->channels); in host1x_channel_list_free()
88 clear_bit(channel->id, chlist->allocated_channels); in release_channel()
109 chlist->channels[index].id = index; in acquire_unused_channel()
111 set_bit(index, chlist->allocated_channels); in acquire_unused_channel()
[all …]
A Dchannel.h35 int host1x_channel_list_init(struct host1x_channel_list *chlist,
37 void host1x_channel_list_free(struct host1x_channel_list *chlist);

Completed in 4 milliseconds