Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/infiniband/hw/irdma/
Duk.c277 u32 total_size = 0, byte_off; in irdma_uk_rdma_write() local
324 for (byte_off = 32; i < op_info->num_lo_sges; i++) { in irdma_uk_rdma_write()
325 qp->wqe_ops.iw_set_fragment(wqe, byte_off, in irdma_uk_rdma_write()
328 byte_off += 16; in irdma_uk_rdma_write()
334 qp->wqe_ops.iw_set_fragment(wqe, byte_off, NULL, in irdma_uk_rdma_write()
376 u32 i, byte_off, total_size = 0; in irdma_uk_rdma_read() local
410 for (i = 1, byte_off = 32; i < op_info->num_lo_sges; ++i) { in irdma_uk_rdma_read()
411 qp->wqe_ops.iw_set_fragment(wqe, byte_off, in irdma_uk_rdma_read()
414 byte_off += 16; in irdma_uk_rdma_read()
420 qp->wqe_ops.iw_set_fragment(wqe, byte_off, NULL, in irdma_uk_rdma_read()
[all …]
/linux-6.1.9/tools/lib/bpf/
Drelo_core.c686 __u32 byte_off, byte_sz, bit_off, bit_sz, field_type_id; in bpf_core_calc_field_relo() local
738 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo()
740 while (bit_off + bit_sz - byte_off * 8 > byte_sz * 8) { in bpf_core_calc_field_relo()
748 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo()
755 byte_off = spec->bit_offset / 8; in bpf_core_calc_field_relo()
768 *val = byte_off; in bpf_core_calc_field_relo()
785 *val = 64 - (bit_off + bit_sz - byte_off * 8); in bpf_core_calc_field_relo()
787 *val = (8 - byte_sz) * 8 + (bit_off - byte_off * 8); in bpf_core_calc_field_relo()
/linux-6.1.9/drivers/mailbox/
Dmailbox-mpfs.c106 u8 byte_off = ALIGN_DOWN(msg->cmd_data_size, 4); in mpfs_mbox_send_data() local
107 u8 *byte_buf = msg->cmd_data + byte_off; in mpfs_mbox_send_data()