Lines Matching defs:power

9 //    o Changes power status of internal codec blocks depending on the
12 // o Platform power domain - can support external components i.e. amps and
15 // o Jack insertion power event initiation - e.g. hp insertion will enable
17 // o Delayed power down of audio subsystem to reduce pops between a quick
67 /* dapm power sequences - make this per codec in the future */
523 return data->widget->power;
612 w->new_power = w->power;
697 * used during probe or resume from suspend to power up the device so
720 * Configure the bias (power) levels for the SoC audio device.
1110 /* We implement power down on suspend by checking the power state of
1453 /* Check to see if a power supply is needed */
1516 /* Insert a widget in order into a DAPM power sequence. */
1536 int power, ret;
1541 power = 1;
1545 power = 1;
1549 power = 0;
1553 power = 0;
1557 power = 1;
1561 power = 0;
1568 if (w->new_power != power)
1600 w->power = w->new_power;
1603 if (w->power)
1635 /* Apply a DAPM power sequence.
1637 * We walk over a pre-sorted list of widgets to apply power to. In
1725 "ASoC: Failed to apply widget power: %d\n", ret);
1866 bool power, bool connect)
1876 if (power != peer->power)
1880 static void dapm_widget_set_power(struct snd_soc_dapm_widget *w, bool power,
1886 if (w->power == power)
1889 trace_snd_soc_dapm_widget_power(w, power);
1891 /* If we changed our power state perhaps our neigbours changed
1895 dapm_widget_set_peer_power(path->source, power, path->connect);
1900 dapm_widget_set_peer_power(path->sink, power,
1904 if (power)
1914 int power;
1925 power = dapm_widget_power_check(w);
1927 dapm_widget_set_power(w, power, up_list, down_list);
1980 /* Check which widgets we need to power and store them in
2007 * generally don't require full power. Signal
2009 * power impact themselves.
2067 /* Now power up. */
2128 w->name, w->power ? "On" : "Off",
2273 /* test and update the power status of a mux widget */
2319 /* test and update the power status of a mixer or switch widget */
2403 /* only display widgets that burn power */
2423 w->name, w->power ? "On":"Off");
2606 * snd_soc_dapm_sync_unlocked - scan and power dapm paths
2630 * snd_soc_dapm_sync - scan and power dapm paths
3201 * power decisions. The main intended use case is for sidetone paths
3280 /* Read the initial power state from the device */
3286 w->power = 1;
4049 if (w->power)
4484 * necessary widget power changes.
4532 * do any widget power switching.
4550 * do any widget power switching.
4578 * do any widget power switching.
4617 * do any widget power switching.
4644 * do any widget power switching.
4661 * do any widget power switching.
4692 * do any widget power switching.
4713 * do any widget power switching.
4825 if (w->power) {
4832 /* If there were no widgets to power down we're already in