// callback before larb clock is disabled void on_larb_power_off(struct larb_monitor *h, int larb_idx) { //M4ULOG("on_larb_power_off(), larb_idx=%d \n", larb_idx); larb_reg_backup(larb_idx); }
/***************************************************************************** * FUNCTION * on_larb_power_on * DESCRIPTION * Callback before larb clock is disabled * PARAMETERS * param1 : [IN] struct larb_monitor *h * No used in this function. * param2 : [IN] int larb_idx * larb index. * RETURNS * None. ****************************************************************************/ void on_larb_power_off(struct larb_monitor *h, int larb_idx) { SMIMSG("on_larb_power_off(), larb_idx=%d \n", larb_idx); larb_reg_backup(larb_idx); // larb_clock_off(0, "SMI"); }