Lines Matching refs:num_bytes
147 ret = fread(&curr_seg->num_bytes, 4, 1, file);
156 curr_seg->data = (unsigned char*) malloc(curr_seg->num_bytes);
164 PRINT(("Microcode: curr_seg->num_bytes: %x\n", curr_seg->num_bytes));
182 if ( fread(curr_seg->data, curr_seg->num_bytes, 1, file) != 1 )
230 curr_seg->num_bytes = strtoul(tmp1, NULL, 16);
240 curr_seg->data = (unsigned char*) malloc(curr_seg->num_bytes);
248 PRINT(("Microcode: curr_seg->num_bytes: %x\n", curr_seg->num_bytes));
265 for ( i = 0; i < curr_seg->num_bytes; i+=4)
396 SetRegister(VIP_TC_COMMAND, 0xe0000044 | ((seg_list->num_bytes - 1) << 7));
401 if (!WriteFifo(0x700, seg_list->num_bytes, seg_list->data))
425 SetRegister(VIP_TC_COMMAND, 0xe0000006 | ((seg_list->num_bytes - 1) << 7));
450 fb_scratch0 = ((seg_list->num_bytes << 16) & 0xffff0000) | ((seg_id << 8) & 0xff00) | (0xff & 193);
481 SetRegister(VIP_TC_COMMAND, 0xe0000044 | ((seg_list->num_bytes - 1) << 7));
483 if (!WriteFifo(0x700, seg_list->num_bytes, seg_list->data))
495 fb_scratch0 = ((seg_list->num_bytes << 16) & 0xffff0000) | ((seg_id << 8) & 0xff00) | (0xff & 193);
514 fb_scratch0 = ((seg_list->num_bytes << 16) & 0xffff0000) | ((seg_id << 8) & 0xff00) | (0xff & 194);