Lines Matching defs:wrp

1194 static u32 pwrap_readl(struct pmic_wrapper *wrp, enum pwrap_regs reg)  in pwrap_readl()
1199 static void pwrap_writel(struct pmic_wrapper *wrp, u32 val, enum pwrap_regs reg) in pwrap_writel()
1204 static u32 pwrap_get_fsm_state(struct pmic_wrapper *wrp) in pwrap_get_fsm_state()
1215 static bool pwrap_is_fsm_idle(struct pmic_wrapper *wrp) in pwrap_is_fsm_idle()
1220 static bool pwrap_is_fsm_vldclr(struct pmic_wrapper *wrp) in pwrap_is_fsm_vldclr()
1233 static inline void pwrap_leave_fsm_vldclr(struct pmic_wrapper *wrp) in pwrap_leave_fsm_vldclr()
1239 static bool pwrap_is_sync_idle(struct pmic_wrapper *wrp) in pwrap_is_sync_idle()
1244 static bool pwrap_is_fsm_idle_and_sync_idle(struct pmic_wrapper *wrp) in pwrap_is_fsm_idle_and_sync_idle()
1252 static int pwrap_read16(struct pmic_wrapper *wrp, u32 adr, u32 *rdata) in pwrap_read16()
1287 static int pwrap_read32(struct pmic_wrapper *wrp, u32 adr, u32 *rdata) in pwrap_read32()
1319 static int pwrap_read(struct pmic_wrapper *wrp, u32 adr, u32 *rdata) in pwrap_read()
1324 static int pwrap_write16(struct pmic_wrapper *wrp, u32 adr, u32 wdata) in pwrap_write16()
1347 static int pwrap_write32(struct pmic_wrapper *wrp, u32 adr, u32 wdata) in pwrap_write32()
1378 static int pwrap_write(struct pmic_wrapper *wrp, u32 adr, u32 wdata) in pwrap_write()
1393 static int pwrap_reset_spislave(struct pmic_wrapper *wrp) in pwrap_reset_spislave()
1434 static int pwrap_init_sidly(struct pmic_wrapper *wrp) in pwrap_init_sidly()
1464 static int pwrap_init_dual_io(struct pmic_wrapper *wrp) in pwrap_init_dual_io()
1500 static void pwrap_init_chip_select_ext(struct pmic_wrapper *wrp, u8 hext_write, in pwrap_init_chip_select_ext()
1521 static int pwrap_common_init_reg_clock(struct pmic_wrapper *wrp) in pwrap_common_init_reg_clock()
1538 static int pwrap_mt2701_init_reg_clock(struct pmic_wrapper *wrp) in pwrap_mt2701_init_reg_clock()
1559 static bool pwrap_is_cipher_ready(struct pmic_wrapper *wrp) in pwrap_is_cipher_ready()
1564 static bool pwrap_is_pmic_cipher_ready(struct pmic_wrapper *wrp) in pwrap_is_pmic_cipher_ready()
1577 static int pwrap_init_cipher(struct pmic_wrapper *wrp) in pwrap_init_cipher()
1675 static int pwrap_init_security(struct pmic_wrapper *wrp) in pwrap_init_security()
1699 static int pwrap_mt8135_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt8135_init_soc_specific()
1724 static int pwrap_mt8173_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt8173_init_soc_specific()
1738 static int pwrap_mt2701_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt2701_init_soc_specific()
1756 static int pwrap_mt7622_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt7622_init_soc_specific()
1765 static int pwrap_mt8183_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt8183_init_soc_specific()
1782 static int pwrap_init(struct pmic_wrapper *wrp) in pwrap_init()
1866 struct pmic_wrapper *wrp = dev_id; in pwrap_interrupt() local
2153 struct pmic_wrapper *wrp; in pwrap_probe() local