Searched refs:pin_idx (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/sound/pci/hda/ |
| D | patch_hdmi.c | 238 int pin_idx; in pin_id_to_pin_index() local 248 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in pin_id_to_pin_index() 249 per_pin = get_pin(spec, pin_idx); in pin_id_to_pin_index() 252 return pin_idx; in pin_id_to_pin_index() 278 int pin_idx; in hinfo_to_pin_index() local 280 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in hinfo_to_pin_index() 281 per_pin = get_pin(spec, pin_idx); in hinfo_to_pin_index() 284 return pin_idx; in hinfo_to_pin_index() 773 int pin_idx = pin_id_to_pin_index(codec, nid, dev_id); in check_presence_and_report() local 775 if (pin_idx < 0) in check_presence_and_report() [all …]
|
| /Linux-v5.10/sound/soc/intel/skylake/ |
| D | skl-topology.c | 2272 struct skl_module_res *res, int pin_idx, int dir) in skl_tplg_manifest_pin_res_tkn() argument 2278 m_pin = &res->input[pin_idx]; in skl_tplg_manifest_pin_res_tkn() 2282 m_pin = &res->output[pin_idx]; in skl_tplg_manifest_pin_res_tkn() 2314 int pin_idx, int dir) in skl_tplg_fill_res_tkn() argument 2345 pin_idx, dir); in skl_tplg_fill_res_tkn() 3296 static int mod_idx, res_val_idx, intf_val_idx, dir, pin_idx; in skl_tplg_get_int_tkn() local 3388 pin_idx = (tkn_elem->value & SKL_PIN_COUNT_MASK) >> 4; in skl_tplg_get_int_tkn() 3415 ret = skl_tplg_fill_res_tkn(dev, tkn_elem, res, pin_idx, dir); in skl_tplg_get_int_tkn() 3445 dir, pin_idx); in skl_tplg_get_int_tkn()
|
| /Linux-v5.10/drivers/pinctrl/mvebu/ |
| D | pinctrl-armada-37xx.c | 619 u32 pin_idx) in armada_37xx_edge_both_irq_swap_pol() argument 621 u32 reg_idx = pin_idx / GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol() 622 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()
|
| /Linux-v5.10/drivers/pinctrl/sunxi/ |
| D | pinctrl-sunxi.c | 1400 int i, ret, last_pin, pin_idx; in sunxi_pinctrl_init_with_variant() local 1437 for (i = 0, pin_idx = 0; i < pctl->desc->npins; i++) { in sunxi_pinctrl_init_with_variant() 1443 pins[pin_idx++] = pin->pin; in sunxi_pinctrl_init_with_variant()
|