Home
last modified time | relevance | path

Searched refs:pin_idx (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/sound/pci/hda/
Dpatch_hdmi.c242 int pin_idx; in pin_id_to_pin_index() local
252 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in pin_id_to_pin_index()
253 per_pin = get_pin(spec, pin_idx); in pin_id_to_pin_index()
256 return pin_idx; in pin_id_to_pin_index()
282 int pin_idx; in hinfo_to_pin_index() local
284 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in hinfo_to_pin_index()
285 per_pin = get_pin(spec, pin_idx); in hinfo_to_pin_index()
288 return pin_idx; in hinfo_to_pin_index()
762 int pin_idx = pin_id_to_pin_index(codec, nid, dev_id); in check_presence_and_report() local
764 if (pin_idx < 0) in check_presence_and_report()
[all …]
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-topology.c2159 struct skl_module_res *res, int pin_idx, int dir) in skl_tplg_manifest_pin_res_tkn() argument
2165 m_pin = &res->input[pin_idx]; in skl_tplg_manifest_pin_res_tkn()
2169 m_pin = &res->output[pin_idx]; in skl_tplg_manifest_pin_res_tkn()
2201 int pin_idx, int dir) in skl_tplg_fill_res_tkn() argument
2232 pin_idx, dir); in skl_tplg_fill_res_tkn()
3174 static int mod_idx, res_val_idx, intf_val_idx, dir, pin_idx; in skl_tplg_get_int_tkn() local
3266 pin_idx = (tkn_elem->value & SKL_PIN_COUNT_MASK) >> 4; in skl_tplg_get_int_tkn()
3293 ret = skl_tplg_fill_res_tkn(dev, tkn_elem, res, pin_idx, dir); in skl_tplg_get_int_tkn()
3323 dir, pin_idx); in skl_tplg_get_int_tkn()
/Linux-v5.4/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c615 u32 pin_idx) in armada_37xx_edge_both_irq_swap_pol() argument
617 u32 reg_idx = pin_idx / GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()
618 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()
/Linux-v5.4/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c1389 int i, ret, last_pin, pin_idx; in sunxi_pinctrl_init_with_variant() local
1427 for (i = 0, pin_idx = 0; i < pctl->desc->npins; i++) { in sunxi_pinctrl_init_with_variant()
1433 pins[pin_idx++] = pin->pin; in sunxi_pinctrl_init_with_variant()