Lines Matching defs:wrp
1389 static u32 pwrap_readl(struct pmic_wrapper *wrp, enum pwrap_regs reg) in pwrap_readl()
1394 static void pwrap_writel(struct pmic_wrapper *wrp, u32 val, enum pwrap_regs reg) in pwrap_writel()
1399 static u32 pwrap_get_fsm_state(struct pmic_wrapper *wrp) in pwrap_get_fsm_state()
1410 static bool pwrap_is_fsm_idle(struct pmic_wrapper *wrp) in pwrap_is_fsm_idle()
1415 static bool pwrap_is_fsm_vldclr(struct pmic_wrapper *wrp) in pwrap_is_fsm_vldclr()
1428 static inline void pwrap_leave_fsm_vldclr(struct pmic_wrapper *wrp) in pwrap_leave_fsm_vldclr()
1434 static bool pwrap_is_sync_idle(struct pmic_wrapper *wrp) in pwrap_is_sync_idle()
1439 static bool pwrap_is_fsm_idle_and_sync_idle(struct pmic_wrapper *wrp) in pwrap_is_fsm_idle_and_sync_idle()
1447 static int pwrap_read16(struct pmic_wrapper *wrp, u32 adr, u32 *rdata) in pwrap_read16()
1482 static int pwrap_read32(struct pmic_wrapper *wrp, u32 adr, u32 *rdata) in pwrap_read32()
1514 static int pwrap_read(struct pmic_wrapper *wrp, u32 adr, u32 *rdata) in pwrap_read()
1519 static int pwrap_write16(struct pmic_wrapper *wrp, u32 adr, u32 wdata) in pwrap_write16()
1542 static int pwrap_write32(struct pmic_wrapper *wrp, u32 adr, u32 wdata) in pwrap_write32()
1573 static int pwrap_write(struct pmic_wrapper *wrp, u32 adr, u32 wdata) in pwrap_write()
1588 static bool pwrap_pmic_read_test(struct pmic_wrapper *wrp, const u32 *dew_regs, in pwrap_pmic_read_test()
1600 static int pwrap_reset_spislave(struct pmic_wrapper *wrp) in pwrap_reset_spislave()
1641 static int pwrap_init_sidly(struct pmic_wrapper *wrp) in pwrap_init_sidly()
1671 static int pwrap_init_dual_io(struct pmic_wrapper *wrp) in pwrap_init_dual_io()
1712 static void pwrap_init_chip_select_ext(struct pmic_wrapper *wrp, u8 hext_write, in pwrap_init_chip_select_ext()
1733 static int pwrap_common_init_reg_clock(struct pmic_wrapper *wrp) in pwrap_common_init_reg_clock()
1764 static int pwrap_mt2701_init_reg_clock(struct pmic_wrapper *wrp) in pwrap_mt2701_init_reg_clock()
1785 static bool pwrap_is_cipher_ready(struct pmic_wrapper *wrp) in pwrap_is_cipher_ready()
1790 static bool __pwrap_is_pmic_cipher_ready(struct pmic_wrapper *wrp, const u32 *dew_regs) in __pwrap_is_pmic_cipher_ready()
1803 static bool pwrap_is_pmic_cipher_ready(struct pmic_wrapper *wrp) in pwrap_is_pmic_cipher_ready()
1817 static void pwrap_config_cipher(struct pmic_wrapper *wrp, const u32 *dew_regs) in pwrap_config_cipher()
1825 static int pwrap_init_cipher(struct pmic_wrapper *wrp) in pwrap_init_cipher()
1926 static int pwrap_init_security(struct pmic_wrapper *wrp) in pwrap_init_security()
1958 static int pwrap_mt8135_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt8135_init_soc_specific()
1983 static int pwrap_mt8173_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt8173_init_soc_specific()
1997 static int pwrap_mt2701_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt2701_init_soc_specific()
2015 static int pwrap_mt6795_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt6795_init_soc_specific()
2028 static int pwrap_mt7622_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt7622_init_soc_specific()
2037 static int pwrap_mt8183_init_soc_specific(struct pmic_wrapper *wrp) in pwrap_mt8183_init_soc_specific()
2054 static int pwrap_init(struct pmic_wrapper *wrp) in pwrap_init()
2144 struct pmic_wrapper *wrp = dev_id; in pwrap_interrupt() local
2470 struct pmic_wrapper *wrp; in pwrap_probe() local