mali: add current_freq and time_in_state to interfaces

Also fix the flipped input when reading in table freq and voltages.