Home
last modified time | relevance | path

Searched refs:get_power_status (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dshpchp_core.c49 static int get_power_status(struct hotplug_slot *slot, u8 *value);
58 .get_power_status = get_power_status,
113 get_power_status(hotplug_slot, &slot->pwr_save); in init_slots()
179 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
187 retval = slot->hpc_ops->get_power_status(slot, value); in get_power_status()
H A Ds390_pci_hpc.c107 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
126 .get_power_status = get_power_status,
H A Dacpiphp_core.c55 static int get_power_status(struct hotplug_slot *slot, u8 *value);
64 .get_power_status = get_power_status,
173 * get_power_status - get power status of a slot
180 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
H A Dpciehp_core.c46 static int get_power_status(struct hotplug_slot *slot, u8 *value);
63 ops->get_power_status = get_power_status; in init_slot()
116 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
H A Dshpchp_ctrl.c449 slot->hpc_ops->get_power_status(slot, &slot->pwr_save); in update_slot_info()
465 p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in handle_button_press_event()
560 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_enable_slot()
571 p_slot->hpc_ops->get_power_status(p_slot, &(p_slot->pwr_save)); in shpchp_enable_slot()
621 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_disable_slot()
H A Dcpci_hotplug_core.c55 static int get_power_status(struct hotplug_slot *slot, u8 *value);
64 .get_power_status = get_power_status,
140 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
H A Drpaphp_core.c75 * get_power_status - get power status of a slot
79 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
533 .get_power_status = get_power_status,
H A Dpci_hotplug_core.c72 retval = get_power_status(pci_slot->hotplug, &value); in power_read_file()
242 (slot->ops->get_power_status)) in has_power_file()
H A Dibmphp_core.c314 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
320 debug("get_power_status - Entry hotplug_slot[%lx] pvalue[%lx]\n", in get_power_status()
333 debug("get_power_status - Exit rc[%d] rc[%x] value[%x]\n", in get_power_status()
1230 .get_power_status = get_power_status,
H A Dshpchp.h308 int (*get_power_status)(struct slot *slot, u8 *status); member
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dshpchp_core.c48 static int get_power_status(struct hotplug_slot *slot, u8 *value);
57 .get_power_status = get_power_status,
112 get_power_status(hotplug_slot, &slot->pwr_save); in init_slots()
178 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
186 retval = slot->hpc_ops->get_power_status(slot, value); in get_power_status()
H A Ds390_pci_hpc.c83 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
103 .get_power_status = get_power_status,
H A Dacpiphp_core.c54 static int get_power_status(struct hotplug_slot *slot, u8 *value);
63 .get_power_status = get_power_status,
172 * get_power_status - get power status of a slot
179 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
H A Dpciehp_core.c46 static int get_power_status(struct hotplug_slot *slot, u8 *value);
63 ops->get_power_status = get_power_status; in init_slot()
116 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
H A Dshpchp_ctrl.c449 slot->hpc_ops->get_power_status(slot, &slot->pwr_save); in update_slot_info()
465 p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in handle_button_press_event()
560 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_enable_slot()
571 p_slot->hpc_ops->get_power_status(p_slot, &(p_slot->pwr_save)); in shpchp_enable_slot()
621 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_disable_slot()
H A Dcpci_hotplug_core.c55 static int get_power_status(struct hotplug_slot *slot, u8 *value);
64 .get_power_status = get_power_status,
140 get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
H A Drpaphp_core.c77 * get_power_status - get power status of a slot
81 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
535 .get_power_status = get_power_status,
H A Dpci_hotplug_core.c72 retval = get_power_status(pci_slot->hotplug, &value); in power_read_file()
242 (slot->ops->get_power_status)) in has_power_file()
H A Dibmphp_core.c306 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() function
312 debug("get_power_status - Entry hotplug_slot[%lx] pvalue[%lx]\n", in get_power_status()
325 debug("get_power_status - Exit rc[%d] rc[%x] value[%x]\n", in get_power_status()
1159 .get_power_status = get_power_status,
/kernel/linux/linux-5.10/include/linux/
H A Dpci_hotplug.h25 * @get_power_status: Called to get the current power status of a slot.
43 int (*get_power_status) (struct hotplug_slot *slot, u8 *value); member
H A Denclosure.h75 void (*get_power_status)(struct enclosure_device *, member
/kernel/linux/linux-6.6/include/linux/
H A Dpci_hotplug.h25 * @get_power_status: Called to get the current power status of a slot.
43 int (*get_power_status) (struct hotplug_slot *slot, u8 *value); member
H A Denclosure.h75 void (*get_power_status)(struct enclosure_device *, member
/kernel/linux/linux-5.10/drivers/misc/
H A Denclosure.c589 if (edev->cb->get_power_status) in get_component_power_status()
590 edev->cb->get_power_status(edev, ecomp); in get_component_power_status()
594 return (edev->cb->get_power_status) ? -EIO : -ENOTTY; in get_component_power_status()
/kernel/linux/linux-6.6/drivers/misc/
H A Denclosure.c588 if (edev->cb->get_power_status) in get_component_power_status()
589 edev->cb->get_power_status(edev, ecomp); in get_component_power_status()
593 return (edev->cb->get_power_status) ? -EIO : -ENOTTY; in get_component_power_status()

Completed in 17 milliseconds

12