Home
last modified time | relevance | path

Searched refs:hp_ctrl (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pci/hotplug/
H A Doctep_hp.c69 static void octep_hp_enable_pdev(struct octep_hp_controller *hp_ctrl, in octep_hp_enable_pdev() argument
72 guard(mutex)(&hp_ctrl->slot_lock); in octep_hp_enable_pdev()
80 hp_slot->hp_pdev = pci_scan_single_device(hp_ctrl->pdev->bus, in octep_hp_enable_pdev()
82 pci_bus_assign_resources(hp_ctrl->pdev->bus); in octep_hp_enable_pdev()
89 static void octep_hp_disable_pdev(struct octep_hp_controller *hp_ctrl, in octep_hp_disable_pdev() argument
92 guard(mutex)(&hp_ctrl->slot_lock); in octep_hp_disable_pdev()
94 pci_dbg(hp_ctrl->pdev, "Slot %s is already disabled\n", in octep_hp_disable_pdev()
132 octep_hp_register_slot(struct octep_hp_controller *hp_ctrl, in octep_hp_register_slot() argument
143 hp_slot->ctrl = hp_ctrl; in octep_hp_register_slot()
150 ret = pci_hp_register(&hp_slot->slot, hp_ctrl->pdev->bus, in octep_hp_register_slot()
[all …]
/linux/sound/soc/codecs/
H A Dda7219.c892 u8 hp_ctrl, min_gain_mask; in da7219_mixout_event() local
896 hp_ctrl = DA7219_HP_L_CTRL; in da7219_mixout_event()
900 hp_ctrl = DA7219_HP_R_CTRL; in da7219_mixout_event()
910 snd_soc_component_update_bits(component, hp_ctrl, min_gain_mask, in da7219_mixout_event()
918 snd_soc_component_update_bits(component, hp_ctrl, min_gain_mask, 0); in da7219_mixout_event()