id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
acpi_idle_do_entry(9) | NAME acpi_idle_do_entry - enter idle state using the appropriate method
SYNOPSIS void __cpuidle acpi_idle_do_entry (struct acpi_processor_cx *cx );
ARGUMENTS cx cstate data
DESCRIPTION Caller disables interrupt before call and enables interrupt after return.
SEE ALSO Kernel file ./drivers/acpi/processor_... |
acpi_idle_enter_bm(9) | NAME acpi_idle_enter_bm - enters C3 with proper BM handling
SYNOPSIS int __cpuidle acpi_idle_enter_bm (struct cpuidle_driver *drv , struct acpi_processor *pr , struct acpi_processor_cx *cx , int index );
ARGUMENTS drv cpuidle driver
pr Target processor
cx Target state context... |
acpi_idle_lpi_enter(9) | NAME acpi_idle_lpi_enter - enters an ACPI any LPI state
SYNOPSIS int acpi_idle_lpi_enter (struct cpuidle_device *dev , struct cpuidle_driver *drv , int index );
ARGUMENTS dev the target CPU
drv cpuidle driver containing cpuidle state info
index index of target state
RETURN 0 for... |
acpi_idle_play_dead(9) | NAME acpi_idle_play_dead - enters an ACPI state for long-term idle (i.e. off-lining)
SYNOPSIS void acpi_idle_play_dead (struct cpuidle_device *dev , int index );
ARGUMENTS dev the target CPU
index the index of suggested state
SEE ALSO Kernel file ./drivers/acpi/processor_idle.c acpi_idle_bm_... |
acpi_ioapic_registered(9) | NAME acpi_ioapic_registered - Check whether IOAPIC associated with @gsi_base has been registered
SYNOPSIS int acpi_ioapic_registered (acpi_handle handle , u32 gsi_base );
ARGUMENTS handle ACPI handle of the IOAPIC device
gsi_base GSI base associated with the IOAPIC
DESCRIPTION Assume caller holds som... |
acpi_irq_create_hierarchy(9) | NAME acpi_irq_create_hierarchy - Create a hierarchical IRQ domain with the default GSI domain as its parent.
SYNOPSIS struct irq_domain * acpi_irq_create_hierarchy (unsigned int flags , unsigned int size , struct fwnode_handle *fwnode , const struct irq_domain_ops *ops , void *host_data );
ARGUMENTS flags Irq d... |
acpi_irq_get(9) | NAME acpi_irq_get - Lookup an ACPI IRQ resource and use it to initialize resource.
SYNOPSIS int acpi_irq_get (acpi_handle handle , unsigned int index , struct resource *res );
ARGUMENTS handle ACPI device handle
index ACPI IRQ resource index to lookup
res Linux IRQ resource to initi... |
acpi_irq_parse_one(9) | NAME acpi_irq_parse_one - Resolve an interrupt for a device
SYNOPSIS int acpi_irq_parse_one (acpi_handle handle , unsigned int index , struct irq_fwspec *fwspec , unsigned long *flags );
ARGUMENTS handle the device whose interrupt is to be resolved
index index of the interrupt to resolve
fw... |
acpi_irq_parse_one_cb(9) | NAME acpi_irq_parse_one_cb - Handle the given resource.
SYNOPSIS acpi_status acpi_irq_parse_one_cb (struct acpi_resource *ares , void *context );
ARGUMENTS ares resource to handle
context context for the walk
DESCRIPTION This is called by acpi_walk_resources passing each resource returned by the ... |
acpi_irq_parse_one_match(9) | NAME acpi_irq_parse_one_match - Handle a matching IRQ resource.
SYNOPSIS void acpi_irq_parse_one_match (struct fwnode_handle *fwnode , u32 hwirq , u8 triggering , u8 polarity , u8 shareable , u8 wake_capable , struct acpi_irq_parse_one_ctx *ctx );
ARGUMENTS fwnode matching fwnode
hwirq hardware IRQ... |
acpi_is_root_bridge(9) | NAME acpi_is_root_bridge - determine whether an ACPI CA node is a PCI root bridge
SYNOPSIS int acpi_is_root_bridge (acpi_handle handle );
ARGUMENTS handle the ACPI CA node in question.
NOTE we could make this API take a struct acpi_device * instead, but for now, it's more convenient to operate on an acpi_handle... |
acpi_lpat_free_conversion_table(9) | NAME acpi_lpat_free_conversion_table - Free LPAT table.
SYNOPSIS void acpi_lpat_free_conversion_table (struct acpi_lpat_conversion_table *lpat_table );
ARGUMENTS lpat_table the temperature_raw mapping table structure
DESCRIPTION Frees the LPAT table previously allocated by a call to acpi_lpat_get_conversion_table.
... |
acpi_lpat_get_conversion_table(9) | NAME acpi_lpat_get_conversion_table - Parse ACPI LPAT table if present.
SYNOPSIS struct acpi_lpat_conversion_table * acpi_lpat_get_conversion_table (acpi_handle handle );
ARGUMENTS handle Handle to acpi device
DESCRIPTION Parse LPAT table to a struct of type acpi_lpat_table. On success it returns a pointe... |
acpi_lpat_raw_to_temp(9) | NAME acpi_lpat_raw_to_temp - Return temperature from raw value through LPAT conversion table
SYNOPSIS int acpi_lpat_raw_to_temp (struct acpi_lpat_conversion_table *lpat_table , int raw );
ARGUMENTS lpat_table the temperature_raw mapping table structure
raw the raw value, used as a key to get the temp... |
acpi_lpat_temp_to_raw(9) | NAME acpi_lpat_temp_to_raw - Return raw value from temperature through LPAT conversion table
SYNOPSIS int acpi_lpat_temp_to_raw (struct acpi_lpat_conversion_table *lpat_table , int temp );
ARGUMENTS lpat_table the temperature_raw mapping table
temp the temperature, used as a key to get the raw value f... |
acpi_lpss_restore_ctx(9) | NAME acpi_lpss_restore_ctx - Restore the private registers of LPSS device
SYNOPSIS void acpi_lpss_restore_ctx (struct device *dev , struct lpss_private_data *pdata );
ARGUMENTS dev LPSS device
pdata pointer to the private data of the LPSS device
DESCRIPTION Restores the registers that were prev... |
acpi_lpss_save_ctx(9) | NAME acpi_lpss_save_ctx - Save the private registers of LPSS device
SYNOPSIS void acpi_lpss_save_ctx (struct device *dev , struct lpss_private_data *pdata );
ARGUMENTS dev LPSS device
pdata pointer to the private data of the LPSS device
DESCRIPTION Most LPSS devices have private registers which... |
acpi_match_acpi_device(9) | NAME acpi_match_acpi_device - Match an ACPI device against a given list of ACPI IDs
SYNOPSIS const struct acpi_device_id * acpi_match_acpi_device (const struct acpi_device_id *ids , const struct acpi_device *adev );
ARGUMENTS ids Array of struct acpi_device_id objects to match against.
adev The... |
acpi_match_device(9) | NAME acpi_match_device - Match a struct device against a given list of ACPI IDs
SYNOPSIS const struct acpi_device_id * acpi_match_device (const struct acpi_device_id *ids , const struct device *dev );
ARGUMENTS ids Array of struct acpi_device_id object to match against.
dev The device structur... |
acpi_match_platform_list(9) | NAME acpi_match_platform_list - Check if the system matches with a given list
SYNOPSIS int acpi_match_platform_list (const struct acpi_platform_list *plat );
ARGUMENTS plat pointer to acpi_platform_list table terminated by a NULL entry
DESCRIPTION Return the matched index if the system is found in the platfor... |
acpi_mipi_check_crs_csi2(9) | NAME acpi_mipi_check_crs_csi2 - Look for CSI-2 resources in _CRS
SYNOPSIS void acpi_mipi_check_crs_csi2 (acpi_handle handle );
ARGUMENTS handle Device object handle to evaluate _CRS for.
DESCRIPTION Find all CSI-2 resource descriptors in the given device's _CRS and collect them into a list.
SEE ALSO Kernel fil... |
acpi_mipi_crs_csi2_cleanup(9) | NAME acpi_mipi_crs_csi2_cleanup - Free _CRS CSI-2 temporary data
SYNOPSIS void acpi_mipi_crs_csi2_cleanup (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/acpi/mipi-disco-img.c acpi_mipi_check_crs_csi2(9), acpi_mipi_scan_crs_csi2(9), acpi_mipi_init_crs_csi2_swnodes(9), acpi_graph_ignore_por... |
acpi_mipi_init_crs_csi2_swnodes(9) | NAME acpi_mipi_init_crs_csi2_swnodes - Initialize _CRS CSI-2 software nodes
SYNOPSIS void acpi_mipi_init_crs_csi2_swnodes (void );
ARGUMENTS void no arguments
DESCRIPTION Use MIPI DisCo for Imaging device properties to finalize the initialization of CSI-2 software nodes for all ACPI device objects that have b... |
acpi_mipi_scan_crs_csi2(9) | NAME acpi_mipi_scan_crs_csi2 - Create ACPI _CRS CSI-2 software nodes
SYNOPSIS void acpi_mipi_scan_crs_csi2 (void );
ARGUMENTS void no arguments
DESCRIPTION Note that this function must be called before any struct acpi_device objects are bound to any ACPI drivers or scan handlers, so it cannot assume the exis... |
acpi_mpam_count_msc(9) | NAME acpi_mpam_count_msc - Count the number of MSC described by firmware.
SYNOPSIS int acpi_mpam_count_msc (void );
ARGUMENTS void no arguments
DESCRIPTION Returns the number of MSCs, or zero for an error. This can be called before or in parallel with acpi_mpam_parse.
SEE ALSO Kernel file ./drivers/acpi/arm... |
acpi_nhlt_endpoint_find_fmtcfg(9) | NAME acpi_nhlt_endpoint_find_fmtcfg - Search endpoint's formats configuration space for a specific format.
SYNOPSIS struct acpi_nhlt_format_config * acpi_nhlt_endpoint_find_fmtcfg (const struct acpi_nhlt_endpoint *ep , u16 ch , u32 rate , u16 vbps , u16 bps );
ARGUMENTS ep the endpoint to search.
ch ... |
acpi_nhlt_endpoint_fmtscfg(9) | NAME acpi_nhlt_endpoint_fmtscfg - Get the formats configuration space.
SYNOPSIS struct acpi_nhlt_formats_config * acpi_nhlt_endpoint_fmtscfg (const struct acpi_nhlt_endpoint *ep );
ARGUMENTS ep the endpoint to retrieve the space for.
RETURN A pointer to the formats configuration space.
SEE ALSO Kernel file... |
acpi_nhlt_endpoint_match(9) | NAME acpi_nhlt_endpoint_match - Verify if an endpoint matches criteria.
SYNOPSIS bool acpi_nhlt_endpoint_match (const struct acpi_nhlt_endpoint *ep , int link_type , int dev_type , int dir , int bus_id );
ARGUMENTS ep the endpoint to check.
link_type the hardware link type, e.g.: PDM or SSP.
... |
acpi_nhlt_endpoint_mic_count(9) | NAME acpi_nhlt_endpoint_mic_count - Retrieve number of digital microphones for a PDM endpoint.
SYNOPSIS int acpi_nhlt_endpoint_mic_count (const struct acpi_nhlt_endpoint *ep );
ARGUMENTS ep the endpoint to return microphones count for.
RETURN A number of microphones or an error code if an invalid endpoint i... |
acpi_nhlt_find_endpoint(9) | NAME acpi_nhlt_find_endpoint - Search all NHLT tables for an endpoint.
SYNOPSIS struct acpi_nhlt_endpoint * acpi_nhlt_find_endpoint (int link_type , int dev_type , int dir , int bus_id );
ARGUMENTS link_type the hardware link type, e.g.: PDM or SSP.
dev_type the device type.
dir stream di... |
acpi_nhlt_find_fmtcfg(9) | NAME acpi_nhlt_find_fmtcfg - Search all NHLT tables for a specific format.
SYNOPSIS struct acpi_nhlt_format_config * acpi_nhlt_find_fmtcfg (int link_type , int dev_type , int dir , int bus_id , u16 ch , u32 rate , u16 vbps , u16 bps );
ARGUMENTS link_type the hardware link type, e.g.: PDM or SSP.
dev_type ... |
acpi_nhlt_get_gbl_table(9) | NAME acpi_nhlt_get_gbl_table - Retrieve a pointer to the first NHLT table.
SYNOPSIS acpi_status acpi_nhlt_get_gbl_table (void );
ARGUMENTS void no arguments
DESCRIPTION If there is no NHLT in the system, acpi_gbl_nhlt will instead point to an empty table.
RETURN ACPI status code of the operation.
SEE ALSO K... |
acpi_nhlt_put_gbl_table(9) | NAME acpi_nhlt_put_gbl_table - Release the global NHLT table.
SYNOPSIS void acpi_nhlt_put_gbl_table (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/acpi/nhlt.c acpi_nhlt_get_gbl_table(9), acpi_nhlt_endpoint_match(9), acpi_nhlt_tb_find_endpoint(9), acpi_nhlt_find_endpoint(9), acpi_nh... |
acpi_nhlt_tb_find_endpoint(9) | NAME acpi_nhlt_tb_find_endpoint - Search a NHLT table for an endpoint.
SYNOPSIS struct acpi_nhlt_endpoint * acpi_nhlt_tb_find_endpoint (const struct acpi_table_nhlt *tb , int link_type , int dev_type , int dir , int bus_id );
ARGUMENTS tb the table to search.
link_type the hardware link type, e.g.:... |
acpi_nhlt_tb_find_fmtcfg(9) | NAME acpi_nhlt_tb_find_fmtcfg - Search a NHLT table for a specific format.
SYNOPSIS struct acpi_nhlt_format_config * acpi_nhlt_tb_find_fmtcfg (const struct acpi_table_nhlt *tb , int link_type , int dev_type , int dir , int bus_id , u16 ch , u32 rate , u16 vbps , u16 bps );
ARGUMENTS tb the table to search.
... |
acpi_node_get_parent(9) | NAME acpi_node_get_parent - Return parent fwnode of this fwnode
SYNOPSIS struct fwnode_handle * acpi_node_get_parent (const struct fwnode_handle *fwnode );
ARGUMENTS fwnode Firmware node whose parent to get
DESCRIPTION Returns parent node of an ACPI device or data firmware node or NULL if not available.
SEE AL... |
acpi_node_prop_get(9) | NAME acpi_node_prop_get - return an ACPI property with given name.
SYNOPSIS int acpi_node_prop_get (const struct fwnode_handle *fwnode , const char *propname , void **valptr );
ARGUMENTS fwnode Firmware node to get the property from.
propname Name of the property.
valptr Location to store... |
acpi_node_prop_read(9) | NAME acpi_node_prop_read - retrieve the value of an ACPI property with given name.
SYNOPSIS int acpi_node_prop_read (const struct fwnode_handle *fwnode , const char *propname , enum dev_prop_type proptype , void *val , size_t nval );
ARGUMENTS fwnode Firmware node to get the property from.
propname Na... |
acpi_of_match_device(9) | NAME acpi_of_match_device - Match device object using the "compatible" property.
SYNOPSIS bool acpi_of_match_device (const struct acpi_device *adev , const struct of_device_id *of_match_table , const struct of_device_id **of_id );
ARGUMENTS adev ACPI device object to match.
of_match_table
... |
acpi_os_map_iomem(9) | NAME acpi_os_map_iomem - Get a virtual address for a given physical address range.
SYNOPSIS void __iomem __ref * acpi_os_map_iomem (acpi_physical_address phys , acpi_size size );
ARGUMENTS phys Start of the physical address range to map.
size Size of the physical address range to map.
DESCRIPTI... |
acpi_os_unmap_iomem(9) | NAME acpi_os_unmap_iomem - Drop a memory mapping reference.
SYNOPSIS void __ref acpi_os_unmap_iomem (void __iomem *virt , acpi_size size );
ARGUMENTS virt Start of the address range to drop a reference to.
size Size of the address range to drop a reference to.
DESCRIPTION Look up the given ... |
acpi_os_unmap_memory(9) | NAME acpi_os_unmap_memory - Drop a memory mapping reference.
SYNOPSIS void __ref acpi_os_unmap_memory (void *virt , acpi_size size );
ARGUMENTS virt Start of the address range to drop a reference to.
size Size of the address range to drop a reference to.
SEE ALSO Kernel file ./drivers/acpi/osl.... |
acpi_parse_art(9) | NAME acpi_parse_art - Parse Active Relationship Table _ART
SYNOPSIS int acpi_parse_art (acpi_handle handle , int *art_count , struct art **artp , bool create_dev );
ARGUMENTS handle ACPI handle of the device contains _ART
art_count the number of valid entries resulted from parsing _ART
artp ... |
acpi_parse_entries_array(9) | NAME acpi_parse_entries_array - for each proc_num find a suitable subtable
SYNOPSIS int __init_or_fwtbl_lib acpi_parse_entries_array (char *id , unsigned long table_size , union fw_table_header *table_header , unsigned long max_length , struct acpi_subtable_proc *proc , int proc_num , unsigned int max_entries )... |
acpi_parse_spcr(9) | NAME acpi_parse_spcr - parse ACPI SPCR table and add preferred console
SYNOPSIS int acpi_parse_spcr (bool enable_earlycon , bool enable_console );
ARGUMENTS enable_earlycon set up earlycon for the console specified by the table
enable_console
setup the console specified by the table.
DESCR... |
acpi_parse_trt(9) | NAME acpi_parse_trt - Thermal Relationship Table _TRT for passive cooling
SYNOPSIS int acpi_parse_trt (acpi_handle handle , int *trt_count , struct trt **trtp , bool create_dev );
ARGUMENTS handle ACPI handle of the device contains _TRT
trt_count the number of valid entries resulted from parsing _TRT
... |
acpi_pcc_probe(9) | NAME acpi_pcc_probe - Parse the ACPI tree for the PCCT.
SYNOPSIS int acpi_pcc_probe (void );
ARGUMENTS void no arguments
RETURN 0 for Success, else errno.
SEE ALSO Kernel file ./drivers/mailbox/pcc.c struct pcc_chan_reg(9), struct pcc_chan_info(9), pcc_map_interrupt(9), pcc_mbox_irq(9), pcc_mbox_req... |
acpi_pci_check_ejectable(9) | NAME acpi_pci_check_ejectable - check if handle is ejectable ACPI PCI slot
SYNOPSIS int acpi_pci_check_ejectable (struct pci_bus *pbus , acpi_handle handle );
ARGUMENTS pbus the PCI bus of the PCI slot corresponding to 'handle'
handle ACPI handle to check
DESCRIPTION Return 1 if handle is ejectab... |
acpi_pci_detect_ejectable(9) | NAME acpi_pci_detect_ejectable - check if the PCI bus has ejectable slots
SYNOPSIS int acpi_pci_detect_ejectable (acpi_handle handle );
ARGUMENTS handle handle of the PCI bus to scan
DESCRIPTION Returns 1 if the PCI bus has ACPI based ejectable slots, 0 otherwise.
SEE ALSO Kernel file ./drivers/pci/hotplug/acp... |
acpi_pci_link_allocate_irq(9) | NAME acpi_pci_link_allocate_irq - Retrieve a link device GSI
SYNOPSIS int acpi_pci_link_allocate_irq (acpi_handle handle , int index , int *triggering , int *polarity , char **name , u32 *gsi );
ARGUMENTS handle Handle for the link device
index GSI index
triggering pointer to store the GSI... |
acpi_pci_osc_control_set(9) | NAME acpi_pci_osc_control_set - Request control of PCI root _OSC features.
SYNOPSIS acpi_status acpi_pci_osc_control_set (acpi_handle handle , u32 *mask , u32 support , u32 *cxl_mask , u32 cxl_support );
ARGUMENTS handle ACPI handle of a PCI root bridge (or PCIe Root Complex).
mask Mask of _OSC bi... |
acpi_pm_device_sleep_state(9) | NAME acpi_pm_device_sleep_state - Get preferred power state of ACPI device.
SYNOPSIS int acpi_pm_device_sleep_state (struct device *dev , int *d_min_p , int d_max_in );
ARGUMENTS dev Device whose preferred target power state to return.
d_min_p Location to store the upper limit of the allowed state... |
acpi_pm_end(9) | NAME acpi_pm_end - Finish up system PM transition.
SYNOPSIS void acpi_pm_end (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/acpi/sleep.c acpi_pm_freeze(9), acpi_pm_pre_suspend(9), __acpi_pm_prepare(9), acpi_pm_prepare(9), acpi_pm_finish(9), acpi_pm_start(9), acpi_suspend_begin(9), acpi_... |
acpi_pm_finish(9) | NAME acpi_pm_finish - Instruct the platform to leave a sleep state.
SYNOPSIS void acpi_pm_finish (void );
ARGUMENTS void no arguments
DESCRIPTION This is called after we wake back up (or if entering the sleep state failed).
SEE ALSO Kernel file ./drivers/acpi/sleep.c acpi_pm_freeze(9), acpi_pm_pre_suspen... |
acpi_pm_freeze(9) | NAME acpi_pm_freeze - Disable the GPEs and suspend EC transactions.
SYNOPSIS int acpi_pm_freeze (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/acpi/sleep.c acpi_pm_pre_suspend(9), __acpi_pm_prepare(9), acpi_pm_prepare(9), acpi_pm_finish(9), acpi_pm_start(9), acpi_pm_end(9), acpi_susp... |
acpi_pm_notify_work_func(9) | NAME acpi_pm_notify_work_func - ACPI devices wakeup notification work function.
SYNOPSIS void acpi_pm_notify_work_func (struct acpi_device_wakeup_context *context );
ARGUMENTS context Device wakeup context.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), ... |
acpi_pm_pre_suspend(9) | NAME acpi_pm_pre_suspend - Enable wakeup devices, "freeze" EC and save NVS.
SYNOPSIS int acpi_pm_pre_suspend (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/acpi/sleep.c acpi_pm_freeze(9), __acpi_pm_prepare(9), acpi_pm_prepare(9), acpi_pm_finish(9), acpi_pm_start(9), acpi_pm_end(9), acpi_s... |
acpi_pm_prepare(9) | NAME acpi_pm_prepare - Prepare the platform to enter the target sleep state and disable the GPEs.
SYNOPSIS int acpi_pm_prepare (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/acpi/sleep.c acpi_pm_freeze(9), acpi_pm_pre_suspend(9), __acpi_pm_prepare(9), acpi_pm_finish(9), acpi_pm_start(9)... |
acpi_pm_set_device_wakeup(9) | NAME acpi_pm_set_device_wakeup - Enable/disable remote wakeup for given device.
SYNOPSIS int acpi_pm_set_device_wakeup (struct device *dev , bool enable );
ARGUMENTS dev Device to enable/disable to generate wakeup events.
enable Whether to enable or disable the wakeup functionality.
SEE ALSO Ker... |
acpi_pm_start(9) | NAME acpi_pm_start - Start system PM transition.
SYNOPSIS void acpi_pm_start (u32 acpi_state );
ARGUMENTS acpi_state The target ACPI power state to transition to.
SEE ALSO Kernel file ./drivers/acpi/sleep.c acpi_pm_freeze(9), acpi_pm_pre_suspend(9), __acpi_pm_prepare(9), acpi_pm_prepare(9), acpi_pm_finish(9), a... |
acpi_power_state_string(9) | NAME acpi_power_state_string - String representation of ACPI device power state.
SYNOPSIS const char * acpi_power_state_string (int state );
ARGUMENTS state ACPI device power state to return the string representation of.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_device_get_power(9), acpi_device_se... |
acpi_pptt_cpu_is_thread(9) | NAME acpi_pptt_cpu_is_thread - Determine if CPU is a thread
SYNOPSIS int acpi_pptt_cpu_is_thread (unsigned int cpu );
ARGUMENTS cpu Kernel logical CPU number
RETURN 1, a thread 0, not a thread -ENOENT ,if the PPTT doesn't exist, the CPU cannot be found or the table revision isn't new enough.
SEE ALSO Kernel... |
acpi_pptt_get_child_cpus(9) | NAME acpi_pptt_get_child_cpus - Find all the CPUs below a PPTT processor hierarchy node
SYNOPSIS void acpi_pptt_get_child_cpus (struct acpi_table_header *table_hdr , struct acpi_pptt_processor *parent_node , cpumask_t *cpus );
ARGUMENTS table_hdr A reference to the PPTT table
parent_node A pointer to the pr... |
acpi_pptt_get_cpumask_from_cache_id(9) | NAME acpi_pptt_get_cpumask_from_cache_id - Get the cpus associated with the specified cache
SYNOPSIS int acpi_pptt_get_cpumask_from_cache_id (u32 cache_id , cpumask_t *cpus );
ARGUMENTS cache_id The id field of the cache
cpus Where to build the cpumask
DESCRIPTION Determine which CPUs are below thi... |
acpi_pptt_get_cpus_from_container(9) | NAME acpi_pptt_get_cpus_from_container - Populate a cpumask with all CPUs in a processor container
SYNOPSIS void acpi_pptt_get_cpus_from_container (u32 acpi_cpu_id , cpumask_t *cpus );
ARGUMENTS acpi_cpu_id The UID of the processor container
cpus The resulting CPU mask
DESCRIPTION Find the specified... |
acpi_pptt_leaf_node(9) | NAME acpi_pptt_leaf_node - Given a processor node, determine if its a leaf
SYNOPSIS int acpi_pptt_leaf_node (struct acpi_table_header *table_hdr , struct acpi_pptt_processor *node );
ARGUMENTS table_hdr Pointer to the head of the PPTT table
node passed node is checked to see if its a leaf
DESCRIPTIO... |
acpi_pptt_walk_cache(9) | NAME acpi_pptt_walk_cache - Attempt to find the requested acpi_pptt_cache
SYNOPSIS unsigned int acpi_pptt_walk_cache (struct acpi_table_header *table_hdr , unsigned int local_level , unsigned int *split_levels , struct acpi_subtable_header *res , struct acpi_pptt_cache **found , unsigned int level , int type );
ARGUM... |
acpi_processor_claim_cst_control(9) | NAME acpi_processor_claim_cst_control - Request _CST control from the platform.
SYNOPSIS bool acpi_processor_claim_cst_control (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/acpi/acpi_processor.c acpi_processor_evaluate_cst(9)
April 2026 ... |
acpi_processor_evaluate_cst(9) | NAME acpi_processor_evaluate_cst - Evaluate the processor _CST control method.
SYNOPSIS int acpi_processor_evaluate_cst (acpi_handle handle , u32 cpu , struct acpi_processor_power *info );
ARGUMENTS handle ACPI handle of the processor object containing the _CST.
cpu The numeric ID of the target C... |
acpi_processor_setup_cpuidle_dev(9) | NAME acpi_processor_setup_cpuidle_dev - configures CPUIDLE device i.e. per-cpu data
SYNOPSIS void acpi_processor_setup_cpuidle_dev (struct acpi_processor *pr , struct cpuidle_device *dev );
ARGUMENTS pr the ACPI processor
dev the cpuidle device
SEE ALSO Kernel file ./drivers/acpi/process... |
acpi_processor_setup_cpuidle_states(9) | NAME acpi_processor_setup_cpuidle_states - prepares and configures cpuidle global state data i.e. idle routines
SYNOPSIS void acpi_processor_setup_cpuidle_states (struct acpi_processor *pr );
ARGUMENTS pr the ACPI processor
SEE ALSO Kernel file ./drivers/acpi/processor_idle.c acpi_idle_bm_check(9), acpi_idl... |
acpi_pwm_get(9) | NAME acpi_pwm_get - request a PWM via parsing "pwms" property in ACPI
SYNOPSIS struct pwm_device * acpi_pwm_get (const struct fwnode_handle *fwnode );
ARGUMENTS fwnode firmware node to get the "pwms" property from
DESCRIPTION Returns the PWM device parsed from the fwnode and index specified in the "pwms" p... |
acpi_reduced_hardware(9) | NAME acpi_reduced_hardware - Return if this is an ACPI-reduced-hw machine
SYNOPSIS bool acpi_reduced_hardware (void );
ARGUMENTS void no arguments
DESCRIPTION Return true when running on an ACPI-reduced-hw machine, false otherwise.
SEE ALSO Kernel file ./drivers/acpi/utils.c acpi_handle_list_equal(9), acpi_... |
acpi_register_gsi(9) | NAME acpi_register_gsi - Map a GSI to a linux IRQ number
SYNOPSIS int acpi_register_gsi (struct device *dev , u32 gsi , int trigger , int polarity );
ARGUMENTS dev device for which IRQ has to be mapped
gsi GSI IRQ number
trigger trigger type of the GSI number to be mapped
p... |
acpi_register_wakeup_handler(9) | NAME acpi_register_wakeup_handler - Register wakeup handler
SYNOPSIS int acpi_register_wakeup_handler (int wake_irq , bool (*wakeup)(void *context) , void *context );
ARGUMENTS wake_irq The IRQ through which the device may receive wakeups
wakeup Wakeup-handler to call when the SCI has triggered a wake... |
acpi_remove_pm_notifier(9) | NAME acpi_remove_pm_notifier - Unregister PM notifier from given ACPI device.
SYNOPSIS acpi_status acpi_remove_pm_notifier (struct acpi_device *adev );
ARGUMENTS adev ACPI device to remove the notifier from.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(... |
acpi_resource_consumer(9) | NAME acpi_resource_consumer - Find the ACPI device that consumes @res.
SYNOPSIS struct acpi_device * acpi_resource_consumer (struct resource *res );
ARGUMENTS res Resource to search for.
DESCRIPTION Search the current resource settings (_CRS) of every ACPI device node for res. If we find an ACPI device whos... |
acpi_scan_drop_device(9) | NAME acpi_scan_drop_device - Drop an ACPI device object.
SYNOPSIS void acpi_scan_drop_device (acpi_handle handle , void *context );
ARGUMENTS handle Handle of an ACPI namespace node, not used.
context Address of the ACPI device object to drop.
DESCRIPTION This is invoked by acpi_ns_delete_node du... |
acpi_set_gsi_to_irq_fallback(9) | NAME acpi_set_gsi_to_irq_fallback - Register a GSI transfer callback to fallback to arch specified implementation.
SYNOPSIS void acpi_set_gsi_to_irq_fallback (u32 (*fn)(u32) );
ARGUMENTS fn arch-specific fallback handler
SEE ALSO Kernel file ./drivers/acpi/irq.c acpi_gsi_to_irq(9), acpi_register_gsi(... |
acpi_set_irq_model(9) | NAME acpi_set_irq_model - Setup the GSI irqdomain information
SYNOPSIS void acpi_set_irq_model (enum acpi_irq_model_id model , acpi_gsi_domain_disp_fn fn );
ARGUMENTS model the value assigned to acpi_irq_model
fn a dispatcher function that will return the domain fwnode for a given GSI
SEE ALSO... |
acpi_set_modalias(9) | NAME acpi_set_modalias - Set modalias using "compatible" property or supplied ID
SYNOPSIS void acpi_set_modalias (struct acpi_device *adev , const char *default_id , char *modalias , size_t len );
ARGUMENTS adev ACPI device object to match
default_id ID string to use as default if no compatible string... |
acpi_spi_count_resources(9) | NAME acpi_spi_count_resources - Count the number of SpiSerialBus resources
SYNOPSIS int acpi_spi_count_resources (struct acpi_device *adev );
ARGUMENTS adev ACPI device
RETURN the number of SpiSerialBus resources in the ACPI-device's resource-list; or a negative error code.
SEE ALSO Kernel file ./drivers/spi... |
acpi_spi_device_alloc(9) | NAME acpi_spi_device_alloc - Allocate a spi device, and fill it in with ACPI information
SYNOPSIS struct spi_device * acpi_spi_device_alloc (struct spi_controller *ctlr , struct acpi_device *adev , int index );
ARGUMENTS ctlr controller to which the spi device belongs
adev ACPI Device for the sp... |
acpi_storage_d3(9) | NAME acpi_storage_d3 - Check if D3 should be used in the suspend path
SYNOPSIS bool acpi_storage_d3 (struct device *dev );
ARGUMENTS dev Device to check
DESCRIPTION Return true if the platform firmware wants dev to be programmed into D3hot or D3cold (if supported) in the suspend path, or false when there i... |
acpi_subsys_complete(9) | NAME acpi_subsys_complete - Finalize device's resume during system resume.
SYNOPSIS void acpi_subsys_complete (struct device *dev );
ARGUMENTS dev Device to handle.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), acpi_device_set_power(9), acpi_device... |
acpi_subsys_freeze(9) | NAME acpi_subsys_freeze - Run the device driver's freeze callback.
SYNOPSIS int acpi_subsys_freeze (struct device *dev );
ARGUMENTS dev Device to handle.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), acpi_device_set_power(9), acpi_device_fix_up_pow... |
acpi_subsys_poweroff(9) | NAME acpi_subsys_poweroff - Run the device driver's poweroff callback.
SYNOPSIS int acpi_subsys_poweroff (struct device *dev );
ARGUMENTS dev Device to handle.
DESCRIPTION Follow PCI and resume devices from runtime suspend before running their system poweroff callbacks, unless the driver can cope with runtim... |
acpi_subsys_poweroff_late(9) | NAME acpi_subsys_poweroff_late - Run the device driver's poweroff callback.
SYNOPSIS int acpi_subsys_poweroff_late (struct device *dev );
ARGUMENTS dev Device to handle.
DESCRIPTION Carry out the generic late poweroff procedure for dev and use ACPI to put it into a low-power state during system transition in... |
acpi_subsys_poweroff_noirq(9) | NAME acpi_subsys_poweroff_noirq - Run the driver's "noirq" poweroff callback.
SYNOPSIS int acpi_subsys_poweroff_noirq (struct device *dev );
ARGUMENTS dev Device to suspend.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), acpi_device_set_power(9), ac... |
acpi_subsys_prepare(9) | NAME acpi_subsys_prepare - Prepare device for system transition to a sleep state.
SYNOPSIS int acpi_subsys_prepare (struct device *dev );
ARGUMENTS dev Device to prepare.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), acpi_device_set_power(9), ... |
acpi_subsys_restore_early(9) | NAME acpi_subsys_restore_early - Restore device using ACPI.
SYNOPSIS int acpi_subsys_restore_early (struct device *dev );
ARGUMENTS dev Device to restore.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), acpi_device_set_power(9), acpi_device_fix_up_po... |
acpi_subsys_resume(9) | NAME acpi_subsys_resume - Resume device using ACPI.
SYNOPSIS int acpi_subsys_resume (struct device *dev );
ARGUMENTS dev Device to Resume.
DESCRIPTION Use ACPI to put the given device into the full-power state if it has not been powered up during early resume phase, and carry out the generic resume procedure... |
acpi_subsys_resume_early(9) | NAME acpi_subsys_resume_early - Resume device using ACPI.
SYNOPSIS int acpi_subsys_resume_early (struct device *dev );
ARGUMENTS dev Device to Resume.
DESCRIPTION Use ACPI to put the given device into the full-power state and carry out the generic early resume procedure for it during system transition int... |
acpi_subsys_resume_noirq(9) | NAME acpi_subsys_resume_noirq - Run the device driver's "noirq" resume callback.
SYNOPSIS int acpi_subsys_resume_noirq (struct device *dev );
ARGUMENTS dev Device to handle.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), acpi_device_set_power(9), ac... |
acpi_subsys_runtime_resume(9) | NAME acpi_subsys_runtime_resume - Resume device using ACPI.
SYNOPSIS int acpi_subsys_runtime_resume (struct device *dev );
ARGUMENTS dev Device to Resume.
DESCRIPTION Use ACPI to put the given device into the full-power state and carry out the generic runtime resume procedure for it.
SEE ALSO Kernel file ... |
acpi_subsys_runtime_suspend(9) | NAME acpi_subsys_runtime_suspend - Suspend device using ACPI.
SYNOPSIS int acpi_subsys_runtime_suspend (struct device *dev );
ARGUMENTS dev Device to suspend.
DESCRIPTION Carry out the generic runtime suspend procedure for dev and use ACPI to put it into a runtime low-power state.
SEE ALSO Kernel file ./d... |
acpi_subsys_suspend(9) | NAME acpi_subsys_suspend - Run the device driver's suspend callback.
SYNOPSIS int acpi_subsys_suspend (struct device *dev );
ARGUMENTS dev Device to handle.
DESCRIPTION Follow PCI and resume devices from runtime suspend before running their system suspend callbacks, unless the driver can cope with runtime-s... |
acpi_subsys_suspend_late(9) | NAME acpi_subsys_suspend_late - Suspend device using ACPI.
SYNOPSIS int acpi_subsys_suspend_late (struct device *dev );
ARGUMENTS dev Device to suspend.
DESCRIPTION Carry out the generic late suspend procedure for dev and use ACPI to put it into a low-power state during system transition into a sleep state.
... |
acpi_subsys_suspend_noirq(9) | NAME acpi_subsys_suspend_noirq - Run the device driver's "noirq" suspend callback.
SYNOPSIS int acpi_subsys_suspend_noirq (struct device *dev );
ARGUMENTS dev Device to suspend.
SEE ALSO Kernel file ./drivers/acpi/device_pm.c acpi_power_state_string(9), acpi_device_get_power(9), acpi_device_set_power(9)... |
acpi_subsystem_init(9) | NAME acpi_subsystem_init - Finalize the early initialization of ACPI.
SYNOPSIS void acpi_subsystem_init (void );
ARGUMENTS void no arguments
DESCRIPTION Switch over the platform to the ACPI mode (if possible). Doing this too early is generally unsafe, but at the same time it needs to be done before all thin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.