id
stringlengths
4
63
text
stringlengths
153
8.81M
n_tty_receive_overrun(9)
NAME n_tty_receive_overrun - handle overrun reporting SYNOPSIS void n_tty_receive_overrun (const struct tty_struct *tty ); ARGUMENTS tty terminal DESCRIPTION Data arrived faster than we could process it. While the tty driver has flagged this the bits that were missed are gone forever. Called from the recei...
n_tty_receive_parity_error(9)
NAME n_tty_receive_parity_error - error notifier SYNOPSIS void n_tty_receive_parity_error (const struct tty_struct *tty , u8 c ); ARGUMENTS tty terminal device c character DESCRIPTION Process a parity error and queue the right data to indicate the error case if necessary. Locking: n_tty_re...
n_tty_set_termios(9)
NAME n_tty_set_termios - termios data changed SYNOPSIS void n_tty_set_termios (struct tty_struct *tty , const struct ktermios *old ); ARGUMENTS tty terminal old previous data DESCRIPTION Called by the tty layer when the user changes termios flags so that the line discipline can plan ahead. Th...
n_tty_write(9)
NAME n_tty_write - write function for tty SYNOPSIS ssize_t n_tty_write (struct tty_struct *tty , struct file *file , const u8 *buf , size_t nr ); ARGUMENTS tty tty device file file object buf userspace buffer pointer nr size of I/O DESCRIPTION Write function ...
n_tty_write_wakeup(9)
NAME n_tty_write_wakeup - asynchronous I/O notifier SYNOPSIS void n_tty_write_wakeup (struct tty_struct *tty ); ARGUMENTS tty tty device DESCRIPTION Required for the ptys, serial driver etc. since processes that attach themselves to the master and rely on ASYNC IO must be woken up. SEE ALSO Kernel file ./...
nal_h264_color_primaries(9)
NAME nal_h264_color_primaries - Get color_primaries for v4l2 colorspace SYNOPSIS int nal_h264_color_primaries (enum v4l2_colorspace colorspace ); ARGUMENTS colorspace the color space as enum v4l2_colorspace DESCRIPTION Convert the enum v4l2_colorspace to color_primaries as specified in Rec. ITU-T H.264 (04/2017) E....
nal_h264_full_range(9)
NAME nal_h264_full_range - Get video_full_range_flag for v4l2 quantization SYNOPSIS int nal_h264_full_range (enum v4l2_quantization quantization ); ARGUMENTS quantization the quantization type as enum v4l2_quantization DESCRIPTION Convert the enum v4l2_quantization to video_full_range_flag as specified in Rec. ITU-T...
nal_h264_level(9)
NAME nal_h264_level - Get level_idc for v4l2 h264 level SYNOPSIS int nal_h264_level (enum v4l2_mpeg_video_h264_level level ); ARGUMENTS level the level as enum v4l2_mpeg_video_h264_level DESCRIPTION Convert the enum v4l2_mpeg_video_h264_level to level_idc as specified in Rec. ITU-T H.264 (04/2017) A.3.2. RETU...
nal_h264_matrix_coeffs(9)
NAME nal_h264_matrix_coeffs - Get matrix_coefficients for v4l2 v4l2_ycbcr_encoding SYNOPSIS int nal_h264_matrix_coeffs (enum v4l2_colorspace colorspace , enum v4l2_ycbcr_encoding ycbcr_encoding ); ARGUMENTS colorspace the color space as enum v4l2_colorspace ycbcr_encoding the ycbcr encodin...
nal_h264_profile(9)
NAME nal_h264_profile - Get profile_idc for v4l2 h264 profile SYNOPSIS int nal_h264_profile (enum v4l2_mpeg_video_h264_profile profile ); ARGUMENTS profile the profile as enum v4l2_mpeg_video_h264_profile DESCRIPTION Convert the enum v4l2_mpeg_video_h264_profile to profile_idc as specified in Rec. ITU-T H.264 (0...
nal_h264_read_filler(9)
NAME nal_h264_read_filler - Read filler data RBSP SYNOPSIS ssize_t nal_h264_read_filler (const struct device *dev , void *src , size_t n ); ARGUMENTS dev device pointer src buffer with RBSP data that is read n maximum size of src that shall be read DESCRIPTION Read a filler...
nal_h264_read_pps(9)
NAME nal_h264_read_pps - Read PPS NAL unit from RBSP format SYNOPSIS ssize_t nal_h264_read_pps (const struct device *dev , struct nal_h264_pps *pps , void *src , size_t n ); ARGUMENTS dev device pointer pps the struct nal_h264_pps to fill from the RBSP data src the buffer that ...
nal_h264_read_sps(9)
NAME nal_h264_read_sps - Read SPS NAL unit from RBSP format SYNOPSIS ssize_t nal_h264_read_sps (const struct device *dev , struct nal_h264_sps *sps , void *src , size_t n ); ARGUMENTS dev device pointer sps the struct nal_h264_sps to fill from the RBSP data src the buffer that ...
nal_h264_transfer_characteristics(9)
NAME nal_h264_transfer_characteristics - Get transfer_characteristics for v4l2 xfer_func SYNOPSIS int nal_h264_transfer_characteristics (enum v4l2_colorspace colorspace , enum v4l2_xfer_func xfer_func ); ARGUMENTS colorspace the color space as enum v4l2_colorspace xfer_func the transfer function as enum v4...
nal_h264_write_filler(9)
NAME nal_h264_write_filler - Write filler data RBSP SYNOPSIS ssize_t nal_h264_write_filler (const struct device *dev , void *dest , size_t n ); ARGUMENTS dev device pointer dest buffer to fill with filler data n size of the buffer to fill with filler data DESCRIPTION Write a...
nal_h264_write_pps(9)
NAME nal_h264_write_pps - Write PPS NAL unit into RBSP format SYNOPSIS ssize_t nal_h264_write_pps (const struct device *dev , void *dest , size_t n , struct nal_h264_pps *pps ); ARGUMENTS dev device pointer dest the buffer that is filled with RBSP data n maximum size of dest i...
nal_h264_write_sps(9)
NAME nal_h264_write_sps - Write SPS NAL unit into RBSP format SYNOPSIS ssize_t nal_h264_write_sps (const struct device *dev , void *dest , size_t n , struct nal_h264_sps *sps ); ARGUMENTS dev device pointer dest the buffer that is filled with RBSP data n maximum size of dest i...
nal_hevc_level(9)
NAME nal_hevc_level - Get level_idc for v4l2 hevc level SYNOPSIS int nal_hevc_level (enum v4l2_mpeg_video_hevc_level level ); ARGUMENTS level the level as enum v4l2_mpeg_video_hevc_level DESCRIPTION Convert the enum v4l2_mpeg_video_hevc_level to level_idc as specified in Rec. ITU-T H.265 (02/2018) A.4.1. RETU...
nal_hevc_profile(9)
NAME nal_hevc_profile - Get profile_idc for v4l2 hevc profile SYNOPSIS int nal_hevc_profile (enum v4l2_mpeg_video_hevc_profile profile ); ARGUMENTS profile the profile as enum v4l2_mpeg_video_hevc_profile DESCRIPTION Convert the enum v4l2_mpeg_video_hevc_profile to profile_idc as specified in Rec. ITU-T H.265 (0...
nal_hevc_read_filler(9)
NAME nal_hevc_read_filler - Read filler data RBSP SYNOPSIS ssize_t nal_hevc_read_filler (const struct device *dev , void *src , size_t n ); ARGUMENTS dev device pointer src buffer with RBSP data that is read n maximum size of src that shall be read DESCRIPTION Read a filler...
nal_hevc_read_pps(9)
NAME nal_hevc_read_pps - Read PPS NAL unit from RBSP format SYNOPSIS ssize_t nal_hevc_read_pps (const struct device *dev , struct nal_hevc_pps *pps , void *src , size_t n ); ARGUMENTS dev device pointer pps the struct nal_hevc_pps to fill from the RBSP data src the buffer that ...
nal_hevc_read_sps(9)
NAME nal_hevc_read_sps - Read SPS NAL unit from RBSP format SYNOPSIS ssize_t nal_hevc_read_sps (const struct device *dev , struct nal_hevc_sps *sps , void *src , size_t n ); ARGUMENTS dev device pointer sps the struct nal_hevc_sps to fill from the RBSP data src the buffer that ...
nal_hevc_read_vps(9)
NAME nal_hevc_read_vps - Read VPS NAL unit from RBSP format SYNOPSIS ssize_t nal_hevc_read_vps (const struct device *dev , struct nal_hevc_vps *vps , void *src , size_t n ); ARGUMENTS dev device pointer vps the struct nal_hevc_vps to fill from the RBSP data src the buffer that ...
nal_hevc_tier(9)
NAME nal_hevc_tier - Get tier_flag for v4l2 hevc tier SYNOPSIS int nal_hevc_tier (enum v4l2_mpeg_video_hevc_tier tier ); ARGUMENTS tier the tier as enum v4l2_mpeg_video_hevc_tier DESCRIPTION Convert the enum v4l2_mpeg_video_hevc_tier to tier_flag as specified in Rec. ITU-T H.265 (02/2018) A.4.1. RETURN the t...
nal_hevc_write_filler(9)
NAME nal_hevc_write_filler - Write filler data RBSP SYNOPSIS ssize_t nal_hevc_write_filler (const struct device *dev , void *dest , size_t n ); ARGUMENTS dev device pointer dest buffer to fill with filler data n size of the buffer to fill with filler data DESCRIPTION Write a...
nal_hevc_write_pps(9)
NAME nal_hevc_write_pps - Write PPS NAL unit into RBSP format SYNOPSIS ssize_t nal_hevc_write_pps (const struct device *dev , void *dest , size_t n , struct nal_hevc_pps *pps ); ARGUMENTS dev device pointer dest the buffer that is filled with RBSP data n maximum size of dest i...
nal_hevc_write_sps(9)
NAME nal_hevc_write_sps - Write SPS NAL unit into RBSP format SYNOPSIS ssize_t nal_hevc_write_sps (const struct device *dev , void *dest , size_t n , struct nal_hevc_sps *sps ); ARGUMENTS dev device pointer dest the buffer that is filled with RBSP data n maximum size of dest i...
nal_hevc_write_vps(9)
NAME nal_hevc_write_vps - Write PPS NAL unit into RBSP format SYNOPSIS ssize_t nal_hevc_write_vps (const struct device *dev , void *dest , size_t n , struct nal_hevc_vps *vps ); ARGUMENTS dev device pointer dest the buffer that is filled with RBSP data n maximum size of dest i...
name_contains_dotdot(9)
NAME name_contains_dotdot - check if a file name contains ".." path components SYNOPSIS bool name_contains_dotdot (const char *name ); ARGUMENTS name File path string to check Search for ".." surrounded by either '/' or start/end of string. SEE ALSO Kernel file ./include/linux/fs.h enum positive_aop_retur...
name_is_dot_dotdot(9)
NAME name_is_dot_dotdot - returns true only if @name is "." or ".." SYNOPSIS bool name_is_dot_dotdot (const char *name , size_t len ); ARGUMENTS name file name to check len length of file name, in bytes SEE ALSO Kernel file ./include/linux/fs.h enum positive_aop_returns(9), struct addres...
name_show(9)
NAME name_show - retrieve useful identifying name SYNOPSIS ssize_t name_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device associated with the iio_trigger attr pointer to the device_attribute structure that is being processed buf buffer ...
name_to_handle_at(2)
NAME name_to_handle_at, open_by_handle_at - obtain handle for a pathname and open file via a handle LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <fcntl.h> int name_to_handle_at(int dirfd, const char *path, st...
named(8)
NAME named - Internet domain name server SYNOPSIS named [ [-4] | [-6] ] [-c config-file] [-C] [-d debug-level] [-D string] [-E engine-name] [-f] [-g] [-L logfile] [-M option] [-m flag] [-n #cpus] [-p port] [-s] [-t directory] [-u user] [-v] [-V] ] DESCRIPTION named is a Domain Name System (DNS) server, part of the B...
named-checkconf(1)
NAME named-checkconf - named configuration file syntax checking tool SYNOPSIS named-checkconf [-achjklvz] [-p [-x ]] [-t directory] {filename} DESCRIPTION named-checkconf checks the syntax, but not the semantics, of a named <#std-iscman-named> configuration file. The file, along with all files included by it, is pars...
named-checkzone(1)
NAME named-checkzone - zone file validity checking or converting tool SYNOPSIS named-checkzone [-d] [-h] [-j] [-q] [-v] [-c class] [-C mode] [-f format] [-F format] [-J filename] [-i mode] [-k mode] [-m mode] [-M mode] [-n mode] [-l ttl] [-L serial] [-o filename] [-r mode] [-s style] [-S mode] [-t directory] [-T mod...
named-compilezone(1)
NAME named-compilezone - zone file validity checking or converting tool SYNOPSIS named-compilezone [-d] [-h] [-j] [-q] [-v] [-c class] [-C mode] [-f format] [-F format] [-J filename] [-i mode] [-k mode] [-m mode] [-M mode] [-n mode] [-l ttl] [-L serial] [-r mode] [-s style] [-S mode] [-t directory] [-T mode] [-w di...
named-journalprint(1)
NAME named-journalprint - print zone journal in human-readable form SYNOPSIS named-journalprint [-c serial] [-dux] {journal} DESCRIPTION named-journalprint scans the contents of a zone journal file, printing it in a human-readable form, or, optionally, converting it to a different journal file format. Journal...
named-rrchecker(1)
NAME named-rrchecker - syntax checker for individual DNS resource records SYNOPSIS named-rrchecker [-h] [-o origin] [-p] [-u] [-C] [-T] [-P] DESCRIPTION named-rrchecker reads a single DNS resource record (RR) from standard input and checks whether it is syntactically correct. The input format is a minimal sub...
named.conf(5)
NAME named.conf - configuration file for **named** SYNOPSIS named.conf DESCRIPTION named.conf is the configuration file for named <#std-iscman-named>. For complete documentation about the configuration statements, please refer to the Configuration Reference section in the BIND 9 Administrator Reference Manual...
named_distribute(9)
NAME named_distribute - prepare name info for bulk distribution to another node SYNOPSIS void named_distribute (struct net *net , struct sk_buff_head *list , u32 dnode , struct list_head *pls , u16 seqno ); ARGUMENTS net the associated network namespace list list of messages (buffers) to be ret...
named_prepare_buf(9)
NAME named_prepare_buf - allocate & initialize a publication message SYNOPSIS struct sk_buff * named_prepare_buf (struct net *net , u32 type , u32 size , u32 dest ); ARGUMENTS net the associated network namespace type message type size payload size dest destination...
namei(1)
NAME namei - follow a pathname until a terminal point is found SYNOPSIS namei [options] pathname... DESCRIPTION namei interprets its arguments as pathnames to any type of Unix file (symlinks, files, directories, and so forth). namei then follows each pathname until an endpoint is found (a file, a directory, a device ...
namespace.conf(5)
NAME namespace.conf - the namespace configuration file DESCRIPTION The pam_namespace.so module allows setup of private namespaces with polyinstantiated directories. Directories can be polyinstantiated based on user name or, in the case of SELinux, user name, sensitivity level or complete security context. If an execut...
namespace_update_uuid(9)
NAME namespace_update_uuid - check for a unique uuid and whether we're "renaming" SYNOPSIS int namespace_update_uuid (struct nd_region *nd_region , struct device *dev , uuid_t *new_uuid , uuid_t **old_uuid ); ARGUMENTS nd_region parent region so we can updates all dimms in the set dev namespace type...
namespaces(7)
NAME namespaces - overview of Linux namespaces DESCRIPTION A namespace wraps a global system resource in an abstraction that makes it appear to the processes within the namespace that they have their own isolated instance of the global resource. Changes to the global resource are visible to other processes that ar...
nan(3)
NAME nan, nanf, nanl - return 'Not a Number' LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double nan(const char *tagp); float nanf(const char *tagp); long double nanl(const char *tagp); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): nan(), nanf...
nan(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 nan, nanf, nanl — return quiet NaN SYNOPSIS #include <math.h> ...
nand_bbm_get_next_page(9)
NAME nand_bbm_get_next_page - Get the next page for bad block markers SYNOPSIS int nand_bbm_get_next_page (struct nand_chip *chip , int page ); ARGUMENTS chip NAND chip object page First page to start checking for bad block marker usage DESCRIPTION Returns an integer that corresponds to the pag...
nand_block_bad(9)
NAME nand_block_bad - [DEFAULT] Read bad block marker from the chip SYNOPSIS int nand_block_bad (struct nand_chip *chip , loff_t ofs ); ARGUMENTS chip NAND chip object ofs offset from device start DESCRIPTION Check, if the block is bad. SEE ALSO Kernel file ./drivers/mtd/nand/raw/nand_base....
nand_block_checkbad(9)
NAME nand_block_checkbad - [GENERIC] Check if a block is marked bad SYNOPSIS int nand_block_checkbad (struct nand_chip *chip , loff_t ofs , int allowbbt ); ARGUMENTS chip NAND chip object ofs offset from device start allowbbt 1, if its allowed to access the bbt area DESCRIPTION Chec...
nand_block_isbad(9)
NAME nand_block_isbad - [MTD Interface] Check if block at offset is bad SYNOPSIS int nand_block_isbad (struct mtd_info *mtd , loff_t offs ); ARGUMENTS mtd MTD device structure offs offset relative to mtd start SEE ALSO Kernel file ./drivers/mtd/nand/raw/nand_base.c nand_extract_bits(9), na...
nand_block_isreserved(9)
NAME nand_block_isreserved - [GENERIC] Check if a block is marked reserved. SYNOPSIS int nand_block_isreserved (struct mtd_info *mtd , loff_t ofs ); ARGUMENTS mtd MTD device structure ofs offset from device start DESCRIPTION Check if the block is marked as reserved. SEE ALSO Kernel file ./...
nand_block_markbad(9)
NAME nand_block_markbad - [MTD Interface] Mark block at the given offset as bad SYNOPSIS int nand_block_markbad (struct mtd_info *mtd , loff_t ofs ); ARGUMENTS mtd MTD device structure ofs offset relative to mtd start SEE ALSO Kernel file ./drivers/mtd/nand/raw/nand_base.c nand_extract_bit...
nand_block_markbad_lowlevel(9)
NAME nand_block_markbad_lowlevel - mark a block bad SYNOPSIS int nand_block_markbad_lowlevel (struct nand_chip *chip , loff_t ofs ); ARGUMENTS chip NAND chip object ofs offset from device start DESCRIPTION This function performs the generic NAND bad block marking steps (i.e., bad block table(s...
nand_change_read_column_op(9)
NAME nand_change_read_column_op - Do a CHANGE READ COLUMN operation SYNOPSIS int nand_change_read_column_op (struct nand_chip *chip , unsigned int offset_in_page , void *buf , unsigned int len , bool force_8bit ); ARGUMENTS chip The NAND chip offset_in_page offset within the page ...
nand_change_write_column_op(9)
NAME nand_change_write_column_op - Do a CHANGE WRITE COLUMN operation SYNOPSIS int nand_change_write_column_op (struct nand_chip *chip , unsigned int offset_in_page , const void *buf , unsigned int len , bool force_8bit ); ARGUMENTS chip The NAND chip offset_in_page offset within the...
nand_check_ecc_caps(9)
NAME nand_check_ecc_caps - check the sanity of preset ECC settings SYNOPSIS int nand_check_ecc_caps (struct nand_chip *chip , const struct nand_ecc_caps *caps , int oobavail ); ARGUMENTS chip nand chip info structure caps ECC caps info structure oobavail OOB size that the ECC engine c...
nand_check_erased_buf(9)
NAME nand_check_erased_buf - check if a buffer contains (almost) only 0xff data SYNOPSIS int nand_check_erased_buf (void *buf , int len , int bitflips_threshold ); ARGUMENTS buf buffer to test len buffer length bitflips_threshold maximum number of bitflips DESCRIPTI...
nand_check_erased_ecc_chunk(9)
NAME nand_check_erased_ecc_chunk - check if an ECC chunk contains (almost) only 0xff data SYNOPSIS int nand_check_erased_ecc_chunk (void *data , int datalen , void *ecc , int ecclen , void *extraoob , int extraooblen , int bitflips_threshold ); ARGUMENTS data data buffer to test datalen data length...
nand_check_wp(9)
NAME nand_check_wp - [GENERIC] check if the chip is write protected SYNOPSIS int nand_check_wp (struct nand_chip *chip ); ARGUMENTS chip NAND chip object DESCRIPTION Check, if the device is write protected. The function expects, that the device is already selected. SEE ALSO Kernel file ./drivers/mtd/nand/r...
nand_choose_best_nvddr_timings(9)
NAME nand_choose_best_nvddr_timings - Pick up the best NVDDR timings that both the NAND controller and the NAND chip support SYNOPSIS int nand_choose_best_nvddr_timings (struct nand_chip *chip , struct nand_interface_config *iface , struct nand_nvddr_timings *spec_timings ); ARGUMENTS chip the NAND chip ...
nand_choose_best_sdr_timings(9)
NAME nand_choose_best_sdr_timings - Pick up the best SDR timings that both the NAND controller and the NAND chip support SYNOPSIS int nand_choose_best_sdr_timings (struct nand_chip *chip , struct nand_interface_config *iface , struct nand_sdr_timings *spec_timings ); ARGUMENTS chip the NAND chip iface ...
nand_choose_best_timings(9)
NAME nand_choose_best_timings - Pick up the best NVDDR or SDR timings that both NAND controller and the NAND chip support SYNOPSIS int nand_choose_best_timings (struct nand_chip *chip , struct nand_interface_config *iface ); ARGUMENTS chip the NAND chip iface the interface configuration (can even...
nand_choose_interface_config(9)
NAME nand_choose_interface_config - find the best data interface and timings SYNOPSIS int nand_choose_interface_config (struct nand_chip *chip ); ARGUMENTS chip The NAND chip DESCRIPTION Find the best data interface and NAND timings supported by the chip and the driver. Eventually let the NAND manufacturer d...
nand_cleanup(9)
NAME nand_cleanup - [NAND Interface] Free resources held by the NAND device SYNOPSIS void nand_cleanup (struct nand_chip *chip ); ARGUMENTS chip NAND chip object SEE ALSO Kernel file ./drivers/mtd/nand/raw/nand_base.c nand_extract_bits(9), nand_select_target(9), nand_deselect_target(9), nand_release_dev...
nand_command(9)
NAME nand_command - [DEFAULT] Send command to NAND device SYNOPSIS void nand_command (struct nand_chip *chip , unsigned int command , int column , int page_addr ); ARGUMENTS chip NAND chip object command the command to be sent column the column address for this command, -1 if none ...
nand_command_lp(9)
NAME nand_command_lp - [DEFAULT] Send command to NAND large page device SYNOPSIS void nand_command_lp (struct nand_chip *chip , unsigned int command , int column , int page_addr ); ARGUMENTS chip NAND chip object command the command to be sent column the column address for this command...
nand_create_badblock_pattern(9)
NAME nand_create_badblock_pattern - [INTERN] Creates a BBT descriptor structure SYNOPSIS int nand_create_badblock_pattern (struct nand_chip *this ); ARGUMENTS this NAND chip to create descriptor for DESCRIPTION This function allocates and initializes a nand_bbt_descr for BBM detection based on the propertie...
nand_create_bbt(9)
NAME nand_create_bbt - [NAND Interface] Select a default bad block table for the device SYNOPSIS int nand_create_bbt (struct nand_chip *this ); ARGUMENTS this NAND chip object DESCRIPTION This function selects the default bad block table support for the device and calls the nand_scan_bbt function. SEE ALSO K...
nand_default_block_markbad(9)
NAME nand_default_block_markbad - [DEFAULT] mark a block bad via bad block marker SYNOPSIS int nand_default_block_markbad (struct nand_chip *chip , loff_t ofs ); ARGUMENTS chip NAND chip object ofs offset from device start DESCRIPTION This is the default implementation, which can be overridden...
nand_deselect_target(9)
NAME nand_deselect_target - Deselect the currently selected target SYNOPSIS void nand_deselect_target (struct nand_chip *chip ); ARGUMENTS chip NAND chip object DESCRIPTION Deselect the currently selected NAND target. The result of operations executed on chip after the target has been deselected is undefined....
nand_do_read_oob(9)
NAME nand_do_read_oob - [INTERN] NAND read out-of-band SYNOPSIS int nand_do_read_oob (struct nand_chip *chip , loff_t from , struct mtd_oob_ops *ops ); ARGUMENTS chip NAND chip object from offset to read from ops oob operations description structure DESCRIPTION NAND read out-of-...
nand_do_read_ops(9)
NAME nand_do_read_ops - [INTERN] Read data with ECC SYNOPSIS int nand_do_read_ops (struct nand_chip *chip , loff_t from , struct mtd_oob_ops *ops ); ARGUMENTS chip NAND chip object from offset to read from ops oob ops structure DESCRIPTION Internal function. Called with chip hel...
nand_do_write_oob(9)
NAME nand_do_write_oob - [MTD Interface] NAND write out-of-band SYNOPSIS int nand_do_write_oob (struct nand_chip *chip , loff_t to , struct mtd_oob_ops *ops ); ARGUMENTS chip NAND chip object to offset to write to ops oob operation description structure DESCRIPTION NAND write ...
nand_do_write_ops(9)
NAME nand_do_write_ops - [INTERN] NAND write with ECC SYNOPSIS int nand_do_write_ops (struct nand_chip *chip , loff_t to , struct mtd_oob_ops *ops ); ARGUMENTS chip NAND chip object to offset to write to ops oob operations description structure DESCRIPTION NAND write with ECC....
nand_ecc_choose_conf(9)
NAME nand_ecc_choose_conf - Set the ECC strength and ECC step size SYNOPSIS int nand_ecc_choose_conf (struct nand_chip *chip , const struct nand_ecc_caps *caps , int oobavail ); ARGUMENTS chip nand chip info structure caps ECC engine caps info structure oobavail OOB size that the ECC ...
nand_ecc_cleanup_ctx(9)
NAME nand_ecc_cleanup_ctx - Cleanup the ECC engine context SYNOPSIS void nand_ecc_cleanup_ctx (struct nand_device *nand ); ARGUMENTS nand the NAND device SEE ALSO Kernel file ./drivers/mtd/nand/ecc.c nand_ecc_init_ctx(9), nand_ecc_prepare_io_req(9), nand_ecc_finish_io_req(9), nand_ecc_is_strong_enough(9) Apr...
nand_ecc_finish_io_req(9)
NAME nand_ecc_finish_io_req - Finish an I/O request SYNOPSIS int nand_ecc_finish_io_req (struct nand_device *nand , struct nand_page_io_req *req ); ARGUMENTS nand the NAND device req the I/O request SEE ALSO Kernel file ./drivers/mtd/nand/ecc.c nand_ecc_init_ctx(9), nand_ecc_cleanup_ctx(9), na...
nand_ecc_init_ctx(9)
NAME nand_ecc_init_ctx - Init the ECC engine context SYNOPSIS int nand_ecc_init_ctx (struct nand_device *nand ); ARGUMENTS nand the NAND device DESCRIPTION On success, the caller is responsible of calling nand_ecc_cleanup_ctx. SEE ALSO Kernel file ./drivers/mtd/nand/ecc.c nand_ecc_cleanup_ctx(9), nand_ecc_pr...
nand_ecc_is_strong_enough(9)
NAME nand_ecc_is_strong_enough - Check if the chip configuration meets the datasheet requirements. SYNOPSIS bool nand_ecc_is_strong_enough (struct nand_device *nand ); ARGUMENTS nand Device to check DESCRIPTION If our configuration corrects A bits per B bytes and the minimum required correction level is X b...
nand_ecc_prepare_io_req(9)
NAME nand_ecc_prepare_io_req - Prepare an I/O request SYNOPSIS int nand_ecc_prepare_io_req (struct nand_device *nand , struct nand_page_io_req *req ); ARGUMENTS nand the NAND device req the I/O request SEE ALSO Kernel file ./drivers/mtd/nand/ecc.c nand_ecc_init_ctx(9), nand_ecc_cleanup_ctx(9),...
nand_ecc_sw_bch_calculate(9)
NAME nand_ecc_sw_bch_calculate - Calculate the ECC corresponding to a data block SYNOPSIS int nand_ecc_sw_bch_calculate (struct nand_device *nand , const unsigned char *buf , unsigned char *code ); ARGUMENTS nand NAND device buf Input buffer with raw data code Output buffer with ...
nand_ecc_sw_bch_cleanup(9)
NAME nand_ecc_sw_bch_cleanup - Cleanup software BCH ECC resources SYNOPSIS void nand_ecc_sw_bch_cleanup (struct nand_device *nand ); ARGUMENTS nand NAND device SEE ALSO Kernel file ./drivers/mtd/nand/ecc-sw-bch.c nand_ecc_sw_bch_calculate(9), nand_ecc_sw_bch_correct(9), nand_ecc_sw_bch_init(9) April 2026 ...
nand_ecc_sw_bch_correct(9)
NAME nand_ecc_sw_bch_correct - Detect, correct and report bit error(s) SYNOPSIS int nand_ecc_sw_bch_correct (struct nand_device *nand , unsigned char *buf , unsigned char *read_ecc , unsigned char *calc_ecc ); ARGUMENTS nand NAND device buf Raw data read from the chip read_ecc ECC by...
nand_ecc_sw_bch_init(9)
NAME nand_ecc_sw_bch_init - Initialize software BCH ECC engine SYNOPSIS int nand_ecc_sw_bch_init (struct nand_device *nand ); ARGUMENTS nand NAND device RETURN a pointer to a new NAND BCH control structure, or NULL upon failure DESCRIPTION Initialize NAND BCH error correction. nand.ecc parameters 'step_size'...
nand_ecc_sw_hamming_calculate(9)
NAME nand_ecc_sw_hamming_calculate - Calculate 3-byte ECC for 256/512-byte block SYNOPSIS int nand_ecc_sw_hamming_calculate (struct nand_device *nand , const unsigned char *buf , unsigned char *code ); ARGUMENTS nand NAND device buf Input buffer with raw data code Output buffer w...
nand_ecc_sw_hamming_correct(9)
NAME nand_ecc_sw_hamming_correct - Detect and correct bit error(s) SYNOPSIS int nand_ecc_sw_hamming_correct (struct nand_device *nand , unsigned char *buf , unsigned char *read_ecc , unsigned char *calc_ecc ); ARGUMENTS nand NAND device buf Raw data read from the chip read_ecc ECC by...
nand_erase(9)
NAME nand_erase - [MTD Interface] erase block(s) SYNOPSIS int nand_erase (struct mtd_info *mtd , struct erase_info *instr ); ARGUMENTS mtd MTD device structure instr erase instruction DESCRIPTION Erase one ore more blocks. SEE ALSO Kernel file ./drivers/mtd/nand/raw/nand_base.c nand_extract...
nand_erase_nand(9)
NAME nand_erase_nand - [INTERN] erase block(s) SYNOPSIS int nand_erase_nand (struct nand_chip *chip , struct erase_info *instr , int allowbbt ); ARGUMENTS chip NAND chip object instr erase instruction allowbbt allow erasing the bbt area DESCRIPTION Erase one ore more blocks. SEE ALSO...
nand_erase_op(9)
NAME nand_erase_op - Do an erase operation SYNOPSIS int nand_erase_op (struct nand_chip *chip , unsigned int eraseblock ); ARGUMENTS chip The NAND chip eraseblock block to erase DESCRIPTION This function sends an ERASE command and waits for the NAND to be ready before returning. This function does n...
nand_exit_status_op(9)
NAME nand_exit_status_op - Exit a STATUS operation SYNOPSIS int nand_exit_status_op (struct nand_chip *chip ); ARGUMENTS chip The NAND chip DESCRIPTION This function sends a READ0 command to cancel the effect of the STATUS command to avoid reading only the status until a new read command is sent. This functi...
nand_extract_bits(9)
NAME nand_extract_bits - Copy unaligned bits from one buffer to another one SYNOPSIS void nand_extract_bits (u8 *dst , unsigned int dst_off , const u8 *src , unsigned int src_off , unsigned int nbits ); ARGUMENTS dst destination buffer dst_off bit offset at which the writing starts src ...
nand_fill_column_cycles(9)
NAME nand_fill_column_cycles - fill the column cycles of an address SYNOPSIS int nand_fill_column_cycles (struct nand_chip *chip , u8 *addrs , unsigned int offset_in_page ); ARGUMENTS chip The NAND chip addrs Array of address cycles to fill offset_in_page The offset in ...
nand_fill_oob(9)
NAME nand_fill_oob - [INTERN] Transfer client buffer to oob SYNOPSIS uint8_t * nand_fill_oob (struct nand_chip *chip , uint8_t *oob , size_t len , struct mtd_oob_ops *ops ); ARGUMENTS chip NAND chip object oob oob data buffer len oob data write length ops oob ops...
nand_get_data_buf(9)
NAME nand_get_data_buf - Get the internal page buffer SYNOPSIS void * nand_get_data_buf (struct nand_chip *chip ); ARGUMENTS chip NAND chip object DESCRIPTION Returns the pre-allocated page buffer after invalidating the cache. This function should be used by drivers that do not want to allocate their own bo...
nand_get_device(9)
NAME nand_get_device - [GENERIC] Get chip for selected access SYNOPSIS void nand_get_device (struct nand_chip *chip ); ARGUMENTS chip NAND chip structure DESCRIPTION Lock the device and its controller for exclusive access SEE ALSO Kernel file ./drivers/mtd/nand/raw/nand_base.c nand_extract_bits(9), nand_...
nand_get_features(9)
NAME nand_get_features - wrapper to perform a GET_FEATURE SYNOPSIS int nand_get_features (struct nand_chip *chip , int addr , u8 *subfeature_param ); ARGUMENTS chip NAND chip info structure addr feature address subfeature_param the subfeature parameters, a four bytes a...
nand_get_features_op(9)
NAME nand_get_features_op - Do a GET FEATURES operation SYNOPSIS int nand_get_features_op (struct nand_chip *chip , u8 feature , void *data ); ARGUMENTS chip The NAND chip feature feature id data 4 bytes of data DESCRIPTION This function sends a GET FEATURES command and waits for th...
nand_get_interface_config(9)
NAME nand_get_interface_config - Retrieve the current interface configuration of a NAND chip SYNOPSIS const struct nand_interface_config * nand_get_interface_config (struct nand_chip *chip ); ARGUMENTS chip The NAND chip SEE ALSO Kernel file ./include/linux/mtd/rawnand.h struct nand_parameters(9), struct n...
nand_get_manufacturer_desc(9)
NAME nand_get_manufacturer_desc - Get manufacturer information from the manufacturer ID SYNOPSIS const struct nand_manufacturer_desc * nand_get_manufacturer_desc (u8 id ); ARGUMENTS id manufacturer ID DESCRIPTION Returns a nand_manufacturer_desc object if the manufacturer is defined in the NAND manufacturer...