Location | Text |
types.h:79 | #define DIV_ROUND_UP(m, n) (((m) + (n) - 1) / (n)) |
algorithm.c:33 | |
arm_adi_v5.c:529 | unsigned int drw_ops = DIV_ROUND_UP(this_size, 4); |
arm_adi_v5.c:651 | unsigned int drw_ops = DIV_ROUND_UP(this_size, 4); |
at91sam7.c:928 | last_page = DIV_ROUND_UP(offset + count, dst_min_alignment); |
at91sam7.c:948 | wcount = DIV_ROUND_UP(count, 4); |
batch.c:16 | |
binarybuffer.c:49 | memcpy(_to, from, DIV_ROUND_UP(size, 8)); |
binarybuffer.c:180 | unsigned len_bytes = DIV_ROUND_UP(buf_len, 8); |
binarybuffer.c:241 | |
bits.h:26 | |
cfi.c:2786 | |
cfi.c:2788 | |
cmsis_dap.c:433 | |
cmsis_dap.c:1682 | unsigned int cmd_len = 1 + DIV_ROUND_UP(s_len, 8); |
cmsis_dap.c:1698 | |
cmsis_dap.c:1705 | |
commands.c:163 | |
commands.c:195 | *buffer = calloc(1, DIV_ROUND_UP(bit_count, 8)); |
commands.c:245 | malloc(DIV_ROUND_UP(num_bits, 8)), 0, num_bits); |
core.c:1352 | ir_test = malloc(DIV_ROUND_UP(total_ir_length, 8)); |
core.c:1454 | ir_len_bytes = DIV_ROUND_UP(ir_len_bits, 8); |
driver.c:89 | |
driver.c:93 | |
driver.c:204 | |
driver.c:253 | |
efinix.c:61 | |
efinix.c:127 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
esirisc.c:1452 | |
esirisc.c:1471 | |
esirisc_flash.c:336 | uint32_t max_bytes = DIV_ROUND_UP(esirisc->num_bits, 8); |
esirisc_jtag.c:131 | int num_in_bytes = DIV_ROUND_UP(num_in_bits, 8); |
etb.c:43 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
etb.c:63 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
fm4.c:208 | uint32_t halfword_count = DIV_ROUND_UP(byte_count, 2); |
ftdi.c:112 | |
gatemate.c:166 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
gdb_server.c:1187 | buf_len = DIV_ROUND_UP(reg->size, 8); |
gdb_server.c:1225 | const unsigned int len = DIV_ROUND_UP(reg->size, 8) * 2; |
gdb_server.c:1267 | reg_packet_size += DIV_ROUND_UP(reg_list[i]->size, 8) * 2; |
gdb_server.c:1288 | reg_packet_p += DIV_ROUND_UP(reg_list[i]->size, 8) * 2; |
gdb_server.c:1341 | int chars = (DIV_ROUND_UP(reg_list[i]->size, 8) * 2); |
gdb_server.c:1346 | bin_buf = malloc(DIV_ROUND_UP(reg_list[i]->size, 8)); |
gdb_server.c:1399 | reg_packet = calloc(DIV_ROUND_UP(reg_list[reg_num]->size, 8) * 2 + 1, 1); |
gdb_server.c:1409 | |
gdb_server.c:1461 | if (chars != (DIV_ROUND_UP(reg_list[reg_num]->size, 8) * 2)) { |
gowin.c:203 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
gowin.c:295 | int cycles = DIV_ROUND_UP(speed, frac_sec); |
hwthread.c:284 | |
intel.c:79 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
intel.c:99 | unsigned int cycles = DIV_ROUND_UP(speed, 200); |
intel.c:153 | |
intel.c:193 | |
intel.c:196 | |
interface.c:396 | tap_bytes = DIV_ROUND_UP(tap_bits, 8); |
ipdbg.c:301 | |
ipdbg.c:311 | |
ipdbg.c:348 | uint8_t *ir_out_val = calloc(DIV_ROUND_UP(tap->ir_length, 8), 1); |
ipdbg.c:458 | |
ipdbg.c:520 | |
jlink.c:2218 | uint8_t data_parity_trn[DIV_ROUND_UP(32 + 1, 8)]; |
lattice.c:66 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
lattice.c:150 | |
lpc2000.c:1075 | |
ls1_sap.c:96 | uint8_t *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
minidriver_imp.h:16 | |
mpsse.c:471 | |
mpsse.c:482 | |
mpsse.c:800 | unsigned num_packets = DIV_ROUND_UP(transfer->actual_length, packet_size); |
osbdm.c:40 | next->tms = calloc(1, DIV_ROUND_UP(len, 8)); |
osbdm.c:214 | int swap_count = DIV_ROUND_UP(length, 16); |
osbdm.c:291 | |
osbdm.c:292 | |
osbdm.c:293 | |
osbdm.c:469 | (void)memset(next->tms, 0xff, DIV_ROUND_UP(count, 8)); |
osbdm.c:518 | |
picoprobe.c:50 | |
picoprobe.c:136 | unsigned length_bytes = DIV_ROUND_UP(q->bits, 8); |
picoprobe.c:198 | unsigned read_bytes = DIV_ROUND_UP(read_hdr->bits, 8); |
psoc5lp.c:952 | |
psoc5lp.c:1319 | |
psoc5lp.c:1392 | |
riscv-013.c:1933 | |
riscv.c:3743 | |
riscv.c:4411 | r->value = calloc(1, DIV_ROUND_UP(r->size, 8)); |
rtos.c:484 | |
rtos.c:490 | |
str9xpec.c:80 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
str9xpec.c:314 | buffer = calloc(DIV_ROUND_UP(64, 8), 1); |
str9xpec.c:395 | buffer = calloc(DIV_ROUND_UP(64, 8), 1); |
str9xpec.c:609 | scanbuf = calloc(DIV_ROUND_UP(64, 8), 1); |
str9xpec.c:725 | buffer = calloc(DIV_ROUND_UP(32, 8), 1); |
svf.c:253 | int byte_len = DIV_ROUND_UP(bit_len, 8); |
target.c:3140 | uint8_t *buf = malloc(DIV_ROUND_UP(reg->size, 8)); |
target.c:4942 | uint8_t *buf = malloc(DIV_ROUND_UP(reg->size, 8)); |
target_request.c:39 | char *msg = malloc(DIV_ROUND_UP(length + 1, 4) * 4); |
target_request.c:42 | |
target_request.c:64 | uint8_t *data = malloc(DIV_ROUND_UP(length * size, 4) * 4); |
target_request.c:72 | |
tcl.c:85 | void *t = malloc(DIV_ROUND_UP(bits, 8)); |
tcl.c:977 | uint8_t *v = calloc(1, DIV_ROUND_UP(field_size, 8)); |
ulink.c:876 | |
ulink.c:1463 | scan_size_bytes = DIV_ROUND_UP(scan_size_bits, 8); |
usb_blaster.c:667 | |
usb_blaster.c:716 | log_buf = hexdump(buf, DIV_ROUND_UP(scan_bits, 8)); |
virtex2.c:36 | void *t = calloc(DIV_ROUND_UP(field.num_bits, 8), 1); |
vsllink.c:148 | |
vsllink.c:642 | |
xds110.c:784 | uint16_t total_bytes = DIV_ROUND_UP(shift_bits, 8); |
xds110.c:1564 | bytes = DIV_ROUND_UP(bits, 8); |
xds110.c:1600 | bytes = DIV_ROUND_UP(bits, 8); |
xds110.c:1724 | total_bytes = DIV_ROUND_UP(total_bits, 8); |
xmc1xxx.c:247 | |
xsvf.c:477 | |
xsvf.c:917 | |
xtensa.c:539 | unsigned int oplenw = DIV_ROUND_UP(oplen, sizeof(uint32_t)); |