id
stringlengths
4
63
text
stringlengths
153
8.81M
spice-client(1)
NAME Spice-GTK - a client-side library to access remote SPICE displays DESCRIPTION Spice-GTK is a library allowing access to remote displays over the SPICE protocol. At the moment It's mainly used to access remote virtual machines. The Spice-GTK library provides a set of command line options which can be used ...
spice-vdagent(1)
NAME spice-vdagent - Spice guest agent X11 session agent SYNOPSIS spice-vdagent [OPTIONS] DESCRIPTION The spice guest agent for Linux consists of 2 parts, a system wide daemon spice-vdagentd and a X11 session agent spice-vdagent of which there is one per X11 session. spice-vdagent gets automatically started in deskto...
spice-vdagentd(1)
NAME spice-vdagentd - Spice guest agent daemon SYNOPSIS spice-vdagent [OPTIONS] DESCRIPTION The spice guest agent for Linux consists of 2 parts, a system wide daemon spice-vdagentd and a X11 session agent spice-vdagent of which there is one per X11 session. spice-vdagentd gets started through a Sys-V initscript or a ...
spin_event_timeout(9)
NAME spin_event_timeout - spin until a condition gets true or a timeout elapses SYNOPSIS spin_event_timeout (condition , timeout , delay ); ARGUMENTS condition a C expression to evalate timeout timeout, in microseconds delay the number of microseconds to delay between each evaluation of co...
spin_is_locked(9)
NAME spin_is_locked - Check whether a spinlock is locked. SYNOPSIS int spin_is_locked (spinlock_t *lock ); ARGUMENTS lock Pointer to the spinlock. DESCRIPTION This function is NOT required to provide any memory ordering guarantees; it could be used for debugging purposes or, when additional synchronization is...
spinand_fact_otp_read(9)
NAME spinand_fact_otp_read - Read from OTP area SYNOPSIS int spinand_fact_otp_read (struct spinand_device *spinand , loff_t ofs , size_t len , size_t *retlen , u8 *buf ); ARGUMENTS spinand the spinand device ofs the offset to read len the number of data bytes to read retlen...
spinand_fact_otp_size(9)
NAME spinand_fact_otp_size - Get SPI-NAND factory OTP area size SYNOPSIS size_t spinand_fact_otp_size (struct spinand_device *spinand ); ARGUMENTS spinand the spinand device RETURN the OTP size. SEE ALSO Kernel file ./drivers/mtd/nand/spi/otp.c spinand_otp_page_size(9), spinand_user_otp_size(9), spinand_fact_ot...
spinand_match_and_init(9)
NAME spinand_match_and_init - Try to find a match between a device ID and an entry in a spinand_info table SYNOPSIS int spinand_match_and_init (struct spinand_device *spinand , const struct spinand_info *table , unsigned int table_size , enum spinand_readid_method rdid_method ); ARGUMENTS spinand SPI NAND object ...
spinand_otp_page_size(9)
NAME spinand_otp_page_size - Get SPI-NAND OTP page size SYNOPSIS size_t spinand_otp_page_size (struct spinand_device *spinand ); ARGUMENTS spinand the spinand device RETURN the OTP page size. SEE ALSO Kernel file ./drivers/mtd/nand/spi/otp.c spinand_fact_otp_size(9), spinand_user_otp_size(9), spinand_fact_otp_r...
spinand_read_page(9)
NAME spinand_read_page - Read a page SYNOPSIS int spinand_read_page (struct spinand_device *spinand , const struct nand_page_io_req *req ); ARGUMENTS spinand the spinand device req the I/O request RETURN 0 or a positive number of bitflips corrected on success. A negative error code otherwise. S...
spinand_select_target(9)
NAME spinand_select_target - Select a specific NAND target/die SYNOPSIS int spinand_select_target (struct spinand_device *spinand , unsigned int target ); ARGUMENTS spinand the spinand device target the target/die to select DESCRIPTION Select a new target/die. If chip only has one die, this function...
spinand_set_mtd_otp_ops(9)
NAME spinand_set_mtd_otp_ops - Setup OTP methods SYNOPSIS int spinand_set_mtd_otp_ops (struct spinand_device *spinand ); ARGUMENTS spinand the spinand device DESCRIPTION Setup OTP methods. RETURN 0 on success, a negative error code otherwise. SEE ALSO Kernel file ./drivers/mtd/nand/spi/otp.c spinand_otp_page_s...
spinand_set_of_node(9)
NAME spinand_set_of_node - Attach a DT node to a SPI NAND device SYNOPSIS void spinand_set_of_node (struct spinand_device *spinand , struct device_node *np ); ARGUMENTS spinand SPI NAND device np DT node DESCRIPTION Attach a DT node to a SPI NAND device. SEE ALSO Kernel file ./include/linux/m...
spinand_to_mtd(9)
NAME spinand_to_mtd - Get the MTD device embedded in a SPI NAND device SYNOPSIS struct mtd_info * spinand_to_mtd (struct spinand_device *spinand ); ARGUMENTS spinand SPI NAND device RETURN the MTD device embedded in spinand. SEE ALSO Kernel file ./include/linux/mtd/spinand.h struct spinand_id(9), struct s...
spinand_to_nand(9)
NAME spinand_to_nand - Get the NAND device embedded in a SPI NAND object SYNOPSIS struct nand_device * spinand_to_nand (struct spinand_device *spinand ); ARGUMENTS spinand SPI NAND device RETURN the NAND device embedded in spinand. SEE ALSO Kernel file ./include/linux/mtd/spinand.h struct spinand_id(9), st...
spinand_upd_cfg(9)
NAME spinand_upd_cfg - Update the configuration register SYNOPSIS int spinand_upd_cfg (struct spinand_device *spinand , u8 mask , u8 val ); ARGUMENTS spinand the spinand device mask the mask encoding the bits to update in the config reg val the new value to apply DESCRIPTION Update...
spinand_user_otp_read(9)
NAME spinand_user_otp_read - Read from OTP area SYNOPSIS int spinand_user_otp_read (struct spinand_device *spinand , loff_t ofs , size_t len , size_t *retlen , u8 *buf ); ARGUMENTS spinand the spinand device ofs the offset to read len the number of data bytes to read retlen...
spinand_user_otp_size(9)
NAME spinand_user_otp_size - Get SPI-NAND user OTP area size SYNOPSIS size_t spinand_user_otp_size (struct spinand_device *spinand ); ARGUMENTS spinand the spinand device RETURN the OTP size. SEE ALSO Kernel file ./drivers/mtd/nand/spi/otp.c spinand_otp_page_size(9), spinand_fact_otp_size(9), spinand_fact_otp_r...
spinand_user_otp_write(9)
NAME spinand_user_otp_write - Write to OTP area SYNOPSIS int spinand_user_otp_write (struct spinand_device *spinand , loff_t ofs , size_t len , size_t *retlen , const u8 *buf ); ARGUMENTS spinand the spinand device ofs the offset to write to len the number of bytes to write ...
spinand_wait(9)
NAME spinand_wait - Poll memory device status SYNOPSIS int spinand_wait (struct spinand_device *spinand , unsigned long initial_delay_us , unsigned long poll_delay_us , u8 *s ); ARGUMENTS spinand the spinand device initial_delay_us delay in us before starting to poll poll_delay_...
spinand_write_page(9)
NAME spinand_write_page - Write a page SYNOPSIS int spinand_write_page (struct spinand_device *spinand , const struct nand_page_io_req *req ); ARGUMENTS spinand the spinand device req the I/O request RETURN 0 or a positive number of bitflips corrected on success. A negative error code otherwise....
spix(1)
NAME spix - Compile a .tex file, executing commands that are set inside the file itself. SYNOPSIS spix [--version] [-h] [-n] file DESCRIPTION spix parses a .tex file to find lines starting with %$ (before the preambule). Those lines are shell commands that are executed by spix. Commands are executed as-is, e...
spkac.1ssl(1)
NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp...
splain(1)
NAME diagnostics, splain - produce verbose warning diagnostics SYNOPSIS Using the "diagnostics" pragma: use diagnostics; use diagnostics -verbose; diagnostics->enable; diagnostics->disable; Using the "splain" standalone filter program: perl program 2>di...
splice(2)
NAME splice - splice data to/from a pipe LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #define _FILE_OFFSET_BITS 64 #include <fcntl.h> ssize_t splice(int fd_in, off_t *_Nullable off_in, int fd_out, off_t *_Nullable off_out, ...
splice_direct_to_actor(9)
NAME splice_direct_to_actor - splices data directly between two non-pipes SYNOPSIS ssize_t splice_direct_to_actor (struct file *in , struct splice_desc *sd , splice_direct_actor *actor ); ARGUMENTS in file to splice from sd actor information on where to splice to actor handles ...
splice_file_range(9)
NAME splice_file_range - splices data between two files for copy_file_range() SYNOPSIS ssize_t splice_file_range (struct file *in , loff_t *ppos , struct file *out , loff_t *opos , size_t len ); ARGUMENTS in file to splice from ppos input file offset out file to splice to ...
splice_from_pipe(9)
NAME splice_from_pipe - splice data from a pipe to a file SYNOPSIS ssize_t splice_from_pipe (struct pipe_inode_info *pipe , struct file *out , loff_t *ppos , size_t len , unsigned int flags , splice_actor *actor ); ARGUMENTS pipe pipe to splice from out file to splice to ppos pos...
splice_from_pipe_begin(9)
NAME splice_from_pipe_begin - start splicing from pipe SYNOPSIS void splice_from_pipe_begin (struct splice_desc *sd ); ARGUMENTS sd information about the splice operation DESCRIPTION This function should be called before a loop containing splice_from_pipe_next and splice_from_pipe_feed to initialize the nec...
splice_from_pipe_end(9)
NAME splice_from_pipe_end - finish splicing from pipe SYNOPSIS void splice_from_pipe_end (struct pipe_inode_info *pipe , struct splice_desc *sd ); ARGUMENTS pipe pipe to splice from sd information about the splice operation DESCRIPTION This function will wake up pipe writers if necessary. It...
splice_from_pipe_feed(9)
NAME splice_from_pipe_feed - feed available data from a pipe to a file SYNOPSIS int splice_from_pipe_feed (struct pipe_inode_info *pipe , struct splice_desc *sd , splice_actor *actor ); ARGUMENTS pipe pipe to splice from sd information to actor actor handler that splices the data...
splice_from_pipe_next(9)
NAME splice_from_pipe_next - wait for some data to splice from SYNOPSIS int splice_from_pipe_next (struct pipe_inode_info *pipe , struct splice_desc *sd ); ARGUMENTS pipe pipe to splice from sd information about the splice operation DESCRIPTION This function will wait for some data and return...
splice_to_pipe(9)
NAME splice_to_pipe - fill passed data into a pipe SYNOPSIS ssize_t splice_to_pipe (struct pipe_inode_info *pipe , struct splice_pipe_desc *spd ); ARGUMENTS pipe pipe to fill spd data to fill DESCRIPTION spd contains a map of pages and len/offset tuples, along with the struct pipe_buf_operatio...
splice_to_socket(9)
NAME splice_to_socket - splice data from a pipe to a socket SYNOPSIS ssize_t splice_to_socket (struct pipe_inode_info *pipe , struct file *out , loff_t *ppos , size_t len , unsigned int flags ); ARGUMENTS pipe pipe to splice from out socket to write to ppos position in out ...
split(1)
NAME split - split a file into pieces SYNOPSIS split [OPTION]... [FILE [PREFIX]] DESCRIPTION Output pieces of FILE to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is 'x'. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory ...
split(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 split — split a file into pieces SYNOPSIS split [-l line_...
split_key_len(9)
NAME split_key_len - Compute MDHA split key length for a given algorithm SYNOPSIS u32 split_key_len (u32 hash ); ARGUMENTS hash Hashing algorithm selection, one of OP_ALG_ALGSEL_* - MD5, SHA1, SHA224, SHA384, SHA512. RETURN MDHA split key length SEE ALSO Kernel file ./drivers/crypto/caam/key_gen.h split_key_...
split_key_pad_len(9)
NAME split_key_pad_len - Compute MDHA split key pad length for a given algorithm SYNOPSIS u32 split_key_pad_len (u32 hash ); ARGUMENTS hash Hashing algorithm selection, one of OP_ALG_ALGSEL_* - MD5, SHA1, SHA224, SHA384, SHA512. RETURN MDHA split key pad length SEE ALSO Kernel file ./drivers/crypto/caam/key_...
split_token_from_name(9)
NAME split_token_from_name - separate a string of form <token>^<name> SYNOPSIS char * split_token_from_name (const char *op , char *args , u64 *token ); ARGUMENTS op operation being checked args string to parse (NOT NULL) token stores returned parsed token value (NOT NULL) RET...
splitfont(1)
NAME splitfont - extract characters from an ISO-type font. SYNOPSIS splitfont fontfile <character range>... DESCRIPTION The command splitfont removes characters from a given font file; it removes all the specified characters from the named font file. This works for Linux console fonts, without PSF headers, an...
spmi_command_reset(9)
NAME spmi_command_reset - sends RESET command to the specified slave SYNOPSIS int spmi_command_reset (struct spmi_device *sdev ); ARGUMENTS sdev SPMI device. DESCRIPTION The Reset command initializes the Slave and forces all registers to their reset values. The Slave shall enter the STARTUP state after receiv...
spmi_command_shutdown(9)
NAME spmi_command_shutdown - sends SHUTDOWN command to the specified SPMI device SYNOPSIS int spmi_command_shutdown (struct spmi_device *sdev ); ARGUMENTS sdev SPMI device. DESCRIPTION The Shutdown command causes the Slave to enter the SHUTDOWN state. SEE ALSO Kernel file ./drivers/spmi/spmi.c spmi_device_a...
spmi_command_sleep(9)
NAME spmi_command_sleep - sends SLEEP command to the specified SPMI device SYNOPSIS int spmi_command_sleep (struct spmi_device *sdev ); ARGUMENTS sdev SPMI device. DESCRIPTION The Sleep command causes the Slave to enter the user defined SLEEP state. SEE ALSO Kernel file ./drivers/spmi/spmi.c spmi_device_add(...
spmi_command_wakeup(9)
NAME spmi_command_wakeup - sends WAKEUP command to the specified SPMI device SYNOPSIS int spmi_command_wakeup (struct spmi_device *sdev ); ARGUMENTS sdev SPMI device. DESCRIPTION The Wakeup command causes the Slave to move from the SLEEP state to the ACTIVE state. SEE ALSO Kernel file ./drivers/spmi/spmi.c s...
spmi_controller_add(9)
NAME spmi_controller_add - Add an SPMI controller SYNOPSIS int spmi_controller_add (struct spmi_controller *ctrl ); ARGUMENTS ctrl controller to be registered. DESCRIPTION Register a controller previously allocated via spmi_controller_alloc with the SPMI core. SEE ALSO Kernel file ./drivers/spmi/spmi.c spmi_...
spmi_controller_alloc(9)
NAME spmi_controller_alloc - Allocate a new SPMI controller SYNOPSIS struct spmi_controller * spmi_controller_alloc (struct device *parent , size_t size ); ARGUMENTS parent parent device size size of private data DESCRIPTION Caller is responsible for either calling spmi_controller_add to ...
spmi_controller_put(9)
NAME spmi_controller_put - decrement controller refcount @ctrl SPMI controller. SYNOPSIS void spmi_controller_put (struct spmi_controller *ctrl ); ARGUMENTS ctrl -- undescribed -- SEE ALSO Kernel file ./include/linux/spmi.h struct spmi_device(9), struct spmi_controller(9), struct spmi_driver(9), spmi_driver_u...
spmi_controller_remove(9)
NAME spmi_controller_remove - remove an SPMI controller SYNOPSIS void spmi_controller_remove (struct spmi_controller *ctrl ); ARGUMENTS ctrl controller to remove DESCRIPTION Remove a SPMI controller. Caller is responsible for calling spmi_controller_put to discard the allocated controller. SEE ALSO Kernel f...
spmi_device_add(9)
NAME spmi_device_add - add a device previously constructed via spmi_device_alloc() SYNOPSIS int spmi_device_add (struct spmi_device *sdev ); ARGUMENTS sdev spmi_device to be added SEE ALSO Kernel file ./drivers/spmi/spmi.c spmi_device_remove(9), spmi_register_read(9), spmi_ext_register_read(9), spmi_ext...
spmi_device_alloc(9)
NAME spmi_device_alloc - Allocate a new SPMI device SYNOPSIS struct spmi_device * spmi_device_alloc (struct spmi_controller *ctrl ); ARGUMENTS ctrl associated controller DESCRIPTION Caller is responsible for either calling spmi_device_add to add the newly allocated controller, or calling spmi_device_put to di...
spmi_device_remove(9)
NAME spmi_device_remove - remove an SPMI device SYNOPSIS void spmi_device_remove (struct spmi_device *sdev ); ARGUMENTS sdev spmi_device to be removed SEE ALSO Kernel file ./drivers/spmi/spmi.c spmi_device_add(9), spmi_register_read(9), spmi_ext_register_read(9), spmi_ext_register_readl(9), spmi_regist...
spmi_driver_unregister(9)
NAME spmi_driver_unregister - unregister an SPMI client driver SYNOPSIS void spmi_driver_unregister (struct spmi_driver *sdrv ); ARGUMENTS sdrv the driver to unregister SEE ALSO Kernel file ./include/linux/spmi.h struct spmi_device(9), struct spmi_controller(9), spmi_controller_put(9), struct spmi_driver(9) ...
spmi_ext_register_read(9)
NAME spmi_ext_register_read - extended register read SYNOPSIS int spmi_ext_register_read (struct spmi_device *sdev , u8 addr , u8 *buf , size_t len ); ARGUMENTS sdev SPMI device. addr slave register address (8-bit address). buf buffer to be populated with data from the Slave. ...
spmi_ext_register_readl(9)
NAME spmi_ext_register_readl - extended register read long SYNOPSIS int spmi_ext_register_readl (struct spmi_device *sdev , u16 addr , u8 *buf , size_t len ); ARGUMENTS sdev SPMI device. addr slave register address (16-bit address). buf buffer to be populated with data from the S...
spmi_ext_register_write(9)
NAME spmi_ext_register_write - extended register write SYNOPSIS int spmi_ext_register_write (struct spmi_device *sdev , u8 addr , const u8 *buf , size_t len ); ARGUMENTS sdev SPMI device. addr slave register address (8-bit address). buf buffer containing the data to be transferre...
spmi_ext_register_writel(9)
NAME spmi_ext_register_writel - extended register write long SYNOPSIS int spmi_ext_register_writel (struct spmi_device *sdev , u16 addr , const u8 *buf , size_t len ); ARGUMENTS sdev SPMI device. addr slave register address (16-bit address). buf buffer containing the data to be t...
spmi_find_device_by_of_node(9)
NAME spmi_find_device_by_of_node - look up an SPMI device from a device node SYNOPSIS struct spmi_device * spmi_find_device_by_of_node (struct device_node *np ); ARGUMENTS np device node DESCRIPTION Takes a reference to the embedded struct device which needs to be dropped after use. Returns the struct spmi...
spmi_register_read(9)
NAME spmi_register_read - register read SYNOPSIS int spmi_register_read (struct spmi_device *sdev , u8 addr , u8 *buf ); ARGUMENTS sdev SPMI device. addr slave register address (5-bit address). buf buffer to be populated with data from the Slave. DESCRIPTION Reads 1 byte of data...
spmi_register_write(9)
NAME spmi_register_write - register write SYNOPSIS int spmi_register_write (struct spmi_device *sdev , u8 addr , u8 data ); ARGUMENTS sdev SPMI device addr slave register address (5-bit address). data buffer containing the data to be transferred to the Slave. DESCRIPTION Writes 1...
spmi_register_zero_write(9)
NAME spmi_register_zero_write - register zero write SYNOPSIS int spmi_register_zero_write (struct spmi_device *sdev , u8 data ); ARGUMENTS sdev SPMI device. data the data to be written to register 0 (7-bits). DESCRIPTION Writes data to register 0 of the Slave device. SEE ALSO Kernel file ./dr...
sponge(1)
NAME sponge - soak up standard input and write to a file SYNOPSIS sed '...' file | grep '...' | sponge [-a] file DESCRIPTION sponge reads standard input and writes it out to the specified file. Unlike a shell redirect, sponge soaks up all its input before writing the output file. This allows constructing pipe...
sppctl_first_get(9)
NAME sppctl_first_get - get bit of FIRST register. SYNOPSIS int sppctl_first_get (struct gpio_chip *chip , unsigned int offset ); ARGUMENTS chip -- undescribed -- offset -- undescribed -- DESCRIPTION There are 4 FIRST registers. Each has 32 control-bits. Totally, there are 4 * 32 = 128 control...
sppctl_fully_pinmux_conv(9)
NAME sppctl_fully_pinmux_conv - Convert GPIO# to fully-pinmux control-field setting SYNOPSIS int sppctl_fully_pinmux_conv (unsigned int offset ); ARGUMENTS offset -- undescribed -- DESCRIPTION Each fully-pinmux function can be mapped to any of GPIO 8 ~ 71 by settings its control-field. Refer to following tabl...
sppctl_func_set(9)
NAME sppctl_func_set - Set pin of fully-pinmux function. SYNOPSIS void sppctl_func_set (struct sppctl_pdata *pctl , u8 func , u8 val ); ARGUMENTS pctl -- undescribed -- func -- undescribed -- val -- undescribed -- DESCRIPTION Mask-fields and control-fields of fully-pinmux funct...
sppctl_gmx_set(9)
NAME sppctl_gmx_set - Set pin of group-pinmux. SYNOPSIS void sppctl_gmx_set (struct sppctl_pdata *pctl , u8 reg_off , u8 bit_off , u8 bit_sz , u8 val ); ARGUMENTS pctl -- undescribed -- reg_off -- undescribed -- bit_off -- undescribed -- bit_sz -- undescribed -- val...
sppctl_master_get(9)
NAME sppctl_master_get - get bit of MASTER register. SYNOPSIS int sppctl_master_get (struct gpio_chip *chip , unsigned int offset ); ARGUMENTS chip -- undescribed -- offset -- undescribed -- DESCRIPTION There are 8 MASTER registers. Each has 16 mask-bits and 16 control-bits. Upper 16-bit of M...
spr_idle_state_table_update(9)
NAME spr_idle_state_table_update - Adjust Sapphire Rapids idle states table. SYNOPSIS void spr_idle_state_table_update (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/idle/intel_idle.c intel_idle(9), intel_idle_s2idle(9), intel_idle_cst_usable(9), ivt_idle_state_table_update(9), irtl_2_u...
sprd_mcdt_chan_dma_disable(9)
NAME sprd_mcdt_chan_dma_disable - disable the DMA mode for the MCDT channel SYNOPSIS void sprd_mcdt_chan_dma_disable (struct sprd_mcdt_chan *chan ); ARGUMENTS chan the MCDT channel SEE ALSO Kernel file ./sound/soc/sprd/sprd-mcdt.c sprd_mcdt_chan_write(9), sprd_mcdt_chan_read(9), sprd_mcdt_chan_int_e...
sprd_mcdt_chan_dma_enable(9)
NAME sprd_mcdt_chan_dma_enable - enable the DMA mode for the MCDT channel SYNOPSIS int sprd_mcdt_chan_dma_enable (struct sprd_mcdt_chan *chan , enum sprd_mcdt_dma_chan dma_chan , u32 water_mark ); ARGUMENTS chan the MCDT channel dma_chan specify which DMA channel will be used for this MCDT channel ...
sprd_mcdt_chan_int_disable(9)
NAME sprd_mcdt_chan_int_disable - disable the interrupt mode for the MCDT channel SYNOPSIS void sprd_mcdt_chan_int_disable (struct sprd_mcdt_chan *chan ); ARGUMENTS chan the MCDT channel SEE ALSO Kernel file ./sound/soc/sprd/sprd-mcdt.c sprd_mcdt_chan_write(9), sprd_mcdt_chan_read(9), sprd_mcdt_chan...
sprd_mcdt_chan_int_enable(9)
NAME sprd_mcdt_chan_int_enable - enable the interrupt mode for the MCDT channel SYNOPSIS int sprd_mcdt_chan_int_enable (struct sprd_mcdt_chan *chan , u32 water_mark , struct sprd_mcdt_chan_callback *cb ); ARGUMENTS chan the MCDT channel water_mark water mark to trigger a interrupt cb ...
sprd_mcdt_chan_read(9)
NAME sprd_mcdt_chan_read - read data from the MCDT channel's fifo SYNOPSIS int sprd_mcdt_chan_read (struct sprd_mcdt_chan *chan , char *rx_buf , u32 size ); ARGUMENTS chan the MCDT channel rx_buf receive buffer size data size NOTE We can not read data from the channel fifo when en...
sprd_mcdt_chan_write(9)
NAME sprd_mcdt_chan_write - write data to the MCDT channel's fifo SYNOPSIS int sprd_mcdt_chan_write (struct sprd_mcdt_chan *chan , char *tx_buf , u32 size ); ARGUMENTS chan the MCDT channel tx_buf send buffer size data size NOTE We can not write data to the channel fifo when enabli...
sprd_mcdt_free_chan(9)
NAME sprd_mcdt_free_chan - free one MCDT channel SYNOPSIS void sprd_mcdt_free_chan (struct sprd_mcdt_chan *chan ); ARGUMENTS chan the channel to be freed SEE ALSO Kernel file ./sound/soc/sprd/sprd-mcdt.c sprd_mcdt_chan_write(9), sprd_mcdt_chan_read(9), sprd_mcdt_chan_int_enable(9), sprd_mcdt_chan_int_...
sprd_mcdt_request_chan(9)
NAME sprd_mcdt_request_chan - request one MCDT channel SYNOPSIS struct sprd_mcdt_chan * sprd_mcdt_request_chan (u8 channel , enum sprd_mcdt_channel_type type ); ARGUMENTS channel channel id type channel type, it can be one ADC channel or DAC channel DESCRIPTION Rreturn NULL if no available channel...
sprint_backtrace(9)
NAME sprint_backtrace - Look up a backtrace symbol and return it in a text buffer SYNOPSIS int sprint_backtrace (char *buffer , unsigned long address ); ARGUMENTS buffer buffer to be stored address address to lookup DESCRIPTION This function is for stack backtrace and does the same thing as sprint_...
sprint_backtrace_build_id(9)
NAME sprint_backtrace_build_id - Look up a backtrace symbol and return it in a text buffer SYNOPSIS int sprint_backtrace_build_id (char *buffer , unsigned long address ); ARGUMENTS buffer buffer to be stored address address to lookup DESCRIPTION This function is for stack backtrace and does the sa...
sprint_symbol(9)
NAME sprint_symbol - Look up a kernel symbol and return it in a text buffer SYNOPSIS int sprint_symbol (char *buffer , unsigned long address ); ARGUMENTS buffer buffer to be stored address address to lookup DESCRIPTION This function looks up a kernel symbol with address and stores its name, offset, ...
sprint_symbol_build_id(9)
NAME sprint_symbol_build_id - Look up a kernel symbol and return it in a text buffer SYNOPSIS int sprint_symbol_build_id (char *buffer , unsigned long address ); ARGUMENTS buffer buffer to be stored address address to lookup DESCRIPTION This function looks up a kernel symbol with address and stor...
sprint_symbol_no_offset(9)
NAME sprint_symbol_no_offset - Look up a kernel symbol and return it in a text buffer SYNOPSIS int sprint_symbol_no_offset (char *buffer , unsigned long address ); ARGUMENTS buffer buffer to be stored address address to lookup DESCRIPTION This function looks up a kernel symbol with address and s...
sprintf(3)
NAME printf, fprintf, dprintf, sprintf, snprintf, vprintf, vfprintf, vdprintf, vsprintf, vsnprintf - formatted output conversion LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> int printf(const char *restrict format, ...); int fprintf(FILE *restrict stream, const c...
sprintf(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 sprintf — print formatted output SYNOPSIS #include <stdio.h> ...
sprintf(9)
NAME sprintf - Format a string and place it in a buffer SYNOPSIS int sprintf (char *buf , const char *fmt , ... ); ARGUMENTS buf The buffer to place the result into fmt The format string to use ... Arguments for the format string DESCRIPTION The return value is the number ...
sprof(1)
NAME sprof - read and display shared object profiling data SYNOPSIS sprof [option ...] shared-object-path [profile-data-path] DESCRIPTION The sprof command displays a profiling summary for the shared object (shared library) specified as its first command-line argument. The profiling summary is created using previo...
spu2_aead_ivlen(9)
NAME spu2_aead_ivlen - Calculate the length of the AEAD IV to be included in a SPU request after the AAD and before the payload. SYNOPSIS u8 spu2_aead_ivlen (enum spu_cipher_mode cipher_mode , u16 iv_len ); ARGUMENTS cipher_mode cipher mode iv_len initialization vector length in bytes DESCRIPTION For SP...
spu2_assoc_resp_len(9)
NAME spu2_assoc_resp_len - Determine the size of the AAD2 buffer needed to catch associated data in a SPU2 output packet. SYNOPSIS u32 spu2_assoc_resp_len (enum spu_cipher_mode cipher_mode , unsigned int assoc_len , unsigned int iv_len , bool is_encrypt ); ARGUMENTS cipher_mode cipher mode assoc_len length ...
spu2_ccm_update_iv(9)
NAME spu2_ccm_update_iv - Update the IV as per the requirements for CCM mode. SYNOPSIS void spu2_ccm_update_iv (unsigned int digestsize , struct spu_cipher_parms *cipher_parms , unsigned int assoclen , unsigned int chunksize , bool is_encrypt , bool is_esp ); ARGUMENTS digestsize Digest size of this request ...
spu2_cipher_req_finish(9)
NAME spu2_cipher_req_finish - Finish building a SPU request message header for a block cipher request. SYNOPSIS void spu2_cipher_req_finish (u8 *spu_hdr , u16 spu_req_hdr_len , unsigned int is_inbound , struct spu_cipher_parms *cipher_parms , unsigned int data_size ); ARGUMENTS spu_hdr Start of the request messag...
spu2_cipher_req_init(9)
NAME spu2_cipher_req_init - Build an skcipher SPU2 request message header, including FMD and OMD. SYNOPSIS u16 spu2_cipher_req_init (u8 *spu_hdr , struct spu_cipher_parms *cipher_parms ); ARGUMENTS spu_hdr Location of start of SPU request (FMD field) cipher_parms Parameters describing c...
spu2_cipher_xlate(9)
NAME spu2_cipher_xlate - Convert a cipher {alg/mode/type} triple to a SPU2 cipher type and mode. SYNOPSIS int spu2_cipher_xlate (enum spu_cipher_alg cipher_alg , enum spu_cipher_mode cipher_mode , enum spu_cipher_type cipher_type , enum spu2_cipher_type *spu2_type , enum spu2_cipher_mode *spu2_mode ); ARGUMENTS ciphe...
spu2_create_request(9)
NAME spu2_create_request - Build a SPU2 request message header, includint FMD and OMD. SYNOPSIS u32 spu2_create_request (u8 *spu_hdr , struct spu_request_opts *req_opts , struct spu_cipher_parms *cipher_parms , struct spu_hash_parms *hash_parms , struct spu_aead_parms *aead_parms , unsigned int data_size ); ARGUMENTS...
spu2_ctx_max_payload(9)
NAME spu2_ctx_max_payload - Determine the maximum length of the payload for a SPU message for a given cipher and hash alg context. SYNOPSIS u32 spu2_ctx_max_payload (enum spu_cipher_alg cipher_alg , enum spu_cipher_mode cipher_mode , unsigned int blocksize ); ARGUMENTS cipher_alg The cipher algorithm cipher_...
spu2_digest_size(9)
NAME spu2_digest_size - Determine the size of a hash digest to expect the SPU to return. SYNOPSIS u32 spu2_digest_size (u32 alg_digest_size , enum hash_alg alg , enum hash_type htype ); ARGUMENTS alg_digest_size Number of bytes in the final digest for the given algo alg The hash algorithm htyp...
spu2_fmd_ctrl0_write(9)
NAME spu2_fmd_ctrl0_write - Write ctrl0 field in fixed metadata (FMD) field of SPU request packet. SYNOPSIS void spu2_fmd_ctrl0_write (struct SPU2_FMD *fmd , bool is_inbound , bool auth_first , enum spu2_proto_sel protocol , enum spu2_cipher_type cipher_type , enum spu2_cipher_mode cipher_mode , enum spu2_hash_type a...
spu2_fmd_ctrl1_write(9)
NAME spu2_fmd_ctrl1_write - Write ctrl1 field in fixed metadata (FMD) field of SPU request packet. SYNOPSIS void spu2_fmd_ctrl1_write (struct SPU2_FMD *fmd , bool is_inbound , u64 assoc_size , u64 auth_key_len , u64 cipher_key_len , bool gen_iv , bool hash_iv , bool return_iv , u64 ret_iv_len , u64 ret_iv_offset...
spu2_fmd_ctrl2_write(9)
NAME spu2_fmd_ctrl2_write - Set the ctrl2 field in the fixed metadata field of SPU2 header. SYNOPSIS void spu2_fmd_ctrl2_write (struct SPU2_FMD *fmd , u64 cipher_offset , u64 auth_key_len , u64 auth_iv_len , u64 cipher_key_len , u64 cipher_iv_len ); ARGUMENTS fmd Start of FMD field to be written ciphe...
spu2_fmd_ctrl3_write(9)
NAME spu2_fmd_ctrl3_write - Set the ctrl3 field in FMD SYNOPSIS void spu2_fmd_ctrl3_write (struct SPU2_FMD *fmd , u64 payload_len ); ARGUMENTS fmd Fixed meta data. First field in SPU2 msg header. payload_len Length of payload, in bytes SEE ALSO Kernel file ./drivers/crypto/bcm/spu2.c spu2_cipher...
spu2_fmd_init(9)
NAME spu2_fmd_init - At setkey time, initialize the fixed meta data for subsequent skcipher requests for this context. SYNOPSIS int spu2_fmd_init (struct SPU2_FMD *fmd , enum spu2_cipher_type spu2_type , enum spu2_cipher_mode spu2_mode , u32 cipher_key_len , u32 cipher_iv_len ); ARGUMENTS fmd Start of FMD fie...
spu2_gcm_ccm_pad_len(9)
NAME spu2_gcm_ccm_pad_len - Determine the length of GCM/CCM padding for either the AAD field or the data. SYNOPSIS u32 spu2_gcm_ccm_pad_len (enum spu_cipher_mode cipher_mode , unsigned int data_size ); ARGUMENTS cipher_mode Unused data_size Unused RETURN 0. Unlike SPU-M, SPU2 hardware does any GCM/CCM padd...
spu2_hash_pad_len(9)
NAME spu2_hash_pad_len - Calculate the length of hash padding required to extend data to a full block size. SYNOPSIS u16 spu2_hash_pad_len (enum hash_alg hash_alg , enum hash_mode hash_mode , u32 chunksize , u16 hash_block_size ); ARGUMENTS hash_alg hash algorithm hash_mode hash mode chunksize ...