| /openbmc/u-boot/cmd/ |
| H A D | otp.c | 268 int bit_offset; in get_dw_bit() local 273 bit_offset = offset; in get_dw_bit() 276 bit_offset = offset - 32; in get_dw_bit() 278 if ((rid[i] >> bit_offset) & 0x1) in get_dw_bit() 464 static int verify_bit(u32 otp_addr, int bit_offset, int value) in verify_bit() argument 479 if (((ret[0] >> bit_offset) & 1) == value) in verify_bit() 484 if (((ret[1] >> bit_offset) & 1) == value) in verify_bit() 553 static int _otp_prog_bit(u32 value, u32 prog_address, u32 bit_offset) in _otp_prog_bit() argument 559 prog_bit = ~(0x1 << bit_offset); in _otp_prog_bit() 566 prog_bit = 0x1 << bit_offset; in _otp_prog_bit() [all …]
|
| H A D | otp_info.h | 12 signed char bit_offset; member 20 signed char bit_offset; member 27 signed char bit_offset; member
|
| /openbmc/u-boot/arch/x86/cpu/quark/ |
| H A D | acpi.c | 66 fadt->reset_reg.bit_offset = 0; in acpi_create_fadt() 79 fadt->x_pm1a_evt_blk.bit_offset = 0; in acpi_create_fadt() 86 fadt->x_pm1b_evt_blk.bit_offset = 0; in acpi_create_fadt() 93 fadt->x_pm1a_cnt_blk.bit_offset = 0; in acpi_create_fadt() 100 fadt->x_pm1b_cnt_blk.bit_offset = 0; in acpi_create_fadt() 107 fadt->x_pm2_cnt_blk.bit_offset = 0; in acpi_create_fadt() 114 fadt->x_pm_tmr_blk.bit_offset = 0; in acpi_create_fadt() 121 fadt->x_gpe0_blk.bit_offset = 0; in acpi_create_fadt() 128 fadt->x_gpe1_blk.bit_offset = 0; in acpi_create_fadt()
|
| /openbmc/u-boot/arch/x86/cpu/baytrail/ |
| H A D | acpi.c | 71 fadt->reset_reg.bit_offset = 0; in acpi_create_fadt() 84 fadt->x_pm1a_evt_blk.bit_offset = 0; in acpi_create_fadt() 91 fadt->x_pm1b_evt_blk.bit_offset = 0; in acpi_create_fadt() 98 fadt->x_pm1a_cnt_blk.bit_offset = 0; in acpi_create_fadt() 105 fadt->x_pm1b_cnt_blk.bit_offset = 0; in acpi_create_fadt() 112 fadt->x_pm2_cnt_blk.bit_offset = 0; in acpi_create_fadt() 119 fadt->x_pm_tmr_blk.bit_offset = 0; in acpi_create_fadt() 126 fadt->x_gpe0_blk.bit_offset = 0; in acpi_create_fadt() 133 fadt->x_gpe1_blk.bit_offset = 0; in acpi_create_fadt()
|
| /openbmc/openbmc/meta-aspeed/recipes-aspeed/python/socsec/ |
| H A D | 0001-otptool-Define-value_start-in-rev_id-path.patch | 19 bit_offset = info['bit_offset'] 20 offset = dw_offset*32 + bit_offset
|
| /openbmc/u-boot/doc/device-tree-bindings/clock/ |
| H A D | st,stm32-rcc.txt | 38 It is calculated as: index = register_offset / 4 * 32 + bit_offset. 39 Where bit_offset is the bit offset within the register (LSB is 0, MSB is 31). 86 It is calculated as: index = register_offset / 4 * 32 + bit_offset. 87 Where bit_offset is the bit offset within the register.
|
| H A D | st,stm32h7-rcc.txt | 139 It is calculated as: index = register_offset / 4 * 32 + bit_offset. 140 Where bit_offset is the bit offset within the register.
|
| /openbmc/u-boot/arch/arm/include/asm/arch-rockchip/ |
| H A D | rockchip_mipi_dsi.h | 24 #define DSI_HOST_BITS(addr, bits, bit_offset) \ argument 25 ((addr << ADDR_SHIFT) | (bits << BITS_SHIFT) | (bit_offset << OFFSET_SHIFT))
|
| /openbmc/u-boot/lib/ |
| H A D | sha512.c | 240 const int bit_offset = SHA512_BLOCK_SIZE - sizeof(uint64_t[2]); in sha512_base_do_finalize() local 241 uint64_t *bits = (uint64_t *)(sctx->buf + bit_offset); in sha512_base_do_finalize() 245 if (partial > bit_offset) { in sha512_base_do_finalize() 252 memset(sctx->buf + partial, 0x0, bit_offset - partial); in sha512_base_do_finalize()
|
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | mxs_nand.c | 377 uint32_t bit_offset = geo->block_mark_bit_offset; in mxs_nand_swap_block_mark() local 389 src = data_buf[buf_offset] >> bit_offset; in mxs_nand_swap_block_mark() 390 src |= data_buf[buf_offset + 1] << (8 - bit_offset); in mxs_nand_swap_block_mark() 396 data_buf[buf_offset] &= ~(0xff << bit_offset); in mxs_nand_swap_block_mark() 397 data_buf[buf_offset + 1] &= 0xff << bit_offset; in mxs_nand_swap_block_mark() 399 data_buf[buf_offset] |= dst << bit_offset; in mxs_nand_swap_block_mark() 400 data_buf[buf_offset + 1] |= dst >> (8 - bit_offset); in mxs_nand_swap_block_mark()
|
| /openbmc/qemu/include/hw/acpi/ |
| H A D | acpi-defs.h | 54 uint8_t bit_offset; /* Bit offset within the register */ member
|
| H A D | aml-build.h | 466 uint8_t bit_width, uint8_t bit_offset, 472 build_append_gas(table, s->space_id, s->bit_width, s->bit_offset, in build_append_gas_from_struct()
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | aspeed_spi.c | 1291 u32 bit_offset; in aspeed_spi_fill_AQCD() local 1298 bit_offset = (addr_width - 3) * 8; in aspeed_spi_fill_AQCD() 1303 if ((u8)((reg_val & (0xff << bit_offset)) >> bit_offset) == cmd) { in aspeed_spi_fill_AQCD() 1313 if ((u8)((reg_val & (0xff << bit_offset)) >> bit_offset) == 0x0) { in aspeed_spi_fill_AQCD() 1314 reg_val |= ((u32)cmd << bit_offset); in aspeed_spi_fill_AQCD() 1322 reg_val = 0x80000000 | ((u32)cmd << bit_offset); in aspeed_spi_fill_AQCD()
|
| /openbmc/u-boot/arch/x86/include/asm/ |
| H A D | acpi_table.h | 134 u8 bit_offset; /* Register bit offset */ member
|
| /openbmc/u-boot/arch/x86/lib/ |
| H A D | acpi_table.c | 414 spcr->serial_port.bit_offset = 0; in acpi_create_spcr()
|
| /openbmc/qemu/hw/acpi/ |
| H A D | erst.c | 217 gas.bit_offset = 0; in build_serialization_instruction()
|
| H A D | aml-build.c | 407 uint8_t bit_width, uint8_t bit_offset, in build_append_gas() argument 412 build_append_int_noprefix(table, bit_offset, 1); in build_append_gas()
|
| /openbmc/qemu/docs/interop/ |
| H A D | qcow2.rst | 910 bit_offset(byte_nr) =
|
| /openbmc/qemu/disas/ |
| H A D | nanomips.c | 66 static uint64 extract_bits(uint64 data, uint32 bit_offset, uint32 bit_size) in extract_bits() argument 68 return (data << (64 - (bit_size + bit_offset))) >> (64 - bit_size); in extract_bits()
|
| /openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/ |
| H A D | 0001-ffmpeg-5.1.4-rpi_24.patch | 8611 + uint32_t bit_size, uint32_t bit_offset) 8627 + .data_bit_offset = bit_offset, 8629 + .data_byte_offset = bit_offset / 8 + 1,
|