id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
do_cros_ec_cmd_xfer_spi(9) | NAME do_cros_ec_cmd_xfer_spi - Transfer a message over SPI and receive the reply
SYNOPSIS int do_cros_ec_cmd_xfer_spi (struct cros_ec_device *ec_dev , struct cros_ec_command *ec_msg );
ARGUMENTS ec_dev ChromeOS EC device
ec_msg Message to transfer
SEE ALSO Kernel file ./drivers/platform/chrome/cros... |
do_cros_ec_pkt_xfer_spi(9) | NAME do_cros_ec_pkt_xfer_spi - Transfer a packet over SPI and receive the reply
SYNOPSIS int do_cros_ec_pkt_xfer_spi (struct cros_ec_device *ec_dev , struct cros_ec_command *ec_msg );
ARGUMENTS ec_dev ChromeOS EC device
ec_msg Message to transfer
SEE ALSO Kernel file ./drivers/platform/chrome/cros_... |
do_disable_cpu_turbo(9) | NAME do_disable_cpu_turbo - internal turbo disable function
SYNOPSIS void do_disable_cpu_turbo (void *data );
ARGUMENTS data unused
DESCRIPTION Internal function for actually updating MSRs. When we enable/disable turbo, we need to do it on each CPU; this function is the one called by on_each_cpu when needed.... |
do_div(9) | NAME do_div - returns 2 values: calculate remainder and update new dividend
SYNOPSIS do_div (n , base );
ARGUMENTS n uint64_t dividend (will be updated)
base uint32_t divisor
DESCRIPTION Summary: “uint32_t remainder = n % base;“ “n = n / base;“
RETURN (uint32_t)remainder
NOTE macro paramet... |
do_dsemulret(9) | NAME do_dsemulret - Return from a delay slot 'emulation' frame
SYNOPSIS bool do_dsemulret (struct pt_regs *xcp );
ARGUMENTS xcp User thread register context.
DESCRIPTION Call in response to the BRK_MEMU break instruction used to return to the kernel from branch delay slot 'emulation' frames following a call... |
do_each_subsys_mask(9) | NAME do_each_subsys_mask - filter for_each_subsys with a bitmask
SYNOPSIS do_each_subsys_mask (ss , ssid , ss_mask );
ARGUMENTS ss the iteration cursor
ssid the index of ss, CGROUP_SUBSYS_COUNT after reaching the end
ss_mask the bitmask
DESCRIPTION The block will only run for case... |
do_enable_cpu_turbo(9) | NAME do_enable_cpu_turbo - internal turbo enable function
SYNOPSIS void do_enable_cpu_turbo (void *data );
ARGUMENTS data unused
DESCRIPTION Internal function for actually updating MSRs. When we enable/disable turbo, we need to do it on each CPU; this function is the one called by on_each_cpu when needed.
S... |
do_error(9) | NAME do_error - Something unexpected has happened during a lock request
SYNOPSIS void do_error (struct gfs2_glock *gl , const int ret );
ARGUMENTS gl The glock
ret The status from the DLM
SEE ALSO Kernel file ./fs/gfs2/glock.c wake_up_glock(9), gfs2_glock_hold(9), gfs2_glock_put(9), ma... |
do_filldir_main(9) | NAME do_filldir_main - read out directory entries
SYNOPSIS int do_filldir_main (struct gfs2_inode *dip , struct dir_context *ctx , struct gfs2_dirent **darr , u32 entries , u32 sort_start , int *copied );
ARGUMENTS dip The GFS2 inode
ctx what to feed the entries to
darr an array... |
do_find_free_space(9) | NAME do_find_free_space - find a data LEB with free space.
SYNOPSIS const struct ubifs_lprops * do_find_free_space (struct ubifs_info *c , int min_space , int pick_free , int squeeze );
ARGUMENTS c the UBIFS file-system description object
min_space minimum amount of free space required
pic... |
do_flash_update(9) | NAME do_flash_update - Excute flash update (write image or CVPD)
SYNOPSIS int do_flash_update (struct genwqe_file *cfile , struct genwqe_bitstream *load );
ARGUMENTS cfile Descriptor of opened file
load details about image load
RETURN 0 if successful
SEE ALSO Kernel file ./drivers/misc/genw... |
do_fpu_inst(9) | NAME do_fpu_inst - Handle reserved instructions for FPU emulation
SYNOPSIS int do_fpu_inst (unsigned short inst , struct pt_regs *regs );
ARGUMENTS inst instruction code.
regs registers on stack.
SEE ALSO Kernel file ./arch/sh/math-emu/math.c fpu_init(9)
April 2026 ... |
do_freezer_trap(9) | NAME do_freezer_trap - handle the freezer jobctl trap
SYNOPSIS void do_freezer_trap (void );
ARGUMENTS void no arguments
DESCRIPTION Puts the task into frozen state, if only the task is not about to quit. In this case it drops JOBCTL_TRAP_FREEZE.
CONTEXT Must be called with current->sighand->siglock held, w... |
do_fw_call_hvc(9) | NAME do_fw_call_hvc - Call system-level platform management layer (HVC)
SYNOPSIS int do_fw_call_hvc (u32 *ret_payload , u32 num_args , ... );
ARGUMENTS ret_payload Returned value array
num_args Number of variable arguments should be <= 8
... variable arguments
DESCRIPTION Invoke platform m... |
do_fw_call_smc(9) | NAME do_fw_call_smc - Call system-level platform management layer (SMC)
SYNOPSIS int do_fw_call_smc (u32 *ret_payload , u32 num_args , ... );
ARGUMENTS ret_payload Returned value array
num_args Number of variable arguments should be <= 8
... variable arguments
DESCRIPTION Invoke platform m... |
do_get_kexec_buffer(9) | NAME do_get_kexec_buffer - Get address and size of device tree property
SYNOPSIS int do_get_kexec_buffer (const void *prop , int len , unsigned long *addr , size_t *size );
ARGUMENTS prop Device tree property
len Size of prop
addr Return address of the node
size Re... |
do_gfs2_set_flags(9) | NAME do_gfs2_set_flags - set flags on an inode
SYNOPSIS int do_gfs2_set_flags (struct inode *inode , u32 reqflags , u32 mask );
ARGUMENTS inode The inode
reqflags The flags to set
mask Indicates which flags are valid
SEE ALSO Kernel file ./fs/gfs2/file.c gfs2_llseek(9), gfs2_readd... |
do_gro(9) | NAME do_gro - perform Generic Receive Offload ingress packet processing
SYNOPSIS void do_gro (struct sge_eth_rxq *rxq , const struct pkt_gl *gl , const struct cpl_rx_pkt *pkt );
ARGUMENTS rxq ingress RX Ethernet Queue
gl gather list for ingress packet
pkt CPL header for last p... |
do_grow(9) | NAME do_grow - Touch and update inode size
SYNOPSIS int do_grow (struct inode *inode , u64 size );
ARGUMENTS inode The inode
size The new size
DESCRIPTION This function updates the timestamps on the inode and may also increase the size of the inode. This function must not be called with size a... |
do_inode_permission(9) | NAME do_inode_permission - UNIX permission checking
SYNOPSIS int do_inode_permission (struct mnt_idmap *idmap , struct inode *inode , int mask );
ARGUMENTS idmap idmap of the mount the inode was found from
inode inode to check permissions on
mask right to check for (MAY_READ, MAY_WR... |
do_int80_emulation(9) | NAME do_int80_emulation - 32-bit legacy syscall C entry from asm
SYNOPSIS __visible noinstr void do_int80_emulation (struct pt_regs *regs );
ARGUMENTS regs syscall arguments in struct pt_args on the stack.
DESCRIPTION This entry point can be used by 32-bit and 64-bit programs to perform 32-bit system calls... |
do_jobctl_trap(9) | NAME do_jobctl_trap - take care of ptrace jobctl traps
SYNOPSIS void do_jobctl_trap (void );
ARGUMENTS void no arguments
DESCRIPTION When PT_SEIZED, it's used for both group stop and explicit SEIZE/INTERRUPT traps. Both generate PTRACE_EVENT_STOP trap with accompanying siginfo. If stopped, lower eight bits ... |
do_kernel_power_off(9) | NAME do_kernel_power_off - Execute kernel power-off handler call chain
SYNOPSIS void do_kernel_power_off (void );
ARGUMENTS void no arguments
DESCRIPTION Expected to be called as last step of the power-off sequence. Powers off the system immediately if a power-off handler function has been registered. Otherw... |
do_kernel_restart(9) | NAME do_kernel_restart - Execute kernel restart handler call chain
SYNOPSIS void do_kernel_restart (char *cmd );
ARGUMENTS cmd pointer to buffer containing command to execute for restart or NULL
DESCRIPTION Calls functions registered with register_restart_handler. Expected to be called from machine_resta... |
do_kill_orphans(9) | NAME do_kill_orphans - remove orphan inodes from the index.
SYNOPSIS int do_kill_orphans (struct ubifs_info *c , struct ubifs_scan_leb *sleb , unsigned long long *last_cmt_no , int *outofdate , int *last_flagged );
ARGUMENTS c UBIFS file-system description object
sleb scanned LEB
last... |
do_lock_mount(9) | NAME do_lock_mount - acquire environment for mounting
SYNOPSIS void do_lock_mount (const struct path *path , struct pinned_mountpoint *res , bool beneath );
ARGUMENTS path target path
res context to set up
beneath whether the intention is to mount beneath path
DESCRIPTION To mount... |
do_lookup_nm(9) | NAME do_lookup_nm - look up a "hashed" node.
SYNOPSIS int do_lookup_nm (struct ubifs_info *c , const union ubifs_key *key , void *node , const struct fscrypt_name *nm );
ARGUMENTS c UBIFS file-system description object
key node key to lookup
node the node is returned here
... |
do_make_pnode_dirty(9) | NAME do_make_pnode_dirty - mark a pnode dirty.
SYNOPSIS void do_make_pnode_dirty (struct ubifs_info *c , struct ubifs_pnode *pnode );
ARGUMENTS c UBIFS file-system description object
pnode pnode to mark dirty
SEE ALSO Kernel file ./fs/ubifs/lpt_commit.c first_dirty_cnode(9), next_dirty_cnode(... |
do_mem_probe(9) | NAME do_mem_probe - validate a memory region for PCMCIA use
SYNOPSIS int do_mem_probe (struct pcmcia_socket *s , u_long base , u_long num , int (*validate)(struct pcmcia_socket *s, struct resource *res, unsigned int *value) , int (*fallback)(struct pcmcia_socket *s, struct resource *res, unsigned int *value) );
ARG... |
do_mmap(9) | NAME do_mmap - Perform a userland memory mapping into the current process address space of length @len with protection bits @prot, mmap flags @flags (from which VMA flags will be inferred), and any additional VMA flags to ap‐ ply @vm_flags. If this is a file-backed mapping then the file is specified in @file and page ... |
do_notify_parent_cldstop(9) | NAME do_notify_parent_cldstop - notify parent of stopped/continued state change
SYNOPSIS void do_notify_parent_cldstop (struct task_struct *tsk , bool for_ptracer , int why );
ARGUMENTS tsk task reporting the state change
for_ptracer the notification is for ptracer
why CLD_{CONTINUED|S... |
do_otp_lock(9) | NAME do_otp_lock - [DEFAULT] Lock OTP block area
SYNOPSIS int do_otp_lock (struct mtd_info *mtd , loff_t from , size_t len , size_t *retlen , u_char *buf );
ARGUMENTS mtd MTD device structure
from The offset to lock
len number of bytes to lock
retlen pointer to vari... |
do_otp_read(9) | NAME do_otp_read - [DEFAULT] Read OTP block area
SYNOPSIS int do_otp_read (struct mtd_info *mtd , loff_t from , size_t len , size_t *retlen , u_char *buf );
ARGUMENTS mtd MTD device structure
from The offset to read
len number of bytes to read
retlen pointer to vari... |
do_otp_write(9) | NAME do_otp_write - [DEFAULT] Write OTP block area
SYNOPSIS int do_otp_write (struct mtd_info *mtd , loff_t to , size_t len , size_t *retlen , u_char *buf );
ARGUMENTS mtd MTD device structure
to The offset to write
len number of bytes to write
retlen pointer to v... |
do_output_char(9) | NAME do_output_char - output one character
SYNOPSIS int do_output_char (u8 c , struct tty_struct *tty , int space );
ARGUMENTS c character (or partial unicode symbol)
tty terminal device
space space available in tty driver write buffer
DESCRIPTION This is a helper function... |
do_passive_init(9) | NAME do_passive_init - complete probing when partner device is detected.
SYNOPSIS int do_passive_init (struct ibmvnic_adapter *adapter );
ARGUMENTS adapter ibmvnic_adapter struct
DESCRIPTION If the ibmvnic device does not have a partner device to communicate with at boot and that partner device comes online... |
do_pata_set_dmamode(9) | NAME do_pata_set_dmamode - Initialize host controller PATA PIO timings
SYNOPSIS void do_pata_set_dmamode (struct ata_port *ap , struct ata_device *adev , int isich );
ARGUMENTS ap Port whose timings we are configuring
adev Drive in question
isich set if the chip is an ICH device
... |
do_pre_bridge_resource_split(9) | NAME do_pre_bridge_resource_split - find node of resources that are unused
SYNOPSIS struct pci_resource * do_pre_bridge_resource_split (struct pci_resource **head , struct pci_resource **orig_head , u32 alignment );
ARGUMENTS head new list head
orig_head original list head
alignment max nod... |
do_promote(9) | NAME do_promote - promote as many requests as possible on the current queue
SYNOPSIS void do_promote (struct gfs2_glock *gl );
ARGUMENTS gl The glock
SEE ALSO Kernel file ./fs/gfs2/glock.c wake_up_glock(9), gfs2_glock_hold(9), gfs2_glock_put(9), may_grant(9), do_error(9), find_first_holder(9), find... |
do_reset(9) | NAME do_reset - issue a reset command
SYNOPSIS void do_reset (struct Scsi_Host *instance );
ARGUMENTS instance adapter to reset
DESCRIPTION Issue a reset sequence to the NCR5380 and try and get the bus back into sane shape. This clears the reset interrupt flag because there may be no handler for it. When the ... |
do_set_multicast_list(9) | NAME do_set_multicast_list - set/clear multicast filter
SYNOPSIS void do_set_multicast_list (struct net_device *dev );
ARGUMENTS dev net device for which multicast filter is adjusted
DESCRIPTION Set or clear the multicast filter for this adaptor. May be called from a BH in 2.1.x. Must be called with lock hel... |
do_setattr(9) | NAME do_setattr - Smack process attribute setting
SYNOPSIS int do_setattr (unsigned int attr , void *value , size_t size );
ARGUMENTS attr the ID of the attribute
value the value to set
size the size of the value
DESCRIPTION Sets the Smack value of the task. Only setting self is p... |
do_settimeofday64(9) | NAME do_settimeofday64 - Sets the time of day.
SYNOPSIS int do_settimeofday64 (const struct timespec64 *ts );
ARGUMENTS ts pointer to the timespec64 variable containing the new time
DESCRIPTION Sets the time of day to the new time and update NTP and notify hrtimers
SEE ALSO Kernel file ./kernel/time/time... |
do_shash(9) | NAME do_shash - Do a synchronous hash operation in software
SYNOPSIS int do_shash (unsigned char *name , unsigned char *result , const u8 *data1 , unsigned int data1_len , const u8 *data2 , unsigned int data2_len , const u8 *key , unsigned int key_len );
ARGUMENTS name The name of the hash algorithm
re... |
do_shrink(9) | NAME do_shrink - make a file smaller
SYNOPSIS int do_shrink (struct inode *inode , u64 newsize );
ARGUMENTS inode the inode
newsize the size to make the file
DESCRIPTION Called with an exclusive lock on inode. The size must be equal to or smaller than the current inode size.
RETURN errno
SEE ALSO... |
do_siga_output(9) | NAME do_siga_output - perform SIGA-w/wt function
SYNOPSIS int do_siga_output (unsigned long schid , unsigned long mask , unsigned int *bb , unsigned long fc , dma64_t aob );
ARGUMENTS schid subchannel id or in case of QEBSM the subchannel token
mask which output queues to process
bb ... |
do_signal_stop(9) | NAME do_signal_stop - handle group stop for SIGSTOP and other stop signals
SYNOPSIS bool do_signal_stop (int signr );
ARGUMENTS signr signr causing group stop if initiating
DESCRIPTION If JOBCTL_STOP_PENDING is not set yet, initiate group stop with signr and participate in it. If already set, participate in... |
do_sigtimedwait(9) | NAME do_sigtimedwait - wait for queued signals specified in @which
SYNOPSIS int do_sigtimedwait (const sigset_t *which , kernel_siginfo_t *info , const struct timespec64 *ts );
ARGUMENTS which queued signals to wait for
info if non-null, the signal's siginfo is returned here
ts u... |
do_smart_update(9) | NAME do_smart_update - optimized update_queue
SYNOPSIS void do_smart_update (struct sem_array *sma , struct sembuf *sops , int nsops , int otime , struct wake_q_head *wake_q );
ARGUMENTS sma semaphore array
sops operations that were performed
nsops number of operations
oti... |
do_smart_wakeup_zero(9) | NAME do_smart_wakeup_zero - wakeup all wait for zero tasks
SYNOPSIS int do_smart_wakeup_zero (struct sem_array *sma , struct sembuf *sops , int nsops , struct wake_q_head *wake_q );
ARGUMENTS sma semaphore array
sops operations that were performed
nsops number of operations
... |
do_splice_direct(9) | NAME do_splice_direct - splices data directly between two files
SYNOPSIS ssize_t do_splice_direct (struct file *in , loff_t *ppos , struct file *out , loff_t *opos , size_t len , unsigned int flags );
ARGUMENTS in file to splice from
ppos input file offset
out file to splice to... |
do_sync_erase(9) | NAME do_sync_erase - run the erase worker synchronously.
SYNOPSIS int do_sync_erase (struct ubi_device *ubi , struct ubi_wl_entry *e , int vol_id , int lnum , int torture );
ARGUMENTS ubi UBI device description object
e the WL entry of the physical eraseblock to erase
vol_id the... |
do_syscall_trace_enter(9) | NAME do_syscall_trace_enter - Do syscall tracing on kernel entry.
SYNOPSIS long do_syscall_trace_enter (struct pt_regs *regs );
ARGUMENTS regs the pt_regs of the task to trace (current)
DESCRIPTION Performs various types of tracing on syscall entry. This includes seccomp, ptrace, syscall tracepoints and audit... |
do_sysinfo(9) | NAME do_sysinfo - fill in sysinfo struct
SYNOPSIS int do_sysinfo (struct sysinfo *info );
ARGUMENTS info pointer to buffer to fill
SEE ALSO Kernel file ./kernel/sys.c sys_getpid(9)
April 2026 do_sysinfo ... |
do_truncation(9) | NAME do_truncation - truncate an inode.
SYNOPSIS int do_truncation (struct ubifs_info *c , struct inode *inode , const struct iattr *attr );
ARGUMENTS c UBIFS file-system description object
inode inode to truncate
attr inode attribute changes description
DESCRIPTION This functi... |
do_unregister_con_driver(9) | NAME do_unregister_con_driver - unregister console driver from console layer
SYNOPSIS int do_unregister_con_driver (const struct consw *csw );
ARGUMENTS csw console driver
DESCRIPTION All drivers that registers to the console layer must call this function upon exit, or if the console driver is in a state w... |
do_validate_mem(9) | NAME do_validate_mem - low level validate a memory region for PCMCIA use
SYNOPSIS int do_validate_mem (struct pcmcia_socket *s , unsigned long base , unsigned long size , int (*validate)(struct pcmcia_socket *s, struct resource *res, unsigned int *value) );
ARGUMENTS s PCMCIA socket to validate
base... |
do_work(9) | NAME do_work - do one pending work.
SYNOPSIS int do_work (struct ubi_device *ubi , int *executed );
ARGUMENTS ubi UBI device description object
executed whether there is one work is executed
DESCRIPTION This function returns zero in case of success and a negative error code in case of failure. If ... |
do_write_orph_node(9) | NAME do_write_orph_node - write a node to the orphan head.
SYNOPSIS int do_write_orph_node (struct ubifs_info *c , int len , int atomic );
ARGUMENTS c UBIFS file-system description object
len length of node
atomic write atomically
DESCRIPTION This function writes a node to the ... |
do_xfer(9) | NAME do_xfer - Do one transfer
SYNOPSIS int do_xfer (const struct scmi_protocol_handle *ph , struct scmi_xfer *xfer );
ARGUMENTS ph Pointer to SCMI protocol handle
xfer Transfer to initiate and wait for response
RETURN -ETIMEDOUT in case of no response, if transmit error, return corresponding... |
do_xfer_with_response(9) | NAME do_xfer_with_response - Do one transfer and wait until the delayed response is received
SYNOPSIS int do_xfer_with_response (const struct scmi_protocol_handle *ph , struct scmi_xfer *xfer );
ARGUMENTS ph Pointer to SCMI protocol handle
xfer Transfer to initiate and wait for response
DESCR... |
do_xmote(9) | NAME do_xmote - Calls the DLM to change the state of a lock
SYNOPSIS void do_xmote (struct gfs2_glock *gl , struct gfs2_holder *gh , unsigned int target , bool may_cancel );
ARGUMENTS gl The lock state
gh The holder (only for promotes)
target The target lock state
may_ca... |
doc_backup_oob(9) | NAME doc_backup_oob - Backup OOB into docg3 structure
SYNOPSIS int doc_backup_oob (struct docg3 *docg3 , loff_t to , struct mtd_oob_ops *ops );
ARGUMENTS docg3 the device
to the page offset in the chip
ops the OOB size and buffer
DESCRIPTION As the docg3 should write a page w... |
doc_block_isbad(9) | NAME doc_block_isbad - Checks whether a block is good or not
SYNOPSIS int doc_block_isbad (struct mtd_info *mtd , loff_t from );
ARGUMENTS mtd the device
from the offset to find the correct block
DESCRIPTION Returns 1 if block is bad, 0 if block is good
SEE ALSO Kernel file ./drivers/mtd/dev... |
doc_delay(9) | NAME doc_delay - delay docg3 operations
SYNOPSIS void doc_delay (struct docg3 *docg3 , int nbNOPs );
ARGUMENTS docg3 the device
nbNOPs the number of NOPs to issue
DESCRIPTION As no specification is available, the right timings between chip commands are unknown. The only available piece of informa... |
doc_ecc_bch_fix_data(9) | NAME doc_ecc_bch_fix_data - Fix if need be read data from flash
SYNOPSIS int doc_ecc_bch_fix_data (struct docg3 *docg3 , void *buf , u8 *hwecc );
ARGUMENTS docg3 the device
buf the buffer of read data (512 + 7 + 1 bytes)
hwecc the hardware calculated ECC. It's in fact recv_ecc ^ c... |
doc_ecc_disable(9) | NAME doc_ecc_disable - Disable Hamming and BCH ECC hardware calculator
SYNOPSIS void doc_ecc_disable (struct docg3 *docg3 );
ARGUMENTS docg3 the device
DESCRIPTION Disables the hardware ECC generator and checker, for unchecked reads (as when reading OOB only or write status byte).
SEE ALSO Kernel file ./driv... |
doc_erase(9) | NAME doc_erase - Erase a portion of the chip
SYNOPSIS int doc_erase (struct mtd_info *mtd , struct erase_info *info );
ARGUMENTS mtd the device
info the erase info
DESCRIPTION Erase a bunch of contiguous blocks, by pairs, as a "mtd" page of 1024 is split into 2 pages of 512 bytes on 2 contiguo... |
doc_erase_block(9) | NAME doc_erase_block - Erase a couple of blocks
SYNOPSIS int doc_erase_block (struct docg3 *docg3 , int block0 , int block1 );
ARGUMENTS docg3 the device
block0 the first block to erase (leftmost plane)
block1 the second block to erase (rightmost plane)
DESCRIPTION Erase both blocks, ... |
doc_fill_autooob(9) | NAME doc_fill_autooob - Fill a 16 bytes OOB from 8 non-ECC bytes
SYNOPSIS void doc_fill_autooob (u8 *dst , u8 *oobsrc );
ARGUMENTS dst the target 16 bytes OOB buffer
oobsrc the source 8 bytes non-ECC OOB buffer
SEE ALSO Kernel file ./drivers/mtd/devices/docg3.c doc_delay(9), doc_read_data_area(... |
doc_get_bch_hw_ecc(9) | NAME doc_get_bch_hw_ecc - Get hardware calculated BCH ECC
SYNOPSIS void doc_get_bch_hw_ecc (struct docg3 *docg3 , u8 *hwecc );
ARGUMENTS docg3 the device
hwecc the array of 7 integers where the hardware ecc will be stored
SEE ALSO Kernel file ./drivers/mtd/devices/docg3.c doc_delay(9), doc_read_... |
doc_get_erase_count(9) | NAME doc_get_erase_count - Get block erase count
SYNOPSIS int doc_get_erase_count (struct docg3 *docg3 , loff_t from );
ARGUMENTS docg3 the device
from the offset in which the block is.
DESCRIPTION Get the number of times a block was erased. The number is the maximum of erase times between first... |
doc_get_op_status(9) | NAME doc_get_op_status - get erase/write operation status
SYNOPSIS int doc_get_op_status (struct docg3 *docg3 );
ARGUMENTS docg3 the device
DESCRIPTION Queries the status from the chip, and returns it Returns the status (bits DOC_PLANES_STATUS_*)
SEE ALSO Kernel file ./drivers/mtd/devices/docg3.c doc_delay(9... |
doc_guess_autoecc(9) | NAME doc_guess_autoecc - Guess autoecc mode from mbd_oob_ops
SYNOPSIS int doc_guess_autoecc (struct mtd_oob_ops *ops );
ARGUMENTS ops the oob operations
DESCRIPTION Returns 0 or 1 if success, -EINVAL if invalid oob mode
SEE ALSO Kernel file ./drivers/mtd/devices/docg3.c doc_delay(9), doc_read_data_area(9),... |
doc_hamming_ecc_init(9) | NAME doc_hamming_ecc_init - Initialize hardware Hamming ECC engine
SYNOPSIS void doc_hamming_ecc_init (struct docg3 *docg3 , int nb_bytes );
ARGUMENTS docg3 the device
nb_bytes the number of bytes covered by the ECC (Hamming covered)
DESCRIPTION This function programs the ECC hardware to compute the... |
doc_page_finish(9) | NAME doc_page_finish - Ends reading/writing of a flash page
SYNOPSIS void doc_page_finish (struct docg3 *docg3 );
ARGUMENTS docg3 the device
SEE ALSO Kernel file ./drivers/mtd/devices/docg3.c doc_delay(9), doc_read_data_area(9), doc_write_data_area(9), doc_set_reliable_mode(9), doc_set_asic_mode(9), doc_set_d... |
doc_probe_device(9) | NAME doc_probe_device - Check if a device is available
SYNOPSIS struct mtd_info * doc_probe_device (struct docg3_cascade *cascade , int floor , struct device *dev );
ARGUMENTS cascade the cascade of chips this devices will belong to
floor the floor of the probed device
dev the device... |
doc_read_data_area(9) | NAME doc_read_data_area - Read data from data area
SYNOPSIS void doc_read_data_area (struct docg3 *docg3 , void *buf , int len , int first );
ARGUMENTS docg3 the device
buf the buffer to fill in (might be NULL is dummy reads)
len the length to read
first first time ... |
doc_read_oob(9) | NAME doc_read_oob - Read out of band bytes from flash
SYNOPSIS int doc_read_oob (struct mtd_info *mtd , loff_t from , struct mtd_oob_ops *ops );
ARGUMENTS mtd the device
from the offset from first block and first page, in bytes, aligned on page size
ops the mtd oob structure
DE... |
doc_read_page_ecc_init(9) | NAME doc_read_page_ecc_init - Initialize hardware ECC engine
SYNOPSIS int doc_read_page_ecc_init (struct docg3 *docg3 , int len );
ARGUMENTS docg3 the device
len the number of bytes covered by the ECC (BCH covered)
DESCRIPTION The function does initialize the hardware ECC engine to compute the ... |
doc_read_page_finish(9) | NAME doc_read_page_finish - Ends reading of a flash page
SYNOPSIS void doc_read_page_finish (struct docg3 *docg3 );
ARGUMENTS docg3 the device
DESCRIPTION As a side effect, resets the chip selector to 0. This ensures that after each read operation, the floor 0 is selected. Therefore, if the systems halts, the ... |
doc_read_page_getbytes(9) | NAME doc_read_page_getbytes - Reads bytes from a prepared page
SYNOPSIS int doc_read_page_getbytes (struct docg3 *docg3 , int len , u_char *buf , int first , int last_odd );
ARGUMENTS docg3 the device
len the number of bytes to be read (must be a multiple of 4)
buf the buffer to ... |
doc_read_page_prepare(9) | NAME doc_read_page_prepare - Prepares reading data from a flash page
SYNOPSIS int doc_read_page_prepare (struct docg3 *docg3 , int block0 , int block1 , int page , int offset );
ARGUMENTS docg3 the device
block0 the first plane block index on flash memory
block1 the second plane block ... |
doc_read_seek(9) | NAME doc_read_seek - Set both flash planes to the specified block, page for reading
SYNOPSIS int doc_read_seek (struct docg3 *docg3 , int block0 , int block1 , int page , int wear , int ofs );
ARGUMENTS docg3 the device
block0 the first plane block index
block1 the second plane block i... |
doc_release_device(9) | NAME doc_release_device - Release a docg3 floor
SYNOPSIS void doc_release_device (struct mtd_info *mtd );
ARGUMENTS mtd the device
SEE ALSO Kernel file ./drivers/mtd/devices/docg3.c doc_delay(9), doc_read_data_area(9), doc_write_data_area(9), doc_set_reliable_mode(9), doc_set_asic_mode(9), doc_set_device_id... |
doc_set_asic_mode(9) | NAME doc_set_asic_mode - Set the ASIC mode
SYNOPSIS void doc_set_asic_mode (struct docg3 *docg3 , u8 mode );
ARGUMENTS docg3 the device
mode the mode
DESCRIPTION The ASIC can work in 3 modes : - RESET: all registers are zeroed - NORMAL: receives and handles commands - POWERDOWN: minimal poweruse... |
doc_set_device_id(9) | NAME doc_set_device_id - Sets the devices id for cascaded G3 chips
SYNOPSIS void doc_set_device_id (struct docg3 *docg3 , int id );
ARGUMENTS docg3 the device
id the chip to select (amongst 0, 1, 2, 3)
DESCRIPTION There can be 4 cascaded G3 chips. This function selects the one which will shoul... |
doc_set_driver_info(9) | NAME doc_set_driver_info - Fill the mtd_info structure and docg3 structure
SYNOPSIS int doc_set_driver_info (int chip_id , struct mtd_info *mtd );
ARGUMENTS chip_id The chip ID of the supported chip
mtd The structure to fill
SEE ALSO Kernel file ./drivers/mtd/devices/docg3.c doc_delay(9), doc_re... |
doc_set_extra_page_mode(9) | NAME doc_set_extra_page_mode - Change flash page layout
SYNOPSIS int doc_set_extra_page_mode (struct docg3 *docg3 );
ARGUMENTS docg3 the device
DESCRIPTION Normally, the flash page is split into the data (512 bytes) and the out of band data (16 bytes). For each, 4 more bytes can be accessed, where the wear lev... |
doc_set_reliable_mode(9) | NAME doc_set_reliable_mode - Sets the flash to normal or reliable data mode
SYNOPSIS void doc_set_reliable_mode (struct docg3 *docg3 );
ARGUMENTS docg3 the device
DESCRIPTION The reliable data mode is a bit slower than the fast mode, but less errors occur. Entering the reliable mode cannot be done without ent... |
doc_setup_addr_sector(9) | NAME doc_setup_addr_sector - Setup blocks/page/ofs address for one plane
SYNOPSIS void doc_setup_addr_sector (struct docg3 *docg3 , int sector );
ARGUMENTS docg3 the device
sector the sector
SEE ALSO Kernel file ./drivers/mtd/devices/docg3.c doc_delay(9), doc_read_data_area(9), doc_wr... |
doc_setup_writeaddr_sector(9) | NAME doc_setup_writeaddr_sector - Setup blocks/page/ofs address for one plane
SYNOPSIS void doc_setup_writeaddr_sector (struct docg3 *docg3 , int sector , int ofs );
ARGUMENTS docg3 the device
sector the sector
ofs the offset in the page, between 0 and (512 + 16 + 512)
SEE ALSO Ker... |
doc_write_data_area(9) | NAME doc_write_data_area - Write data into data area
SYNOPSIS void doc_write_data_area (struct docg3 *docg3 , const void *buf , int len );
ARGUMENTS docg3 the device
buf the buffer to get input bytes from
len the length to write
DESCRIPTION Writes bytes into flash data. Handles ... |
doc_write_erase_wait_status(9) | NAME doc_write_erase_wait_status - wait for write or erase completion
SYNOPSIS int doc_write_erase_wait_status (struct docg3 *docg3 );
ARGUMENTS docg3 the device
DESCRIPTION Wait for the chip to be ready again after erase or write operation, and check erase/write status. Returns 0 if erase successful, -EIO if... |
doc_write_oob(9) | NAME doc_write_oob - Write out of band bytes to flash
SYNOPSIS int doc_write_oob (struct mtd_info *mtd , loff_t ofs , struct mtd_oob_ops *ops );
ARGUMENTS mtd the device
ofs the offset from first block and first page, in bytes, aligned on page size
ops the mtd oob structure
DE... |
doc_write_page(9) | NAME doc_write_page - Write a single page to the chip
SYNOPSIS int doc_write_page (struct docg3 *docg3 , loff_t to , const u_char *buf , const u_char *oob , int autoecc );
ARGUMENTS docg3 the device
to the offset from first block and first page, in bytes, aligned on page size
buf ... |
doc_write_page_ecc_init(9) | NAME doc_write_page_ecc_init - Initialize hardware BCH ECC engine
SYNOPSIS int doc_write_page_ecc_init (struct docg3 *docg3 , int len );
ARGUMENTS docg3 the device
len the number of bytes covered by the ECC (BCH covered)
DESCRIPTION The function does initialize the hardware ECC engine to comput... |
doc_write_page_putbytes(9) | NAME doc_write_page_putbytes - Writes bytes into a prepared page
SYNOPSIS void doc_write_page_putbytes (struct docg3 *docg3 , int len , const u_char *buf );
ARGUMENTS docg3 the device
len the number of bytes to be written
buf the buffer of input bytes
SEE ALSO Kernel file ./dri... |
doc_write_seek(9) | NAME doc_write_seek - Set both flash planes to the specified block, page for writing
SYNOPSIS int doc_write_seek (struct docg3 *docg3 , int block0 , int block1 , int page , int ofs );
ARGUMENTS docg3 the device
block0 the first plane block index
block1 the second plane block index
... |
docg3_probe(9) | NAME docg3_probe - Probe the IO space for a DiskOnChip G3 chip
SYNOPSIS int docg3_probe (struct platform_device *pdev );
ARGUMENTS pdev platform device
DESCRIPTION Probes for a G3 chip at the specified IO space in the platform data ressources. The floor 0 must be available. Returns 0 on success, -ENOMEM, -EN... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.