id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
cpqhp_slot_find(9) | NAME cpqhp_slot_find - Looks for a node by bus, and device, multiple functions accessed
SYNOPSIS struct pci_func * cpqhp_slot_find (u8 bus , u8 device , u8 index );
ARGUMENTS bus bus to find
device device to find
index is 0 for first function found, 1 for the second...
DESCRIPTION ... |
cproj(3) | NAME cproj, cprojf, cprojl - project into Riemann Sphere
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex cproj(double complex z);
float complex cprojf(float complex z);
long double complex cprojl(long double complex z);
DESCRIPTION These functions project a poin... |
cproj(3p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME cproj, cprojf, cprojl — complex projection functions
SYNOPSIS ... |
cprojf(3) | NAME cproj, cprojf, cprojl - project into Riemann Sphere
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex cproj(double complex z);
float complex cprojf(float complex z);
long double complex cprojl(long double complex z);
DESCRIPTION These functions project a poin... |
cprojl(3) | NAME cproj, cprojf, cprojl - project into Riemann Sphere
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex cproj(double complex z);
float complex cprojf(float complex z);
long double complex cprojl(long double complex z);
DESCRIPTION These functions project a poin... |
cps_pm_enter_state(9) | NAME cps_pm_enter_state - enter a PM state
SYNOPSIS int cps_pm_enter_state (enum cps_pm_state state );
ARGUMENTS state the state to enter
DESCRIPTION Enter the given PM state. If coupled_coherence is non-zero then it is expected that this function be called at approximately the same time on each coupled CPU. R... |
cps_pm_support_state(9) | NAME cps_pm_support_state - determine whether the system supports a PM state
SYNOPSIS bool cps_pm_support_state (enum cps_pm_state state );
ARGUMENTS state the state to test for support
DESCRIPTION Returns true if the system supports the given state, otherwise false.
SEE ALSO Kernel file ./arch/mips/include/a... |
cpsw_set_mc(9) | NAME cpsw_set_mc - adds multicast entry to the table if it's not added or deletes if it's not deleted
SYNOPSIS int cpsw_set_mc (struct net_device *ndev , const u8 *addr , int vid , int add );
ARGUMENTS ndev device to sync
addr address to be added or deleted
vid vlan id, if vid < ... |
cpu__get_cluster_id(9) | NAME cpu__get_cluster_id - Returns the cluster id as read from /sys/devices/system/cpu/cpuX/topology/cluster_id for the given CPU
SYNOPSIS int cpu__get_cluster_id (struct perf_cpu cpu );
ARGUMENTS cpu -- undescribed --
SEE ALSO Kernel file ./tools/perf/util/cpumap.h cpu_map__is_dummy(9), cpu__get_node(9)... |
cpu__get_core_id(9) | NAME cpu__get_core_id - Returns the core id as read from /sys/devices/system/cpu/cpuX/topology/core_id for the given CPU.
SYNOPSIS int cpu__get_core_id (struct perf_cpu cpu );
ARGUMENTS cpu -- undescribed --
SEE ALSO Kernel file ./tools/perf/util/cpumap.h cpu_map__is_dummy(9), cpu__get_node(9), cpu__get_so... |
cpu__get_die_id(9) | NAME cpu__get_die_id - Returns the die id as read from /sys/devices/system/cpu/cpuX/topology/die_id for the given CPU.
SYNOPSIS int cpu__get_die_id (struct perf_cpu cpu );
ARGUMENTS cpu -- undescribed --
SEE ALSO Kernel file ./tools/perf/util/cpumap.h cpu_map__is_dummy(9), cpu__get_node(9), cpu__get_socket_... |
cpu__get_node(9) | NAME cpu__get_node - Returns the numa node X as read from /sys/devices/system/node/nodeX for the given CPU.
SYNOPSIS int cpu__get_node (struct perf_cpu cpu );
ARGUMENTS cpu -- undescribed --
SEE ALSO Kernel file ./tools/perf/util/cpumap.h cpu_map__is_dummy(9), cpu__get_socket_id(9), cpu__get_die_id(... |
cpu__get_socket_id(9) | NAME cpu__get_socket_id - Returns the socket number as read from /sys/devices/system/cpu/cpuX/topology/physical_package_id for the given CPU.
SYNOPSIS int cpu__get_socket_id (struct perf_cpu cpu );
ARGUMENTS cpu -- undescribed --
SEE ALSO Kernel file ./tools/perf/util/cpumap.h cpu_map__is_dummy(9), cpu__... |
cpu_aggr_map__empty_new(9) | NAME cpu_aggr_map__empty_new - Create a cpu_aggr_map of size nr with every entry being empty.
SYNOPSIS struct cpu_aggr_map * cpu_aggr_map__empty_new (int nr );
ARGUMENTS nr -- undescribed --
SEE ALSO Kernel file ./tools/perf/util/cpumap.h cpu_map__is_dummy(9), cpu__get_node(9), cpu__get_socket_id(9), ... |
cpu_aggr_map__new(9) | NAME cpu_aggr_map__new - Create a cpu_aggr_map with an aggr_cpu_id for each cpu in cpus. The aggr_cpu_id is created with 'get_id' that may have a data value passed to it. The cpu_aggr_map is sorted with duplicate values re‐ moved.
SYNOPSIS struct cpu_aggr_map * cpu_aggr_map__new (const struct perf_cpu_map *cpus , a... |
cpu_cache_invalidate_memregion(9) | NAME cpu_cache_invalidate_memregion - drop any CPU cached data for memregion
SYNOPSIS int cpu_cache_invalidate_memregion (phys_addr_t start , size_t len );
ARGUMENTS start start physical address of the target memory region.
len length of the target memory region. -1 for all the regions of the ta... |
cpu_cluster_pm_enter(9) | NAME cpu_cluster_pm_enter - CPU cluster low power entry notifier
SYNOPSIS int cpu_cluster_pm_enter (void );
ARGUMENTS void no arguments
DESCRIPTION Notifies listeners that all cpus in a power domain are entering a low power state that may cause some blocks in the same power domain to reset. Must be called ... |
cpu_cluster_pm_exit(9) | NAME cpu_cluster_pm_exit - CPU cluster low power exit notifier
SYNOPSIS int cpu_cluster_pm_exit (void );
ARGUMENTS void no arguments
DESCRIPTION Notifies listeners that all cpus in a power domain are exiting form a low power state that may have caused some blocks in the same power domain to reset. Must be c... |
cpu_curr_snapshot(9) | NAME cpu_curr_snapshot - Return a snapshot of the currently running task
SYNOPSIS struct task_struct * cpu_curr_snapshot (int cpu );
ARGUMENTS cpu The CPU on which to snapshot the task.
DESCRIPTION Returns the task_struct pointer of the task "currently" running on the specified CPU. If the specified CPU... |
cpu_device_down(9) | NAME cpu_device_down - Bring down a cpu device
SYNOPSIS int cpu_device_down (struct device *dev );
ARGUMENTS dev Pointer to the cpu device to offline
DESCRIPTION This function is meant to be used by device core cpu subsystem only. Other subsystems should use remove_cpu instead.
RETURN 0 on success or a neg... |
cpu_device_up(9) | NAME cpu_device_up - Bring up a cpu device
SYNOPSIS int cpu_device_up (struct device *dev );
ARGUMENTS dev Pointer to the cpu device to online
DESCRIPTION This function is meant to be used by device core cpu subsystem only. Other subsystems should use add_cpu instead.
RETURN 0 on success or a negative errn... |
cpu_exceeded(9) | NAME cpu_exceeded - check whether a CPU core is outside its limits
SYNOPSIS bool cpu_exceeded (struct ips_driver *ips , int cpu );
ARGUMENTS ips IPS driver struct
cpu CPU number to check
DESCRIPTION Check a given CPU's average temp or power is over its limit.
RETURN true if the temp or power... |
cpu_function_call(9) | NAME cpu_function_call - call a function on the cpu
SYNOPSIS int cpu_function_call (int cpu , remote_function_f func , void *info );
ARGUMENTS cpu target cpu to queue this function
func the function to be called
info the function call argument
DESCRIPTION Calls the function func... |
cpu_init(9) | NAME cpu_init -
SYNOPSIS void cpu_init (void );
ARGUMENTS void no arguments
DESCRIPTION This is our initial entry point for each CPU, and is invoked on the boot CPU prior to calling start_kernel. For SMP, a combination of this and start_secondary will bring up each processor to a ready state prior to hand ... |
cpu_latency_qos_add_request(9) | NAME cpu_latency_qos_add_request - Add new CPU latency QoS request.
SYNOPSIS void cpu_latency_qos_add_request (struct pm_qos_request *req , s32 value );
ARGUMENTS req Pointer to a preallocated handle.
value Requested constraint value.
DESCRIPTION Use value to initialize the request handle poi... |
cpu_latency_qos_limit(9) | NAME cpu_latency_qos_limit - Return current system-wide CPU latency QoS limit.
SYNOPSIS s32 cpu_latency_qos_limit (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./kernel/power/qos.c pm_qos_read_value(9), pm_qos_update_target(9), pm_qos_flags_remove_req(9), pm_qos_update_flags(9), cpu_latency_qos... |
cpu_latency_qos_remove_request(9) | NAME cpu_latency_qos_remove_request - Remove existing CPU latency QoS request.
SYNOPSIS void cpu_latency_qos_remove_request (struct pm_qos_request *req );
ARGUMENTS req QoS request to remove.
DESCRIPTION Remove the CPU latency QoS request represented by req from the CPU latency QoS list along with updating t... |
cpu_latency_qos_request_active(9) | NAME cpu_latency_qos_request_active - Check the given PM QoS request.
SYNOPSIS bool cpu_latency_qos_request_active (struct pm_qos_request *req );
ARGUMENTS req PM QoS request to check.
RETURN otherwise.
SEE ALSO Kernel file ./kernel/power/qos.c pm_qos_read_value(9), pm_qos_update_target(9), pm_qos_flag... |
cpu_latency_qos_update_request(9) | NAME cpu_latency_qos_update_request - Modify existing CPU latency QoS request.
SYNOPSIS void cpu_latency_qos_update_request (struct pm_qos_request *req , s32 new_value );
ARGUMENTS req QoS request to update.
new_value New requested constraint value.
DESCRIPTION Use new_value to update the QoS reque... |
cpu_map__is_dummy(9) | NAME cpu_map__is_dummy - Events associated with a pid, rather than a CPU, use a single dummy map with an entry of -1.
SYNOPSIS bool cpu_map__is_dummy (const struct perf_cpu_map *cpus );
ARGUMENTS cpus -- undescribed --
SEE ALSO Kernel file ./tools/perf/util/cpumap.h cpu__get_node(9), cpu__get_socket_id(9),... |
cpu_node_size(9) | NAME cpu_node_size - Compute the size of a CPU node in the FDT. This should be done only once and the value is stored in a static variable. Returns the max size of a CPU node in the FDT.
SYNOPSIS unsigned int cpu_node_size (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./arch/powerpc/kexec/file_l... |
cpu_pm_enter(9) | NAME cpu_pm_enter - CPU low power entry notifier
SYNOPSIS int cpu_pm_enter (void );
ARGUMENTS void no arguments
DESCRIPTION Notifies listeners that a single CPU is entering a low power state that may cause some blocks in the same power domain as the cpu to reset. Must be called on the affected CPU with in... |
cpu_pm_exit(9) | NAME cpu_pm_exit - CPU low power exit notifier
SYNOPSIS int cpu_pm_exit (void );
ARGUMENTS void no arguments
DESCRIPTION Notifies listeners that a single CPU is exiting a low power state that may have caused some blocks in the same power domain as the cpu to reset. Notified drivers can include VFP co-process... |
cpu_pm_register_notifier(9) | NAME cpu_pm_register_notifier - register a driver with cpu_pm
SYNOPSIS int cpu_pm_register_notifier (struct notifier_block *nb );
ARGUMENTS nb notifier block to register
DESCRIPTION Add a driver to a list of drivers that are notified about CPU and CPU cluster low power entry and exit. This function has the... |
cpu_pm_unregister_notifier(9) | NAME cpu_pm_unregister_notifier - unregister a driver with cpu_pm
SYNOPSIS int cpu_pm_unregister_notifier (struct notifier_block *nb );
ARGUMENTS nb notifier block to be unregistered
DESCRIPTION Remove a driver from the CPU PM notifier list. This function has the same return conditions as raw_notifier_chai... |
cpu_rmap_add(9) | NAME cpu_rmap_add - add object to a rmap
SYNOPSIS int cpu_rmap_add (struct cpu_rmap *rmap , void *obj );
ARGUMENTS rmap CPU rmap allocated with alloc_cpu_rmap
obj Object to add to rmap
DESCRIPTION Return index of object or -ENOSPC if no free entry was found
SEE ALSO Kernel file ./lib/cpu_rm... |
cpu_rmap_get(9) | NAME cpu_rmap_get - internal helper to get new ref on a cpu_rmap
SYNOPSIS void cpu_rmap_get (struct cpu_rmap *rmap );
ARGUMENTS rmap reverse-map allocated with alloc_cpu_rmap
SEE ALSO Kernel file ./lib/cpu_rmap.c alloc_cpu_rmap(9), cpu_rmap_release(9), cpu_rmap_put(9), cpu_rmap_add(9), cpu_rmap_update(9),... |
cpu_rmap_put(9) | NAME cpu_rmap_put - release ref on a cpu_rmap
SYNOPSIS int cpu_rmap_put (struct cpu_rmap *rmap );
ARGUMENTS rmap reverse-map allocated with alloc_cpu_rmap
SEE ALSO Kernel file ./lib/cpu_rmap.c alloc_cpu_rmap(9), cpu_rmap_release(9), cpu_rmap_get(9), cpu_rmap_add(9), cpu_rmap_update(9), free_irq_cpu_rmap(9... |
cpu_rmap_release(9) | NAME cpu_rmap_release - internal reclaiming helper called from kref_put
SYNOPSIS void cpu_rmap_release (struct kref *ref );
ARGUMENTS ref kref to struct cpu_rmap
SEE ALSO Kernel file ./lib/cpu_rmap.c alloc_cpu_rmap(9), cpu_rmap_get(9), cpu_rmap_put(9), cpu_rmap_add(9), cpu_rmap_update(9), free_irq_cp... |
cpu_rmap_update(9) | NAME cpu_rmap_update - update CPU rmap following a change of object affinity
SYNOPSIS int cpu_rmap_update (struct cpu_rmap *rmap , u16 index , const struct cpumask *affinity );
ARGUMENTS rmap CPU rmap to update
index Index of object whose affinity changed
affinity New CPU affinity of o... |
cpu_to_chip_id(9) | NAME cpu_to_chip_id - Return the cpus chip-id
SYNOPSIS int cpu_to_chip_id (int cpu );
ARGUMENTS cpu The logical cpu number.
DESCRIPTION Return the value of the ibm,chip-id property corresponding to the given logical cpu number. If the chip-id can not be found, returns -1.
SEE ALSO Kernel file ./arch/powerpc... |
cpu_util(9) | NAME cpu_util - Estimates the amount of CPU capacity used by CFS tasks.
SYNOPSIS unsigned long cpu_util (int cpu , struct task_struct *p , int dst_cpu , int boost );
ARGUMENTS cpu the CPU to get the utilization for
p task for which the CPU utilization should be predicted or NULL
dst_... |
cpu_wakeup_latency_qos_limit(9) | NAME cpu_wakeup_latency_qos_limit - Current CPU system wakeup latency QoS limit.
SYNOPSIS s32 cpu_wakeup_latency_qos_limit (void );
ARGUMENTS void no arguments
DESCRIPTION Returns the current CPU system wakeup latency QoS limit that may have been requested by user space.
SEE ALSO Kernel file ./kernel/power... |
cpufreq_add_dev(9) | NAME cpufreq_add_dev - the cpufreq interface for a CPU device.
SYNOPSIS int cpufreq_add_dev (struct device *dev , struct subsys_interface *sif );
ARGUMENTS dev CPU device.
sif Subsystem interface structure pointer (not used)
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufreq_cpu_ge... |
cpufreq_add_update_util_hook(9) | NAME cpufreq_add_update_util_hook - Populate the CPU's update_util_data pointer.
SYNOPSIS void cpufreq_add_update_util_hook (int cpu , struct update_util_data *data , void (*func)(struct update_util_data *data, u64 time, unsigned int flags) );
ARGUMENTS cpu The CPU to set the pointer for.
data ... |
cpufreq_cooling_register(9) | NAME cpufreq_cooling_register - function to create cpufreq cooling device.
SYNOPSIS struct thermal_cooling_device * cpufreq_cooling_register (struct cpufreq_policy *policy );
ARGUMENTS policy cpufreq policy.
SEE ALSO Kernel file ./include/linux/cpu_cooling.h cpufreq_cooling_unregister(9), of_cpufreq_cooling_reg... |
cpufreq_cooling_unregister(9) | NAME cpufreq_cooling_unregister - function to remove cpufreq cooling device.
SYNOPSIS void cpufreq_cooling_unregister (struct thermal_cooling_device *cdev );
ARGUMENTS cdev thermal cooling device pointer.
SEE ALSO Kernel file ./include/linux/cpu_cooling.h cpufreq_cooling_register(9), of_cpufreq_cooling_regist... |
cpufreq_cpu_get(9) | NAME cpufreq_cpu_get - Return policy for a CPU and mark it as busy.
SYNOPSIS struct cpufreq_policy * cpufreq_cpu_get (unsigned int cpu );
ARGUMENTS cpu CPU to find the policy for.
DESCRIPTION Call cpufreq_cpu_get_raw to obtain a cpufreq policy for cpu and increment the kobject reference counter of that polic... |
cpufreq_cpu_put(9) | NAME cpufreq_cpu_put - Decrement kobject usage counter for cpufreq policy.
SYNOPSIS void cpufreq_cpu_put (struct cpufreq_policy *policy );
ARGUMENTS policy cpufreq policy returned by cpufreq_cpu_get.
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufreq_cpu_get(9), adjust_jiffies(9), cpufreq_noti... |
cpufreq_disable_fast_switch(9) | NAME cpufreq_disable_fast_switch - Disable fast frequency switching for policy.
SYNOPSIS void cpufreq_disable_fast_switch (struct cpufreq_policy *policy );
ARGUMENTS policy cpufreq policy to disable fast frequency switching for.
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufreq_cpu_get(9), cpufreq_cpu... |
cpufreq_driver_adjust_perf(9) | NAME cpufreq_driver_adjust_perf - Adjust CPU performance level in one go.
SYNOPSIS void cpufreq_driver_adjust_perf (unsigned int cpu , unsigned long min_perf , unsigned long target_perf , unsigned long capacity );
ARGUMENTS cpu Target CPU.
min_perf Minimum (required) performance level (units of cap... |
cpufreq_driver_fast_switch(9) | NAME cpufreq_driver_fast_switch - Carry out a fast CPU frequency switch.
SYNOPSIS unsigned int cpufreq_driver_fast_switch (struct cpufreq_policy *policy , unsigned int target_freq );
ARGUMENTS policy cpufreq policy to switch the frequency for.
target_freq New frequency to set (may be approximate).
DESCR... |
cpufreq_driver_has_adjust_perf(9) | NAME cpufreq_driver_has_adjust_perf - Check "direct fast switch" callback.
SYNOPSIS bool cpufreq_driver_has_adjust_perf (void );
ARGUMENTS void no arguments
DESCRIPTION Return 'true' if the ->adjust_perf callback is present for the current driver or 'false' otherwise.
SEE ALSO Kernel file ./drivers/cpufr... |
cpufreq_driver_resolve_freq(9) | NAME cpufreq_driver_resolve_freq - Map a target frequency to a driver-supported one.
SYNOPSIS unsigned int cpufreq_driver_resolve_freq (struct cpufreq_policy *policy , unsigned int target_freq );
ARGUMENTS policy associated policy to interrogate
target_freq target frequency to resolve.
DESCRIPTION The t... |
cpufreq_driver_test_flags(9) | NAME cpufreq_driver_test_flags - Test cpufreq driver's flags against given ones.
SYNOPSIS bool cpufreq_driver_test_flags (u16 flags );
ARGUMENTS flags Flags to test against the current cpufreq driver's flags.
DESCRIPTION Assumes that the driver is there, so callers must ensure that this is the case.
SEE ALSO ... |
cpufreq_enable_fast_switch(9) | NAME cpufreq_enable_fast_switch - Enable fast frequency switching for policy.
SYNOPSIS void cpufreq_enable_fast_switch (struct cpufreq_policy *policy );
ARGUMENTS policy cpufreq policy to enable fast frequency switching for.
DESCRIPTION Try to enable fast frequency switching for policy. The attempt will fail... |
cpufreq_for_each_efficient_entry_idx(9) | NAME cpufreq_for_each_efficient_entry_idx - iterate with index over a cpufreq frequency_table excluding CPUFREQ_ENTRY_INVALID and CPUFREQ_INEFFICIENT_FREQ frequencies.
SYNOPSIS cpufreq_for_each_efficient_entry_idx (pos , table , idx , efficiencies );
ARGUMENTS pos the struct cpufreq_frequency_table to use as ... |
cpufreq_get(9) | NAME cpufreq_get - get the current CPU frequency (in kHz)
SYNOPSIS unsigned int cpufreq_get (unsigned int cpu );
ARGUMENTS cpu CPU number
DESCRIPTION Get the CPU current (static) CPU frequency
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufreq_cpu_get(9), cpufreq_cpu_put(9), adjust_jiffies(9), ... |
cpufreq_get_cur_state(9) | NAME cpufreq_get_cur_state - callback function to get the current cooling state.
SYNOPSIS int cpufreq_get_cur_state (struct thermal_cooling_device *cdev , unsigned long *state );
ARGUMENTS cdev thermal cooling device pointer.
state fill this variable with the current cooling state.
DESCRIPTION C... |
cpufreq_get_current_driver(9) | NAME cpufreq_get_current_driver - Return the current driver's name.
SYNOPSIS const char * cpufreq_get_current_driver (void );
ARGUMENTS void no arguments
DESCRIPTION Return the name string of the currently registered cpufreq driver or NULL if none.
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufre... |
cpufreq_get_driver_data(9) | NAME cpufreq_get_driver_data - Return current driver data.
SYNOPSIS void * cpufreq_get_driver_data (void );
ARGUMENTS void no arguments
DESCRIPTION Return the private data of the currently registered cpufreq driver, or NULL if no cpufreq driver has been registered.
SEE ALSO Kernel file ./drivers/cpufreq/... |
cpufreq_get_hw_max_freq(9) | NAME cpufreq_get_hw_max_freq - get the max hardware frequency of the CPU
SYNOPSIS unsigned int cpufreq_get_hw_max_freq (unsigned int cpu );
ARGUMENTS cpu CPU number
DESCRIPTION The default return value is the max_freq field of cpuinfo.
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufreq_cpu_get(9)... |
cpufreq_get_max_state(9) | NAME cpufreq_get_max_state - callback function to get the max cooling state.
SYNOPSIS int cpufreq_get_max_state (struct thermal_cooling_device *cdev , unsigned long *state );
ARGUMENTS cdev thermal cooling device pointer.
state fill this variable with the max cooling state.
DESCRIPTION Callback ... |
cpufreq_get_requested_power(9) | NAME cpufreq_get_requested_power - get the current power
SYNOPSIS int cpufreq_get_requested_power (struct thermal_cooling_device *cdev , u32 *power );
ARGUMENTS cdev thermal_cooling_device pointer
power pointer in which to store the resulting power
DESCRIPTION Calculate the current power consump... |
cpufreq_notify_transition(9) | NAME cpufreq_notify_transition - Notify frequency transition and adjust jiffies.
SYNOPSIS void cpufreq_notify_transition (struct cpufreq_policy *policy , struct cpufreq_freqs *freqs , unsigned int state );
ARGUMENTS policy cpufreq policy to enable fast frequency switching for.
freqs contain details... |
cpufreq_out_of_sync(9) | NAME cpufreq_out_of_sync - Fix up actual and saved CPU frequency difference.
SYNOPSIS void cpufreq_out_of_sync (struct cpufreq_policy *policy , unsigned int new_freq );
ARGUMENTS policy Policy managing CPUs.
new_freq New CPU frequency.
DESCRIPTION Adjust to the current frequency first and clean up la... |
cpufreq_parse_governor(9) | NAME cpufreq_parse_governor - parse a governor string only for has_target()
SYNOPSIS struct cpufreq_governor * cpufreq_parse_governor (char *str_governor );
ARGUMENTS str_governor Governor name.
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufreq_cpu_get(9), cpufreq_cpu_put(9), adjust_jiffies(9), cpufre... |
cpufreq_power2state(9) | NAME cpufreq_power2state - convert power to a cooling device state
SYNOPSIS int cpufreq_power2state (struct thermal_cooling_device *cdev , u32 power , unsigned long *state );
ARGUMENTS cdev thermal_cooling_device pointer
power power in milliwatts to be converted
state pointer in whi... |
cpufreq_quick_get(9) | NAME cpufreq_quick_get - get the CPU frequency (in kHz) from policy->cur
SYNOPSIS unsigned int cpufreq_quick_get (unsigned int cpu );
ARGUMENTS cpu CPU number
DESCRIPTION This is the last known freq, without actually getting it from the driver. Return value will be same as what is shown in scaling_cur_freq ... |
cpufreq_quick_get_max(9) | NAME cpufreq_quick_get_max - get the max reported CPU frequency for this CPU
SYNOPSIS unsigned int cpufreq_quick_get_max (unsigned int cpu );
ARGUMENTS cpu CPU number
DESCRIPTION Just return the max possible frequency for a given CPU.
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufreq_cpu_get(9),... |
cpufreq_register_driver(9) | NAME cpufreq_register_driver - register a CPU Frequency driver
SYNOPSIS int cpufreq_register_driver (struct cpufreq_driver *driver_data );
ARGUMENTS driver_data A struct cpufreq_driver containing the values# submitted by the CPU Frequency driver.
DESCRIPTION Registers a CPU Frequency driver to this core code. This c... |
cpufreq_register_notifier(9) | NAME cpufreq_register_notifier - Register a notifier with cpufreq.
SYNOPSIS int cpufreq_register_notifier (struct notifier_block *nb , unsigned int list );
ARGUMENTS nb notifier function to register.
list CPUFREQ_TRANSITION_NOTIFIER or CPUFREQ_POLICY_NOTIFIER.
DESCRIPTION Add a notifier to... |
cpufreq_remove_update_util_hook(9) | NAME cpufreq_remove_update_util_hook - Clear the CPU's update_util_data pointer.
SYNOPSIS void cpufreq_remove_update_util_hook (int cpu );
ARGUMENTS cpu The CPU to clear the pointer for.
DESCRIPTION Clear the update_util_data pointer for the given CPU. Callers must use RCU callbacks to free any memory tha... |
cpufreq_resume(9) | NAME cpufreq_resume - Resume CPUFreq governors.
SYNOPSIS void cpufreq_resume (void );
ARGUMENTS void no arguments
DESCRIPTION Called during system wide Suspend/Hibernate cycle for resuming governors that are suspended with cpufreq_suspend.
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c cpufreq_cpu_get... |
cpufreq_scale(9) | NAME cpufreq_scale - "old * mult / div" calculation for large values (32-bit-arch safe)
SYNOPSIS unsigned long cpufreq_scale (unsigned long old , u_int div , u_int mult );
ARGUMENTS old old value
div divisor
mult multiplier
DESCRIPTION new = old * mult / div
SEE ALSO Kernel fi... |
cpufreq_set(9) | NAME cpufreq_set - set the CPU frequency
SYNOPSIS int cpufreq_set (struct cpufreq_policy *policy , unsigned int freq );
ARGUMENTS policy pointer to policy struct where freq is being set
freq target frequency in kHz
DESCRIPTION Sets the CPU frequency to freq.
SEE ALSO Kernel file ./drivers/cpufre... |
cpufreq_set_cur_state(9) | NAME cpufreq_set_cur_state - callback function to set the current cooling state.
SYNOPSIS int cpufreq_set_cur_state (struct thermal_cooling_device *cdev , unsigned long state );
ARGUMENTS cdev thermal cooling device pointer.
state set this variable to the current cooling state.
DESCRIPTION Callb... |
cpufreq_set_policy(9) | NAME cpufreq_set_policy - Modify cpufreq policy parameters.
SYNOPSIS int cpufreq_set_policy (struct cpufreq_policy *policy , struct cpufreq_governor *new_gov , unsigned int new_pol );
ARGUMENTS policy Policy object to modify.
new_gov Policy governor pointer.
new_pol Policy value (for driv... |
cpufreq_state2power(9) | NAME cpufreq_state2power - convert a cpu cdev state to power consumed
SYNOPSIS int cpufreq_state2power (struct thermal_cooling_device *cdev , unsigned long state , u32 *power );
ARGUMENTS cdev thermal_cooling_device pointer
state cooling device state to be converted
power pointer in... |
cpufreq_suspend(9) | NAME cpufreq_suspend - Suspend CPUFreq governors.
SYNOPSIS void cpufreq_suspend (void );
ARGUMENTS void no arguments
DESCRIPTION Called during system wide Suspend/Hibernate cycles for suspending governors as some platforms can't change frequency after this point in suspend cycle. Because some of the devic... |
cpufreq_table_set_inefficient(9) | NAME cpufreq_table_set_inefficient - Mark a frequency as inefficient
SYNOPSIS int cpufreq_table_set_inefficient (struct cpufreq_policy *policy , unsigned int frequency );
ARGUMENTS policy the struct cpufreq_policy containing the inefficient frequency
frequency the inefficient frequency
DESCRIPTION The... |
cpufreq_this_cpu_can_update(9) | NAME cpufreq_this_cpu_can_update - Check if cpufreq policy can be updated.
SYNOPSIS bool cpufreq_this_cpu_can_update (struct cpufreq_policy *policy );
ARGUMENTS policy cpufreq policy to check.
DESCRIPTION Return 'true' if: - the local and remote CPUs share policy, - dvfs_possible_from_any_cpu is set in policy a... |
cpufreq_unregister_notifier(9) | NAME cpufreq_unregister_notifier - Unregister a notifier from cpufreq.
SYNOPSIS int cpufreq_unregister_notifier (struct notifier_block *nb , unsigned int list );
ARGUMENTS nb notifier block to be unregistered.
list CPUFREQ_TRANSITION_NOTIFIER or CPUFREQ_POLICY_NOTIFIER.
DESCRIPTION Remove a n... |
cpufreq_update_limits(9) | NAME cpufreq_update_limits - Update policy limits for a given CPU.
SYNOPSIS void cpufreq_update_limits (unsigned int cpu );
ARGUMENTS cpu CPU to update the policy limits for.
DESCRIPTION Invoke the driver's ->update_limits callback if present or call cpufreq_policy_refresh for cpu.
SEE ALSO Kernel file ... |
cpufreq_update_policy(9) | NAME cpufreq_update_policy - Re-evaluate an existing cpufreq policy.
SYNOPSIS void cpufreq_update_policy (unsigned int cpu );
ARGUMENTS cpu CPU to re-evaluate the policy for.
DESCRIPTION Update the current frequency for the cpufreq policy of cpu and use cpufreq_set_policy to re-apply the min and max limit... |
cpufreq_update_pressure(9) | NAME cpufreq_update_pressure - Update cpufreq pressure for CPUs
SYNOPSIS void cpufreq_update_pressure (struct cpufreq_policy *policy );
ARGUMENTS policy cpufreq policy of the CPUs.
DESCRIPTION Update the value of cpufreq pressure for all cpus in the policy.
SEE ALSO Kernel file ./drivers/cpufreq/cpufreq.c ... |
cpufreq_update_util(9) | NAME cpufreq_update_util - Take a note about CPU utilization changes.
SYNOPSIS void cpufreq_update_util (struct rq *rq , unsigned int flags );
ARGUMENTS rq Runqueue to carry out the update for.
flags Update reason flags.
DESCRIPTION This function is called by the scheduler on the CPU whose uti... |
cpuhp_ap_report_dead(9) | NAME cpuhp_ap_report_dead - Update synchronization state to DEAD
SYNOPSIS void cpuhp_ap_report_dead (void );
ARGUMENTS void no arguments
DESCRIPTION No synchronization point. Just update of the synchronization state.
SEE ALSO Kernel file ./kernel/cpu.c struct cpuhp_cpu_state(9), struct cpuhp_step(9), cpuhp_i... |
cpuhp_ap_sync_alive(9) | NAME cpuhp_ap_sync_alive - Synchronize AP with the control CPU once it is alive
SYNOPSIS void cpuhp_ap_sync_alive (void );
ARGUMENTS void no arguments
DESCRIPTION Updates the AP synchronization state to SYNC_STATE_ALIVE and waits for the BP to release it.
SEE ALSO Kernel file ./kernel/cpu.c struct cpuhp... |
cpuhp_ap_update_sync_state(9) | NAME cpuhp_ap_update_sync_state - Update synchronization state during bringup/teardown
SYNOPSIS void cpuhp_ap_update_sync_state (enum cpuhp_sync_state state );
ARGUMENTS state The synchronization state to set
DESCRIPTION No synchronization point. Just update of the synchronization state, but implies a full bar... |
cpuhp_invoke_callback(9) | NAME cpuhp_invoke_callback - Invoke the callbacks for a given state
SYNOPSIS int cpuhp_invoke_callback (unsigned int cpu , enum cpuhp_state state , bool bringup , struct hlist_node *node , struct hlist_node **lastp );
ARGUMENTS cpu The cpu for which the callback should be invoked
state The state... |
cpuhp_remove_multi_state(9) | NAME cpuhp_remove_multi_state - Remove hotplug multi state callback
SYNOPSIS void cpuhp_remove_multi_state (enum cpuhp_state state );
ARGUMENTS state The state for which the calls are removed
DESCRIPTION Removes the callback functions from a multi state. This is the reverse of cpuhp_setup_state_multi. All inst... |
cpuhp_remove_state(9) | NAME cpuhp_remove_state - Remove hotplug state callbacks and invoke the teardown
SYNOPSIS void cpuhp_remove_state (enum cpuhp_state state );
ARGUMENTS state The state for which the calls are removed
DESCRIPTION Removes the callback functions and invokes the teardown callback on the online cpus which have alrea... |
cpuhp_remove_state_nocalls(9) | NAME cpuhp_remove_state_nocalls - Remove hotplug state callbacks without invoking the teardown callback
SYNOPSIS void cpuhp_remove_state_nocalls (enum cpuhp_state state );
ARGUMENTS state The state for which the calls are removed
SEE ALSO Kernel file ./include/linux/cpuhotplug.h cpuhp_setup_state(9), cpuhp... |
cpuhp_remove_state_nocalls_cpuslocked(9) | NAME cpuhp_remove_state_nocalls_cpuslocked - Remove hotplug state callbacks without invoking teardown from a cpus_read_lock() held region.
SYNOPSIS void cpuhp_remove_state_nocalls_cpuslocked (enum cpuhp_state state );
ARGUMENTS state The state for which the calls are removed
DESCRIPTION Same as cpuhp_remove_st... |
cpuhp_setup_state(9) | NAME cpuhp_setup_state - Setup hotplug state callbacks with calling the @startup callback
SYNOPSIS int cpuhp_setup_state (enum cpuhp_state state , const char *name , int (*startup)(unsigned int cpu) , int (*teardown)(unsigned int cpu) );
ARGUMENTS state The state for which the calls are installed
name ... |
cpuhp_setup_state_cpuslocked(9) | NAME cpuhp_setup_state_cpuslocked - Setup hotplug state callbacks with calling @startup callback from a cpus_read_lock() held region
SYNOPSIS int cpuhp_setup_state_cpuslocked (enum cpuhp_state state , const char *name , int (*startup)(unsigned int cpu) , int (*teardown)(unsigned int cpu) );
ARGUMENTS state The ... |
cpuhp_setup_state_multi(9) | NAME cpuhp_setup_state_multi - Add callbacks for multi state
SYNOPSIS int cpuhp_setup_state_multi (enum cpuhp_state state , const char *name , int (*startup)(unsigned int cpu, struct hlist_node *node) , int (*teardown)(unsigned int cpu, struct hlist_node *node) );
ARGUMENTS state The state for which the calls a... |
cpuhp_setup_state_nocalls(9) | NAME cpuhp_setup_state_nocalls - Setup hotplug state callbacks without calling the @startup callback
SYNOPSIS int cpuhp_setup_state_nocalls (enum cpuhp_state state , const char *name , int (*startup)(unsigned int cpu) , int (*teardown)(unsigned int cpu) );
ARGUMENTS state The state for which the calls are insta... |
cpuhp_setup_state_nocalls_cpuslocked(9) | NAME cpuhp_setup_state_nocalls_cpuslocked - Setup hotplug state callbacks without invoking the @startup callback from a cpus_read_lock() held region callbacks
SYNOPSIS int cpuhp_setup_state_nocalls_cpuslocked (enum cpuhp_state state , const char *name , int (*startup)(unsigned int cpu) , int (*teardown)(unsigned int c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.