Searched refs:TPAM_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance
29 writel(((unsigned long)addr) | TPAM_PAGE_SIZE, in copy_to_pam_dword()33 writel(val, card->bar0 + (((u32)addr) & TPAM_PAGE_SIZE)); in copy_to_pam_dword()52 page = ((u32)to) | TPAM_PAGE_SIZE; in copy_to_pam()53 offset = ((u32)to) & TPAM_PAGE_SIZE; in copy_to_pam()54 count = n < TPAM_PAGE_SIZE - offset in copy_to_pam()56 : TPAM_PAGE_SIZE - offset; in copy_to_pam()81 writel(((u32)addr) | TPAM_PAGE_SIZE, in copy_from_pam_dword()85 return readl(card->bar0 + (((u32)addr) & TPAM_PAGE_SIZE)); in copy_from_pam_dword()100 page = ((u32)from) | TPAM_PAGE_SIZE; in copy_from_pam()101 offset = ((u32)from) & TPAM_PAGE_SIZE; in copy_from_pam()[all …]
25 #define TPAM_PAGE_SIZE 0x003ffffc /* 4 MB */ macro