Lines Matching defs:power
822 /* sync power of each widget in the given path */
828 int i, state, power;
840 power = snd_hda_codec_read(codec, nid, 0,
842 if (power != (state | (state << 4))) {
861 /* do sync with the last power state change */
4242 /* power up/down widgets in the all paths that match with the given NID
4278 /* check the jack status for power control */
4286 /* power up/down the paths of the given pin according to the jack state;
4287 * power = 0/1 : only power up/down if it matches with the jack state,
4288 * < 0 : force power up/down to follow the jack sate
4293 int power)
4302 if (power >= 0 && on != power)
4316 /* callback only doing power up -- called at first */
4323 /* callback only doing power down -- called at last */
4330 /* set up the power up/down callbacks */
4346 /* enabled power callback to each available I/O pin with jack detections;
4366 /* sync path power up/down with the jack states of given pins */
4377 /* sync path power up/down with pins; called at init and resume */
4447 /* power up/down beep widget and its output paths */
4454 * snd_hda_gen_fix_pin_power - Fix the power of the given pin widget to D0
5013 * into power down
5016 * @power_state: target power state
5056 * snd_hda_gen_stream_pm - Stream power management callback
5059 * @on: power on/off flag
5154 /* add power-down pin callbacks at first */
5226 /* add power-up pin callbacks at last */
6152 * snd_hda_gen_check_power_status - check the loopback power save state