Searched refs:ibit (Results 1 – 2 of 2) sorted by relevance
| /openbmc/qemu/hw/misc/macio/ |
| H A D | gpio.c | 104 uint8_t ibit; in macio_gpio_write() local 118 ibit = (value & OUT_DATA) << 1; in macio_gpio_write() 120 ibit = s->gpio_regs[addr] & IN_DATA; in macio_gpio_write() 123 s->gpio_regs[addr] = value | ibit; in macio_gpio_write()
|
| /openbmc/u-boot/cmd/ |
| H A D | otp.c | 772 static int otp_strap_bit_confirm(struct otpstrap_status *otpstrap, int offset, int ibit, int bit, i… in otp_strap_bit_confirm() argument 777 if (ibit == 1) in otp_strap_bit_confirm() 1568 int bit, pbit, ibit, offset; in otp_prog_strap() local 1582 ibit = (strap_ignore[0] >> offset) & 0x1; in otp_prog_strap() 1590 ibit = (strap_ignore[1] >> offset) & 0x1; in otp_prog_strap() 1596 if (ibit == 1) in otp_prog_strap() 1804 int bit, pbit, ibit; in otp_check_strap_image() local 1815 ibit = (strap_ignore[0] >> i) & 0x1; in otp_check_strap_image() 1819 ibit = (strap_ignore[1] >> (i - 32)) & 0x1; in otp_check_strap_image() 1823 ret = otp_strap_bit_confirm(&otpstrap[i], i, ibit, bit, pbit); in otp_check_strap_image()
|