Home
last modified time | relevance | path

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

/linux-6.6.21/sound/pci/hda/
Dpatch_hdmi.c255 int pin_idx; in pin_id_to_pin_index() local
265 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in pin_id_to_pin_index()
266 per_pin = get_pin(spec, pin_idx); in pin_id_to_pin_index()
269 return pin_idx; in pin_id_to_pin_index()
295 int pin_idx; in hinfo_to_pin_index() local
297 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in hinfo_to_pin_index()
298 per_pin = get_pin(spec, pin_idx); in hinfo_to_pin_index()
301 return pin_idx; in hinfo_to_pin_index()
797 int pin_idx = pin_id_to_pin_index(codec, nid, dev_id); in check_presence_and_report() local
799 if (pin_idx < 0) in check_presence_and_report()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_common.h217 ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value,
220 ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
Dice_common.c5356 ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value, in ice_aq_set_gpio() argument
5365 cmd->gpio_num = pin_idx; in ice_aq_set_gpio()
5383 ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, in ice_aq_get_gpio() argument
5393 cmd->gpio_num = pin_idx; in ice_aq_get_gpio()
/linux-6.6.21/drivers/iio/proximity/
Dsx9324.c183 int i, ret, pin_idx; in sx9324_phase_configuration_show() local
191 pin_idx = (val & SX9324_REG_AFE_PH0_PIN_MASK(i)) >> (2 * i); in sx9324_phase_configuration_show()
193 sx9324_cs_pin_usage[pin_idx]); in sx9324_phase_configuration_show()
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-topology.c2243 struct skl_module_res *res, int pin_idx, int dir) in skl_tplg_manifest_pin_res_tkn() argument
2249 m_pin = &res->input[pin_idx]; in skl_tplg_manifest_pin_res_tkn()
2253 m_pin = &res->output[pin_idx]; in skl_tplg_manifest_pin_res_tkn()
2285 int pin_idx, int dir) in skl_tplg_fill_res_tkn() argument
2316 pin_idx, dir); in skl_tplg_fill_res_tkn()
3289 static int mod_idx, res_val_idx, intf_val_idx, dir, pin_idx; in skl_tplg_get_int_tkn() local
3381 pin_idx = (tkn_elem->value & SKL_PIN_COUNT_MASK) >> 4; in skl_tplg_get_int_tkn()
3408 ret = skl_tplg_fill_res_tkn(dev, tkn_elem, res, pin_idx, dir); in skl_tplg_get_int_tkn()
3438 dir, pin_idx); in skl_tplg_get_int_tkn()
Dskl-topology.h159 u32 pin_idx; member
Dskl-messages.c513 pin_fmt->pin_idx = pin_res->pin_index; in skl_set_base_ext_module_format()
524 pin_fmt->pin_idx = pin_res->pin_index; in skl_set_base_ext_module_format()
/linux-6.6.21/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c628 u32 pin_idx) in armada_37xx_edge_both_irq_swap_pol() argument
630 u32 reg_idx = pin_idx / GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()
631 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()
/linux-6.6.21/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c1484 int i, ret, last_pin, pin_idx; in sunxi_pinctrl_init_with_variant() local
1530 for (i = 0, pin_idx = 0; i < pctl->desc->npins; i++) { in sunxi_pinctrl_init_with_variant()
1536 pins[pin_idx++] = pin->pin; in sunxi_pinctrl_init_with_variant()