Home
last modified time | relevance | path

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

/Linux-v4.19/sound/pci/hda/
Dpatch_hdmi.c245 int pin_idx; in pin_id_to_pin_index() local
255 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in pin_id_to_pin_index()
256 per_pin = get_pin(spec, pin_idx); in pin_id_to_pin_index()
259 return pin_idx; in pin_id_to_pin_index()
285 int pin_idx; in hinfo_to_pin_index() local
287 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in hinfo_to_pin_index()
288 per_pin = get_pin(spec, pin_idx); in hinfo_to_pin_index()
291 return pin_idx; in hinfo_to_pin_index()
765 int pin_idx = pin_id_to_pin_index(codec, nid, dev_id); in check_presence_and_report() local
767 if (pin_idx < 0) in check_presence_and_report()
[all …]
/Linux-v4.19/sound/soc/intel/skylake/
Dskl-topology.c2298 struct skl_module_res *res, int pin_idx, int dir) in skl_tplg_manifest_pin_res_tkn() argument
2304 m_pin = &res->input[pin_idx]; in skl_tplg_manifest_pin_res_tkn()
2308 m_pin = &res->output[pin_idx]; in skl_tplg_manifest_pin_res_tkn()
2340 int pin_idx, int dir) in skl_tplg_fill_res_tkn() argument
2379 pin_idx, dir); in skl_tplg_fill_res_tkn()
3319 static int mod_idx, res_val_idx, intf_val_idx, dir, pin_idx; in skl_tplg_get_int_tkn() local
3410 pin_idx = (tkn_elem->value & SKL_PIN_COUNT_MASK) >> 4; in skl_tplg_get_int_tkn()
3437 ret = skl_tplg_fill_res_tkn(dev, tkn_elem, res, pin_idx, dir); in skl_tplg_get_int_tkn()
3467 dir, pin_idx); in skl_tplg_get_int_tkn()
/Linux-v4.19/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c612 u32 pin_idx) in armada_37xx_edge_both_irq_swap_pol() argument
614 u32 reg_idx = pin_idx / GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()
615 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()
/Linux-v4.19/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c1254 int i, ret, last_pin, pin_idx; in sunxi_pinctrl_init_with_variant() local
1292 for (i = 0, pin_idx = 0; i < pctl->desc->npins; i++) { in sunxi_pinctrl_init_with_variant()
1298 pins[pin_idx++] = pin->pin; in sunxi_pinctrl_init_with_variant()