Ejemplo n.º 1
0
void debug_list_all_channel(){
    char result[MAX_MSG_LEN];
    //DEBUG
    printf("\t~DEBUG:CURRENT CHANNELS:\n");

    channel* temp;
    for(temp = header->next; temp->next; temp=temp->next)
        if(show_channel(result,MAX_MSG_LEN, temp))
            printf("%s", result);
}
Ejemplo n.º 2
0
Archivo: debug.c Proyecto: mdamt/linux
static void show_all(struct host1x *m, struct output *o, bool show_fifo)
{
	int i;

	host1x_hw_show_mlocks(m, o);
	show_syncpts(m, o);
	host1x_debug_output(o, "---- channels ----\n");

	for (i = 0; i < m->info->nb_channels; ++i) {
		struct host1x_channel *ch = host1x_channel_get_index(m, i);

		if (ch) {
			show_channel(ch, o, show_fifo);
			host1x_channel_put(ch);
		}
	}
}