Searched refs:mid_pwr (Results 1 – 1 of 1) sorted by relevance
94 struct mid_pwr { struct104 static struct mid_pwr *midpwr; argument106 static u32 mid_pwr_get_state(struct mid_pwr *pwr, int reg) in mid_pwr_get_state()111 static void mid_pwr_set_state(struct mid_pwr *pwr, int reg, u32 value) in mid_pwr_set_state()116 static void mid_pwr_set_wake(struct mid_pwr *pwr, int reg, u32 value) in mid_pwr_set_wake()121 static void mid_pwr_interrupt_disable(struct mid_pwr *pwr) in mid_pwr_interrupt_disable()126 static bool mid_pwr_is_busy(struct mid_pwr *pwr) in mid_pwr_is_busy()132 static int mid_pwr_wait(struct mid_pwr *pwr) in mid_pwr_wait()147 static int mid_pwr_wait_for_cmd(struct mid_pwr *pwr, u8 cmd) in mid_pwr_wait_for_cmd()153 static int __update_power_state(struct mid_pwr *pwr, int reg, int bit, int new) in __update_power_state()[all …]