Searched refs:byte_off (Results 1 – 3 of 3) sorted by relevance
| /kernel/linux/linux-5.10/tools/power/acpi/tools/ec/ |
| D | ec_access.c | 129 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 …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
| D | i40iw_uk.c | 253 u32 total_size = 0, byte_off; in i40iw_rdma_write() local 292 for (i = 1, byte_off = 32; i < op_info->num_lo_sges; i++) { in i40iw_rdma_write() 293 i40iw_set_fragment(wqe, byte_off, &op_info->lo_sg_list[i]); in i40iw_rdma_write() 294 byte_off += 16; in i40iw_rdma_write() 370 u32 i, wqe_idx, total_size = 0, byte_off; in i40iw_send() local 402 for (i = 1, byte_off = 32; i < op_info->num_sges; i++) { in i40iw_send() 403 i40iw_set_fragment(wqe, byte_off, &op_info->sg_list[i]); in i40iw_send() 404 byte_off += 16; in i40iw_send() 663 u32 total_size = 0, wqe_idx, i, byte_off; in i40iw_post_receive() local 682 for (i = 1, byte_off = 32; i < info->num_sges; i++) { in i40iw_post_receive() [all …]
|
| /kernel/linux/linux-5.10/tools/lib/bpf/ |
| D | libbpf.c | 5113 __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()
|