id
stringlengths
4
63
text
stringlengths
153
8.81M
scandirat(3)
NAME scandir, scandirat, alphasort, versionsort - scan a directory for matching entries LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <dirent.h> int scandir(const char *restrict dirp, struct dirent ***restrict namelist, typeof(int (const struct dirent *)) *filt...
scanf(3)
NAME scanf, fscanf, vscanf, vfscanf - input FILE format conversion LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> int scanf(const char *restrict format, ...); int fscanf(FILE *restrict stream, const char *restrict format, ...); #include <stdarg.h> i...
scanf(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 scanf — convert formatted input SYNOPSIS #include <stdio.h> ...
scanw.3x(3)
NAME scanw, wscanw, mvscanw, mvwscanw, vwscanw, vw_scanw - read formatted input from a curses window SYNOPSIS #include <ncursesw/curses.h> int scanw(const char *fmt, ...); int wscanw(WINDOW *win, const char *fmt, ...); int mvscanw(int y, int x, const char *fmt, ...); int mvwscanw(WINDOW *w...
scatterwalk_done_dst(9)
NAME scatterwalk_done_dst - Finish one step of a walk of destination scatterlist SYNOPSIS void scatterwalk_done_dst (struct scatter_walk *walk , unsigned int nbytes ); ARGUMENTS walk the scatter_walk nbytes the number of bytes processed this step, less than or equal to the number of bytes that sca...
scatterwalk_done_src(9)
NAME scatterwalk_done_src - Finish one step of a walk of source scatterlist SYNOPSIS void scatterwalk_done_src (struct scatter_walk *walk , unsigned int nbytes ); ARGUMENTS walk the scatter_walk nbytes the number of bytes processed this step, less than or equal to the number of bytes that scatterw...
scatterwalk_next(9)
NAME scatterwalk_next - Get the next data buffer in a scatterlist walk SYNOPSIS unsigned int scatterwalk_next (struct scatter_walk *walk , unsigned int total ); ARGUMENTS walk the scatter_walk total the total number of bytes remaining, > 0 DESCRIPTION A virtual address for the next segment of da...
sccb_is_available(9)
NAME sccb_is_available - Check if the adapter supports SCCB protocol SYNOPSIS bool sccb_is_available (struct i2c_adapter *adap ); ARGUMENTS adap I2C adapter DESCRIPTION Return true if the I2C adapter is capable of using SCCB helper functions, false otherwise. SEE ALSO Kernel file ./drivers/base/regmap/regmap...
sccmap(1)
NAME sccmap - extract strongly connected components of directed graphs SYNOPSIS sccmap [-dsSv] [ -ooutfile ] [ files ] DESCRIPTION sccmap decomposes digraphs into strongly connected components and an auxiliary map of the relationship between components. In this map, each component is collapsed into a node. The res...
sccs(1p)
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 sccs — front end for the SCCS subsystem (DEVELOPMENT) SYN...
scdaemon(1)
NAME scdaemon - Smartcard daemon for the GnuPG system SYNOPSIS scdaemon [--homedir dir] [--options file] [options] --server scdaemon [--homedir dir] [--options file] [options] --daemon [command_line] DESCRIPTION The scdaemon is a daemon to manage smartcards. It is usually invoked by gpg-agent and in general not used...
sch_access(9)
NAME sch_access - the main access entry for i2c-sch access SYNOPSIS s32 sch_access (struct i2c_adapter *adap , u16 addr , unsigned short flags , char read_write , u8 command , int size , union i2c_smbus_data *data ); ARGUMENTS adap the i2c adapter pointer addr the i2c device bus address ...
sch_init_one(9)
NAME sch_init_one - Register SCH ATA PCI device with kernel services SYNOPSIS int sch_init_one (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device to register ent Entry in sch_pci_tbl matching with pdev DESCRIPTION LOCKING: Inherited from PCI layer (may sleep)....
sch_set_dmamode(9)
NAME sch_set_dmamode - Initialize host controller PATA DMA timings SYNOPSIS void sch_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap Port whose timings we are configuring adev ATA device DESCRIPTION Set MW/UDMA mode for device, in host controller PCI config space. ...
sch_set_piomode(9)
NAME sch_set_piomode - Initialize host controller PATA PIO timings SYNOPSIS void sch_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap Port whose timings we are configuring adev ATA device DESCRIPTION Set PIO mode for device, in host controller PCI config space. LOCK...
sch_transaction(9)
NAME sch_transaction - Start the i2c transaction SYNOPSIS int sch_transaction (struct i2c_adapter *adap ); ARGUMENTS adap the i2c adapter pointer DESCRIPTION The sch_access will prepare the transaction and this function will execute it. RETURN 0 for success and others for failure. SEE ALSO Kernel file ./dri...
sched(7)
NAME sched - overview of CPU scheduling DESCRIPTION Since Linux 2.6.23, the default scheduler is CFS, the "Completely Fair Scheduler". The CFS scheduler replaced the earlier "O(1)" scheduler. API summary Linux provides the following system calls for controlling the CPU scheduling behavior, policy, and prio...
sched.h(0p)
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 sched.h — execution scheduling SYNOPSIS #include <sched.h> DE...
sched_balance_find_src_group(9)
NAME sched_balance_find_src_group - Returns the busiest group within the sched_domain if there is an imbalance. SYNOPSIS struct sched_group * sched_balance_find_src_group (struct lb_env *env ); ARGUMENTS env The load balancing environment. DESCRIPTION Also calculates the amount of runnable load which should ...
sched_clear_itmt_support(9)
NAME sched_clear_itmt_support - Revoke platform's support of ITMT SYNOPSIS void sched_clear_itmt_support (void ); ARGUMENTS void no arguments DESCRIPTION This function is used by the OS to indicate that it has revoked the platform's support of ITMT feature. It must not be called with cpu hot plug lock held a...
sched_get_priority_max(2)
NAME sched_get_priority_max, sched_get_priority_min - get static priority range LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_get_priority_max(int policy); int sched_get_priority_min(int policy); DESCRIPTION sched_get_priority_max() returns the maximum priority value th...
sched_get_priority_max(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 sched_get_priority_max, sched_get_priority_min — get priority l...
sched_get_priority_min(2)
NAME sched_get_priority_max, sched_get_priority_min - get static priority range LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_get_priority_max(int policy); int sched_get_priority_min(int policy); DESCRIPTION sched_get_priority_max() returns the maximum priority value th...
sched_getaffinity(2)
NAME sched_setaffinity, sched_getaffinity - set and get a thread's CPU affinity mask LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <sched.h> int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_se...
sched_getattr(2)
NAME sched_setattr, sched_getattr - set and get scheduling policy and attributes LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> /* Definition of SCHED_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_sched_setat...
sched_getcpu(3)
NAME sched_getcpu - determine CPU on which the calling thread is running LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_getcpu(void); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): sched_getcpu(): Since glibc 2.14: _G...
sched_getparam(2)
NAME sched_setparam, sched_getparam - set and get scheduling parameters LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_setparam(pid_t pid, const struct sched_param *param); int sched_getparam(pid_t pid, struct sched_param *param); struct sched_param { .....
sched_getparam(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 sched_getparam — get scheduling parameters (REALTIME) SYNOPSIS...
sched_getscheduler(2)
NAME sched_setscheduler, sched_getscheduler - set and get scheduling policy/parameters LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param); int sched_getscheduler(pid_t pid); DES...
sched_getscheduler(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 sched_getscheduler — get scheduling policy (REALTIME) SYNOPSIS...
sched_group_asym(9)
NAME sched_group_asym - Check if the destination CPU can do asym_packing balance SYNOPSIS bool sched_group_asym (struct lb_env *env , struct sg_lb_stats *sgs , struct sched_group *group ); ARGUMENTS env The load balancing environment sgs Load-balancing statistics of the candidate busiest group...
sched_idle_set_state(9)
NAME sched_idle_set_state - Record idle state for the current CPU. SYNOPSIS void sched_idle_set_state (struct cpuidle_state *idle_state ); ARGUMENTS idle_state State to record. SEE ALSO Kernel file ./kernel/sched/idle.c default_idle_call(9), cpuidle_idle_call(9) April 2026 ...
sched_numa_find_nth_cpu(9)
NAME sched_numa_find_nth_cpu - given the NUMA topology, find the Nth closest CPU from @cpus to @cpu, taking into account distance from a given @node. SYNOPSIS int sched_numa_find_nth_cpu (const struct cpumask *cpus , int cpu , int node ); ARGUMENTS cpus cpumask to find a cpu from cpu CPU to sta...
sched_numa_hop_mask(9)
NAME sched_numa_hop_mask - Get the cpumask of CPUs at most @hops hops away from @node SYNOPSIS const struct cpumask * sched_numa_hop_mask (unsigned int node , unsigned int hops ); ARGUMENTS node The node to count hops from. hops Include CPUs up to that many hops away. 0 means local node. RETURN...
sched_process_global_irq_locked(9)
NAME sched_process_global_irq_locked - Process the scheduling part of a global IRQ SYNOPSIS void sched_process_global_irq_locked (struct panthor_device *ptdev ); ARGUMENTS ptdev Device. SEE ALSO Kernel file ./drivers/gpu/drm/panthor/panthor_sched.c Kernel API(9), struct panthor_csg_slot(9), enum panthor...
sched_queue_delayed_work(9)
NAME sched_queue_delayed_work - Queue a scheduler delayed work. SYNOPSIS sched_queue_delayed_work (sched , wname , delay ); ARGUMENTS sched Scheduler object. wname Work name. delay Work delay in jiffies. DESCRIPTION Conditionally queues a scheduler delayed work if no reset is pendin...
sched_queue_work(9)
NAME sched_queue_work - Queue a scheduler work. SYNOPSIS sched_queue_work (sched , wname ); ARGUMENTS sched Scheduler object. wname Work name. DESCRIPTION Conditionally queues a scheduler work if no reset is pending/in-progress. SEE ALSO Kernel file ./drivers/gpu/drm/panthor/panthor_sched.c K...
sched_rr_get_interval(2)
NAME sched_rr_get_interval - get the SCHED_RR interval for the named process LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_rr_get_interval(pid_t pid, struct timespec *tp); DESCRIPTION sched_rr_get_interval() writes into the timespec(3) structure pointed to by tp the round-robin...
sched_rr_get_interval(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 sched_rr_get_interval — get execution time limits (REALTIME) S...
sched_set_itmt_core_prio(9)
NAME sched_set_itmt_core_prio - Set CPU priority based on ITMT SYNOPSIS void sched_set_itmt_core_prio (int prio , int cpu ); ARGUMENTS prio Priority of cpu cpu The CPU number DESCRIPTION The pstate driver will find out the max boost frequency and call this function to set a priority proportio...
sched_set_itmt_support(9)
NAME sched_set_itmt_support - Indicate platform supports ITMT SYNOPSIS int sched_set_itmt_support (void ); ARGUMENTS void no arguments DESCRIPTION This function is used by the OS to indicate to scheduler that the platform is capable of supporting the ITMT feature. The current scheme has the ps...
sched_setaffinity(2)
NAME sched_setaffinity, sched_getaffinity - set and get a thread's CPU affinity mask LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <sched.h> int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_se...
sched_setattr(2)
NAME sched_setattr, sched_getattr - set and get scheduling policy and attributes LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> /* Definition of SCHED_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_sched_setat...
sched_setparam(2)
NAME sched_setparam, sched_getparam - set and get scheduling parameters LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_setparam(pid_t pid, const struct sched_param *param); int sched_getparam(pid_t pid, struct sched_param *param); struct sched_param { .....
sched_setparam(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 sched_setparam — set scheduling parameters (REALTIME) SYNOPSIS...
sched_setscheduler(2)
NAME sched_setscheduler, sched_getscheduler - set and get scheduling policy/parameters LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param); int sched_getscheduler(pid_t pid); DES...
sched_setscheduler(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 sched_setscheduler — set scheduling policy and parameters (REAL...
sched_setscheduler(9)
NAME sched_setscheduler - change the scheduling policy and/or RT priority of a thread. SYNOPSIS int sched_setscheduler (struct task_struct *p , int policy , const struct sched_param *param ); ARGUMENTS p the task in question. policy new policy. param structure containing the new R...
sched_setscheduler_nocheck(9)
NAME sched_setscheduler_nocheck - change the scheduling policy and/or RT priority of a thread from kernel-space. SYNOPSIS int sched_setscheduler_nocheck (struct task_struct *p , int policy , const struct sched_param *param ); ARGUMENTS p the task in question. policy new policy. param ...
sched_use_asym_prio(9)
NAME sched_use_asym_prio - Check whether asym_packing priority must be used SYNOPSIS bool sched_use_asym_prio (struct sched_domain *sd , int cpu ); ARGUMENTS sd The scheduling domain of the load balancing cpu A CPU DESCRIPTION Always use CPU priority when balancing load between SMT siblings....
sched_yield(2)
NAME sched_yield - yield the processor LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sched.h> int sched_yield(void); DESCRIPTION sched_yield() causes the calling thread to relinquish the CPU. The thread is moved to the end of the queue for its static priority and a new thread gets to run. RETUR...
sched_yield(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 sched_yield — yield the processor SYNOPSIS #include <sched.h> ...
schedule_block_write(9)
NAME schedule_block_write - Queue a block for writing. SYNOPSIS void schedule_block_write (struct recovery_journal *journal , struct recovery_journal_block *block ); ARGUMENTS journal The journal in question. block The block which is now ready to write. DESCRIPTION The block is expected to be full....
schedule_deferred(9)
NAME schedule_deferred - Schedule execution of deferred actions on an rq SYNOPSIS void schedule_deferred (struct rq *rq ); ARGUMENTS rq target rq DESCRIPTION Schedule execution of deferred actions on rq. Deferred actions are executed with rq locked but unpinned, and thus can unlock rq to e.g. migrate tasks ...
schedule_deferred_locked(9)
NAME schedule_deferred_locked - Schedule execution of deferred actions on an rq SYNOPSIS void schedule_deferred_locked (struct rq *rq ); ARGUMENTS rq target rq DESCRIPTION Schedule execution of deferred actions on rq. Equivalent to schedule_deferred but requires rq to be locked and can be more efficient. S...
schedule_delayed_work(9)
NAME schedule_delayed_work - put work task in global workqueue after delay SYNOPSIS bool schedule_delayed_work (struct delayed_work *dwork , unsigned long delay ); ARGUMENTS dwork job to be done delay number of jiffies to wait or 0 for immediate execution DESCRIPTION After waiting for a given tim...
schedule_delayed_work_on(9)
NAME schedule_delayed_work_on - queue work in global workqueue on CPU after delay SYNOPSIS bool schedule_delayed_work_on (int cpu , struct delayed_work *dwork , unsigned long delay ); ARGUMENTS cpu cpu to use dwork job to be done delay number of jiffies to wait DESCRIPTION After w...
schedule_erase(9)
NAME schedule_erase - schedule an erase work. SYNOPSIS int schedule_erase (struct ubi_device *ubi , struct ubi_wl_entry *e , int vol_id , int lnum , int torture , bool nested ); ARGUMENTS ubi UBI device description object e the WL entry of the physical eraseblock to erase vol_id ...
schedule_hrtimeout(9)
NAME schedule_hrtimeout - sleep until timeout SYNOPSIS int schedule_hrtimeout (ktime_t *expires , const enum hrtimer_mode mode ); ARGUMENTS expires timeout value (ktime_t) mode timer mode DESCRIPTION See schedule_hrtimeout_range for details. delta argument of schedule_hrtimeout_range is set to 0 a...
schedule_hrtimeout_range(9)
NAME schedule_hrtimeout_range - sleep until timeout SYNOPSIS int schedule_hrtimeout_range (ktime_t *expires , u64 delta , const enum hrtimer_mode mode ); ARGUMENTS expires timeout value (ktime_t) delta slack in expires timeout (ktime_t) mode timer mode DESCRIPTION Make the current ta...
schedule_hrtimeout_range_clock(9)
NAME schedule_hrtimeout_range_clock - sleep until timeout SYNOPSIS int schedule_hrtimeout_range_clock (ktime_t *expires , u64 delta , const enum hrtimer_mode mode , clockid_t clock_id ); ARGUMENTS expires timeout value (ktime_t) delta slack in expires timeout (ktime_t) mode timer mode...
schedule_on_each_cpu(9)
NAME schedule_on_each_cpu - execute a function synchronously on each online CPU SYNOPSIS int schedule_on_each_cpu (work_func_t func ); ARGUMENTS func the function to call DESCRIPTION schedule_on_each_cpu executes func on each online CPU using the system workqueue and blocks until all CPUs have completed. sch...
schedule_page_save(9)
NAME schedule_page_save - Add a page to the outgoing list of pages waiting to be saved. SYNOPSIS void schedule_page_save (struct page_info *info ); ARGUMENTS info The page info to save. DESCRIPTION Once in the list, a page may not be used until it has been written out. SEE ALSO Kernel file ./drivers/md/dm-...
schedule_preempt_disabled(9)
NAME schedule_preempt_disabled - called with preemption disabled SYNOPSIS void schedule_preempt_disabled (void ); ARGUMENTS void no arguments DESCRIPTION Returns with preemption disabled. Note: preempt_count must be 1 SEE ALSO Kernel file ./kernel/sched/core.c wake_q_add(9), wake_q_add_safe(9), task_curr(...
schedule_releases(9)
NAME schedule_releases - Ensure that release processing is scheduled. SYNOPSIS void schedule_releases (struct data_vio_pool *pool ); ARGUMENTS pool The data_vio pool. DESCRIPTION If this call switches the state to processing, enqueue. Otherwise, some other thread has already done so. SEE ALSO Kernel file ...
schedule_tail(9)
NAME schedule_tail - first thing a freshly forked thread must call. SYNOPSIS __visible void schedule_tail (struct task_struct *prev ); ARGUMENTS prev the thread we just switched away from. SEE ALSO Kernel file ./kernel/sched/core.c wake_q_add(9), wake_q_add_safe(9), task_curr(9), try_to_wake_up(9), task_ca...
schedule_tail_block_commit(9)
NAME schedule_tail_block_commit - Schedule a tail block commit if necessary. SYNOPSIS bool schedule_tail_block_commit (void *context ); ARGUMENTS context The slab depot. DESCRIPTION This method should not be called directly. Rather, call vdo_schedule_default_action on the depot's action manager. Implements vdo_...
schedule_timeout(9)
NAME schedule_timeout - sleep until timeout SYNOPSIS signed long schedule_timeout (signed long timeout ); ARGUMENTS timeout timeout value in jiffies DESCRIPTION Make the current task sleep until timeout jiffies have elapsed. The function behavior depends on the current task state (see also set_current_state de...
schedule_timeout_idle(9)
NAME schedule_timeout_idle - sleep until timeout (idle) SYNOPSIS signed long schedule_timeout_idle (signed long timeout ); ARGUMENTS timeout timeout value in jiffies DESCRIPTION See schedule_timeout for details. Task state is set to TASK_IDLE before starting the timeout. It is similar to schedule_timeout_uninte...
schedule_timeout_interruptible(9)
NAME schedule_timeout_interruptible - sleep until timeout (interruptible) SYNOPSIS signed long schedule_timeout_interruptible (signed long timeout ); ARGUMENTS timeout timeout value in jiffies DESCRIPTION See schedule_timeout for details. Task state is set to TASK_INTERRUPTIBLE before starting the timeout. SEE...
schedule_timeout_killable(9)
NAME schedule_timeout_killable - sleep until timeout (killable) SYNOPSIS signed long schedule_timeout_killable (signed long timeout ); ARGUMENTS timeout timeout value in jiffies DESCRIPTION See schedule_timeout for details. Task state is set to TASK_KILLABLE before starting the timeout. SEE ALSO Kernel file ...
schedule_timeout_uninterruptible(9)
NAME schedule_timeout_uninterruptible - sleep until timeout (uninterruptible) SYNOPSIS signed long schedule_timeout_uninterruptible (signed long timeout ); ARGUMENTS timeout timeout value in jiffies DESCRIPTION See schedule_timeout for details. Task state is set to TASK_UNINTERRUPTIBLE before starting the timeo...
schedule_ubi_work(9)
NAME schedule_ubi_work - schedule a work. SYNOPSIS void schedule_ubi_work (struct ubi_device *ubi , struct ubi_work *wrk ); ARGUMENTS ubi UBI device description object wrk the work to schedule DESCRIPTION This function adds a work defined by wrk to the tail of the pending works list. SEE ALS...
schedule_work(9)
NAME schedule_work - put work task in global workqueue SYNOPSIS bool schedule_work (struct work_struct *work ); ARGUMENTS work job to be done DESCRIPTION Returns false if work was already on the kernel-global workqueue and true otherwise. This puts a job in the kernel-global workqueue if it was not alrea...
schedule_work_on(9)
NAME schedule_work_on - put work task on a specific cpu SYNOPSIS bool schedule_work_on (int cpu , struct work_struct *work ); ARGUMENTS cpu cpu to put the work task on work job to be done DESCRIPTION This puts a job on a specific cpu SEE ALSO Kernel file ./include/linux/workqueue.h struct...
sci_apc_agent_link_down(9)
NAME sci_apc_agent_link_down - SYNOPSIS void sci_apc_agent_link_down (struct isci_host *ihost , struct sci_port_configuration_agent *port_agent , struct isci_port *iport , struct isci_phy *iphy ); ARGUMENTS ihost This is the controller object that receives the link down notification. port_agent This is...
sci_apc_agent_link_up(9)
NAME sci_apc_agent_link_up - handle apc link up events SYNOPSIS void sci_apc_agent_link_up (struct isci_host *ihost , struct sci_port_configuration_agent *port_agent , struct isci_port *iport , struct isci_phy *iphy ); ARGUMENTS ihost This is the controller object that receives the link up notification. ...
sci_clk_determine_rate(9)
NAME sci_clk_determine_rate - Determines a clock rate a clock can be set to SYNOPSIS int sci_clk_determine_rate (struct clk_hw *hw , struct clk_rate_request *req ); ARGUMENTS hw clock to change rate for req requested rate configuration for the clock DESCRIPTION Determines a suitable clock ...
sci_clk_get(9)
NAME sci_clk_get - Xlate function for getting clock handles SYNOPSIS struct clk_hw * sci_clk_get (struct of_phandle_args *clkspec , void *data ); ARGUMENTS clkspec device tree clock specifier data pointer to the clock provider DESCRIPTION Xlate function for retrieving clock TI SCI hw clock handl...
sci_clk_get_parent(9)
NAME sci_clk_get_parent - Get the current parent of a TI SCI clock SYNOPSIS u8 sci_clk_get_parent (struct clk_hw *hw ); ARGUMENTS hw clock to get parent for DESCRIPTION Returns the index of the currently selected parent for a TI SCI clock. SEE ALSO Kernel file ./drivers/clk/keystone/sci-clk.c struct ...
sci_clk_is_prepared(9)
NAME sci_clk_is_prepared - Check if a TI SCI clock is prepared or not SYNOPSIS int sci_clk_is_prepared (struct clk_hw *hw ); ARGUMENTS hw clock to check status for DESCRIPTION Checks if a clock is prepared (enabled) in hardware. Returns non-zero value if clock is enabled, zero otherwise. SEE ALSO Kernel ...
sci_clk_prepare(9)
NAME sci_clk_prepare - Prepare (enable) a TI SCI clock SYNOPSIS int sci_clk_prepare (struct clk_hw *hw ); ARGUMENTS hw clock to prepare DESCRIPTION Prepares a clock to be actively used. Returns the SCI protocol status. SEE ALSO Kernel file ./drivers/clk/keystone/sci-clk.c struct sci_clk_provider(9), ...
sci_clk_recalc_rate(9)
NAME sci_clk_recalc_rate - Get clock rate for a TI SCI clock SYNOPSIS unsigned long sci_clk_recalc_rate (struct clk_hw *hw , unsigned long parent_rate ); ARGUMENTS hw clock to get rate for parent_rate parent rate provided by common clock framework, not used DESCRIPTION Gets the current clock rate of...
sci_clk_set_parent(9)
NAME sci_clk_set_parent - Set the parent of a TI SCI clock SYNOPSIS int sci_clk_set_parent (struct clk_hw *hw , u8 index ); ARGUMENTS hw clock to set parent for index new parent index for the clock DESCRIPTION Sets the parent of a TI SCI clock. Return TI SCI protocol status. SEE ALSO Kernel ...
sci_clk_set_rate(9)
NAME sci_clk_set_rate - Set rate for a TI SCI clock SYNOPSIS int sci_clk_set_rate (struct clk_hw *hw , unsigned long rate , unsigned long parent_rate ); ARGUMENTS hw clock to change rate for rate target rate for the clock parent_rate rate of the clock parent, not used for TI SCI clocks...
sci_clk_unprepare(9)
NAME sci_clk_unprepare - Un-prepares (disables) a TI SCI clock SYNOPSIS void sci_clk_unprepare (struct clk_hw *hw ); ARGUMENTS hw clock to unprepare DESCRIPTION Un-prepares a clock from active state. SEE ALSO Kernel file ./drivers/clk/keystone/sci-clk.c struct sci_clk_provider(9), struct sci_clk(9...
sci_controller_allocate_remote_node_context(9)
NAME sci_controller_allocate_remote_node_context - SYNOPSIS enum sci_status sci_controller_allocate_remote_node_context (struct isci_host *ihost , struct isci_remote_device *idev , u16 *node_id ); ARGUMENTS ihost This is the controller object which contains the set of free remote node ids idev Th...
sci_controller_clear_invalid_phy(9)
NAME sci_controller_clear_invalid_phy - SYNOPSIS sci_controller_clear_invalid_phy (controller , phy ); ARGUMENTS controller -- undescribed -- phy -- undescribed -- DESCRIPTION This macro will clear the bit in the invalid phy mask for this controller object. This is used to control messages reported...
sci_controller_complete_io(9)
NAME sci_controller_complete_io - This method will perform core specific completion operations for an IO request. After this method is invoked, the user should consider the IO request as invalid until it is properly reused (i.e. re-constructed). SYNOPSIS enum sci_status sci_controller_complete_io (struct isci_host...
sci_controller_get_suggested_start_timeout(9)
NAME sci_controller_get_suggested_start_timeout - This method returns the suggested sci_controller_start() timeout amount. The user is free to use any timeout value, but this method provides the suggested minimum start timeout value. The returned value is based upon empirical information determined as a result of inter...
sci_controller_reset(9)
NAME sci_controller_reset - This method will reset the supplied core controller regardless of the state of said controller. This operation is considered destructive. In other words, all current operations are wiped out. No IO completions for outstanding devices occur. Outstanding IO requests are not aborted or complet...
sci_controller_set_interrupt_coalescence(9)
NAME sci_controller_set_interrupt_coalescence - This method allows the user to configure the interrupt coalescence. SYNOPSIS enum sci_status sci_controller_set_interrupt_coalescence (struct isci_host *ihost , u32 coalesce_number , u32 coalesce_timeout ); ARGUMENTS ihost This parameter represents the handle to t...
sci_controller_start_next_phy(9)
NAME sci_controller_start_next_phy - start phy SYNOPSIS enum sci_status sci_controller_start_next_phy (struct isci_host *ihost ); ARGUMENTS ihost controller DESCRIPTION If all the phys have been started, then attempt to transition the controller to the READY state and inform the user (sci_cb_controller_start_c...
sci_controller_start_task(9)
NAME sci_controller_start_task - This method is called by the SCIC user to send/start a framework task management request. SYNOPSIS enum sci_status sci_controller_start_task (struct isci_host *ihost , struct isci_remote_device *idev , struct isci_request *ireq ); ARGUMENTS ihost the handle to the controller obj...
sci_controller_stop(9)
NAME sci_controller_stop - This method will stop an individual controller object.This method will invoke the associated user callback upon completion. The completion callback is called when the following conditions are met: -# the method return status is SCI_SUCCESS. -# the controller has been quiesced. This method wil...
sci_mpc_agent_link_down(9)
NAME sci_mpc_agent_link_down - SYNOPSIS void sci_mpc_agent_link_down (struct isci_host *ihost , struct sci_port_configuration_agent *port_agent , struct isci_port *iport , struct isci_phy *iphy ); ARGUMENTS ihost This is the controller object that receives the link down notification. port_agent This is...
sci_phy_complete_link_training(9)
NAME sci_phy_complete_link_training - perform processing common to all protocols upon completion of link training. SYNOPSIS void sci_phy_complete_link_training (struct isci_phy *iphy , enum sas_linkrate max_link_rate , u32 next_state ); ARGUMENTS iphy This parameter specifies the phy object for which link trai...
sci_phy_setup_transport(9)
NAME sci_phy_setup_transport - This method assigns the direct attached device ID for this phy. SYNOPSIS void sci_phy_setup_transport (struct isci_phy *iphy , u32 device_id ); ARGUMENTS iphy The phy for which the direct attached device id is to be assigned. device_id The direct attached device ID to a...
sci_port_abort_dummy_request(9)
NAME sci_port_abort_dummy_request - SYNOPSIS void sci_port_abort_dummy_request (struct isci_port *iport ); ARGUMENTS iport The port on which the task must be aborted. DESCRIPTION This routine will abort the dummy request. This will allow the hardware to power down parts of the silicon to save power. SEE ALSO...
sci_port_add_phy(9)
NAME sci_port_add_phy - SYNOPSIS enum sci_status sci_port_add_phy (struct isci_port *iport , struct isci_phy *iphy ); ARGUMENTS iport This parameter specifies the port in which the phy will be added. iphy This parameter is the phy which is to be added to the port. DESCRIPTION This method will ad...