Lines Matching refs:pin
214 int share_spdif; /* share SPDIF pin */
268 * Fix-up pin default configurations and add default verbs
361 /* helper macros to retrieve pin default-config values */
392 unsigned int snd_hda_get_default_vref(struct hda_codec *codec, hda_nid_t pin);
394 hda_nid_t pin, unsigned int val);
395 int _snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin,
399 * _snd_hda_set_pin_ctl - Set a pin-control value safely
401 * @pin: the pin NID to set the control
402 * @val: the pin-control value (AC_PINCTL_* bits)
404 * This function sets the pin-control value to the given pin, but
405 * filters out the invalid pin-control bits when the pin has no such
406 * capabilities. For example, when PIN_HP is passed but the pin has no
414 snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, unsigned int val)
416 return _snd_hda_set_pin_ctl(codec, pin, val, false);
420 * snd_hda_set_pin_ctl_cache - Set a pin-control value safely
422 * @pin: the pin NID to set the control
423 * @val: the pin-control value (AC_PINCTL_* bits)
428 snd_hda_set_pin_ctl_cache(struct hda_codec *codec, hda_nid_t pin,
431 return _snd_hda_set_pin_ctl(codec, pin, val, true);
509 * snd_hda_override_pin_caps - Override the pin capabilities