| /linux/sound/hda/codecs/hdmi/ |
| H A D | hdmi.c | 54 int pin_idx; in snd_hda_hdmi_pin_id_to_pin_index() local 64 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in snd_hda_hdmi_pin_id_to_pin_index() 65 per_pin = get_pin(spec, pin_idx); in snd_hda_hdmi_pin_id_to_pin_index() 68 return pin_idx; in snd_hda_hdmi_pin_id_to_pin_index() 95 int pin_idx; in hinfo_to_pin_index() local 97 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in hinfo_to_pin_index() 98 per_pin = get_pin(spec, pin_idx); in hinfo_to_pin_index() 101 return pin_idx; in hinfo_to_pin_index() 588 int pin_idx = pin_id_to_pin_index(codec, nid, dev_id); in snd_hda_hdmi_check_presence_and_report() local 590 if (pin_idx < 0) in snd_hda_hdmi_check_presence_and_report() [all …]
|
| H A D | intelhdmi.c | 338 int pin_idx; in intel_not_share_assigned_cvt() local 341 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in intel_not_share_assigned_cvt() 345 per_pin = get_pin(spec, pin_idx); in intel_not_share_assigned_cvt() 449 int pin_idx = pin_id_to_pin_index(codec, pin_nid, dev_id); in i915_hsw_setup_stream() local 453 if (pin_idx < 0) in i915_hsw_setup_stream() 456 per_pin = get_pin(spec, pin_idx); in i915_hsw_setup_stream() 499 int pin_idx, res; in i915_hdmi_suspend() local 505 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in i915_hdmi_suspend() 506 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); in i915_hdmi_suspend() 539 int pin_idx, res; in i915_hdmi_resume() local [all …]
|
| H A D | atihdmi.c | 487 int pin_idx, err; in atihdmi_init() local 494 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in atihdmi_init() 495 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); in atihdmi_init()
|
| /linux/drivers/dpll/ |
| H A D | dpll_core.c | 81 .idx = pin->pin_idx, in dpll_pin_notify() 147 static void dpll_pin_idx_free(u32 pin_idx); 160 dpll_pin_idx_free(pin->pin_idx); in __dpll_pin_put() 216 ret = xa_insert(xa_pins, pin->pin_idx, ref, GFP_KERNEL); in dpll_xa_ref_pin_add() 227 xa_erase(xa_pins, pin->pin_idx); in dpll_xa_ref_pin_add() 556 static int dpll_pin_idx_alloc(u32 *pin_idx) in dpll_pin_idx_alloc() argument 560 if (!pin_idx) in dpll_pin_idx_alloc() 569 *pin_idx = (u32)ret + INT_MAX + 1; in dpll_pin_idx_alloc() 574 static void dpll_pin_idx_free(u32 pin_idx) in dpll_pin_idx_free() argument 576 if (pin_idx <= INT_MAX) in dpll_pin_idx_free() [all …]
|
| H A D | dpll_core.h | 60 u32 pin_idx; member
|
| H A D | dpll_netlink.c | 1308 parent_ref = xa_load(&pin->parent_refs, parent->pin_idx); in dpll_pin_on_pin_state_set()
|
| /linux/drivers/iio/proximity/ |
| H A D | sx9324.c | 182 int i, ret, pin_idx; in sx9324_phase_configuration_show() local 190 pin_idx = (val & SX9324_REG_AFE_PH0_PIN_MASK(i)) >> (2 * i); in sx9324_phase_configuration_show() 192 sx9324_cs_pin_usage[pin_idx]); in sx9324_phase_configuration_show()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_common.h | 338 ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value, 341 ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
|
| H A D | ice_common.c | 6130 ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value, in ice_aq_set_gpio() argument 6139 cmd->gpio_num = pin_idx; in ice_aq_set_gpio() 6157 ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, in ice_aq_get_gpio() argument 6167 cmd->gpio_num = pin_idx; in ice_aq_get_gpio()
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-zynqmp.c | 887 static int versal_pinctrl_get_attributes(u32 pin_idx, u32 *response) in versal_pinctrl_get_attributes() argument 894 qdata.arg1 = pin_idx; in versal_pinctrl_get_attributes()
|
| /linux/sound/soc/codecs/ |
| H A D | tas675x.c | 287 unsigned int pin_idx, in tas675x_config_gpio_pin() argument 301 (pin_idx + 1) << __ffs(tas675x_gpio_input_table[id].mask)); in tas675x_config_gpio_pin() 305 *gpio_ctrl |= pin_idx ? TAS675X_GPIO2_OUTPUT_EN : TAS675X_GPIO1_OUTPUT_EN; in tas675x_config_gpio_pin()
|