Searched refs:power_state (Results 1 – 11 of 11) sorted by relevance
/sound/soc/codecs/ |
D | tpa6130a2.c | 51 u8 power_state:1; member 65 if (data->power_state) { in tpa6130a2_i2c_read() 87 if (data->power_state) { in tpa6130a2_i2c_write() 141 if (power == data->power_state) in tpa6130a2_power() 155 data->power_state = 1; in tpa6130a2_power() 163 data->power_state = 0; in tpa6130a2_power() 183 data->power_state = 0; in tpa6130a2_power()
|
/sound/pci/hda/ |
D | hda_codec.h | 196 unsigned int power_state); 385 unsigned int power_state); 557 unsigned int power_state);
|
D | hda_codec.c | 1376 hda_nid_t fg, unsigned int power_state); 1379 unsigned int power_state); 3935 unsigned int power_state) in snd_hda_codec_set_power_to_all() argument 3942 unsigned int state = power_state; in snd_hda_codec_set_power_to_all() 3946 state = codec->power_filter(codec, nid, power_state); in snd_hda_codec_set_power_to_all() 3947 if (state != power_state && power_state == AC_PWRST_D3) in snd_hda_codec_set_power_to_all() 3960 unsigned int power_state) in snd_hda_codec_get_supported_ps() argument 3966 if (sup & power_state) in snd_hda_codec_get_supported_ps() 3977 unsigned int power_state) in hda_sync_power_state() argument 3988 if (actual_state == power_state) in hda_sync_power_state() [all …]
|
D | hda_generic.h | 335 unsigned int power_state);
|
D | patch_realtek.c | 3264 unsigned int power_state) in led_power_filter() argument 3268 if (power_state != AC_PWRST_D3 || nid == 0 || in led_power_filter() 3270 return power_state; in led_power_filter() 4310 unsigned int power_state) in alc_power_filter_xps13() argument 4318 return power_state; in alc_power_filter_xps13() 6408 unsigned int power_state) in gpio_led_power_filter() argument 6411 if (nid == codec->afg && power_state == AC_PWRST_D3 && spec->gpio_led) in gpio_led_power_filter() 6413 return power_state; in gpio_led_power_filter()
|
D | patch_hdmi.c | 2323 unsigned int power_state) in haswell_set_power_state() argument 2325 if (power_state == AC_PWRST_D0) { in haswell_set_power_state() 2330 snd_hda_codec_read(codec, fg, 0, AC_VERB_SET_POWER_STATE, power_state); in haswell_set_power_state() 2331 snd_hda_codec_set_power_to_all(codec, fg, power_state); in haswell_set_power_state()
|
D | hda_local.h | 705 unsigned int power_state);
|
D | patch_sigmatel.c | 389 unsigned int power_state) in stac_vref_led_power_filter() argument 391 if (nid == codec->afg && power_state == AC_PWRST_D3) in stac_vref_led_power_filter() 393 return snd_hda_gen_path_power_filter(codec, nid, power_state); in stac_vref_led_power_filter()
|
D | hda_generic.c | 4392 unsigned int power_state) in snd_hda_gen_path_power_filter() argument 4394 if (power_state != AC_PWRST_D0 || nid == codec->afg) in snd_hda_gen_path_power_filter() 4395 return power_state; in snd_hda_gen_path_power_filter() 4397 return power_state; in snd_hda_gen_path_power_filter() 4399 return power_state; in snd_hda_gen_path_power_filter()
|
/sound/core/ |
D | init.c | 963 int snd_power_wait(struct snd_card *card, unsigned int power_state) in snd_power_wait() argument 969 if (snd_power_get_state(card) == power_state) in snd_power_wait() 978 if (snd_power_get_state(card) == power_state) in snd_power_wait()
|
D | control.c | 1424 return put_user(card->power_state, ip) ? -EFAULT : 0; in snd_ctl_ioctl()
|