id
stringlengths
4
63
text
stringlengths
153
8.81M
dev_pm_attach_wake_irq(9)
NAME dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ SYNOPSIS int dev_pm_attach_wake_irq (struct device *dev , struct wake_irq *wirq ); ARGUMENTS dev Device entry wirq Wake irq specific data DESCRIPTION Internal function to attach a dedicated wake-up interrupt as a wake IRQ. SE...
dev_pm_clear_wake_irq(9)
NAME dev_pm_clear_wake_irq - Detach a device IO interrupt wake IRQ SYNOPSIS void dev_pm_clear_wake_irq (struct device *dev ); ARGUMENTS dev Device entry DESCRIPTION Detach a device wake IRQ and free resources. Note that it's OK for drivers to call this without calling dev_pm_set_wake_irq as all the driver ...
dev_pm_disable_wake_irq_check(9)
NAME dev_pm_disable_wake_irq_check - Checks and disables wake-up interrupt SYNOPSIS void dev_pm_disable_wake_irq_check (struct device *dev , bool cond_disable ); ARGUMENTS dev Device cond_disable if set, also check WAKE_IRQ_DEDICATED_REVERSE DESCRIPTION Disables wake-up interrupt c...
dev_pm_disarm_wake_irq(9)
NAME dev_pm_disarm_wake_irq - Disarm device wake-up SYNOPSIS void dev_pm_disarm_wake_irq (struct wake_irq *wirq ); ARGUMENTS wirq Device wake-up interrupt DESCRIPTION Clears up the wake-up event conditionally based on the device_may_wake. SEE ALSO Kernel file ./drivers/base/power/wakeirq.c dev_pm_attac...
dev_pm_domain_attach(9)
NAME dev_pm_domain_attach - Attach a device to its PM domain. SYNOPSIS int dev_pm_domain_attach (struct device *dev , u32 flags ); ARGUMENTS dev Device to attach. flags indicate whether we should power on/off the device on attach/detach DESCRIPTION The dev may only be attached to a single PM d...
dev_pm_domain_attach_by_id(9)
NAME dev_pm_domain_attach_by_id - Associate a device with one of its PM domains. SYNOPSIS struct device * dev_pm_domain_attach_by_id (struct device *dev , unsigned int index ); ARGUMENTS dev The device used to lookup the PM domain. index The index of the PM domain. DESCRIPTION As dev may only...
dev_pm_domain_attach_by_name(9)
NAME dev_pm_domain_attach_by_name - Associate a device with one of its PM domains. SYNOPSIS struct device * dev_pm_domain_attach_by_name (struct device *dev , const char *name ); ARGUMENTS dev The device used to lookup the PM domain. name The name of the PM domain. DESCRIPTION For a detailed f...
dev_pm_domain_attach_list(9)
NAME dev_pm_domain_attach_list - Associate a device with its PM domains. SYNOPSIS int dev_pm_domain_attach_list (struct device *dev , const struct dev_pm_domain_attach_data *data , struct dev_pm_domain_list **list ); ARGUMENTS dev The device used to lookup the PM domains for. data The data used...
dev_pm_domain_detach(9)
NAME dev_pm_domain_detach - Detach a device from its PM domain. SYNOPSIS void dev_pm_domain_detach (struct device *dev , bool power_off ); ARGUMENTS dev Device to detach. power_off Used to indicate whether we should power off the device. DESCRIPTION This functions will reverse the actions from d...
dev_pm_domain_detach_list(9)
NAME dev_pm_domain_detach_list - Detach a list of PM domains. SYNOPSIS void dev_pm_domain_detach_list (struct dev_pm_domain_list *list ); ARGUMENTS list The list of PM domains to detach. DESCRIPTION This function reverse the actions from dev_pm_domain_attach_list. Typically it should be invoked during the...
dev_pm_domain_set(9)
NAME dev_pm_domain_set - Set PM domain of a device. SYNOPSIS void dev_pm_domain_set (struct device *dev , struct dev_pm_domain *pd ); ARGUMENTS dev Device whose PM domain is to be set. pd PM domain to be set, or NULL. DESCRIPTION Sets the PM domain the device belongs to. The PM domain of a d...
dev_pm_domain_set_performance_state(9)
NAME dev_pm_domain_set_performance_state - Request a new performance state. SYNOPSIS int dev_pm_domain_set_performance_state (struct device *dev , unsigned int state ); ARGUMENTS dev The device to make the request for. state Target performance state for the device. DESCRIPTION This function s...
dev_pm_domain_start(9)
NAME dev_pm_domain_start - Start the device through its PM domain. SYNOPSIS int dev_pm_domain_start (struct device *dev ); ARGUMENTS dev Device to start. DESCRIPTION This function should typically be called during probe by a subsystem/driver, when it needs to start its device from the PM domain's perspecti...
dev_pm_enable_wake_irq_check(9)
NAME dev_pm_enable_wake_irq_check - Checks and enables wake-up interrupt SYNOPSIS void dev_pm_enable_wake_irq_check (struct device *dev , bool can_change_status ); ARGUMENTS dev Device can_change_status Can change wake-up interrupt status DESCRIPTION Enables wakeirq conditionally....
dev_pm_enable_wake_irq_complete(9)
NAME dev_pm_enable_wake_irq_complete - enable wake IRQ not enabled before SYNOPSIS void dev_pm_enable_wake_irq_complete (struct device *dev ); ARGUMENTS dev Device using the wake IRQ DESCRIPTION Enable wake IRQ conditionally based on status, mainly used if want to enable wake IRQ after running -...
dev_pm_genpd_add_notifier(9)
NAME dev_pm_genpd_add_notifier - Add a genpd power on/off notifier for @dev SYNOPSIS int dev_pm_genpd_add_notifier (struct device *dev , struct notifier_block *nb ); ARGUMENTS dev Device that should be associated with the notifier nb The notifier block to register DESCRIPTION Users may cal...
dev_pm_genpd_get_hwmode(9)
NAME dev_pm_genpd_get_hwmode - Get the HW mode setting for the device. SYNOPSIS bool dev_pm_genpd_get_hwmode (struct device *dev ); ARGUMENTS dev Device for which the current HW-mode setting should be fetched. DESCRIPTION This helper function allows consumer drivers to fetch the current HW mode setting of it...
dev_pm_genpd_get_next_hrtimer(9)
NAME dev_pm_genpd_get_next_hrtimer - Return the next_hrtimer for the genpd SYNOPSIS ktime_t dev_pm_genpd_get_next_hrtimer (struct device *dev ); ARGUMENTS dev A device that is attached to the genpd. DESCRIPTION This routine should typically be called for a device, at the point of when a GENPD_NOTIFY_PRE_OFF ...
dev_pm_genpd_is_on(9)
NAME dev_pm_genpd_is_on - Get device's current power domain status SYNOPSIS bool dev_pm_genpd_is_on (struct device *dev ); ARGUMENTS dev Device to get the current power status DESCRIPTION This function checks whether the generic power domain associated with the given device is on or not by verifying if genpd...
dev_pm_genpd_remove_notifier(9)
NAME dev_pm_genpd_remove_notifier - Remove a genpd power on/off notifier for @dev SYNOPSIS int dev_pm_genpd_remove_notifier (struct device *dev ); ARGUMENTS dev Device that is associated with the notifier DESCRIPTION Users may call this function to remove a genpd power on/off notifier for an attached dev. I...
dev_pm_genpd_resume(9)
NAME dev_pm_genpd_resume - Synchronously try to resume the genpd for @dev SYNOPSIS void dev_pm_genpd_resume (struct device *dev ); ARGUMENTS dev The device that is attached to the genpd, which needs to be resumed. DESCRIPTION This routine should typically be called for a device that needs to be resumed durin...
dev_pm_genpd_rpm_always_on(9)
NAME dev_pm_genpd_rpm_always_on - Control if the PM domain can be powered off. SYNOPSIS int dev_pm_genpd_rpm_always_on (struct device *dev , bool on ); ARGUMENTS dev Device for which the PM domain may need to stay on for. on Value to set or unset for the condition. DESCRIPTION For some use...
dev_pm_genpd_set_hwmode(9)
NAME dev_pm_genpd_set_hwmode - Set the HW mode for the device and its PM domain. SYNOPSIS int dev_pm_genpd_set_hwmode (struct device *dev , bool enable ); ARGUMENTS dev Device for which the HW-mode should be changed. enable Value to set or unset the HW-mode. DESCRIPTION Some PM domains can rely...
dev_pm_genpd_set_next_wakeup(9)
NAME dev_pm_genpd_set_next_wakeup - Notify PM framework of an impending wakeup. SYNOPSIS void dev_pm_genpd_set_next_wakeup (struct device *dev , ktime_t next ); ARGUMENTS dev Device to handle next impending interrupt/wakeup for the device DESCRIPTION Allow devices to inform of the next wakeup...
dev_pm_genpd_set_performance_state(9)
NAME dev_pm_genpd_set_performance_state - Set performance state of device's power domain. SYNOPSIS int dev_pm_genpd_set_performance_state (struct device *dev , unsigned int state ); ARGUMENTS dev Device for which the performance-state needs to be set. state Target performance state of the devi...
dev_pm_genpd_suspend(9)
NAME dev_pm_genpd_suspend - Synchronously try to suspend the genpd for @dev SYNOPSIS void dev_pm_genpd_suspend (struct device *dev ); ARGUMENTS dev The device that is attached to the genpd, that can be suspended. DESCRIPTION This routine should typically be called for a device that needs to be suspended d...
dev_pm_get_subsys_data(9)
NAME dev_pm_get_subsys_data - Create or refcount power.subsys_data for device. SYNOPSIS int dev_pm_get_subsys_data (struct device *dev ); ARGUMENTS dev Device to handle. DESCRIPTION If power.subsys_data is NULL, point it to a new object, otherwise increment its reference counter. Return 0 if new object has ...
dev_pm_opp_add_dynamic(9)
NAME dev_pm_opp_add_dynamic - Add an OPP table from a table definitions SYNOPSIS int dev_pm_opp_add_dynamic (struct device *dev , struct dev_pm_opp_data *data ); ARGUMENTS dev The device for which we do this operation data The OPP data for the OPP to add DESCRIPTION This function adds an opp d...
dev_pm_opp_adjust_voltage(9)
NAME dev_pm_opp_adjust_voltage - helper to change the voltage of an OPP SYNOPSIS int dev_pm_opp_adjust_voltage (struct device *dev , unsigned long freq , unsigned long u_volt , unsigned long u_volt_min , unsigned long u_volt_max ); ARGUMENTS dev device for which we do this operation freq OPP fr...
dev_pm_opp_calc_power(9)
NAME dev_pm_opp_calc_power - Calculate power value for device with EM SYNOPSIS int dev_pm_opp_calc_power (struct device *dev , unsigned long *uW , unsigned long *kHz ); ARGUMENTS dev Device for which an Energy Model has to be registered uW New power value that is calculated kHz ...
dev_pm_opp_clear_config(9)
NAME dev_pm_opp_clear_config - Releases resources blocked for OPP configuration. SYNOPSIS void dev_pm_opp_clear_config (int token ); ARGUMENTS token The token returned by dev_pm_opp_set_config previously. DESCRIPTION This allows all device OPP configurations to be cleared at once. This must be called once fo...
dev_pm_opp_cpumask_remove_table(9)
NAME dev_pm_opp_cpumask_remove_table - Removes OPP table for @cpumask SYNOPSIS void dev_pm_opp_cpumask_remove_table (const struct cpumask *cpumask ); ARGUMENTS cpumask cpumask for which OPP table needs to be removed DESCRIPTION This removes the OPP tables for CPUs present in the cpumask. This should be used to ...
dev_pm_opp_disable(9)
NAME dev_pm_opp_disable - Disable a specific OPP SYNOPSIS int dev_pm_opp_disable (struct device *dev , unsigned long freq ); ARGUMENTS dev device for which we do this operation freq OPP frequency to disable DESCRIPTION Disables a provided opp. If the operation is valid, this returns 0, else...
dev_pm_opp_enable(9)
NAME dev_pm_opp_enable - Enable a specific OPP SYNOPSIS int dev_pm_opp_enable (struct device *dev , unsigned long freq ); ARGUMENTS dev device for which we do this operation freq OPP frequency to enable DESCRIPTION Enables a provided opp. If the operation is valid, this returns 0, else the cor...
dev_pm_opp_find_bw_ceil(9)
NAME dev_pm_opp_find_bw_ceil - Search for a rounded ceil bandwidth SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_bw_ceil (struct device *dev , unsigned int *bw , int index ); ARGUMENTS dev device for which we do this operation bw start bandwidth index which bandwidth to compare, ...
dev_pm_opp_find_bw_floor(9)
NAME dev_pm_opp_find_bw_floor - Search for a rounded floor bandwidth SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_bw_floor (struct device *dev , unsigned int *bw , int index ); ARGUMENTS dev device for which we do this operation bw start bandwidth index which bandwidth to compar...
dev_pm_opp_find_freq_ceil(9)
NAME dev_pm_opp_find_freq_ceil - Search for an rounded ceil freq SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_freq_ceil (struct device *dev , unsigned long *freq ); ARGUMENTS dev device for which we do this operation freq Start frequency DESCRIPTION Search for the matching ceil *available* OPP...
dev_pm_opp_find_freq_ceil_indexed(9)
NAME dev_pm_opp_find_freq_ceil_indexed - Search for a rounded ceil freq for the clock corresponding to the index SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_freq_ceil_indexed (struct device *dev , unsigned long *freq , u32 index ); ARGUMENTS dev Device for which we do this operation freq Start...
dev_pm_opp_find_freq_exact(9)
NAME dev_pm_opp_find_freq_exact - search for an exact frequency SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_freq_exact (struct device *dev , unsigned long freq , bool available ); ARGUMENTS dev device for which we do this operation freq frequency to search for available true/false - ...
dev_pm_opp_find_freq_exact_indexed(9)
NAME dev_pm_opp_find_freq_exact_indexed - Search for an exact freq for the clock corresponding to the index SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_freq_exact_indexed (struct device *dev , unsigned long freq , u32 index , bool available ); ARGUMENTS dev Device for which we do this operation freq ...
dev_pm_opp_find_freq_floor(9)
NAME dev_pm_opp_find_freq_floor - Search for a rounded floor freq SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_freq_floor (struct device *dev , unsigned long *freq ); ARGUMENTS dev device for which we do this operation freq Start frequency DESCRIPTION Search for the matching floor *available* ...
dev_pm_opp_find_freq_floor_indexed(9)
NAME dev_pm_opp_find_freq_floor_indexed - Search for a rounded floor freq for the clock corresponding to the index SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_freq_floor_indexed (struct device *dev , unsigned long *freq , u32 index ); ARGUMENTS dev Device for which we do this operation freq St...
dev_pm_opp_find_key_exact(9)
NAME dev_pm_opp_find_key_exact - Search for an OPP with exact key set SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_key_exact (struct device *dev , struct dev_pm_opp_key *key , bool available ); ARGUMENTS dev Device for which the OPP is being searched key OPP key set to match available ...
dev_pm_opp_find_level_ceil(9)
NAME dev_pm_opp_find_level_ceil - search for an rounded up level SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_level_ceil (struct device *dev , unsigned int *level ); ARGUMENTS dev device for which we do this operation level level to search for RETURN Searches for rounded up match in the opp ta...
dev_pm_opp_find_level_exact(9)
NAME dev_pm_opp_find_level_exact - search for an exact level SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_level_exact (struct device *dev , unsigned int level ); ARGUMENTS dev device for which we do this operation level level to search for RETURN Searches for exact match in the opp table...
dev_pm_opp_find_level_floor(9)
NAME dev_pm_opp_find_level_floor - Search for a rounded floor level SYNOPSIS struct dev_pm_opp * dev_pm_opp_find_level_floor (struct device *dev , unsigned int *level ); ARGUMENTS dev device for which we do this operation level Start level DESCRIPTION Search for the matching floor *available* O...
dev_pm_opp_free_cpufreq_table(9)
NAME dev_pm_opp_free_cpufreq_table - free the cpufreq table SYNOPSIS void dev_pm_opp_free_cpufreq_table (struct device *dev , struct cpufreq_frequency_table **opp_table ); ARGUMENTS dev device for which we do this operation opp_table table to free DESCRIPTION Free up the table allocated by dev_pm_o...
dev_pm_opp_get_bw(9)
NAME dev_pm_opp_get_bw - Gets the bandwidth corresponding to an opp SYNOPSIS unsigned long dev_pm_opp_get_bw (struct dev_pm_opp *opp , bool peak , int index ); ARGUMENTS opp opp for which bandwidth has to be returned for peak select peak or average bandwidth index bandwidth index ...
dev_pm_opp_get_freq_indexed(9)
NAME dev_pm_opp_get_freq_indexed - Gets the frequency corresponding to an available opp with specified index SYNOPSIS unsigned long dev_pm_opp_get_freq_indexed (struct dev_pm_opp *opp , u32 index ); ARGUMENTS opp opp for which frequency has to be returned for index index of the frequency within ...
dev_pm_opp_get_level(9)
NAME dev_pm_opp_get_level - Gets the level corresponding to an available opp SYNOPSIS unsigned int dev_pm_opp_get_level (struct dev_pm_opp *opp ); ARGUMENTS opp opp for which level value has to be returned for RETURN level read from device tree corresponding to the opp, else return U32_MAX. SEE ALSO Kernel ...
dev_pm_opp_get_max_clock_latency(9)
NAME dev_pm_opp_get_max_clock_latency - Get max clock latency in nanoseconds SYNOPSIS unsigned long dev_pm_opp_get_max_clock_latency (struct device *dev ); ARGUMENTS dev device for which we do this operation RETURN This function returns the max clock latency in nanoseconds. SEE ALSO Kernel file ./drivers...
dev_pm_opp_get_max_transition_latency(9)
NAME dev_pm_opp_get_max_transition_latency - Get max transition latency in nanoseconds SYNOPSIS unsigned long dev_pm_opp_get_max_transition_latency (struct device *dev ); ARGUMENTS dev device for which we do this operation RETURN This function returns the max transition latency, in nanoseconds, to switch fro...
dev_pm_opp_get_max_volt_latency(9)
NAME dev_pm_opp_get_max_volt_latency - Get max voltage latency in nanoseconds SYNOPSIS unsigned long dev_pm_opp_get_max_volt_latency (struct device *dev ); ARGUMENTS dev device for which we do this operation RETURN This function returns the max voltage latency in nanoseconds. SEE ALSO Kernel file ./drive...
dev_pm_opp_get_of_node(9)
NAME dev_pm_opp_get_of_node - Gets the DT node corresponding to an opp SYNOPSIS struct device_node * dev_pm_opp_get_of_node (struct dev_pm_opp *opp ); ARGUMENTS opp opp for which DT node has to be returned for RETURN DT node corresponding to the opp, else 0 on success. DESCRIPTION The caller needs to put th...
dev_pm_opp_get_opp_count(9)
NAME dev_pm_opp_get_opp_count - Get number of opps available in the opp table SYNOPSIS int dev_pm_opp_get_opp_count (struct device *dev ); ARGUMENTS dev device for which we do this operation RETURN This function returns the number of available opps if there are any, else returns 0 if none or the correspondin...
dev_pm_opp_get_power(9)
NAME dev_pm_opp_get_power - Gets the power corresponding to an opp SYNOPSIS unsigned long dev_pm_opp_get_power (struct dev_pm_opp *opp ); ARGUMENTS opp opp for which power has to be returned for RETURN power in micro watt corresponding to the opp, else return 0 DESCRIPTION This is useful only for devices wi...
dev_pm_opp_get_required_pstate(9)
NAME dev_pm_opp_get_required_pstate - Gets the required performance state corresponding to an available opp SYNOPSIS unsigned int dev_pm_opp_get_required_pstate (struct dev_pm_opp *opp , unsigned int index ); ARGUMENTS opp opp for which performance state has to be returned for index index of the...
dev_pm_opp_get_sharing_cpus(9)
NAME dev_pm_opp_get_sharing_cpus - Get cpumask of CPUs sharing OPPs with @cpu_dev SYNOPSIS int dev_pm_opp_get_sharing_cpus (struct device *cpu_dev , struct cpumask *cpumask ); ARGUMENTS cpu_dev CPU device for which we do this operation cpumask cpumask to update with information of sharing CPUs DESCRI...
dev_pm_opp_get_supplies(9)
NAME dev_pm_opp_get_supplies - Gets the supply information corresponding to an opp SYNOPSIS int dev_pm_opp_get_supplies (struct dev_pm_opp *opp , struct dev_pm_opp_supply *supplies ); ARGUMENTS opp opp for which voltage has to be returned for supplies Placeholder for copying the supply information....
dev_pm_opp_get_suspend_opp_freq(9)
NAME dev_pm_opp_get_suspend_opp_freq - Get frequency of suspend opp in Hz SYNOPSIS unsigned long dev_pm_opp_get_suspend_opp_freq (struct device *dev ); ARGUMENTS dev device for which we do this operation RETURN This function returns the frequency of the OPP marked as suspend_opp if one is available, else ret...
dev_pm_opp_get_voltage(9)
NAME dev_pm_opp_get_voltage - Gets the voltage corresponding to an opp SYNOPSIS unsigned long dev_pm_opp_get_voltage (struct dev_pm_opp *opp ); ARGUMENTS opp opp for which voltage has to be returned for RETURN voltage in micro volt corresponding to the opp, else return 0 DESCRIPTION This is useful only for ...
dev_pm_opp_init_cpufreq_table(9)
NAME dev_pm_opp_init_cpufreq_table - create a cpufreq table for a device SYNOPSIS int dev_pm_opp_init_cpufreq_table (struct device *dev , struct cpufreq_frequency_table **opp_table ); ARGUMENTS dev device for which we do this operation opp_table Cpufreq table returned back to caller DESCRIPTION Gen...
dev_pm_opp_is_turbo(9)
NAME dev_pm_opp_is_turbo - Returns if opp is turbo OPP or not SYNOPSIS bool dev_pm_opp_is_turbo (struct dev_pm_opp *opp ); ARGUMENTS opp opp for which turbo mode is being verified DESCRIPTION Turbo OPPs are not for normal use, and can be enabled (under certain conditions) for short duration of times to finis...
dev_pm_opp_of_add_table(9)
NAME dev_pm_opp_of_add_table - Initialize opp table from device tree SYNOPSIS int dev_pm_opp_of_add_table (struct device *dev ); ARGUMENTS dev device pointer used to lookup OPP table. DESCRIPTION Register the initial OPP table with the OPP library for given device. RETURN 0 On success OR Dupl...
dev_pm_opp_of_add_table_indexed(9)
NAME dev_pm_opp_of_add_table_indexed - Initialize indexed opp table from device tree SYNOPSIS int dev_pm_opp_of_add_table_indexed (struct device *dev , int index ); ARGUMENTS dev device pointer used to lookup OPP table. index Index number. DESCRIPTION Register the initial OPP table with the OPP...
dev_pm_opp_of_cpumask_add_table(9)
NAME dev_pm_opp_of_cpumask_add_table - Adds OPP table for @cpumask SYNOPSIS int dev_pm_opp_of_cpumask_add_table (const struct cpumask *cpumask ); ARGUMENTS cpumask cpumask for which OPP table needs to be added. DESCRIPTION This adds the OPP tables for CPUs present in the cpumask. SEE ALSO Kernel file ./driver...
dev_pm_opp_of_cpumask_remove_table(9)
NAME dev_pm_opp_of_cpumask_remove_table - Removes OPP table for @cpumask SYNOPSIS void dev_pm_opp_of_cpumask_remove_table (const struct cpumask *cpumask ); ARGUMENTS cpumask cpumask for which OPP table needs to be removed DESCRIPTION This removes the OPP tables for CPUs present in the cpumask. This should be us...
dev_pm_opp_of_get_sharing_cpus(9)
NAME dev_pm_opp_of_get_sharing_cpus - Get cpumask of CPUs sharing OPPs with @cpu_dev using operating-points-v2 bindings. SYNOPSIS int dev_pm_opp_of_get_sharing_cpus (struct device *cpu_dev , struct cpumask *cpumask ); ARGUMENTS cpu_dev CPU device for which we do this operation cpumask cpumask to updat...
dev_pm_opp_of_has_required_opp(9)
NAME dev_pm_opp_of_has_required_opp - Find out if a required-opps exists. SYNOPSIS bool dev_pm_opp_of_has_required_opp (struct device *dev ); ARGUMENTS dev The device to investigate. DESCRIPTION Returns true if the device's node has a "operating-points-v2" property and if the corresponding node for the opp-t...
dev_pm_opp_of_register_em(9)
NAME dev_pm_opp_of_register_em - Attempt to register an Energy Model SYNOPSIS int dev_pm_opp_of_register_em (struct device *dev , struct cpumask *cpus ); ARGUMENTS dev Device for which an Energy Model has to be registered cpus CPUs for which an Energy Model has to be registered. For other type ...
dev_pm_opp_of_remove_table(9)
NAME dev_pm_opp_of_remove_table - Free OPP table entries created from static DT entries SYNOPSIS void dev_pm_opp_of_remove_table (struct device *dev ); ARGUMENTS dev device pointer used to lookup OPP table. DESCRIPTION Free OPPs created using static entries present in DT. SEE ALSO Kernel file ./drivers/op...
dev_pm_opp_register_notifier(9)
NAME dev_pm_opp_register_notifier - Register OPP notifier for the device SYNOPSIS int dev_pm_opp_register_notifier (struct device *dev , struct notifier_block *nb ); ARGUMENTS dev Device for which notifier needs to be registered nb Notifier block to be registered RETURN 0 on success or a neg...
dev_pm_opp_remove(9)
NAME dev_pm_opp_remove - Remove an OPP from OPP table SYNOPSIS void dev_pm_opp_remove (struct device *dev , unsigned long freq ); ARGUMENTS dev device for which we do this operation freq OPP to remove with matching 'freq' DESCRIPTION This function removes an opp from the opp table. SEE ALSO K...
dev_pm_opp_remove_all_dynamic(9)
NAME dev_pm_opp_remove_all_dynamic - Remove all dynamically created OPPs SYNOPSIS void dev_pm_opp_remove_all_dynamic (struct device *dev ); ARGUMENTS dev device for which we do this operation DESCRIPTION This function removes all dynamically created OPPs from the opp table. SEE ALSO Kernel file ./drivers...
dev_pm_opp_remove_table(9)
NAME dev_pm_opp_remove_table - Free all OPPs associated with the device SYNOPSIS void dev_pm_opp_remove_table (struct device *dev ); ARGUMENTS dev device pointer used to lookup OPP table. DESCRIPTION Free both OPPs created using static entries present in DT and the dynamically added entries. SEE ALSO Kernel...
dev_pm_opp_set_config(9)
NAME dev_pm_opp_set_config - Set OPP configuration for the device. SYNOPSIS int dev_pm_opp_set_config (struct device *dev , struct dev_pm_opp_config *config ); ARGUMENTS dev Device for which configuration is being set. config OPP configuration. DESCRIPTION This allows all device OPP configurat...
dev_pm_opp_set_opp(9)
NAME dev_pm_opp_set_opp - Configure device for OPP SYNOPSIS int dev_pm_opp_set_opp (struct device *dev , struct dev_pm_opp *opp ); ARGUMENTS dev device for which we do this operation opp OPP to set to DESCRIPTION This configures the device based on the properties of the OPP passed to this rou...
dev_pm_opp_set_rate(9)
NAME dev_pm_opp_set_rate - Configure new OPP based on frequency SYNOPSIS int dev_pm_opp_set_rate (struct device *dev , unsigned long target_freq ); ARGUMENTS dev device for which we do this operation target_freq frequency to achieve DESCRIPTION This configures the power-supplies to the levels spec...
dev_pm_opp_set_sharing_cpus(9)
NAME dev_pm_opp_set_sharing_cpus - Mark OPP table as shared by few CPUs SYNOPSIS int dev_pm_opp_set_sharing_cpus (struct device *cpu_dev , const struct cpumask *cpumask ); ARGUMENTS cpu_dev CPU device for which we do this operation cpumask cpumask of the CPUs which share the OPP table with cpu_dev DE...
dev_pm_opp_sync_regulators(9)
NAME dev_pm_opp_sync_regulators - Sync state of voltage regulators SYNOPSIS int dev_pm_opp_sync_regulators (struct device *dev ); ARGUMENTS dev device for which we do this operation DESCRIPTION Sync voltage state of the OPP table regulators. RETURN 0 on success or a negative error value. SEE ALSO Kernel ...
dev_pm_opp_unregister_notifier(9)
NAME dev_pm_opp_unregister_notifier - Unregister OPP notifier for the device SYNOPSIS int dev_pm_opp_unregister_notifier (struct device *dev , struct notifier_block *nb ); ARGUMENTS dev Device for which notifier needs to be unregistered nb Notifier block to be unregistered RETURN 0 on succes...
dev_pm_opp_xlate_performance_state(9)
NAME dev_pm_opp_xlate_performance_state - Find required OPP's pstate for src_table. SYNOPSIS int dev_pm_opp_xlate_performance_state (struct opp_table *src_table , struct opp_table *dst_table , unsigned int pstate ); ARGUMENTS src_table OPP table which has dst_table as one of its required OPP table. dst_tabl...
dev_pm_opp_xlate_required_opp(9)
NAME dev_pm_opp_xlate_required_opp - Find required OPP for @src_table OPP. SYNOPSIS struct dev_pm_opp * dev_pm_opp_xlate_required_opp (struct opp_table *src_table , struct opp_table *dst_table , struct dev_pm_opp *src_opp ); ARGUMENTS src_table OPP table which has dst_table as one of its required OPP table. ...
dev_pm_put_subsys_data(9)
NAME dev_pm_put_subsys_data - Drop reference to power.subsys_data. SYNOPSIS void dev_pm_put_subsys_data (struct device *dev ); ARGUMENTS dev Device to handle. DESCRIPTION If the reference counter of power.subsys_data is zero after dropping the reference, power.subsys_data is removed. SEE ALSO Kernel file ...
dev_pm_qos_add_ancestor_request(9)
NAME dev_pm_qos_add_ancestor_request - Add PM QoS request for device's ancestor. SYNOPSIS int dev_pm_qos_add_ancestor_request (struct device *dev , struct dev_pm_qos_request *req , enum dev_pm_qos_req_type type , s32 value ); ARGUMENTS dev Device whose ancestor to add the request for. req Poin...
dev_pm_qos_add_notifier(9)
NAME dev_pm_qos_add_notifier - sets notification entry for changes to target value of per-device PM QoS constraints SYNOPSIS int dev_pm_qos_add_notifier (struct device *dev , struct notifier_block *notifier , enum dev_pm_qos_req_type type ); ARGUMENTS dev target device for the constraint notifier n...
dev_pm_qos_add_request(9)
NAME dev_pm_qos_add_request - inserts new qos request into the list SYNOPSIS int dev_pm_qos_add_request (struct device *dev , struct dev_pm_qos_request *req , enum dev_pm_qos_req_type type , s32 value ); ARGUMENTS dev target device for the constraint req pointer to a preallocated handle ...
dev_pm_qos_constraints_destroy(9)
NAME dev_pm_qos_constraints_destroy - SYNOPSIS void dev_pm_qos_constraints_destroy (struct device *dev ); ARGUMENTS dev target device DESCRIPTION Called from the device PM subsystem on device removal under device_pm_lock. SEE ALSO Kernel file ./drivers/base/power/qos.c __dev_pm_qos_flags(9), dev_pm_qos_fla...
dev_pm_qos_expose_flags(9)
NAME dev_pm_qos_expose_flags - Expose PM QoS flags of a device to user space. SYNOPSIS int dev_pm_qos_expose_flags (struct device *dev , s32 val ); ARGUMENTS dev Device whose PM QoS flags are to be exposed to user space. val Initial values of the flags. SEE ALSO Kernel file ./drivers/base/p...
dev_pm_qos_expose_latency_limit(9)
NAME dev_pm_qos_expose_latency_limit - Expose PM QoS latency limit to user space. SYNOPSIS int dev_pm_qos_expose_latency_limit (struct device *dev , s32 value ); ARGUMENTS dev Device whose PM QoS latency limit is to be exposed to user space. value Initial value of the latency limit. SEE ALSO Ke...
dev_pm_qos_expose_latency_tolerance(9)
NAME dev_pm_qos_expose_latency_tolerance - Expose latency tolerance to userspace SYNOPSIS int dev_pm_qos_expose_latency_tolerance (struct device *dev ); ARGUMENTS dev Device whose latency tolerance to expose SEE ALSO Kernel file ./drivers/base/power/qos.c __dev_pm_qos_flags(9), dev_pm_qos_flags(9), __de...
dev_pm_qos_flags(9)
NAME dev_pm_qos_flags - Check PM QoS flags for a given device (locked). SYNOPSIS enum pm_qos_flags_status dev_pm_qos_flags (struct device *dev , s32 mask ); ARGUMENTS dev Device to check the PM QoS flags for. mask Flags to check against. SEE ALSO Kernel file ./drivers/base/power/qos.c __dev_...
dev_pm_qos_get_user_latency_tolerance(9)
NAME dev_pm_qos_get_user_latency_tolerance - Get user space latency tolerance. SYNOPSIS s32 dev_pm_qos_get_user_latency_tolerance (struct device *dev ); ARGUMENTS dev Device to obtain the user space latency tolerance for. SEE ALSO Kernel file ./drivers/base/power/qos.c __dev_pm_qos_flags(9), dev_pm_qos_f...
dev_pm_qos_hide_flags(9)
NAME dev_pm_qos_hide_flags - Hide PM QoS flags of a device from user space. SYNOPSIS void dev_pm_qos_hide_flags (struct device *dev ); ARGUMENTS dev Device whose PM QoS flags are to be hidden from user space. SEE ALSO Kernel file ./drivers/base/power/qos.c __dev_pm_qos_flags(9), dev_pm_qos_flags(9), ...
dev_pm_qos_hide_latency_limit(9)
NAME dev_pm_qos_hide_latency_limit - Hide PM QoS latency limit from user space. SYNOPSIS void dev_pm_qos_hide_latency_limit (struct device *dev ); ARGUMENTS dev Device whose PM QoS latency limit is to be hidden from user space. SEE ALSO Kernel file ./drivers/base/power/qos.c __dev_pm_qos_flags(9), dev_pm...
dev_pm_qos_hide_latency_tolerance(9)
NAME dev_pm_qos_hide_latency_tolerance - Hide latency tolerance from userspace SYNOPSIS void dev_pm_qos_hide_latency_tolerance (struct device *dev ); ARGUMENTS dev Device whose latency tolerance to hide SEE ALSO Kernel file ./drivers/base/power/qos.c __dev_pm_qos_flags(9), dev_pm_qos_flags(9), __dev_pm_...
dev_pm_qos_read_value(9)
NAME dev_pm_qos_read_value - Get PM QoS constraint for a given device (locked). SYNOPSIS s32 dev_pm_qos_read_value (struct device *dev , enum dev_pm_qos_req_type type ); ARGUMENTS dev Device to get the PM QoS constraint value for. type QoS request type. SEE ALSO Kernel file ./drivers/base/powe...
dev_pm_qos_remove_notifier(9)
NAME dev_pm_qos_remove_notifier - deletes notification for changes to target value of per-device PM QoS constraints SYNOPSIS int dev_pm_qos_remove_notifier (struct device *dev , struct notifier_block *notifier , enum dev_pm_qos_req_type type ); ARGUMENTS dev target device for the constraint notifier ...
dev_pm_qos_remove_request(9)
NAME dev_pm_qos_remove_request - modifies an existing qos request SYNOPSIS int dev_pm_qos_remove_request (struct dev_pm_qos_request *req ); ARGUMENTS req handle to request list element DESCRIPTION Will remove pm qos request from the list of constraints and recompute the current target value. Call this on slo...
dev_pm_qos_update_flags(9)
NAME dev_pm_qos_update_flags - Update PM QoS flags request owned by user space. SYNOPSIS int dev_pm_qos_update_flags (struct device *dev , s32 mask , bool set ); ARGUMENTS dev Device to update the PM QoS flags request for. mask Flags to set/clear. set Whether to set or clear the...