id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
clockevents_switch_state(9) | NAME clockevents_switch_state - set the operating state of a clock event device
SYNOPSIS void clockevents_switch_state (struct clock_event_device *dev , enum clock_event_state state );
ARGUMENTS dev device to modify
state new state
DESCRIPTION Must be called with interrupts disabled !
SEE ALSO... |
clockevents_tick_resume(9) | NAME clockevents_tick_resume - Resume the tick device before using it again
SYNOPSIS int clockevents_tick_resume (struct clock_event_device *dev );
ARGUMENTS dev device to resume
SEE ALSO Kernel file ./kernel/time/clockevents.c clockevent_delta2ns(9), clockevents_switch_state(9), clockevents_shutdown(9), cl... |
clockevents_update_freq(9) | NAME clockevents_update_freq - Update frequency and reprogram a clock event device.
SYNOPSIS int clockevents_update_freq (struct clock_event_device *dev , u32 freq );
ARGUMENTS dev device to modify
freq new device frequency
DESCRIPTION Reconfigure and reprogram a clock event device in onesho... |
clockid_t(3type) | NAME clockid_t - clock ID for the clock and timer functions
LIBRARY Standard C library (libc)
SYNOPSIS #include <sys/types.h>
typedef /* ... */ clockid_t;
DESCRIPTION Used for clock ID type in the clock and timer functions. It is defined as an arithmetic type.
STANDARDS POSIX.1-2024.
HISTORY POSIX.1-200... |
clocks_calc_max_nsecs(9) | NAME clocks_calc_max_nsecs - Returns maximum nanoseconds that can be converted
SYNOPSIS u64 clocks_calc_max_nsecs (u32 mult , u32 shift , u32 maxadj , u64 mask , u64 *max_cyc );
ARGUMENTS mult cycle to nanosecond multiplier
shift cycle to nanosecond divisor (power of two)
maxadj maxi... |
clocks_calc_mult_shift(9) | NAME clocks_calc_mult_shift - calculate mult/shift factors for scaled math of clocks
SYNOPSIS void clocks_calc_mult_shift (u32 *mult , u32 *shift , u32 from , u32 to , u32 maxsec );
ARGUMENTS mult pointer to mult variable
shift pointer to shift variable
from frequency to convert fr... |
clocksource_cyc2ns(9) | NAME clocksource_cyc2ns - converts clocksource cycles to nanoseconds
SYNOPSIS s64 clocksource_cyc2ns (u64 cycles , u32 mult , u32 shift );
ARGUMENTS cycles cycles
mult cycle to nanosecond multiplier
shift cycle to nanosecond divisor (power of two)
DESCRIPTION Converts clocksource c... |
clocksource_hz2mult(9) | NAME clocksource_hz2mult - calculates mult from hz and shift
SYNOPSIS u32 clocksource_hz2mult (u32 hz , u32 shift_constant );
ARGUMENTS hz Clocksource frequency in Hz
shift_constant
Clocksource shift factor
DESCRIPTION Helper functions that converts a hz counter frequency to a tim... |
clocksource_khz2mult(9) | NAME clocksource_khz2mult - calculates mult from khz and shift
SYNOPSIS u32 clocksource_khz2mult (u32 khz , u32 shift_constant );
ARGUMENTS khz Clocksource frequency in KHz
shift_constant
Clocksource shift factor
DESCRIPTION Helper functions that converts a khz counter frequency to... |
clocksource_mark_unstable(9) | NAME clocksource_mark_unstable - mark clocksource unstable via watchdog
SYNOPSIS void clocksource_mark_unstable (struct clocksource *cs );
ARGUMENTS cs clocksource to be marked unstable
DESCRIPTION This function is called by the x86 TSC code to mark clocksources as unstable; it defers demotion and re-select... |
clocksource_max_adjustment(9) | NAME clocksource_max_adjustment - Returns max adjustment amount
SYNOPSIS u32 clocksource_max_adjustment (struct clocksource *cs );
ARGUMENTS cs Pointer to clocksource
SEE ALSO Kernel file ./kernel/time/clocksource.c clocks_calc_mult_shift(9), clocksource_mark_unstable(9), clocksource_suspend_select(9), ... |
clocksource_mmio_init(9) | NAME clocksource_mmio_init - Initialize a simple mmio based clocksource
SYNOPSIS int clocksource_mmio_init (void __iomem *base , const char *name , unsigned long hz , int rating , unsigned bits , u64 (*read)(struct clocksource *) );
ARGUMENTS base Virtual address of the clock readout register
name ... |
clocksource_resume(9) | NAME clocksource_resume - resume the clocksource(s)
SYNOPSIS void clocksource_resume (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./kernel/time/clocksource.c clocks_calc_mult_shift(9), clocksource_mark_unstable(9), clocksource_suspend_select(9), clocksource_start_suspend_timing(9), clocksourc... |
clocksource_select(9) | NAME clocksource_select - Select the best clocksource available
SYNOPSIS void clocksource_select (void );
ARGUMENTS void no arguments
DESCRIPTION Private function. Must hold clocksource_mutex when called. Select the clocksource with the best rating, or the clocksource, which is selected by userspace override... |
clocksource_start_suspend_timing(9) | NAME clocksource_start_suspend_timing - Start measuring the suspend timing
SYNOPSIS void clocksource_start_suspend_timing (struct clocksource *cs , u64 start_cycles );
ARGUMENTS cs current clocksource from timekeeping
start_cycles
current cycles from timekeeping
DESCRIPTION This ... |
clocksource_stop_suspend_timing(9) | NAME clocksource_stop_suspend_timing - Stop measuring the suspend timing
SYNOPSIS u64 clocksource_stop_suspend_timing (struct clocksource *cs , u64 cycle_now );
ARGUMENTS cs current clocksource from timekeeping
cycle_now current cycles from timekeeping
DESCRIPTION This function will calculate th... |
clocksource_suspend(9) | NAME clocksource_suspend - suspend the clocksource(s)
SYNOPSIS void clocksource_suspend (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./kernel/time/clocksource.c clocks_calc_mult_shift(9), clocksource_mark_unstable(9), clocksource_suspend_select(9), clocksource_start_suspend_timing(9), clocks... |
clocksource_suspend_select(9) | NAME clocksource_suspend_select - Select the best clocksource for suspend timing
SYNOPSIS void clocksource_suspend_select (bool fallback );
ARGUMENTS fallback if select a fallback clocksource
SEE ALSO Kernel file ./kernel/time/clocksource.c clocks_calc_mult_shift(9), clocksource_mark_unstable(9), clocksource... |
clocksource_touch_watchdog(9) | NAME clocksource_touch_watchdog - Update watchdog
SYNOPSIS void clocksource_touch_watchdog (void );
ARGUMENTS void no arguments
DESCRIPTION Update the watchdog after exception contexts such as kgdb so as not to incorrectly trip the watchdog. This might fail when the kernel was stopped in code which holds watc... |
clocksource_unregister(9) | NAME clocksource_unregister - remove a registered clocksource
SYNOPSIS int clocksource_unregister (struct clocksource *cs );
ARGUMENTS cs clocksource to be unregistered
SEE ALSO Kernel file ./kernel/time/clocksource.c clocks_calc_mult_shift(9), clocksource_mark_unstable(9), clocksource_suspend_select(9)... |
clocksource_update_max_deferment(9) | NAME clocksource_update_max_deferment - Updates the clocksource max_idle_ns & max_cycles
SYNOPSIS void clocksource_update_max_deferment (struct clocksource *cs );
ARGUMENTS cs Pointer to clocksource to be updated
SEE ALSO Kernel file ./kernel/time/clocksource.c clocks_calc_mult_shift(9), clocksource_mar... |
clog(3) | NAME clog, clogf, clogl - natural logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex clog(double complex z);
float complex clogf(float complex z);
long double complex clogl(long double complex z);
DESCRIPTION These functions calculate the... |
clog(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 clog, clogf, clogl — complex natural logarithm functions
SYNOP... |
clog10(3) | NAME clog10, clog10f, clog10l - base-10 logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <complex.h>
double complex clog10(double complex z);
float complex clog10f(float complex z);
long double complex c... |
clog10f(3) | NAME clog10, clog10f, clog10l - base-10 logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <complex.h>
double complex clog10(double complex z);
float complex clog10f(float complex z);
long double complex c... |
clog10l(3) | NAME clog10, clog10f, clog10l - base-10 logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <complex.h>
double complex clog10(double complex z);
float complex clog10f(float complex z);
long double complex c... |
clog2(3) | NAME clog2, clog2f, clog2l - base-2 logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex clog2(double complex z);
float complex clog2f(float complex z);
long double complex clog2l(long double complex z);
DESCRIPTION The call clog2(z) is equ... |
clog2f(3) | NAME clog2, clog2f, clog2l - base-2 logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex clog2(double complex z);
float complex clog2f(float complex z);
long double complex clog2l(long double complex z);
DESCRIPTION The call clog2(z) is equ... |
clog2l(3) | NAME clog2, clog2f, clog2l - base-2 logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex clog2(double complex z);
float complex clog2f(float complex z);
long double complex clog2l(long double complex z);
DESCRIPTION The call clog2(z) is equ... |
clogf(3) | NAME clog, clogf, clogl - natural logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex clog(double complex z);
float complex clogf(float complex z);
long double complex clogl(long double complex z);
DESCRIPTION These functions calculate the... |
clogl(3) | NAME clog, clogf, clogl - natural logarithm of a complex number
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <complex.h>
double complex clog(double complex z);
float complex clogf(float complex z);
long double complex clogl(long double complex z);
DESCRIPTION These functions calculate the... |
clone(2) | NAME clone, __clone2, clone3 - create a child process
LIBRARY Standard C library (libc, -lc)
SYNOPSIS /* Prototype for the glibc wrapper function */
#define _GNU_SOURCE
#include <sched.h>
int clone(typeof(int (void *_Nullable)) *fn,
void *stack,
int flags,
... |
clone2(2) | NAME clone, __clone2, clone3 - create a child process
LIBRARY Standard C library (libc, -lc)
SYNOPSIS /* Prototype for the glibc wrapper function */
#define _GNU_SOURCE
#include <sched.h>
int clone(typeof(int (void *_Nullable)) *fn,
void *stack,
int flags,
... |
clone3(2) | NAME clone, __clone2, clone3 - create a child process
LIBRARY Standard C library (libc, -lc)
SYNOPSIS /* Prototype for the glibc wrapper function */
#define _GNU_SOURCE
#include <sched.h>
int clone(typeof(int (void *_Nullable)) *fn,
void *stack,
int flags,
... |
clone3_stack_valid(9) | NAME clone3_stack_valid - check and prepare stack
SYNOPSIS bool clone3_stack_valid (struct kernel_clone_args *kargs );
ARGUMENTS kargs kernel clone args
DESCRIPTION Verify that the stack arguments userspace gave us are sane. In addition, set the stack direction for userspace since it's easy for us to determin... |
clone_private_mount(9) | NAME clone_private_mount - create a private clone of a path
SYNOPSIS struct vfsmount * clone_private_mount (const struct path *path );
ARGUMENTS path path to clone
DESCRIPTION This creates a new vfsmount, which will be the clone of path. The new mount will not be attached anywhere in the namespace and will b... |
clone_time_ns(9) | NAME clone_time_ns - Clone a time namespace
SYNOPSIS struct time_namespace * clone_time_ns (struct user_namespace *user_ns , struct time_namespace *old_ns );
ARGUMENTS user_ns User namespace which owns a new namespace.
old_ns Namespace to clone
DESCRIPTION Clone old_ns and set the clone refcount to ... |
close(2) | NAME close - close a file descriptor
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <unistd.h>
int close(int fd);
DESCRIPTION close() closes a file descriptor, so that it no longer refers to any file and may be reused. Any record locks (see fcntl(2)) held on the file it was associated with, and ow... |
close(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 close — close a file descriptor
SYNOPSIS #include <unistd.h>
... |
close_cached_dir(9) | NAME close_cached_dir - drop a reference of a cached dir
SYNOPSIS void close_cached_dir (struct cached_fid *cfid );
ARGUMENTS cfid cached dir
DESCRIPTION The release function will be called with cfid_list_lock held to remove the cached dirs from the list before any other thread can take a... |
close_cached_dir_locked(9) | NAME close_cached_dir_locked - put a reference of a cached dir with cfid_list_lock held
SYNOPSIS void close_cached_dir_locked (struct cached_fid *cfid );
ARGUMENTS cfid cached dir
DESCRIPTION Calling close_cached_dir with cfid_list_lock held has the potential effect of causing a deadlock if the invariant of r... |
close_getadapter_fib(9) | NAME close_getadapter_fib - close down user fib context
SYNOPSIS int close_getadapter_fib (struct aac_dev * dev , void __user *arg );
ARGUMENTS dev adapter
arg ioctl arguments
DESCRIPTION This routine will close down the fibctx passed in from the user.
SEE ALSO Kernel file ./drivers/scsi/aac... |
close_id_del_oplock(9) | NAME close_id_del_oplock - release oplock object at file close time
SYNOPSIS void close_id_del_oplock (struct ksmbd_file *fp );
ARGUMENTS fp ksmbd file pointer
SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_opinfo(9), opinfo_write_to_read(9), opinfo_read_handle_to_read(9), opinfo_write_to_none(9)... |
close_range(2) | NAME close_range - close all file descriptors in a given range
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <unistd.h>
#include <linux/close_range.h> /* Definition of CLOSE_RANGE_*
constants */
... |
closedir(3) | NAME closedir - close a directory
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/types.h> #include <dirent.h>
int closedir(DIR *dirp);
DESCRIPTION The closedir() function closes the directory stream associated with dirp. A successful call to closedir() also closes the underlying file desc... |
closedir(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 closedir — close a directory stream
SYNOPSIS #include <dirent.... |
closelog(3) | NAME closelog, openlog, syslog, vsyslog - send messages to the system logger
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <syslog.h>
void openlog(const char *ident, int option, int facility);
void syslog(int priority, const char *format, ...);
void closelog(void);
void vsyslo... |
closelog(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 closelog, openlog, setlogmask, syslog — control system log
SYN... |
closid_allocated(9) | NAME closid_allocated - test if provided closid is in use
SYNOPSIS bool closid_allocated (unsigned int closid );
ARGUMENTS closid closid to be tested
RETURN true if closid is currently associated with a resource group, false if closid is free
SEE ALSO Kernel file ./fs/resctrl/rdtgroup.c rdtgroup_mode_by_closi... |
closure_call(9) | NAME closure_call - execute @fn out of a new, uninitialized closure
SYNOPSIS void closure_call (struct closure *cl , closure_fn fn , struct workqueue_struct *wq , struct closure *parent );
ARGUMENTS cl -- undescribed --
fn -- undescribed --
wq -- undescribed --
paren... |
closure_get(9) | NAME closure_get - increment a closure's refcount
SYNOPSIS void closure_get (struct closure *cl );
ARGUMENTS cl -- undescribed --
SEE ALSO Kernel file ./include/linux/closure.h closure_sync(9), closure_get_not_zero(9), closure_init(9), closure_wake_up(9), continue_at(9), closure_return(9), continue_at_n... |
closure_get_not_zero(9) | NAME closure_get_not_zero -
SYNOPSIS bool closure_get_not_zero (struct closure *cl );
ARGUMENTS cl -- undescribed --
SEE ALSO Kernel file ./include/linux/closure.h closure_sync(9), closure_get(9), closure_init(9), closure_wake_up(9), continue_at(9), closure_return(9), continue_at_nobarrier(9), closure_retur... |
closure_init(9) | NAME closure_init - Initialize a closure, setting the refcount to 1
SYNOPSIS void closure_init (struct closure *cl , struct closure *parent );
ARGUMENTS cl closure to initialize
parent parent of the new closure. cl will take a refcount on it for its lifetime; may be NULL.
SEE ALSO Kernel file ... |
closure_return(9) | NAME closure_return - finish execution of a closure
SYNOPSIS closure_return (_cl );
ARGUMENTS _cl -- undescribed --
DESCRIPTION This is used to indicate that cl is finished: when all outstanding refs on cl have been dropped cl's ref on its parent closure (as passed to closure_init) will be dropped, if one ... |
closure_return_with_destructor(9) | NAME closure_return_with_destructor - finish execution of a closure, with destructor
SYNOPSIS closure_return_with_destructor (_cl , _destructor );
ARGUMENTS _cl -- undescribed --
_destructor -- undescribed --
DESCRIPTION Works like closure_return, except destructor will be called when all outstandi... |
closure_sync(9) | NAME closure_sync - sleep until a closure a closure has nothing left to wait on
SYNOPSIS void closure_sync (struct closure *cl );
ARGUMENTS cl -- undescribed --
DESCRIPTION Sleeps until the refcount hits 1 - the thread that's running the closure owns the last refcount.
SEE ALSO Kernel file ./include/linu... |
closure_wait(9) | NAME closure_wait - add a closure to a waitlist
SYNOPSIS bool closure_wait (struct closure_waitlist *waitlist , struct closure *cl );
ARGUMENTS waitlist will own a ref on cl, which will be released when closure_wake_up is called on waitlist.
cl closure pointer.
SEE ALSO Kernel file ./lib/closure.... |
closure_wake_up(9) | NAME closure_wake_up - wake up all closures on a wait list, with memory barrier
SYNOPSIS void closure_wake_up (struct closure_waitlist *list );
ARGUMENTS list -- undescribed --
SEE ALSO Kernel file ./include/linux/closure.h closure_sync(9), closure_get(9), closure_get_not_zero(9), closure_init(9), cont... |
clp_set_pci_fn(9) | NAME clp_set_pci_fn - Execute a command on a PCI function
SYNOPSIS int clp_set_pci_fn (struct zpci_dev *zdev , u32 *fh , u8 nr_dma_as , u8 command );
ARGUMENTS zdev Function that will be affected
fh Out parameter for updated function handle
nr_dma_as DMA address space number
... |
clrtobot.3x(3) | NAME erase, werase, clear, wclear, clrtobot, wclrtobot, clrtoeol, wclrtoeol - clear all or part of a curses window
SYNOPSIS #include <ncursesw/curses.h>
int erase(void);
int werase(WINDOW *win);
int clear(void);
int wclear(WINDOW *win);
int clrtobot(void);
int wclrtobot(WIN... |
clrtoeol.3x(3) | NAME erase, werase, clear, wclear, clrtobot, wclrtobot, clrtoeol, wclrtoeol - clear all or part of a curses window
SYNOPSIS #include <ncursesw/curses.h>
int erase(void);
int werase(WINDOW *win);
int clear(void);
int wclear(WINDOW *win);
int clrtobot(void);
int wclrtobot(WIN... |
clrunimap(8) | NAME clrunimap - Clear the current console unicode map
SYNOPSIS clrunimap [options]
DESCRIPTION The command clrunimap clears the unicode map (also called "Screen Font Map") for the current console.
OPTIONS -C, --console=DEV the console device to be used.
-V, --version
print version number.
... |
cluster(1) | NAME cluster - find clusters in a graph and augment the graph with this information.
SYNOPSIS cluster [-v?] [ -Ck ] [ -ck ] [ -o outfile ] [ files ]
DESCRIPTION cluster takes as input a graph in DOT format, finds node clusters and augments the graph with this information. The clusters are specified by the "cluster"... |
clusterdb(1) | NAME clusterdb - cluster a PostgreSQL database
SYNOPSIS
clusterdb [connection-option...] [--verbose | -v] [ --table | -t table ]... [dbname]
clusterdb [connection-option...] [--verbose | -v] --all | -a
DESCRIPTION clusterdb is a utility for reclustering tables in a PostgreSQL database. It finds table... |
cluttex(1) | NAME cluttex — a tool for processing TeX files
SYNOPSIS cluttex -e ENGINE [options] [--] FILE.tex
DESCRIPTION Process TeX files without cluttering your working directory.
The following options are accepted:
-e, --engine=ENGINE
Specify which TeX engine to use. ENGINE is one of the follo... |
clxelatex(1) | NAME cluttex — a tool for processing TeX files
SYNOPSIS cluttex -e ENGINE [options] [--] FILE.tex
DESCRIPTION Process TeX files without cluttering your working directory.
The following options are accepted:
-e, --engine=ENGINE
Specify which TeX engine to use. ENGINE is one of the follo... |
clz_func(9) | NAME clz_func - Emulate a CLZ instruction
SYNOPSIS int clz_func (struct pt_regs *regs , u32 ir );
ARGUMENTS regs Process register set
ir Instruction
DESCRIPTION Returns 0 since it always succeeds.
SEE ALSO Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c mipsr6_emul(9), movf_func(9), mov... |
cm32181_acpi_get_cpm(9) | NAME cm32181_acpi_get_cpm - Get CPM object from ACPI
SYNOPSIS int cm32181_acpi_get_cpm (struct device *dev , char *obj_name , u64 *values , int count );
ARGUMENTS dev pointer of struct device.
obj_name pointer of ACPI object name.
values pointer of array for return elements.
co... |
cm32181_get_it_available(9) | NAME cm32181_get_it_available - Get available ALS IT value
SYNOPSIS ssize_t cm32181_get_it_available (struct device *dev , struct device_attribute *attr , char *buf );
ARGUMENTS dev pointer of struct device.
attr pointer of struct device_attribute.
buf pointer of return string b... |
cm32181_get_lux(9) | NAME cm32181_get_lux - report current lux value
SYNOPSIS int cm32181_get_lux (struct cm32181_chip *cm32181 );
ARGUMENTS cm32181 pointer of struct cm32181.
DESCRIPTION Convert sensor raw data to lux. It depends on integration time and calibscale variable.
RETURN Positive value is lux, otherwise is error code.
... |
cm32181_read_als_it(9) | NAME cm32181_read_als_it - Get sensor integration time (ms)
SYNOPSIS int cm32181_read_als_it (struct cm32181_chip *cm32181 , int *val2 );
ARGUMENTS cm32181 pointer of struct cm32181
val2 pointer of int to load the als_it value.
DESCRIPTION Report the current integration time in milliseconds.
RETU... |
cm32181_reg_init(9) | NAME cm32181_reg_init - Initialize CM32181 registers
SYNOPSIS int cm32181_reg_init (struct cm32181_chip *cm32181 );
ARGUMENTS cm32181 pointer of struct cm32181.
DESCRIPTION Initialize CM32181 ambient light sensor register to default values.
RETURN 0 for success; otherwise for error code.
SEE ALSO Kernel file .... |
cm32181_write_als_it(9) | NAME cm32181_write_als_it - Write sensor integration time
SYNOPSIS int cm32181_write_als_it (struct cm32181_chip *cm32181 , int val );
ARGUMENTS cm32181 pointer of struct cm32181.
val integration time by millisecond.
DESCRIPTION Convert integration time (ms) to sensor value.
RETURN i2c_smbus_wri... |
cm3232_get_it_available(9) | NAME cm3232_get_it_available - Get available ALS IT value
SYNOPSIS ssize_t cm3232_get_it_available (struct device *dev , struct device_attribute *attr , char *buf );
ARGUMENTS dev pointer of struct device.
attr pointer of struct device_attribute.
buf pointer of return string buf... |
cm3232_get_lux(9) | NAME cm3232_get_lux - report current lux value
SYNOPSIS int cm3232_get_lux (struct cm3232_chip *chip );
ARGUMENTS chip pointer of struct cm3232_chip.
DESCRIPTION Convert sensor data to lux. It depends on integration time and calibscale variable.
RETURN Zero or positive value is lux, otherwise error code.
S... |
cm3232_read_als_it(9) | NAME cm3232_read_als_it - Get sensor integration time
SYNOPSIS int cm3232_read_als_it (struct cm3232_chip *chip , int *val , int *val2 );
ARGUMENTS chip pointer of struct cm3232_chip
val pointer of int to load the integration (sec).
val2 pointer of int to load the integration tim... |
cm3232_reg_init(9) | NAME cm3232_reg_init - Initialize CM3232
SYNOPSIS int cm3232_reg_init (struct cm3232_chip *chip );
ARGUMENTS chip pointer of struct cm3232_chip.
DESCRIPTION Check and initialize CM3232 ambient light sensor.
RETURN 0 for success; otherwise for error code.
SEE ALSO Kernel file ./drivers/iio/light/cm3232.c cm3... |
cm3232_write_als_it(9) | NAME cm3232_write_als_it - Write sensor integration time
SYNOPSIS int cm3232_write_als_it (struct cm3232_chip *chip , int val , int val2 );
ARGUMENTS chip pointer of struct cm3232_chip.
val integration time in second.
val2 integration time in microsecond.
DESCRIPTION Convert int... |
cm_control(9) | NAME cm_control - update the CM_CTRL register.
SYNOPSIS void cm_control (u32 mask , u32 set );
ARGUMENTS mask bits to change
set bits to set
SEE ALSO Kernel file ./arch/arm/mach-versatile/integrator.c cm_get(9)
April 2026 ... |
cm_get(9) | NAME cm_get - get the value from the CM_CTRL register
SYNOPSIS u32 cm_get (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./arch/arm/mach-versatile/integrator.c cm_control(9)
April 2026 cm_get ... |
cm_get_target_status(9) | NAME cm_get_target_status - Check current status and get next target status.
SYNOPSIS int cm_get_target_status (struct charger_manager *cm );
ARGUMENTS cm the Charger Manager representing the battery.
SEE ALSO Kernel file ./drivers/power/supply/charger-manager.c is_batt_present(9), is_ext_pwr_online(9), get... |
cm_monitor(9) | NAME cm_monitor - Monitor every battery.
SYNOPSIS bool cm_monitor (void );
ARGUMENTS void no arguments
DESCRIPTION Returns true if there is an event to notify from any of the batteries. (True if the status of "emergency_stop" changes)
SEE ALSO Kernel file ./drivers/power/supply/charger-manager.c is_batt_pre... |
cm_monitor_poller(9) | NAME cm_monitor_poller - The Monitor / Poller.
SYNOPSIS void cm_monitor_poller (struct work_struct *work );
ARGUMENTS work work_struct of the function cm_monitor_poller
DESCRIPTION During non-suspended state, cm_monitor_poller is used to poll and monitor the batteries.
SEE ALSO Kernel file ./drivers/power/su... |
cm_opa_to_ib_sgid(9) | NAME cm_opa_to_ib_sgid - Convert OPA SGID to IB SGID ULPs (such as IPoIB) do not understand OPA GIDs and will reject them as the local_gid will not match the sgid. Therefore, change the pathrec's SGID to an IB SGID.
SYNOPSIS void cm_opa_to_ib_sgid (struct cm_work *work , struct sa_path_rec *path );
ARGUMENTS work ... |
cm_register(9) | NAME cm_register - register per-SoC low-level data with the CM
SYNOPSIS int cm_register (const struct cm_ll_data *cld );
ARGUMENTS cld low-level per-SoC OMAP CM data & function pointers to register
DESCRIPTION Register per-SoC low-level OMAP CM data and function pointers with the OMAP CM common interface. ... |
cm_setup_timer(9) | NAME cm_setup_timer - For in-suspend monitoring setup wakeup alarm for suspend_again.
SYNOPSIS bool cm_setup_timer (void );
ARGUMENTS void no arguments
DESCRIPTION Returns true if the alarm is set for Charger Manager to use. Returns false if cm_setup_timer fails to set an alarm, cm_setup_timer does not nee... |
cm_split_idlest_reg(9) | NAME cm_split_idlest_reg - split CM_IDLEST reg addr into its components
SYNOPSIS int cm_split_idlest_reg (struct clk_omap_reg *idlest_reg , s16 *prcm_inst , u8 *idlest_reg_id );
ARGUMENTS idlest_reg CM_IDLEST* virtual address
prcm_inst pointer to an s16 to return the PRCM instance offset
idlest_reg... |
cm_unregister(9) | NAME cm_unregister - unregister per-SoC low-level data & function pointers
SYNOPSIS int cm_unregister (const struct cm_ll_data *cld );
ARGUMENTS cld low-level per-SoC OMAP CM data & function pointers to unregister
DESCRIPTION Unregister per-SoC low-level OMAP CM data and function pointers that were previ... |
cma_acquire_dev_by_src_ip(9) | NAME cma_acquire_dev_by_src_ip - Acquire cma device, port, gid attribute based on source ip address.
SYNOPSIS int cma_acquire_dev_by_src_ip (struct rdma_id_private *id_priv );
ARGUMENTS id_priv cm_id which should be bound to cma device
DESCRIPTION cma_acquire_dev_by_src_ip binds cm id to cma device, port and GID... |
cma_alloc(9) | NAME cma_alloc - allocate pages from contiguous area
SYNOPSIS struct page * cma_alloc (struct cma *cma , unsigned long count , unsigned int align , bool no_warn );
ARGUMENTS cma Contiguous memory region for which the allocation is performed.
count Requested number of pages.
align R... |
cma_declare_contiguous_nid(9) | NAME cma_declare_contiguous_nid - reserve custom contiguous area
SYNOPSIS int cma_declare_contiguous_nid (phys_addr_t base , phys_addr_t size , phys_addr_t limit , phys_addr_t alignment , unsigned int order_per_bit , bool fixed , const char *name , struct cma **res_cma , int nid );
ARGUMENTS base Base address ... |
cma_ib_acquire_dev(9) | NAME cma_ib_acquire_dev - Acquire cma device, port and SGID attribute
SYNOPSIS int cma_ib_acquire_dev (struct rdma_id_private *id_priv , const struct rdma_id_private *listen_id_priv , struct cma_req_info *req );
ARGUMENTS id_priv cm id to bind to cma device
listen_id_priv
listener cm id... |
cma_init_reserved_mem(9) | NAME cma_init_reserved_mem - create custom contiguous area from reserved memory
SYNOPSIS int cma_init_reserved_mem (phys_addr_t base , phys_addr_t size , unsigned int order_per_bit , const char *name , struct cma **res_cma );
ARGUMENTS base Base address of the reserved area
size Size of the rese... |
cma_release(9) | NAME cma_release - release allocated pages
SYNOPSIS bool cma_release (struct cma *cma , const struct page *pages , unsigned long count );
ARGUMENTS cma Contiguous memory region for which the allocation is performed.
pages Allocated pages.
count Number of allocated pages.
DESCRIPTI... |
cmd640_port_start(9) | NAME cmd640_port_start - port setup
SYNOPSIS int cmd640_port_start (struct ata_port *ap );
ARGUMENTS ap ATA port being set up
DESCRIPTION The CMD640 needs to maintain private data structures so we allocate space here.
SEE ALSO Kernel file ./drivers/ata/pata_cmd640.c cmd640_set_piomode(9), cmd640_qc_issue(9... |
cmd640_qc_issue(9) | NAME cmd640_qc_issue - command preparation hook
SYNOPSIS unsigned int cmd640_qc_issue (struct ata_queued_cmd *qc );
ARGUMENTS qc Command to be issued
DESCRIPTION Channel 1 has shared timings. We must reprogram the clock each drive 2/3 switch we do.
SEE ALSO Kernel file ./drivers/ata/pata_cmd640.c cmd640_se... |
cmd640_set_piomode(9) | NAME cmd640_set_piomode - set initial PIO mode data
SYNOPSIS void cmd640_set_piomode (struct ata_port *ap , struct ata_device *adev );
ARGUMENTS ap ATA port
adev ATA device
DESCRIPTION Called to do the PIO mode setup.
SEE ALSO Kernel file ./drivers/ata/pata_cmd640.c cmd640_qc_issue(9), cmd64... |
cmd646r1_bmdma_stop(9) | NAME cmd646r1_bmdma_stop - DMA stop callback
SYNOPSIS void cmd646r1_bmdma_stop (struct ata_queued_cmd *qc );
ARGUMENTS qc Command in progress
DESCRIPTION Stub for now while investigating the r1 quirk in the old driver.
SEE ALSO Kernel file ./drivers/ata/pata_cmd64x.c cmd64x_set_timing(9), cmd64x_set_piomod... |
cmd648_sff_irq_check(9) | NAME cmd648_sff_irq_check - check IDE interrupt
SYNOPSIS bool cmd648_sff_irq_check (struct ata_port *ap );
ARGUMENTS ap ATA interface
DESCRIPTION Check IDE interrupt in MRDMODE register.
SEE ALSO Kernel file ./drivers/ata/pata_cmd64x.c cmd64x_set_timing(9), cmd64x_set_piomode(9), cmd64x_set_dmamode(9), cmd... |
cmd648_sff_irq_clear(9) | NAME cmd648_sff_irq_clear - clear IDE interrupt
SYNOPSIS void cmd648_sff_irq_clear (struct ata_port *ap );
ARGUMENTS ap ATA interface
DESCRIPTION Clear IDE interrupt in MRDMODE and DMA status registers.
SEE ALSO Kernel file ./drivers/ata/pata_cmd64x.c cmd64x_set_timing(9), cmd64x_set_piomode(9), cmd64x_set... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.