Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/gpu/drm/ !
Ddrm_panic_qr.rs306 let byte_off = offset / 8; in get_next_13b() localVariable
311 let first_byte = (data[byte_off] << bit_off >> bit_off) as u16; in get_next_13b()
315 9..=16 => (first_byte << (b - 8)) + (data[byte_off + 1] >> (16 - b)) as u16, in get_next_13b()
318 + ((data[byte_off + 1] as u16) << (b - 16)) in get_next_13b()
319 + (data[byte_off + 2] >> (24 - b)) as u16 in get_next_13b()
511 let byte_off = *offset / 8; in push() localVariable
517 self.data[byte_off] = (number << (8 - b)) as u8; in push()
520 self.data[byte_off] = (number >> (b - 8)) as u8; in push()
521 self.data[byte_off + 1] = (number << (16 - b)) as u8; in push()
524 self.data[byte_off] |= (number << (8 - b)) as u8; in push()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ !
Dmlx5hws_definer.c54 #define _HWS_SET32(p, v, byte_off, bit_off, mask) \ argument
57 *((__be32 *)(p) + ((byte_off) / 4)) = \
59 ((byte_off) / 4))) & \
66 #define HWS_SET32(p, v, byte_off, bit_off, mask) \ argument
71 _HWS_SET32(p, (v) >> _bit_off, byte_off, 0, (mask) >> _bit_off); \
72 _HWS_SET32(p, (v) & second_dw_mask, (byte_off) + DW_SIZE, \
75 _HWS_SET32(p, v, byte_off, (bit_off), (mask)); \
80 #define HWS_GET32(p, byte_off, bit_off, mask) \ argument
81 ((be32_to_cpu(*((__be32 *)(p) + ((byte_off) / 4))) >> (bit_off)) & (mask))
126 (fc)->byte_off = MLX5_BYTE_OFF(definer_hl, d_hdr); \
[all …]
Dmlx5hws_definer.h268 u32 byte_off; member
/linux-6.12.1/drivers/infiniband/hw/irdma/ !
Duk.c239 u32 total_size = 0, byte_off; in irdma_uk_rdma_write() local
284 for (byte_off = 32; i < op_info->num_lo_sges; i++) { in irdma_uk_rdma_write()
285 qp->wqe_ops.iw_set_fragment(wqe, byte_off, in irdma_uk_rdma_write()
288 byte_off += 16; in irdma_uk_rdma_write()
294 qp->wqe_ops.iw_set_fragment(wqe, byte_off, NULL, in irdma_uk_rdma_write()
332 u32 i, byte_off, total_size = 0; in irdma_uk_rdma_read() local
364 for (i = 1, byte_off = 32; i < op_info->num_lo_sges; ++i) { in irdma_uk_rdma_read()
365 qp->wqe_ops.iw_set_fragment(wqe, byte_off, in irdma_uk_rdma_read()
368 byte_off += 16; in irdma_uk_rdma_read()
374 qp->wqe_ops.iw_set_fragment(wqe, byte_off, NULL, in irdma_uk_rdma_read()
[all …]
/linux-6.12.1/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.12.1/drivers/mailbox/ !
Dmailbox-mpfs.c128 u8 byte_off = ALIGN_DOWN(msg->cmd_data_size, 4); in mpfs_mbox_send_data() local
129 u8 *byte_buf = msg->cmd_data + byte_off; in mpfs_mbox_send_data()
/linux-6.12.1/Documentation/bpf/ !
Dllvm_reloc.rst457 00: CO-RE <byte_off> [2] struct foo::a (0:0)
460 10: CO-RE <byte_off> [2] struct foo::a (0:0)
480 20: CO-RE <byte_off> [2] struct foo::b (0:1)