Home
last modified time | relevance | path

Searched refs:bitnum (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_ecc.c149 uint32_t byteoffs, bitnum; in nand_correct_data() local
161 bitnum = (s2 >> 5) & 0x04; in nand_correct_data()
162 bitnum |= (s2 >> 4) & 0x02; in nand_correct_data()
163 bitnum |= (s2 >> 3) & 0x01; in nand_correct_data()
165 dat[byteoffs] ^= (1 << bitnum); in nand_correct_data()
/openbmc/qemu/target/m68k/
H A Dtranslate.c2091 int bitnum; in DISAS_INSN() local
2101 bitnum = read_im16(env, s); in DISAS_INSN()
2103 if (bitnum & 0xfe00) { in DISAS_INSN()
2108 if (bitnum & 0xff00) { in DISAS_INSN()
2118 bitnum &= 7; in DISAS_INSN()
2120 bitnum &= 31; in DISAS_INSN()
2121 mask = 1 << bitnum; in DISAS_INSN()