Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/power/acpi/tools/ec/
H A 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 …]
/OK3568_Linux_fs/kernel/include/linux/rockchip/
H A Dnvmem.h10 int rockchip_read_oem_non_protected_otp(unsigned int byte_off,
12 int rockchip_write_oem_non_protected_otp(unsigned int byte_off,
15 static inline int rockchip_read_oem_non_protected_otp(unsigned int byte_off, in rockchip_read_oem_non_protected_otp() argument
20 static inline int rockchip_write_oem_non_protected_otp(unsigned int byte_off, in rockchip_write_oem_non_protected_otp() argument
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/
H A Di40iw_uk.c253 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 …]
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Drockchip-secure-otp.c54 int rockchip_read_oem_non_protected_otp(unsigned int byte_off, in rockchip_read_oem_non_protected_otp() argument
119 param[0].u.value.a = byte_off; in rockchip_read_oem_non_protected_otp()
157 int rockchip_write_oem_non_protected_otp(unsigned int byte_off, in rockchip_write_oem_non_protected_otp() argument
230 param[0].u.value.a = byte_off; in rockchip_write_oem_non_protected_otp()
/OK3568_Linux_fs/u-boot/include/optee_include/
H A DOpteeClientInterface.h94 uint32_t trusty_write_oem_ns_otp(uint32_t byte_off, uint8_t *byte_buf, uint32_t byte_len);
95 uint32_t trusty_read_oem_ns_otp(uint32_t byte_off, uint8_t *byte_buf, uint32_t byte_len);
/OK3568_Linux_fs/u-boot/lib/optee_clientApi/
H A DOpteeClientInterface.c636 uint32_t trusty_write_oem_ns_otp(uint32_t byte_off, uint8_t *byte_buf, uint32_t byte_len) in trusty_write_oem_ns_otp() argument
666 TeecOperation.params[0].value.a = byte_off; in trusty_write_oem_ns_otp()
701 uint32_t trusty_read_oem_ns_otp(uint32_t byte_off, uint8_t *byte_buf, uint32_t byte_len) in trusty_read_oem_ns_otp() argument
731 TeecOperation.params[0].value.a = byte_off; in trusty_read_oem_ns_otp()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.c5110 __u32 byte_off, byte_sz, bit_off, bit_sz, field_type_id; in bpf_core_calc_field_relo() local
5162 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo()
5164 while (bit_off + bit_sz - byte_off * 8 > byte_sz * 8) { in bpf_core_calc_field_relo()
5172 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo()
5179 byte_off = spec->bit_offset / 8; in bpf_core_calc_field_relo()
5192 *val = byte_off; in bpf_core_calc_field_relo()
5210 *val = 64 - (bit_off + bit_sz - byte_off * 8); in bpf_core_calc_field_relo()
5212 *val = (8 - byte_sz) * 8 + (bit_off - byte_off * 8); in bpf_core_calc_field_relo()