Home
last modified time | relevance | path

Searched refs:byte_addr (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/mtd/nand/
H A Decc-sw-hamming.c379 unsigned int byte_addr; in ecc_sw_hamming_correct() local
426 byte_addr = (addressbits[b1] << 4) + addressbits[b0]; in ecc_sw_hamming_correct()
428 byte_addr = (addressbits[b2 & 0x3] << 8) + in ecc_sw_hamming_correct()
432 buf[byte_addr] ^= (1 << bit_addr); in ecc_sw_hamming_correct()
/linux/arch/mips/cavium-octeon/executive/
H A Docteon-model.c39 static uint8_t __init cvmx_fuse_read_byte(int byte_addr) in cvmx_fuse_read_byte() argument
44 read_cmd.s.addr = byte_addr; in cvmx_fuse_read_byte()
/linux/drivers/mtd/nand/raw/
H A Dpl35x-nand-controller.c400 unsigned short byte_addr, bit_addr; in pl35x_nand_correct_data() local
422 byte_addr = (ecc_odd >> 3) & PL35X_NAND_ECC_BYTE_OFF_MASK; in pl35x_nand_correct_data()
426 buf[byte_addr] ^= (BIT(bit_addr)); in pl35x_nand_correct_data()
H A Dstm32_fmc2_nand.c535 u32 byte_addr = 0, b; in stm32_fmc2_nfc_ham_correct() local
568 byte_addr += shifting; in stm32_fmc2_nfc_ham_correct()
580 dat[byte_addr] ^= (1 << bit_position); in stm32_fmc2_nfc_ham_correct()