Searched refs:pin_idx (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/sound/pci/hda/ |
D | patch_hdmi.c | 244 int pin_idx; in pin_id_to_pin_index() local 254 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in pin_id_to_pin_index() 255 per_pin = get_pin(spec, pin_idx); in pin_id_to_pin_index() 258 return pin_idx; in pin_id_to_pin_index() 284 int pin_idx; in hinfo_to_pin_index() local 286 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in hinfo_to_pin_index() 287 per_pin = get_pin(spec, pin_idx); in hinfo_to_pin_index() 290 return pin_idx; in hinfo_to_pin_index() 776 int pin_idx = pin_id_to_pin_index(codec, nid, dev_id); in check_presence_and_report() local 778 if (pin_idx < 0) in check_presence_and_report() [all …]
|
/Linux-v5.15/sound/soc/intel/skylake/ |
D | skl-topology.c | 2274 struct skl_module_res *res, int pin_idx, int dir) in skl_tplg_manifest_pin_res_tkn() argument 2280 m_pin = &res->input[pin_idx]; in skl_tplg_manifest_pin_res_tkn() 2284 m_pin = &res->output[pin_idx]; in skl_tplg_manifest_pin_res_tkn() 2316 int pin_idx, int dir) in skl_tplg_fill_res_tkn() argument 2347 pin_idx, dir); in skl_tplg_fill_res_tkn() 3323 static int mod_idx, res_val_idx, intf_val_idx, dir, pin_idx; in skl_tplg_get_int_tkn() local 3415 pin_idx = (tkn_elem->value & SKL_PIN_COUNT_MASK) >> 4; in skl_tplg_get_int_tkn() 3442 ret = skl_tplg_fill_res_tkn(dev, tkn_elem, res, pin_idx, dir); in skl_tplg_get_int_tkn() 3472 dir, pin_idx); in skl_tplg_get_int_tkn()
|
D | skl-topology.h | 156 u32 pin_idx; member
|
D | skl-messages.c | 515 pin_fmt->pin_idx = pin_res->pin_index; in skl_set_base_ext_module_format() 526 pin_fmt->pin_idx = pin_res->pin_index; in skl_set_base_ext_module_format()
|
/Linux-v5.15/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 618 u32 pin_idx) in armada_37xx_edge_both_irq_swap_pol() argument 620 u32 reg_idx = pin_idx / GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol() 621 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()
|
/Linux-v5.15/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 1401 int i, ret, last_pin, pin_idx; in sunxi_pinctrl_init_with_variant() local 1438 for (i = 0, pin_idx = 0; i < pctl->desc->npins; i++) { in sunxi_pinctrl_init_with_variant() 1444 pins[pin_idx++] = pin->pin; in sunxi_pinctrl_init_with_variant()
|