id
stringlengths
4
63
text
stringlengths
153
8.81M
coalesce_put_profile(9)
NAME coalesce_put_profile - fill reply with a nla nest with four child nla nests. SYNOPSIS int coalesce_put_profile (struct sk_buff *skb , u16 attr_type , const struct dim_cq_moder *profile , u8 coal_flags ); ARGUMENTS skb socket buffer the message is stored in attr_type nest attr type ETHTOOL_A_COA...
coda_h264_sps_fixup(9)
NAME coda_h264_sps_fixup - fixes frame cropping values in h.264 SPS SYNOPSIS int coda_h264_sps_fixup (struct coda_ctx *ctx , int width , int height , char *buf , int *size , int max_size ); ARGUMENTS ctx encoder context width visible width height visible height buf b...
codec_init(9)
NAME codec_init - Initialize a Reed-Solomon codec SYNOPSIS struct rs_codec * codec_init (int symsize , int gfpoly , int (*gffunc)(int) , int fcr , int prim , int nroots , gfp_t gfp ); ARGUMENTS symsize symbol size, bits (1-8) gfpoly Field generator polynomial coefficients gffunc Field ge...
codepage(1)
NAME codepage - extract a codepage from an MSDOS codepage file SYNOPSIS codepage [ -c | -l | -L | -a | nnn ] file.cpi DESCRIPTION The codepage command extracts codepages from an MSDOS codepage file. OPTIONS -c Input file is a single codepage -L Print header info (you don't want to see this). ...
col(1)
NAME col - filter reverse line feeds from input SYNOPSIS col options DESCRIPTION col filters out reverse (and half-reverse) line feeds so the output is in the correct order, with only forward and half-forward line feeds. It also replaces any whitespace characters with tabs where possible. This can be useful in proces...
colcrt(1)
NAME colcrt - filter nroff output for CRT previewing SYNOPSIS colcrt [options] [file ...] DESCRIPTION colcrt provides virtual half-line and reverse line feed sequences for terminals without such capability, and on which overstriking is destructive. Half-line characters and underlining (changed to dashing `-') are pla...
collapse_file(9)
NAME collapse_file - collapse filemap/tmpfs/shmem pages into huge one. SYNOPSIS enum scan_result collapse_file (struct mm_struct *mm , unsigned long addr , struct file *file , pgoff_t start , struct collapse_control *cc ); ARGUMENTS mm process address space where collapse happens addr virtual ...
collapse_pte_mapped_thp(9)
NAME collapse_pte_mapped_thp - Try to collapse a pte-mapped THP for mm at address haddr. SYNOPSIS void collapse_pte_mapped_thp (struct mm_struct *mm , unsigned long addr , bool install_pmd ); ARGUMENTS mm process address space where collapse happens addr THP collapse address install_pm...
collect_boot_cpu_data(9)
NAME collect_boot_cpu_data - Fill the boot_cpu_data structure. SYNOPSIS void collect_boot_cpu_data (void ); ARGUMENTS void no arguments DESCRIPTION This function collects and stores the generic processor information in the boot_cpu_data structure. SEE ALSO Kernel file ./arch/parisc/kernel/processor.c init_pe...
collect_domain_accesses(9)
NAME collect_domain_accesses - Walk through a file path and collect accesses SYNOPSIS bool collect_domain_accesses (const struct landlock_ruleset *const domain , const struct dentry *const mnt_root , struct dentry *dir , struct layer_access_masks *layer_masks_dom ); ARGUMENTS domain Domain to check against. ...
collect_registered_events(9)
NAME collect_registered_events - call the existing callback function for the event SYNOPSIS int collect_registered_events (struct tep_event *event , struct tep_record *record , int cpu , void *context ); ARGUMENTS event -- undescribed -- record -- undescribed -- cpu -- undescribed -...
colon(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 colon — null utility SYNOPSIS : [argument...] DESCRIPTIO...
color_blit(9)
NAME color_blit - solid color BLIT operation SYNOPSIS void color_blit (int width , int height , int pitch , int dest , int rop , int what , int blit_bpp , struct fb_info *info ); ARGUMENTS width width of destination height height of destination pitch pixels per line of the buffer ...
color_content.3x(3)
NAME start_color, has_colors, can_change_color, init_pair, init_color, init_extended_pair, init_extended_color, color_content, pair_content, extended_color_content, extended_pair_content, reset_color_pairs, COLOR_PAIR, PAIR_NUMBER, COLORS, COLOR_PAIRS, COLOR_BLACK, COLOR_RED, COLOR_GREEN, COLOR_YELLOW, COLOR_BLUE, CO...
color_content_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
color_set.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
colrm(1)
NAME colrm - remove columns from a file SYNOPSIS colrm [first [last]] DESCRIPTION colrm removes selected columns from a file. Input is taken from standard input. Output is sent to standard output. If called with one parameter the columns of each line will be removed starting with the specified first column. I...
column(1)
NAME column - columnate lists SYNOPSIS column [options] [file ...] DESCRIPTION The column utility formats its input into multiple columns. It supports three modes: fill columns before rows This is the default mode (required for backwards compatibility). fill rows before columns T...
com_err(3)
NAME com_err - common error display routine SYNOPSIS #include <et/com_err.h> void (*proc) (const char *, long, const char *, va_list); void com_err (const char *whoami, long code, const char *format, ...); proc = set_com_err_hook (proc); proc = reset_com_err_hook (); void initialize_XXX...
combine(1)
NAME combine - combine sets of lines from two files using boolean operations SYNOPSIS combine file1 and file2 combine file1 not file2 combine file1 or file2 combine file1 xor file2 _ file1 and file2 _ _ file1 not file2 _ _ file1 or file2 _ _ file1 xor file2 _ DE...
combine_lpi_states(9)
NAME combine_lpi_states - combine local and parent LPI states to form a composite LPI state SYNOPSIS bool combine_lpi_states (struct acpi_lpi_state *local , struct acpi_lpi_state *parent , struct acpi_lpi_state *result ); ARGUMENTS local local LPI state parent parent LPI state result c...
combine_summaries(9)
NAME combine_summaries - Treating the current entries buffer as the on-disk value of all zones, update every zone to the correct values for every slab. SYNOPSIS void combine_summaries (struct slab_depot *depot ); ARGUMENTS depot The depot whose summary entries should be combined. SEE ALSO Kernel file ./drive...
combiner_resume(9)
NAME combiner_resume - restore interrupt combiner state after resume SYNOPSIS void combiner_resume (void *data ); ARGUMENTS data syscore context DESCRIPTION Restore the interrupt enable set register for all combiner groups since the state is lost when the system enters into a sleep state on suspend. SEE ALSO...
combiner_suspend(9)
NAME combiner_suspend - save interrupt combiner state before suspend SYNOPSIS int combiner_suspend (void *data ); ARGUMENTS data syscore context DESCRIPTION Save the interrupt enable set register for all combiner groups since the state is lost when the system enters into a sleep state. SEE ALSO Kernel file ....
comedi_8254_cascade_ns_to_timer(9)
NAME comedi_8254_cascade_ns_to_timer - calculate the cascaded divisor values SYNOPSIS void comedi_8254_cascade_ns_to_timer (struct comedi_8254 *i8254 , unsigned int *nanosec , unsigned int flags ); ARGUMENTS i8254 comedi_8254 struct for the timer nanosec the desired ns time flags comed...
comedi_8254_io_alloc(9)
NAME comedi_8254_io_alloc - allocate and initialize the 8254 device for pio access SYNOPSIS struct comedi_8254 * comedi_8254_io_alloc (unsigned long iobase , unsigned int osc_base , unsigned int iosize , unsigned int regshift ); ARGUMENTS iobase port I/O base address osc_base base time of the counter ...
comedi_8254_iocb_fn(9)
NAME comedi_8254_iocb_fn - call-back function type for 8254 register access SYNOPSIS unsigned int comedi_8254_iocb_fn (struct comedi_8254 *i8254 , int dir , unsigned int reg , unsigned int val ); ARGUMENTS i8254 pointer to struct comedi_8254 dir direction (0 = read, 1 = write) reg ...
comedi_8254_load(9)
NAME comedi_8254_load - program the mode and initial count of a counter SYNOPSIS int comedi_8254_load (struct comedi_8254 *i8254 , unsigned int counter , unsigned int val , unsigned int mode ); ARGUMENTS i8254 comedi_8254 struct for the timer counter the counter number val the initia...
comedi_8254_mm_alloc(9)
NAME comedi_8254_mm_alloc - allocate and initialize the 8254 device for mmio access SYNOPSIS struct comedi_8254 * comedi_8254_mm_alloc (void __iomem *mmio , unsigned int osc_base , unsigned int iosize , unsigned int regshift ); ARGUMENTS mmio memory mapped I/O base address osc_base base time of the ...
comedi_8254_ns_to_timer(9)
NAME comedi_8254_ns_to_timer - calculate the divisor value for nanosec timing SYNOPSIS void comedi_8254_ns_to_timer (struct comedi_8254 *i8254 , unsigned int *nanosec , unsigned int flags ); ARGUMENTS i8254 comedi_8254 struct for the timer nanosec the desired ns time flags comedi_cmd f...
comedi_8254_pacer_enable(9)
NAME comedi_8254_pacer_enable - set the mode and load the cascaded counters SYNOPSIS void comedi_8254_pacer_enable (struct comedi_8254 *i8254 , unsigned int counter1 , unsigned int counter2 , bool enable ); ARGUMENTS i8254 comedi_8254 struct for the timer counter1 the counter number for the first div...
comedi_8254_read(9)
NAME comedi_8254_read - read the current counter value SYNOPSIS unsigned int comedi_8254_read (struct comedi_8254 *i8254 , unsigned int counter ); ARGUMENTS i8254 comedi_8254 struct for the timer counter the counter number SEE ALSO Kernel file ./drivers/comedi/drivers/comedi_8254.c comedi_8254_st...
comedi_8254_set_busy(9)
NAME comedi_8254_set_busy - set/clear the "busy" flag for a given counter SYNOPSIS void comedi_8254_set_busy (struct comedi_8254 *i8254 , unsigned int counter , bool busy ); ARGUMENTS i8254 comedi_8254 struct for the timer counter the counter number busy set/clear flag SEE ALSO Kerne...
comedi_8254_set_mode(9)
NAME comedi_8254_set_mode - set the mode of a counter SYNOPSIS int comedi_8254_set_mode (struct comedi_8254 *i8254 , unsigned int counter , unsigned int mode ); ARGUMENTS i8254 comedi_8254 struct for the timer counter the counter number mode the I8254_MODEx and I8254_BCD|I8254_BINARY ...
comedi_8254_status(9)
NAME comedi_8254_status - return the status of a counter SYNOPSIS unsigned int comedi_8254_status (struct comedi_8254 *i8254 , unsigned int counter ); ARGUMENTS i8254 comedi_8254 struct for the timer counter the counter number SEE ALSO Kernel file ./drivers/comedi/drivers/comedi_8254.c comedi_82...
comedi_8254_subdevice_init(9)
NAME comedi_8254_subdevice_init - initialize a comedi_subdevice for the 8254 timer SYNOPSIS void comedi_8254_subdevice_init (struct comedi_subdevice *s , struct comedi_8254 *i8254 ); ARGUMENTS s comedi_subdevice struct i8254 comedi_8254 struct SEE ALSO Kernel file ./drivers/comedi/drivers/c...
comedi_8254_update_divisors(9)
NAME comedi_8254_update_divisors - update the divisors for the cascaded counters SYNOPSIS void comedi_8254_update_divisors (struct comedi_8254 *i8254 ); ARGUMENTS i8254 comedi_8254 struct for the timer SEE ALSO Kernel file ./drivers/comedi/drivers/comedi_8254.c comedi_8254_status(9), comedi_8254_read(9...
comedi_8254_write(9)
NAME comedi_8254_write - load a 16-bit initial counter value SYNOPSIS void comedi_8254_write (struct comedi_8254 *i8254 , unsigned int counter , unsigned int val ); ARGUMENTS i8254 comedi_8254 struct for the timer counter the counter number val the initial value SEE ALSO Kernel fil...
comedi_alloc_devpriv(9)
NAME comedi_alloc_devpriv - Allocate memory for the device private data SYNOPSIS void * comedi_alloc_devpriv (struct comedi_device *dev , size_t size ); ARGUMENTS dev COMEDI device. size Size of the memory to allocate. DESCRIPTION The allocated memory is zero-filled. dev->private points to it...
comedi_alloc_spriv(9)
NAME comedi_alloc_spriv - Allocate memory for the subdevice private data SYNOPSIS void * comedi_alloc_spriv (struct comedi_subdevice *s , size_t size ); ARGUMENTS s COMEDI subdevice. size Size of the memory to allocate. DESCRIPTION Allocate memory for the subdevice private data and point s->...
comedi_alloc_subdev_readback(9)
NAME comedi_alloc_subdev_readback - Allocate memory for the subdevice readback SYNOPSIS int comedi_alloc_subdev_readback (struct comedi_subdevice *s ); ARGUMENTS s COMEDI subdevice. DESCRIPTION This is called by low-level COMEDI drivers to allocate an array to record the last values written to a subd...
comedi_alloc_subdevices(9)
NAME comedi_alloc_subdevices - Allocate subdevices for COMEDI device SYNOPSIS int comedi_alloc_subdevices (struct comedi_device *dev , int num_subdevices ); ARGUMENTS dev COMEDI device. num_subdevices Number of subdevices to allocate. DESCRIPTION Allocates and initializes an arr...
comedi_auto_config(9)
NAME comedi_auto_config - Create a COMEDI device for a hardware device SYNOPSIS int comedi_auto_config (struct device *hardware_device , struct comedi_driver *driver , unsigned long context ); ARGUMENTS hardware_device Hardware device. driver COMEDI low-level driver for the hardware device. conte...
comedi_auto_unconfig(9)
NAME comedi_auto_unconfig - Unconfigure auto-allocated COMEDI device SYNOPSIS void comedi_auto_unconfig (struct device *hardware_device ); ARGUMENTS hardware_device Hardware device previously passed to comedi_auto_config. DESCRIPTION Cleans up and eventually destroys the COMEDI device allocated by comedi_auto_confi...
comedi_buf_n_bytes_ready(9)
NAME comedi_buf_n_bytes_ready - Determine amount of unread data in buffer SYNOPSIS unsigned int comedi_buf_n_bytes_ready (struct comedi_subdevice *s ); ARGUMENTS s COMEDI subdevice. DESCRIPTION Determines the number of bytes of unread data in the asynchronous acquisition data buffer for a subdevice. The d...
comedi_buf_read_alloc(9)
NAME comedi_buf_read_alloc - Reserve buffer space for reading SYNOPSIS unsigned int comedi_buf_read_alloc (struct comedi_subdevice *s , unsigned int nbytes ); ARGUMENTS s COMEDI subdevice. nbytes Maximum space to reserve in bytes. DESCRIPTION Reserve up to nbytes bytes of previously writt...
comedi_buf_read_free(9)
NAME comedi_buf_read_free - Free buffer space after it has been read SYNOPSIS unsigned int comedi_buf_read_free (struct comedi_subdevice *s , unsigned int nbytes ); ARGUMENTS s COMEDI subdevice. nbytes Maximum space to free in bytes. DESCRIPTION Free up to nbytes bytes of buffer space pre...
comedi_buf_read_n_available(9)
NAME comedi_buf_read_n_available - Determine amount of readable buffer space SYNOPSIS unsigned int comedi_buf_read_n_available (struct comedi_subdevice *s ); ARGUMENTS s COMEDI subdevice. DESCRIPTION Determine the amount of readable buffer space in the COMEDI acquisition data buffer associated with the su...
comedi_buf_read_samples(9)
NAME comedi_buf_read_samples - Read sample data from COMEDI buffer SYNOPSIS unsigned int comedi_buf_read_samples (struct comedi_subdevice *s , void *data , unsigned int nsamples ); ARGUMENTS s COMEDI subdevice. data Pointer to destination. nsamples Maximum number of samples to read...
comedi_buf_write_alloc(9)
NAME comedi_buf_write_alloc - Reserve buffer space for writing SYNOPSIS unsigned int comedi_buf_write_alloc (struct comedi_subdevice *s , unsigned int nbytes ); ARGUMENTS s COMEDI subdevice. nbytes Maximum space to reserve in bytes. DESCRIPTION Reserve up to nbytes bytes of space to be written...
comedi_buf_write_free(9)
NAME comedi_buf_write_free - Free buffer space after it is written SYNOPSIS unsigned int comedi_buf_write_free (struct comedi_subdevice *s , unsigned int nbytes ); ARGUMENTS s COMEDI subdevice. nbytes Maximum space to free in bytes. DESCRIPTION Free up to nbytes bytes of space previously reser...
comedi_buf_write_samples(9)
NAME comedi_buf_write_samples - Write sample data to COMEDI buffer SYNOPSIS unsigned int comedi_buf_write_samples (struct comedi_subdevice *s , const void *data , unsigned int nsamples ); ARGUMENTS s COMEDI subdevice. data Pointer to source samples. nsamples Number of samples to wr...
comedi_bytes_per_sample(9)
NAME comedi_bytes_per_sample - Determine subdevice sample size SYNOPSIS unsigned int comedi_bytes_per_sample (struct comedi_subdevice *s ); ARGUMENTS s COMEDI subdevice. DESCRIPTION The sample size will be 4 (sizeof int) or 2 (sizeof short) depending on whether the SDF_LSAMPL subdevice flag is set or not. ...
comedi_bytes_per_scan(9)
NAME comedi_bytes_per_scan - Get length of asynchronous command "scan" in bytes SYNOPSIS unsigned int comedi_bytes_per_scan (struct comedi_subdevice *s ); ARGUMENTS s COMEDI subdevice. DESCRIPTION Determines the overall scan length according to the subdevice type and the number of channels in the scan fo...
comedi_bytes_per_scan_cmd(9)
NAME comedi_bytes_per_scan_cmd - Get length of asynchronous command "scan" in bytes SYNOPSIS unsigned int comedi_bytes_per_scan_cmd (struct comedi_subdevice *s , struct comedi_cmd *cmd ); ARGUMENTS s COMEDI subdevice. cmd COMEDI command. DESCRIPTION Determines the overall scan length accor...
comedi_bytes_to_samples(9)
NAME comedi_bytes_to_samples - Convert a number of bytes to a number of samples SYNOPSIS unsigned int comedi_bytes_to_samples (struct comedi_subdevice *s , unsigned int nbytes ); ARGUMENTS s COMEDI subdevice. nbytes Number of bytes RETURN The number of bytes divided by the subdevice sample siz...
comedi_chan_range_is_bipolar(9)
NAME comedi_chan_range_is_bipolar - Test if channel-specific range is bipolar SYNOPSIS bool comedi_chan_range_is_bipolar (struct comedi_subdevice *s , unsigned int chan , unsigned int range ); ARGUMENTS s COMEDI subdevice. chan The channel number. range Index of range within a r...
comedi_chan_range_is_external(9)
NAME comedi_chan_range_is_external - Test if channel-specific range is external SYNOPSIS bool comedi_chan_range_is_external (struct comedi_subdevice *s , unsigned int chan , unsigned int range ); ARGUMENTS s COMEDI subdevice. chan The channel number. range Index of range within ...
comedi_chan_range_is_unipolar(9)
NAME comedi_chan_range_is_unipolar - Test if channel-specific range is unipolar SYNOPSIS bool comedi_chan_range_is_unipolar (struct comedi_subdevice *s , unsigned int chan , unsigned int range ); ARGUMENTS s COMEDI subdevice. chan The channel number. range Index of range within ...
comedi_check_chanlist(9)
NAME comedi_check_chanlist - Validate each element in a chanlist. SYNOPSIS int comedi_check_chanlist (struct comedi_subdevice *s , int n , unsigned int *chanlist ); ARGUMENTS s comedi_subdevice struct n number of elements in the chanlist chanlist the chanlist to validate DESCRI...
comedi_check_trigger_arg_is(9)
NAME comedi_check_trigger_arg_is - Trivially validate a trigger argument SYNOPSIS int comedi_check_trigger_arg_is (unsigned int *arg , unsigned int val ); ARGUMENTS arg Pointer to the trigger arg to validate. val The value the argument should be. DESCRIPTION Forces *arg to be val. RETURN 0 i...
comedi_check_trigger_arg_max(9)
NAME comedi_check_trigger_arg_max - Trivially validate a trigger argument max SYNOPSIS int comedi_check_trigger_arg_max (unsigned int *arg , unsigned int val ); ARGUMENTS arg Pointer to the trigger arg to validate. val The maximum value the argument should be. DESCRIPTION Forces *arg to be no...
comedi_check_trigger_arg_min(9)
NAME comedi_check_trigger_arg_min - Trivially validate a trigger argument min SYNOPSIS int comedi_check_trigger_arg_min (unsigned int *arg , unsigned int val ); ARGUMENTS arg Pointer to the trigger arg to validate. val The minimum value the argument should be. DESCRIPTION Forces *arg to be at...
comedi_check_trigger_is_unique(9)
NAME comedi_check_trigger_is_unique - Make sure a trigger source is unique SYNOPSIS int comedi_check_trigger_is_unique (unsigned int src ); ARGUMENTS src The trigger source to check. RETURN 0 if no more than one trigger source is set. -EINVAL if more than one trigger source is set. SEE ALSO Kernel file ./...
comedi_check_trigger_src(9)
NAME comedi_check_trigger_src - Trivially validate a comedi_cmd trigger source SYNOPSIS int comedi_check_trigger_src (unsigned int *src , unsigned int flags ); ARGUMENTS src Pointer to the trigger source to validate. flags Bitmask of valid TRIG_* for the trigger. DESCRIPTION This is used in ...
comedi_close(9)
NAME comedi_close - Close a COMEDI device from the kernel SYNOPSIS int comedi_close (struct comedi_device *dev ); ARGUMENTS dev COMEDI device. DESCRIPTION Closes a COMEDI device previously opened by comedi_open. RETURN 0 SEE ALSO Kernel file ./include/linux/comedi/comedilib.h comedi_open(9) April 2026 ...
comedi_close_from(9)
NAME comedi_close_from - Close a COMEDI device from the kernel with loop checks SYNOPSIS int comedi_close_from (struct comedi_device *dev , int from ); ARGUMENTS dev COMEDI device. from Device number it was opened from (if in range). DESCRIPTION Closes a COMEDI device previously opened by come...
comedi_dev_get_from_minor(9)
NAME comedi_dev_get_from_minor - Get COMEDI device by minor device number SYNOPSIS struct comedi_device * comedi_dev_get_from_minor (unsigned int minor ); ARGUMENTS minor Minor device number. DESCRIPTION Finds the COMEDI device associated with the minor device number, if any, and increments its reference count...
comedi_dev_put(9)
NAME comedi_dev_put - Release a use of a COMEDI device SYNOPSIS int comedi_dev_put (struct comedi_device *dev ); ARGUMENTS dev COMEDI device. DESCRIPTION Must be called when a user of a COMEDI device is finished with it. When the last user of the COMEDI device calls this function, the COMEDI device is destr...
comedi_dio_insn_config(9)
NAME comedi_dio_insn_config - Boilerplate (*insn_config) for DIO subdevices SYNOPSIS int comedi_dio_insn_config (struct comedi_device *dev , struct comedi_subdevice *s , struct comedi_insn *insn , unsigned int *data , unsigned int mask ); ARGUMENTS dev COMEDI device. s COMEDI subdevice. ...
comedi_dio_update_state(9)
NAME comedi_dio_update_state - Update the internal state of DIO subdevices SYNOPSIS unsigned int comedi_dio_update_state (struct comedi_subdevice *s , unsigned int *data ); ARGUMENTS s COMEDI subdevice. data The channel mask and bits to update. DESCRIPTION Updates s->state which holds the...
comedi_driver_register(9)
NAME comedi_driver_register - Register a low-level COMEDI driver SYNOPSIS int comedi_driver_register (struct comedi_driver *driver ); ARGUMENTS driver Low-level COMEDI driver. DESCRIPTION The low-level COMEDI driver is added to the list of registered COMEDI drivers. This is used by the handler for the "/proc/...
comedi_driver_unregister(9)
NAME comedi_driver_unregister - Unregister a low-level COMEDI driver SYNOPSIS void comedi_driver_unregister (struct comedi_driver *driver ); ARGUMENTS driver Low-level COMEDI driver. DESCRIPTION The low-level COMEDI driver is removed from the list of registered COMEDI drivers. Detaches any COMEDI devices att...
comedi_event(9)
NAME comedi_event - Handle events for asynchronous COMEDI command SYNOPSIS void comedi_event (struct comedi_device *dev , struct comedi_subdevice *s ); ARGUMENTS dev COMEDI device. s COMEDI subdevice. CONTEXT in_interrupt (usually), s->spin_lock spin-lock not held. DESCRIPTION If an async...
comedi_get_is_subdevice_running(9)
NAME comedi_get_is_subdevice_running - Get if async command running on subdevice SYNOPSIS bool comedi_get_is_subdevice_running (struct comedi_subdevice *s ); ARGUMENTS s COMEDI subdevice. DESCRIPTION If an asynchronous COMEDI command is running on the subdevice, increment a reference counter. If the funct...
comedi_handle_events(9)
NAME comedi_handle_events - Handle events and possibly stop acquisition SYNOPSIS unsigned int comedi_handle_events (struct comedi_device *dev , struct comedi_subdevice *s ); ARGUMENTS dev COMEDI device. s COMEDI subdevice. DESCRIPTION Handles outstanding asynchronous acquisition event fla...
comedi_inc_scan_progress(9)
NAME comedi_inc_scan_progress - Update scan progress in asynchronous command SYNOPSIS void comedi_inc_scan_progress (struct comedi_subdevice *s , unsigned int num_bytes ); ARGUMENTS s COMEDI subdevice. num_bytes Amount of data in bytes to increment scan progress. DESCRIPTION Increments the scan ...
comedi_is_subdevice_running(9)
NAME comedi_is_subdevice_running - Check if async command running on subdevice SYNOPSIS bool comedi_is_subdevice_running (struct comedi_subdevice *s ); ARGUMENTS s COMEDI subdevice. RETURN true if an asynchronous COMEDI command is active on the subdevice, else false. SEE ALSO Kernel file ./drivers/comed...
comedi_isadma_alloc(9)
NAME comedi_isadma_alloc - allocate and initialize the ISA DMA SYNOPSIS struct comedi_isadma * comedi_isadma_alloc (struct comedi_device *dev , int n_desc , unsigned int dma_chan1 , unsigned int dma_chan2 , unsigned int maxsize , char dma_dir ); ARGUMENTS dev comedi_device struct n_desc the numbe...
comedi_isadma_disable(9)
NAME comedi_isadma_disable - disable the ISA DMA channel SYNOPSIS unsigned int comedi_isadma_disable (unsigned int dma_chan ); ARGUMENTS dma_chan the DMA channel to disable DESCRIPTION Returns the residue (remaining bytes) left in the DMA transfer. SEE ALSO Kernel file ./drivers/comedi/drivers/comedi_isadma.c co...
comedi_isadma_disable_on_sample(9)
NAME comedi_isadma_disable_on_sample - disable the ISA DMA channel SYNOPSIS unsigned int comedi_isadma_disable_on_sample (unsigned int dma_chan , unsigned int size ); ARGUMENTS dma_chan the DMA channel to disable size the sample size (in bytes) DESCRIPTION Returns the residue (remaining bytes) left...
comedi_isadma_free(9)
NAME comedi_isadma_free - free the ISA DMA SYNOPSIS void comedi_isadma_free (struct comedi_isadma *dma ); ARGUMENTS dma the ISA DMA to free SEE ALSO Kernel file ./drivers/comedi/drivers/comedi_isadma.c comedi_isadma_program(9), comedi_isadma_disable(9), comedi_isadma_disable_on_sample(9), comedi_isadma_poll(...
comedi_isadma_poll(9)
NAME comedi_isadma_poll - poll the current DMA transfer SYNOPSIS unsigned int comedi_isadma_poll (struct comedi_isadma *dma ); ARGUMENTS dma the ISA DMA to poll DESCRIPTION Returns the position (in bytes) of the current DMA transfer. SEE ALSO Kernel file ./drivers/comedi/drivers/comedi_isadma.c comedi_isadm...
comedi_isadma_program(9)
NAME comedi_isadma_program - program and enable an ISA DMA transfer SYNOPSIS void comedi_isadma_program (struct comedi_isadma_desc *desc ); ARGUMENTS desc the ISA DMA cookie to program and enable SEE ALSO Kernel file ./drivers/comedi/drivers/comedi_isadma.c comedi_isadma_disable(9), comedi_isadma_disable_on_s...
comedi_isadma_set_mode(9)
NAME comedi_isadma_set_mode - set the ISA DMA transfer direction SYNOPSIS void comedi_isadma_set_mode (struct comedi_isadma_desc *desc , char dma_dir ); ARGUMENTS desc the ISA DMA cookie to set dma_dir the DMA direction SEE ALSO Kernel file ./drivers/comedi/drivers/comedi_isadma.c comedi_isadma_pr...
comedi_legacy_detach(9)
NAME comedi_legacy_detach - A generic (*detach) function for legacy drivers SYNOPSIS void comedi_legacy_detach (struct comedi_device *dev ); ARGUMENTS dev COMEDI device. DESCRIPTION This is a simple, generic 'detach' handler for legacy COMEDI devices that just use a single I/O port region and possibly an I...
comedi_load_firmware(9)
NAME comedi_load_firmware - Request and load firmware for a device SYNOPSIS int comedi_load_firmware (struct comedi_device *dev , struct device *device , const char *name , int (*cb)(struct comedi_device *dev, const u8 *data, size_t size, unsigned long context) , unsigned long context ); ARGUMENTS dev COMEDI ...
comedi_nsamples_left(9)
NAME comedi_nsamples_left - Return the number of samples left in the command SYNOPSIS unsigned int comedi_nsamples_left (struct comedi_subdevice *s , unsigned int nsamples ); ARGUMENTS s COMEDI subdevice. nsamples The expected number of samples. DESCRIPTION Returns the number of samples remainin...
comedi_nscans_left(9)
NAME comedi_nscans_left - Return the number of scans left in the command SYNOPSIS unsigned int comedi_nscans_left (struct comedi_subdevice *s , unsigned int nscans ); ARGUMENTS s COMEDI subdevice. nscans The expected number of scans or 0 for all available scans. DESCRIPTION If nscans is 0, it ...
comedi_offset_munge(9)
NAME comedi_offset_munge - Convert between offset binary and 2's complement SYNOPSIS unsigned int comedi_offset_munge (struct comedi_subdevice *s , unsigned int val ); ARGUMENTS s COMEDI subdevice. val Value to be converted. DESCRIPTION Toggles the highest bit of a sample value to toggle be...
comedi_open(9)
NAME comedi_open - Open a COMEDI device from the kernel SYNOPSIS struct comedi_device * comedi_open (const char *path ); ARGUMENTS path -- undescribed -- DESCRIPTION Converts filename to a COMEDI device number and "opens" it if it exists and is attached to a low-level COMEDI driver. RETURN A pointer to the C...
comedi_open_from(9)
NAME comedi_open_from - Open a COMEDI device from the kernel with loop checks SYNOPSIS struct comedi_device * comedi_open_from (const char *filename , int from ); ARGUMENTS filename Fake pathname of the form "/dev/comediN". from Device number it is being opened from (if in range). DESCRIPTION Conve...
comedi_pci_auto_config(9)
NAME comedi_pci_auto_config - Configure/probe a PCI COMEDI device SYNOPSIS int comedi_pci_auto_config (struct pci_dev *pcidev , struct comedi_driver *driver , unsigned long context ); ARGUMENTS pcidev PCI device. driver Registered COMEDI driver. context Driver specific data, passed to co...
comedi_pci_auto_unconfig(9)
NAME comedi_pci_auto_unconfig - Unconfigure/remove a PCI COMEDI device SYNOPSIS void comedi_pci_auto_unconfig (struct pci_dev *pcidev ); ARGUMENTS pcidev PCI device. DESCRIPTION Typically called from the pci_driver (*remove) function. Auto-unconfigure a COMEDI device attached to this PCI device, using a point...
comedi_pci_detach(9)
NAME comedi_pci_detach - A generic "detach" handler for PCI COMEDI drivers SYNOPSIS void comedi_pci_detach (struct comedi_device *dev ); ARGUMENTS dev COMEDI device. DESCRIPTION COMEDI drivers for PCI devices that need no special clean-up of private data and have no ioremapped regions other than that point...
comedi_pci_disable(9)
NAME comedi_pci_disable - Release the regions and disable the PCI device SYNOPSIS void comedi_pci_disable (struct comedi_device *dev ); ARGUMENTS dev COMEDI device. DESCRIPTION Assuming dev->hw_dev is non-NULL, it is assumed to be pointing to a a struct device embedded in a struct pci_dev. If the earlier c...
comedi_pci_driver_register(9)
NAME comedi_pci_driver_register - Register a PCI COMEDI driver SYNOPSIS int comedi_pci_driver_register (struct comedi_driver *comedi_driver , struct pci_driver *pci_driver ); ARGUMENTS comedi_driver COMEDI driver to be registered. pci_driver PCI driver to be registered. DESCRIPTION This function is called f...
comedi_pci_driver_unregister(9)
NAME comedi_pci_driver_unregister - Unregister a PCI COMEDI driver SYNOPSIS void comedi_pci_driver_unregister (struct comedi_driver *comedi_driver , struct pci_driver *pci_driver ); ARGUMENTS comedi_driver COMEDI driver to be unregistered. pci_driver PCI driver to be unregistered. DESCRIPTION This function ...
comedi_pci_enable(9)
NAME comedi_pci_enable - Enable the PCI device and request the regions SYNOPSIS int comedi_pci_enable (struct comedi_device *dev ); ARGUMENTS dev COMEDI device. DESCRIPTION Assuming dev->hw_dev is non-NULL, it is assumed to be pointing to a a struct device embedded in a struct pci_dev. Enable the PCI devi...
comedi_pcmcia_auto_config(9)
NAME comedi_pcmcia_auto_config - Configure/probe a PCMCIA COMEDI device SYNOPSIS int comedi_pcmcia_auto_config (struct pcmcia_device *link , struct comedi_driver *driver ); ARGUMENTS link PCMCIA device. driver Registered COMEDI driver. DESCRIPTION Typically called from the pcmcia_driver (*pr...