Lines Matching defs:pins
42 * Sort an associated group of pins according to their sequence numbers.
45 static void sort_pins_by_sequence(hda_nid_t *pins, struct auto_out_pin *list,
51 pins[i] = list[i].pin;
93 static void reorder_outputs(unsigned int nums, hda_nid_t *pins)
98 swap(pins[1], pins[2]);
155 * and the corresponding output pins are assigned to line_out_pins[],
158 * If more extra outputs (speaker and headphone) are found, the pins are
160 * is detected, one of speaker of HP pins is assigned as the primary
164 * The analog input pins are assigned to inputs array.
165 * The digital input/output pins are assigned to dig_in_pin and dig_out_pin,
240 "ignore pin 0x%x, too many assigned pins\n",
253 "ignore pin 0x%x, too many assigned pins\n",
266 "ignore pin 0x%x, too many assigned pins\n",
290 "ignore pin 0x%x, too many assigned pins\n",
477 * for mic and line-in pins, and set an appropriate prefix like "Front",
599 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins,
607 i = find_idx_in_nid_list(nid, pins, num_pins);
636 const hda_nid_t *pins, int num_pins)
642 i = find_idx_in_nid_list(nid, pins, num_pins);
646 if (pfx == check_output_pfx(codec, pins[j]))
699 * output pins. When @cfg is given as non-NULL, the function tries to get
836 if (action != HDA_FIXUP_ACT_PRE_PROBE || !fix->v.pins)
840 snd_hda_apply_pincfgs(codec, fix->v.pins);
857 if (action != HDA_FIXUP_ACT_PROBE || !fix->v.pins)
861 set_pin_targets(codec, fix->v.pins);
890 const struct hda_pintbl *pins,
902 t_pins = pins;
928 * @match_all_pins: all valid pins must match with the table entries
945 if (pin_config_match(codec, pq->pins, match_all_pins)) {