id
stringlengths
4
63
text
stringlengths
153
8.81M
acpi_dev_get_resources(9)
NAME acpi_dev_get_resources - Get current resources of a device. SYNOPSIS int acpi_dev_get_resources (struct acpi_device *adev , struct list_head *list , int (*preproc)(struct acpi_resource *, void *) , void *preproc_data ); ARGUMENTS adev ACPI device node to get the resources for. list Head of ...
acpi_dev_gpio_irq_wake_get_by(9)
NAME acpi_dev_gpio_irq_wake_get_by - Find GpioInt and translate it to Linux IRQ number SYNOPSIS int acpi_dev_gpio_irq_wake_get_by (struct acpi_device *adev , const char *con_id , int index , bool *wake_capable ); ARGUMENTS adev pointer to a ACPI device to get IRQ from con_id optional name of GpioI...
acpi_dev_hid_uid_match(9)
NAME acpi_dev_hid_uid_match - Match device by supplied HID and UID SYNOPSIS acpi_dev_hid_uid_match (adev , hid2 , uid2 ); ARGUMENTS adev ACPI device to match. hid2 Hardware ID of the device. uid2 Unique ID of the device, pass NULL to not check _UID. DESCRIPTION Matches HID and UI...
acpi_dev_irq_flags(9)
NAME acpi_dev_irq_flags - Determine IRQ resource flags. SYNOPSIS unsigned long acpi_dev_irq_flags (u8 triggering , u8 polarity , u8 shareable , u8 wake_capable ); ARGUMENTS triggering Triggering type as provided by ACPI. polarity Interrupt polarity as provided by ACPI. shareable Whether or not t...
acpi_dev_pm_attach(9)
NAME acpi_dev_pm_attach - Prepare device for ACPI power management. SYNOPSIS int acpi_dev_pm_attach (struct device *dev , bool power_on ); ARGUMENTS dev Device to prepare. power_on Whether or not to power on the device. DESCRIPTION If dev has a valid ACPI handle that has a valid struct acpi_device...
acpi_dev_pm_detach(9)
NAME acpi_dev_pm_detach - Remove ACPI power management from the device. SYNOPSIS void acpi_dev_pm_detach (struct device *dev , bool power_off ); ARGUMENTS dev Device to take care of. power_off Whether or not to try to remove power from the device. DESCRIPTION Remove the device from the general AC...
acpi_dev_pm_full_power(9)
NAME acpi_dev_pm_full_power - Put ACPI device into the full-power state. SYNOPSIS int acpi_dev_pm_full_power (struct acpi_device *adev ); ARGUMENTS adev ACPI device node to put into the full-power state. SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), ...
acpi_dev_pm_get_state(9)
NAME acpi_dev_pm_get_state - Get preferred power state of ACPI device. SYNOPSIS int acpi_dev_pm_get_state (struct device *dev , struct acpi_device *adev , u32 target_state , int *d_min_p , int *d_max_p ); ARGUMENTS dev Device whose preferred target power state to return. adev ACPI device node c...
acpi_dev_pm_low_power(9)
NAME acpi_dev_pm_low_power - Put ACPI device into a low-power state. SYNOPSIS int acpi_dev_pm_low_power (struct device *dev , struct acpi_device *adev , u32 system_state ); ARGUMENTS dev Device to put into a low-power state. adev ACPI device node corresponding to dev. system_state ...
acpi_dev_power_state_for_wake(9)
NAME acpi_dev_power_state_for_wake - Deepest power state for wakeup signaling SYNOPSIS u8 acpi_dev_power_state_for_wake (struct acpi_device *adev ); ARGUMENTS adev ACPI companion of the target device. DESCRIPTION Evaluate _S0W for adev and return the value produced by it or return ACPI_STATE_UNKNOWN on errors...
acpi_dev_power_up_children_with_adr(9)
NAME acpi_dev_power_up_children_with_adr - Power up childres with valid _ADR SYNOPSIS void acpi_dev_power_up_children_with_adr (struct acpi_device *adev ); ARGUMENTS adev Parent ACPI device object. DESCRIPTION Change the power states of the direct children of adev that are in D3cold and hold valid _ADR object...
acpi_dev_present(9)
NAME acpi_dev_present - Detect that a given ACPI device is present SYNOPSIS bool acpi_dev_present (const char *hid , const char *uid , s64 hrv ); ARGUMENTS hid Hardware ID of the device. uid Unique ID of the device, pass NULL to not check _UID hrv Hardware Revision of the devic...
acpi_dev_ready_for_enumeration(9)
NAME acpi_dev_ready_for_enumeration - Check if the ACPI device is ready for enumeration SYNOPSIS bool acpi_dev_ready_for_enumeration (const struct acpi_device *device ); ARGUMENTS device Pointer to the struct acpi_device to check DESCRIPTION Check if the device is present and has no unmet dependencies. Return ...
acpi_dev_resource_address_space(9)
NAME acpi_dev_resource_address_space - Extract ACPI address space information. SYNOPSIS bool acpi_dev_resource_address_space (struct acpi_resource *ares , struct resource_win *win ); ARGUMENTS ares Input ACPI resource object. win Output generic resource object. DESCRIPTION Check if the given A...
acpi_dev_resource_ext_address_space(9)
NAME acpi_dev_resource_ext_address_space - Extract ACPI address space information. SYNOPSIS bool acpi_dev_resource_ext_address_space (struct acpi_resource *ares , struct resource_win *win ); ARGUMENTS ares Input ACPI resource object. win Output generic resource object. DESCRIPTION Check if the...
acpi_dev_resource_interrupt(9)
NAME acpi_dev_resource_interrupt - Extract ACPI interrupt resource information. SYNOPSIS bool acpi_dev_resource_interrupt (struct acpi_resource *ares , int index , struct resource *res ); ARGUMENTS ares Input ACPI resource object. index Index into the array of GSIs represented by the resource. ...
acpi_dev_resource_io(9)
NAME acpi_dev_resource_io - Extract ACPI I/O resource information. SYNOPSIS bool acpi_dev_resource_io (struct acpi_resource *ares , struct resource *res ); ARGUMENTS ares Input ACPI resource object. res Output generic resource object. DESCRIPTION Check if the given ACPI resource object represe...
acpi_dev_resource_memory(9)
NAME acpi_dev_resource_memory - Extract ACPI memory resource information. SYNOPSIS bool acpi_dev_resource_memory (struct acpi_resource *ares , struct resource *res ); ARGUMENTS ares Input ACPI resource object. res Output generic resource object. DESCRIPTION Check if the given ACPI resource obj...
acpi_dev_resume(9)
NAME acpi_dev_resume - Put device into the full-power state using ACPI. SYNOPSIS int acpi_dev_resume (struct device *dev ); ARGUMENTS dev Device to put into the full-power state. DESCRIPTION Put the given device into the full-power state using the standard ACPI mechanism. Set the power state of the device t...
acpi_dev_state_d0(9)
NAME acpi_dev_state_d0 - Tell if the device is in D0 power state SYNOPSIS bool acpi_dev_state_d0 (struct device *dev ); ARGUMENTS dev Physical device the ACPI power state of which to check DESCRIPTION On a system without ACPI, return true. On a system with ACPI, return true if the current ACPI power state...
acpi_dev_suspend(9)
NAME acpi_dev_suspend - Put device into a low-power state using ACPI. SYNOPSIS int acpi_dev_suspend (struct device *dev , bool wakeup ); ARGUMENTS dev Device to put into a low-power state. wakeup Whether or not to enable wakeup for the device. DESCRIPTION Put the given device into a low-power s...
acpi_dev_uid_match(9)
NAME acpi_dev_uid_match - Match device by supplied UID SYNOPSIS acpi_dev_uid_match (adev , uid2 ); ARGUMENTS adev ACPI device to match. uid2 Unique ID of the device. DESCRIPTION Matches UID in adev with given uid2. RETURN true if matches, false otherwise. SEE ALSO Kernel file ./include/...
acpi_dev_uid_to_integer(9)
NAME acpi_dev_uid_to_integer - treat ACPI device _UID as integer SYNOPSIS int acpi_dev_uid_to_integer (struct acpi_device *adev , u64 *integer ); ARGUMENTS adev ACPI device to get _UID from integer output buffer for integer DESCRIPTION Considers _UID as integer and converts it to integer. Returns...
acpi_device_dep(9)
NAME acpi_device_dep - Check ACPI device dependency SYNOPSIS bool acpi_device_dep (acpi_handle target , acpi_handle match ); ARGUMENTS target ACPI handle of the target ACPI device. match ACPI handle to look up in the target's _DEP list. DESCRIPTION Return true if match is present in the list retur...
acpi_device_fix_up_power(9)
NAME acpi_device_fix_up_power - Force device with missing _PSC into D0. SYNOPSIS int acpi_device_fix_up_power (struct acpi_device *device ); ARGUMENTS device Device object whose power state is to be fixed up. DESCRIPTION Devices without power resources and _PSC, but having _PS0 and _PS3 defined, are assumed to ...
acpi_device_fix_up_power_children(9)
NAME acpi_device_fix_up_power_children - Force a device's children into D0. SYNOPSIS void acpi_device_fix_up_power_children (struct acpi_device *adev ); ARGUMENTS adev Parent device object whose children's power state is to be fixed up. DESCRIPTION Call acpi_device_fix_up_power for adev's children so long as ...
acpi_device_fix_up_power_extended(9)
NAME acpi_device_fix_up_power_extended - Force device and its children into D0. SYNOPSIS void acpi_device_fix_up_power_extended (struct acpi_device *adev ); ARGUMENTS adev Parent device object whose power state is to be fixed up. DESCRIPTION Call acpi_device_fix_up_power for adev and its children so long as t...
acpi_device_get_power(9)
NAME acpi_device_get_power - Get power state of an ACPI device. SYNOPSIS int acpi_device_get_power (struct acpi_device *device , int *state ); ARGUMENTS device Device to get the power state of. state Place to store the power state of the device. DESCRIPTION This function does not update the device...
acpi_device_is_first_physical_node(9)
NAME acpi_device_is_first_physical_node - Is given dev first physical node SYNOPSIS bool acpi_device_is_first_physical_node (struct acpi_device *adev , const struct device *dev ); ARGUMENTS adev ACPI companion device dev Physical device to check DESCRIPTION Function checks if given dev is ...
acpi_device_modalias(9)
NAME acpi_device_modalias - modalias sysfs attribute for ACPI-enumerated devices. SYNOPSIS int acpi_device_modalias (struct device *dev , char *buf , int size ); ARGUMENTS dev Struct device to get ACPI device node. buf The buffer to save pnp_modalias and of_modalias. size Size o...
acpi_device_power_add_dependent(9)
NAME acpi_device_power_add_dependent - Add dependent device of this ACPI device SYNOPSIS int acpi_device_power_add_dependent (struct acpi_device *adev , struct device *dev ); ARGUMENTS adev ACPI device pointer dev Dependent device DESCRIPTION If adev has non-empty _PR0 the dev is added a...
acpi_device_power_remove_dependent(9)
NAME acpi_device_power_remove_dependent - Remove dependent device SYNOPSIS void acpi_device_power_remove_dependent (struct acpi_device *adev , struct device *dev ); ARGUMENTS adev ACPI device pointer dev Dependent device DESCRIPTION Does the opposite of acpi_device_power_add_dependent and remo...
acpi_device_remove_files(9)
NAME acpi_device_remove_files - Remove sysfs attributes of an ACPI device. SYNOPSIS void acpi_device_remove_files (struct acpi_device *dev ); ARGUMENTS dev ACPI device object. SEE ALSO Kernel file ./drivers/acpi/device_sysfs.c create_pnp_modalias(9), create_of_modalias(9), acpi_device_uevent_modalias(9), acp...
acpi_device_set_power(9)
NAME acpi_device_set_power - Set power state of an ACPI device. SYNOPSIS int acpi_device_set_power (struct acpi_device *device , int state ); ARGUMENTS device Device to set the power state of. state New power state to set. DESCRIPTION Callers must ensure that the device is power manageable before ...
acpi_device_setup_files(9)
NAME acpi_device_setup_files - Create sysfs attributes of an ACPI device. SYNOPSIS void acpi_device_setup_files (struct acpi_device *dev ); ARGUMENTS dev ACPI device object. SEE ALSO Kernel file ./drivers/acpi/device_sysfs.c create_pnp_modalias(9), create_of_modalias(9), acpi_device_uevent_modalias(9), acpi_...
acpi_device_sleep_wake(9)
NAME acpi_device_sleep_wake - execute _DSW (Device Sleep Wake) or (deprecated in ACPI 3.0) _PSW (Power State Wake) SYNOPSIS int acpi_device_sleep_wake (struct acpi_device *dev , int enable , int sleep_state , int dev_state ); ARGUMENTS dev Device to handle. enable 0 - disable, 1 - enable the wake...
acpi_device_uevent_modalias(9)
NAME acpi_device_uevent_modalias - uevent modalias for ACPI-enumerated devices. SYNOPSIS int acpi_device_uevent_modalias (const struct device *dev , struct kobj_uevent_env *env ); ARGUMENTS dev Struct device to get ACPI device node. env Environment variables of the kobject uevent. DESCRIPTION...
acpi_device_wakeup_disable(9)
NAME acpi_device_wakeup_disable - Disable wakeup functionality for device. SYNOPSIS void acpi_device_wakeup_disable (struct acpi_device *adev ); ARGUMENTS adev ACPI device to disable wakeup functionality for. DESCRIPTION Disable the GPE associated with adev and disable wakeup power for it. Callers must ensur...
acpi_device_wakeup_enable(9)
NAME acpi_device_wakeup_enable - Enable wakeup functionality for device. SYNOPSIS int acpi_device_wakeup_enable (struct acpi_device *adev , u32 target_state ); ARGUMENTS adev ACPI device to enable wakeup functionality for. target_state State the system is transitioning into. DESCRIP...
acpi_disable_wakeup_devices(9)
NAME acpi_disable_wakeup_devices - Disable devices' wakeup capability. SYNOPSIS void acpi_disable_wakeup_devices (u8 sleep_state ); ARGUMENTS sleep_state ACPI system sleep state. SEE ALSO Kernel file ./drivers/acpi/wakeup.c acpi_enable_wakeup_devices(9), acpi_register_wakeup_handler(9), acpi_unregister_wakeup_handle...
acpi_dma_configure_id(9)
NAME acpi_dma_configure_id - Set-up DMA configuration for the device. SYNOPSIS int acpi_dma_configure_id (struct device *dev , enum dev_dma_attr attr , const u32 *input_id ); ARGUMENTS dev The pointer to the device attr device dma attributes input_id input device id const value point...
acpi_dma_controller_free(9)
NAME acpi_dma_controller_free - Remove a DMA controller from ACPI DMA helpers list SYNOPSIS int acpi_dma_controller_free (struct device *dev ); ARGUMENTS dev struct device of DMA controller DESCRIPTION Memory allocated by acpi_dma_controller_register is freed here. RETURN 0 on success or appropriate errno v...
acpi_dma_controller_register(9)
NAME acpi_dma_controller_register - Register a DMA controller to ACPI DMA helpers SYNOPSIS int acpi_dma_controller_register (struct device *dev , struct dma_chan *(*acpi_dma_xlate) (struct acpi_dma_spec *, struct acpi_dma *) , void *data ); ARGUMENTS dev struct device of DMA controller acpi_dma_xlate ...
acpi_dma_get_range(9)
NAME acpi_dma_get_range - Get device DMA parameters. SYNOPSIS int acpi_dma_get_range (struct device *dev , const struct bus_dma_region **map ); ARGUMENTS dev device to configure map pointer to DMA ranges result DESCRIPTION Evaluate DMA regions and return pointer to DMA regions on parsing succ...
acpi_dma_parse_csrt(9)
NAME acpi_dma_parse_csrt - parse CSRT to extract additional DMA resources SYNOPSIS void acpi_dma_parse_csrt (struct acpi_device *adev , struct acpi_dma *adma ); ARGUMENTS adev ACPI device to match with adma struct acpi_dma of the given DMA controller DESCRIPTION CSRT or Core System Resources Ta...
acpi_dma_parse_fixed_dma(9)
NAME acpi_dma_parse_fixed_dma - Parse FixedDMA ACPI resources to a DMA specifier SYNOPSIS int acpi_dma_parse_fixed_dma (struct acpi_resource *res , void *data ); ARGUMENTS res struct acpi_resource to get FixedDMA resources from data pointer to a helper struct acpi_dma_parser_data SEE ALSO Kern...
acpi_dma_parse_resource_group(9)
NAME acpi_dma_parse_resource_group - match device and parse resource group SYNOPSIS int acpi_dma_parse_resource_group (const struct acpi_csrt_group *grp , struct acpi_device *adev , struct acpi_dma *adma ); ARGUMENTS grp CSRT resource group adev ACPI device to match with adma str...
acpi_dma_request_slave_chan_by_index(9)
NAME acpi_dma_request_slave_chan_by_index - Get the DMA slave channel SYNOPSIS struct dma_chan * acpi_dma_request_slave_chan_by_index (struct device *dev , size_t index ); ARGUMENTS dev struct device to get DMA request from index index of FixedDMA descriptor for dev RETURN Pointer to appropriat...
acpi_dma_request_slave_chan_by_name(9)
NAME acpi_dma_request_slave_chan_by_name - Get the DMA slave channel SYNOPSIS struct dma_chan * acpi_dma_request_slave_chan_by_name (struct device *dev , const char *name ); ARGUMENTS dev struct device to get DMA request from name represents corresponding FixedDMA descriptor for dev DESCRIPTIO...
acpi_dma_simple_xlate(9)
NAME acpi_dma_simple_xlate - Simple ACPI DMA engine translation helper SYNOPSIS struct dma_chan * acpi_dma_simple_xlate (struct acpi_dma_spec *dma_spec , struct acpi_dma *adma ); ARGUMENTS dma_spec pointer to ACPI DMA specifier adma pointer to ACPI DMA controller data DESCRIPTION A simple translati...
acpi_dma_supported(9)
NAME acpi_dma_supported - Check DMA support for the specified device. SYNOPSIS bool acpi_dma_supported (const struct acpi_device *adev ); ARGUMENTS adev The pointer to acpi device DESCRIPTION Return false if DMA is not supported. Otherwise, return true SEE ALSO Kernel file ./drivers/acpi/scan.c acpi_sc...
acpi_dma_update_dma_spec(9)
NAME acpi_dma_update_dma_spec - prepare dma specifier to pass to translation function SYNOPSIS int acpi_dma_update_dma_spec (struct acpi_dma *adma , struct acpi_dma_spec *dma_spec ); ARGUMENTS adma struct acpi_dma of DMA controller dma_spec dma specifier to update DESCRIPTION Accordingly to ACPI 5...
acpi_dock_add(9)
NAME acpi_dock_add - Add a new dock station SYNOPSIS void acpi_dock_add (struct acpi_device *adev ); ARGUMENTS adev Dock station ACPI device object. DESCRIPTION allocated and initialize a new dock station device. SEE ALSO Kernel file ./drivers/acpi/dock.c add_dock_dependent_device(9), find_dock_dependent...
acpi_early_init(9)
NAME acpi_early_init - Initialize ACPICA and populate the ACPI namespace. SYNOPSIS void acpi_early_init (void ); ARGUMENTS void no arguments DESCRIPTION The ACPI tables are accessible after this, but the handling of events has not been initialized and the global lock is not available yet, so AML should not b...
acpi_enable_wakeup_devices(9)
NAME acpi_enable_wakeup_devices - Enable wake-up device GPEs. SYNOPSIS void acpi_enable_wakeup_devices (u8 sleep_state ); ARGUMENTS sleep_state ACPI system sleep state. DESCRIPTION Enable wakeup device power of devices with the state.enable flag set and set the wakeup enable mask bits in the GPE registers that corre...
acpi_evaluate_dsm(9)
NAME acpi_evaluate_dsm - evaluate device's _DSM method SYNOPSIS union acpi_object * acpi_evaluate_dsm (acpi_handle handle , const guid_t *guid , u64 rev , u64 func , union acpi_object *argv4 ); ARGUMENTS handle ACPI device handle guid GUID of requested functions, should be 16 bytes rev ...
acpi_evaluate_ej0(9)
NAME acpi_evaluate_ej0 - Evaluate _EJ0 method for hotplug operations SYNOPSIS acpi_status acpi_evaluate_ej0 (acpi_handle handle ); ARGUMENTS handle ACPI device handle DESCRIPTION Evaluate device's _EJ0 method for hotplug operations. SEE ALSO Kernel file ./drivers/acpi/utils.c acpi_handle_list_equal(9), acpi_h...
acpi_evaluate_lck(9)
NAME acpi_evaluate_lck - Evaluate _LCK method to lock/unlock device SYNOPSIS acpi_status acpi_evaluate_lck (acpi_handle handle , int lock ); ARGUMENTS handle ACPI device handle lock lock device if non-zero, otherwise unlock device DESCRIPTION Evaluate device's _LCK method if present to lock/unloc...
acpi_evaluate_ost(9)
NAME acpi_evaluate_ost - Evaluate _OST for hotplug operations SYNOPSIS acpi_status acpi_evaluate_ost (acpi_handle handle , u32 source_event , u32 status_code , struct acpi_buffer *status_buf ); ARGUMENTS handle ACPI device handle source_event source event code status_code statu...
acpi_evaluate_reg(9)
NAME acpi_evaluate_reg - Evaluate _REG method to register OpRegion presence SYNOPSIS acpi_status acpi_evaluate_reg (acpi_handle handle , u8 space_id , u32 function ); ARGUMENTS handle ACPI device handle space_id ACPI address space id to register OpRegion presence for function Parameter to p...
acpi_evaluation_failure_warn(9)
NAME acpi_evaluation_failure_warn - Log evaluation failure warning. SYNOPSIS void acpi_evaluation_failure_warn (acpi_handle handle , const char *name , acpi_status status ); ARGUMENTS handle Parent object handle. name Name of the object whose evaluation has failed. status Status value...
acpi_extract_apple_properties(9)
NAME acpi_extract_apple_properties - retrieve and convert Apple _DSM properties SYNOPSIS void acpi_extract_apple_properties (struct acpi_device *adev ); ARGUMENTS adev ACPI device for which to retrieve the properties DESCRIPTION Invoke Apple's custom _DSM once to check the protocol version and once more t...
acpi_fan_power_valid(9)
NAME acpi_fan_power_valid - Check if fan power value is valid SYNOPSIS bool acpi_fan_power_valid (u64 power ); ARGUMENTS power Power value returned by the ACPI firmware DESCRIPTION Check if the fan power value returned by the ACPI firmware is valid. See acpi_fan_speed_valid for details. RETURN True if the fa...
acpi_fan_speed_valid(9)
NAME acpi_fan_speed_valid - Check if fan speed value is valid SYNOPSIS bool acpi_fan_speed_valid (u64 speed ); ARGUMENTS speed -- undescribed -- DESCRIPTION Check if the fan speed value returned by the ACPI firmware is valid. This function is necessary as ACPI firmware implementations can return 0xFFFFFFFF ...
acpi_fetch_acpi_dev(9)
NAME acpi_fetch_acpi_dev - Retrieve ACPI device object. SYNOPSIS struct acpi_device * acpi_fetch_acpi_dev (acpi_handle handle ); ARGUMENTS handle ACPI handle associated with the requested ACPI device object. DESCRIPTION Return a pointer to the ACPI device object associated with handle, if present, or NULL other...
acpi_find_processor_node(9)
NAME acpi_find_processor_node - Given a PPTT table find the requested processor SYNOPSIS struct acpi_pptt_processor * acpi_find_processor_node (struct acpi_table_header *table_hdr , u32 acpi_cpu_id ); ARGUMENTS table_hdr Pointer to the head of the PPTT table acpi_cpu_id CPU we are searching for DESCRIPTION...
acpi_get_acpi_dev(9)
NAME acpi_get_acpi_dev - Retrieve ACPI device object and reference count it. SYNOPSIS struct acpi_device * acpi_get_acpi_dev (acpi_handle handle ); ARGUMENTS handle ACPI handle associated with the requested ACPI device object. DESCRIPTION Return a pointer to the ACPI device object associated with handle and ...
acpi_get_cache_info(9)
NAME acpi_get_cache_info - Determine the number of cache levels and split cache levels (data/instruction) and for a PE. SYNOPSIS int acpi_get_cache_info (unsigned int cpu , unsigned int *levels , unsigned int *split_levels ); ARGUMENTS cpu Kernel logical CPU number levels Number of levels if succ...
acpi_get_dma_attr(9)
NAME acpi_get_dma_attr - Check the supported DMA attr for the specified device. SYNOPSIS enum dev_dma_attr acpi_get_dma_attr (struct acpi_device *adev ); ARGUMENTS adev The pointer to acpi device DESCRIPTION Return enum dev_dma_attr. SEE ALSO Kernel file ./drivers/acpi/scan.c acpi_scan_drop_device(9), ...
acpi_get_first_physical_node(9)
NAME acpi_get_first_physical_node - Get first physical node of an ACPI device SYNOPSIS struct device * acpi_get_first_physical_node (struct acpi_device *adev ); ARGUMENTS adev ACPI device in question RETURN First physical node of ACPI device adev SEE ALSO Kernel file ./drivers/acpi/bus.c acpi_bus_notify(9...
acpi_get_genport_coordinates(9)
NAME acpi_get_genport_coordinates - Retrieve the access coordinates for a generic port SYNOPSIS int acpi_get_genport_coordinates (u32 uid , struct access_coordinate *coord ); ARGUMENTS uid ACPI unique id coord The access coordinates written back out for the generic port. Expect 2 levels array. ...
acpi_get_gpiod(9)
NAME acpi_get_gpiod - Translate ACPI GPIO pin to GPIO descriptor usable with GPIO API SYNOPSIS struct gpio_desc * acpi_get_gpiod (char *path , unsigned int pin ); ARGUMENTS path ACPI GPIO controller full path name, (e.g. "\_SB.GPO1") pin ACPI GPIO pin number (0-based, controller-relative) RETU...
acpi_get_gpiod_by_index(9)
NAME acpi_get_gpiod_by_index - get a GPIO descriptor from device resources SYNOPSIS int acpi_get_gpiod_by_index (struct acpi_device *adev , const char *propname , struct acpi_gpio_lookup *lookup ); ARGUMENTS adev pointer to a ACPI device to get GPIO from propname Property name of the GPIO (optional)...
acpi_get_gpiod_from_data(9)
NAME acpi_get_gpiod_from_data - get a GPIO descriptor from ACPI data node SYNOPSIS int acpi_get_gpiod_from_data (struct fwnode_handle *fwnode , const char *propname , struct acpi_gpio_lookup *lookup ); ARGUMENTS fwnode pointer to an ACPI firmware node to get the GPIO information from propname Property...
acpi_get_hp_hw_control_from_firmware(9)
NAME acpi_get_hp_hw_control_from_firmware - SYNOPSIS int acpi_get_hp_hw_control_from_firmware (struct pci_dev *pdev ); ARGUMENTS pdev the pci_dev of the bridge that has a hotplug controller DESCRIPTION Attempt to take hotplug control from firmware. SEE ALSO Kernel file ./drivers/pci/hotplug/acpi_pcihp.c acpi...
acpi_get_ioapic_id(9)
NAME acpi_get_ioapic_id - Get IOAPIC ID and physical address matching @gsi_base SYNOPSIS int acpi_get_ioapic_id (acpi_handle handle , u32 gsi_base , u64 *phys_addr ); ARGUMENTS handle ACPI object for IOAPIC device gsi_base GSI base to match with phys_addr Pointer to store physical address of...
acpi_get_irq_source_fwhandle(9)
NAME acpi_get_irq_source_fwhandle - Retrieve fwhandle from IRQ resource source. SYNOPSIS struct fwnode_handle * acpi_get_irq_source_fwhandle (const struct acpi_resource_source *source , u32 gsi ); ARGUMENTS source acpi_resource_source to use for the lookup. gsi GSI IRQ number DESCRIPTION Retriev...
acpi_get_pci_dev(9)
NAME acpi_get_pci_dev - convert ACPI CA handle to struct pci_dev SYNOPSIS struct pci_dev * acpi_get_pci_dev (acpi_handle handle ); ARGUMENTS handle the handle in question DESCRIPTION Given an ACPI CA handle, the desired PCI device is located in the list of PCI devices. If the device is found, its reference co...
acpi_get_psd_map(9)
NAME acpi_get_psd_map - Map the CPUs in the freq domain of a given cpu SYNOPSIS int acpi_get_psd_map (unsigned int cpu , struct cppc_cpudata *cpu_data ); ARGUMENTS cpu Find all CPUs that share a domain with cpu. cpu_data Pointer to CPU specific CPPC data including PSD info. RETURN 0 for success or...
acpi_get_wakeup_address(9)
NAME acpi_get_wakeup_address - provide physical address for S3 wakeup SYNOPSIS unsigned long acpi_get_wakeup_address (void ); ARGUMENTS void no arguments DESCRIPTION Returns the physical address where the kernel should be resumed after the system awakes from S3, e.g. for programming into the firmware waking v...
acpi_gpio_count(9)
NAME acpi_gpio_count - count the GPIOs associated with a firmware node / function SYNOPSIS int acpi_gpio_count (const struct fwnode_handle *fwnode , const char *con_id ); ARGUMENTS fwnode firmware node of the GPIO consumer con_id function within the GPIO consumer RETURN The number of GPIOs associat...
acpi_gpio_get_io_resource(9)
NAME acpi_gpio_get_io_resource - Fetch details of an ACPI resource if it is a GPIO I/O resource or return False if not. SYNOPSIS bool acpi_gpio_get_io_resource (struct acpi_resource *ares , struct acpi_resource_gpio **agpio ); ARGUMENTS ares Pointer to the ACPI resource to fetch agpio Pointer to ...
acpi_gpiochip_free_interrupts(9)
NAME acpi_gpiochip_free_interrupts - Free GPIO ACPI event interrupts. SYNOPSIS void acpi_gpiochip_free_interrupts (struct gpio_chip *chip ); ARGUMENTS chip GPIO chip DESCRIPTION Free interrupts associated with GPIO ACPI event method for the given GPIO chip. SEE ALSO Kernel file ./drivers/gpio/gpiolib-acpi-...
acpi_gpiochip_request_interrupts(9)
NAME acpi_gpiochip_request_interrupts - Register isr for gpio chip ACPI events SYNOPSIS void acpi_gpiochip_request_interrupts (struct gpio_chip *chip ); ARGUMENTS chip GPIO chip DESCRIPTION ACPI5 platforms can use GPIO signaled ACPI events. These GPIO interrupts are handled by ACPI event methods which need ...
acpi_graph_get_child_prop_value(9)
NAME acpi_graph_get_child_prop_value - Return a child with a given property value SYNOPSIS struct fwnode_handle * acpi_graph_get_child_prop_value (const struct fwnode_handle *fwnode , const char *prop_name , unsigned int val ); ARGUMENTS fwnode device fwnode prop_name The name of the property to look f...
acpi_graph_get_next_endpoint(9)
NAME acpi_graph_get_next_endpoint - Get next endpoint ACPI firmware node SYNOPSIS struct fwnode_handle * acpi_graph_get_next_endpoint (const struct fwnode_handle *fwnode , struct fwnode_handle *prev ); ARGUMENTS fwnode Pointer to the parent firmware node prev Previous endpoint node or NULL to get ...
acpi_graph_get_remote_endpoint(9)
NAME acpi_graph_get_remote_endpoint - Parses and returns remote end of an endpoint SYNOPSIS struct fwnode_handle * acpi_graph_get_remote_endpoint (const struct fwnode_handle *__fwnode ); ARGUMENTS __fwnode Endpoint firmware node pointing to a remote device DESCRIPTION Returns the remote endpoint corresponding to ...
acpi_graph_ignore_port(9)
NAME acpi_graph_ignore_port - Tell whether a port node should be ignored SYNOPSIS bool acpi_graph_ignore_port (acpi_handle handle ); ARGUMENTS handle The ACPI handle of the node (which may be a port node) RETURN true if a port node should be ignored and the data to that should come from other sources instea...
acpi_gsi_to_irq(9)
NAME acpi_gsi_to_irq - Retrieve the linux irq number for a given GSI SYNOPSIS int acpi_gsi_to_irq (u32 gsi , unsigned int *irq ); ARGUMENTS gsi GSI IRQ number to map irq pointer where linux IRQ number is stored DESCRIPTION irq location updated with irq value [>0 on success, 0 on failure] RET...
acpi_gtdt_c3stop(9)
NAME acpi_gtdt_c3stop - Got c3stop info from GTDT according to the type of PPI. SYNOPSIS bool acpi_gtdt_c3stop (int type ); ARGUMENTS type the type of PPI. RETURN true if the timer HW state is lost when a CPU enters an idle state, false otherwise SEE ALSO Kernel file ./drivers/acpi/arm64/gtdt.c struct acpi_g...
acpi_gtdt_init(9)
NAME acpi_gtdt_init - Get the info of GTDT table to prepare for further init. SYNOPSIS int acpi_gtdt_init (struct acpi_table_header *table , int *platform_timer_count ); ARGUMENTS table The pointer to GTDT table. platform_timer_count It points to a integer variable which is used for s...
acpi_gtdt_map_ppi(9)
NAME acpi_gtdt_map_ppi - Map the PPIs of per-cpu arch_timer. SYNOPSIS int acpi_gtdt_map_ppi (int type ); ARGUMENTS type the type of PPI. NOTE Secure state is not managed by the kernel on ARM64 systems. So we only handle the non-secure timer PPIs, ARCH_TIMER_PHYS_SECURE_PPI is treated as invalid type. RETURN...
acpi_handle_list_equal(9)
NAME acpi_handle_list_equal - Check if two ACPI handle lists are the same SYNOPSIS bool acpi_handle_list_equal (struct acpi_handle_list *list1 , struct acpi_handle_list *list2 ); ARGUMENTS list1 First list to compare. list2 Second list to compare. DESCRIPTION Return true if the given ACPI handle ...
acpi_handle_list_free(9)
NAME acpi_handle_list_free - Free the handles table in an ACPI handle list SYNOPSIS void acpi_handle_list_free (struct acpi_handle_list *list ); ARGUMENTS list ACPI handle list to free. DESCRIPTION Free the handles table in list and clear its count field. SEE ALSO Kernel file ./drivers/acpi/utils.c acpi_h...
acpi_handle_list_replace(9)
NAME acpi_handle_list_replace - Replace one ACPI handle list with another SYNOPSIS void acpi_handle_list_replace (struct acpi_handle_list *dst , struct acpi_handle_list *src ); ARGUMENTS dst ACPI handle list to replace. src Source ACPI handle list. DESCRIPTION Free the handles table in dst, m...
acpi_handle_path(9)
NAME acpi_handle_path - Return the object path of handle SYNOPSIS char * acpi_handle_path (acpi_handle handle ); ARGUMENTS handle ACPI device handle DESCRIPTION Caller must free the returned buffer SEE ALSO Kernel file ./drivers/acpi/utils.c acpi_handle_list_equal(9), acpi_handle_list_replace(9), acpi_handl...
acpi_handle_printk(9)
NAME acpi_handle_printk - Print message with ACPI prefix and object path SYNOPSIS void acpi_handle_printk (const char *level , acpi_handle handle , const char *fmt , ... ); ARGUMENTS level log level handle ACPI device handle fmt format string ... variable arguments ...
acpi_has_method(9)
NAME acpi_has_method - Check whether @handle has a method named @name SYNOPSIS bool acpi_has_method (acpi_handle handle , char *name ); ARGUMENTS handle ACPI device handle name name of object or method DESCRIPTION Check whether handle has a method named name. SEE ALSO Kernel file ./drivers/acpi...
acpi_hibernation_begin_old(9)
NAME acpi_hibernation_begin_old - Set the target system sleep state to ACPI_STATE_S4 and execute the _PTS control method. This function is used if the pre-ACPI 2.0 suspend ordering has been requested. SYNOPSIS int acpi_hibernation_begin_old (pm_message_t stage ); ARGUMENTS stage The power management event messa...
acpi_idle_bm_check(9)
NAME acpi_idle_bm_check - checks if bus master activity was detected SYNOPSIS int acpi_idle_bm_check (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/acpi/processor_idle.c acpi_idle_do_entry(9), acpi_idle_play_dead(9), acpi_idle_enter_bm(9), combine_lpi_states(9), acpi_idle_lpi_enter...