Lines Matching refs:u32

286 	u32 pmem, patt;  in stm32_fmc2_nfc_timings_init()
312 u32 pcr = 0, pcr_mask; in stm32_fmc2_nfc_setup()
399 u32 pcr; in stm32_fmc2_nfc_set_buswidth_16()
485 static void stm32_fmc2_nfc_ham_set_ecc(const u32 ecc_sta, u8 *ecc) in stm32_fmc2_nfc_ham_set_ecc()
496 u32 sr, heccr; in stm32_fmc2_nfc_ham_calculate()
518 u32 byte_addr = 0, b; in stm32_fmc2_nfc_ham_correct()
519 u32 i, shifting = 1; in stm32_fmc2_nfc_ham_correct()
577 u32 bchpbr; in stm32_fmc2_nfc_bch_calculate()
617 static int stm32_fmc2_nfc_bch_decode(int eccsize, u8 *dat, u32 *ecc_sta) in stm32_fmc2_nfc_bch_decode()
619 u32 bchdsr0 = ecc_sta[0]; in stm32_fmc2_nfc_bch_decode()
620 u32 bchdsr1 = ecc_sta[1]; in stm32_fmc2_nfc_bch_decode()
621 u32 bchdsr2 = ecc_sta[2]; in stm32_fmc2_nfc_bch_decode()
622 u32 bchdsr3 = ecc_sta[3]; in stm32_fmc2_nfc_bch_decode()
623 u32 bchdsr4 = ecc_sta[4]; in stm32_fmc2_nfc_bch_decode()
660 u32 ecc_sta[5]; in stm32_fmc2_nfc_bch_correct()
745 u32 ecc_offset = mtd->writesize + FMC2_BBM_LEN; in stm32_fmc2_nfc_rw_page_init()
750 u32 cfg[5]; in stm32_fmc2_nfc_rw_page_init()
1020 u32 csqemsr; in stm32_fmc2_nfc_get_mapping_status()
1036 u32 *ecc_sta = (u32 *)nfc->ecc_buf; in stm32_fmc2_nfc_seq_correct()
1188 if (!IS_ALIGNED((uintptr_t)buf, sizeof(u32))) { in stm32_fmc2_nfc_read_data()
1195 if (!IS_ALIGNED((uintptr_t)buf, sizeof(u32)) && in stm32_fmc2_nfc_read_data()
1204 while (len >= sizeof(u32)) { in stm32_fmc2_nfc_read_data()
1205 *(u32 *)buf = readl_relaxed(io_addr_r); in stm32_fmc2_nfc_read_data()
1206 buf += sizeof(u32); in stm32_fmc2_nfc_read_data()
1207 len -= sizeof(u32); in stm32_fmc2_nfc_read_data()
1235 if (!IS_ALIGNED((uintptr_t)buf, sizeof(u32))) { in stm32_fmc2_nfc_write_data()
1242 if (!IS_ALIGNED((uintptr_t)buf, sizeof(u32)) && in stm32_fmc2_nfc_write_data()
1251 while (len >= sizeof(u32)) { in stm32_fmc2_nfc_write_data()
1252 writel_relaxed(*(u32 *)buf, io_addr_w); in stm32_fmc2_nfc_write_data()
1253 buf += sizeof(u32); in stm32_fmc2_nfc_write_data()
1254 len -= sizeof(u32); in stm32_fmc2_nfc_write_data()
1277 u32 isr, sr; in stm32_fmc2_nfc_waitrdy()
1353 u32 pcr; in stm32_fmc2_nfc_init()
1773 u32 cs; in stm32_fmc2_nfc_parse_child()
1779 nand->ncs /= sizeof(u32); in stm32_fmc2_nfc_parse_child()