Searched refs:byte_addr (Results 1 – 4 of 4) sorted by relevance
379 unsigned int byte_addr; in ecc_sw_hamming_correct() local426 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()
39 static uint8_t __init cvmx_fuse_read_byte(int byte_addr) in cvmx_fuse_read_byte() argument44 read_cmd.s.addr = byte_addr; in cvmx_fuse_read_byte()
400 unsigned short byte_addr, bit_addr; in pl35x_nand_correct_data() local422 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()
518 u32 byte_addr = 0, b; in stm32_fmc2_nfc_ham_correct() local551 byte_addr += shifting; in stm32_fmc2_nfc_ham_correct()563 dat[byte_addr] ^= (1 << bit_position); in stm32_fmc2_nfc_ham_correct()