Home
last modified time | relevance | path

Searched refs:bit_pos (Results 1 – 6 of 6) sorted by relevance

/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-yosemite4/plat-svc/files/
H A Dyosemite4-early-sys-init142 local bit_pos=$((i - start)) # Adjust bit position to 0-3 for each hub
143 i3c_mask=$((i3c_mask | $(BIT $bit_pos)))
144 smbus_mask=$((smbus_mask | $(BIT $bit_pos)))
145 gpio_mask=$((gpio_mask | $(BIT $bit_pos)))
148 i3c_val=$((i3c_val | $(BIT $bit_pos)))
149 smbus_val=$((smbus_val | $(BIT $bit_pos)))
151 gpio_val=$((gpio_val | (slot_gpio_val << bit_pos)))
/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c251 int k, m, n, pos, bit_pos; in get_config_reg() local
265 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) { in get_config_reg()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c200 unsigned int bit_pos; in sh_pfc_get_config_reg() local
207 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) { in sh_pfc_get_config_reg()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c502 uint32_t byte_pos, bit_pos; in omap_correct_data_bch() local
558 bit_pos = error_loc[count] % 8; in omap_correct_data_bch()
560 dat[byte_pos] ^= 1 << bit_pos; in omap_correct_data_bch()
563 read_ecc[byte_pos - SECTOR_BYTES] ^= 1 << bit_pos; in omap_correct_data_bch()
H A Datmel_nand.c442 int byte_pos, bit_pos, sector_size, pos; in pmecc_correct_data() local
451 bit_pos = tmp % 8; in pmecc_correct_data()
458 *(buf + byte_pos) ^= (1 << bit_pos); in pmecc_correct_data()
462 pos, bit_pos, err_byte, *(buf + byte_pos)); in pmecc_correct_data()
468 ecc[tmp] ^= (1 << bit_pos); in pmecc_correct_data()
472 pos, bit_pos, err_byte, ecc[tmp]); in pmecc_correct_data()
/openbmc/phosphor-power/test/
H A Djson_parser_utils_tests.cpp73 const json element = R"( "${bit_pos}" )"_json; in TEST()
118 const json element = R"( "${bit_pos}" )"_json; in TEST()