/linux/tools/power/acpi/tools/ec/ |
H A 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() [all...] |
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | definer.c | 54 #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 [all...] |
H A D | definer.h | 268 u32 byte_off; member
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | uk.c | 239 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, NUL in irdma_uk_rdma_read() 413 u32 i, wqe_idx, total_size = 0, byte_off; irdma_uk_send() local 844 u32 wqe_idx, i, byte_off; irdma_uk_post_receive() local [all...] |
/linux/drivers/gpu/drm/ |
H A D | drm_panic_qr.rs | 495 let byte_off = *offset / 8; in push() localVariable 501 self.data[byte_off] = (number << (8 - b)) as u8; in push() 504 self.data[byte_off] = (number >> (b - 8)) as u8; in push() 505 self.data[byte_off + 1] = (number << (16 - b)) as u8; in push() 508 self.data[byte_off] |= (number << (8 - b)) as u8; in push() 511 self.data[byte_off] |= (number >> (b - 8)) as u8; in push() 512 self.data[byte_off + 1] = (number << (16 - b)) as u8; in push() 515 self.data[byte_off] |= (number >> (b - 8)) as u8; in push() 516 self.data[byte_off + 1] = (number >> (b - 16)) as u8; in push() 517 self.data[byte_off in push() [all...] |
/linux/tools/lib/bpf/ |
H A D | relo_core.c | 89 case BPF_CORE_FIELD_BYTE_OFFSET: return "byte_off"; in core_relo_kind_str() 686 __u32 byte_off, byte_sz, bit_off, bit_sz, field_type_id, elem_id; in bpf_core_calc_field_relo() local 744 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo() 746 while (bit_off + bit_sz - byte_off * 8 > byte_sz * 8) { in bpf_core_calc_field_relo() 754 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo() 761 byte_off = spec->bit_offset / 8; in bpf_core_calc_field_relo() 774 *val = byte_off; in bpf_core_calc_field_relo() 801 *val = 64 - (bit_off + bit_sz - byte_off * 8); in bpf_core_calc_field_relo() 803 *val = (8 - byte_sz) * 8 + (bit_off - byte_off * 8); in bpf_core_calc_field_relo()
|