Home
last modified time | relevance | path

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

/tools/power/acpi/tools/ec/
Dec_access.c129 int byte_off, bytes_read; in dump_ec() local
140 for (byte_off = 0; byte_off < bytes_read; byte_off++) { in dump_ec()
141 if ((byte_off % 16) == 0) in dump_ec()
142 printf("\n%.2X: ", byte_off); in dump_ec()
143 printf(" %.2x ", (uint8_t)buf[byte_off]); in dump_ec()
163 for (byte_off = 0; byte_off < bytes_read; byte_off++) { in dump_ec()
164 if ((byte_off % 16) == 0) in dump_ec()
165 printf("\n%.2X: ", byte_off); in dump_ec()
167 if (buf[byte_off] == buf2[byte_off]) in dump_ec()
168 printf(" %.2x ", (uint8_t)buf2[byte_off]); in dump_ec()
[all …]
/tools/lib/bpf/
Dlibbpf.c5113 __u32 byte_off, byte_sz, bit_off, bit_sz, field_type_id; in bpf_core_calc_field_relo() local
5165 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo()
5167 while (bit_off + bit_sz - byte_off * 8 > byte_sz * 8) { in bpf_core_calc_field_relo()
5175 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo()
5182 byte_off = spec->bit_offset / 8; in bpf_core_calc_field_relo()
5195 *val = byte_off; in bpf_core_calc_field_relo()
5213 *val = 64 - (bit_off + bit_sz - byte_off * 8); in bpf_core_calc_field_relo()
5215 *val = (8 - byte_sz) * 8 + (bit_off - byte_off * 8); in bpf_core_calc_field_relo()