Lines Matching refs:membase
72 static inline void locomokbd_charge_all(unsigned long membase) in locomokbd_charge_all() argument
74 locomo_writel(0x00FF, membase + LOCOMO_KSC); in locomokbd_charge_all()
77 static inline void locomokbd_activate_all(unsigned long membase) in locomokbd_activate_all() argument
81 locomo_writel(0, membase + LOCOMO_KSC); in locomokbd_activate_all()
82 r = locomo_readl(membase + LOCOMO_KIC); in locomokbd_activate_all()
84 locomo_writel(r, membase + LOCOMO_KIC); in locomokbd_activate_all()
87 static inline void locomokbd_activate_col(unsigned long membase, int col) in locomokbd_activate_col() argument
94 locomo_writel(nbset, membase + LOCOMO_KSC); in locomokbd_activate_col()
97 static inline void locomokbd_reset_col(unsigned long membase, int col) in locomokbd_reset_col() argument
102 locomo_writel(nbset, membase + LOCOMO_KSC); in locomokbd_reset_col()
117 unsigned long membase = locomokbd->base; in locomokbd_scankeyboard() local
121 locomokbd_charge_all(membase); in locomokbd_scankeyboard()
126 locomokbd_activate_col(membase, col); in locomokbd_scankeyboard()
129 rowd = ~locomo_readl(membase + LOCOMO_KIB); in locomokbd_scankeyboard()
159 locomokbd_reset_col(membase, col); in locomokbd_scankeyboard()
161 locomokbd_activate_all(membase); in locomokbd_scankeyboard()