id
stringlengths
4
63
text
stringlengths
153
8.81M
papr_phy_attest_create_handle(9)
NAME papr_phy_attest_create_handle - Create a fd-based handle for reading the response for the given attestation command. SYNOPSIS long papr_phy_attest_create_handle (struct papr_phy_attest_io_block __user *ulc ); ARGUMENTS ulc Attestation command in user memory; defines the scope of data for the attestation ...
papr_platform_dump_create_handle(9)
NAME papr_platform_dump_create_handle - Create a fd-based handle for reading platform dump SYNOPSIS long papr_platform_dump_create_handle (u64 dump_tag ); ARGUMENTS dump_tag Dump ID for the dump requested to retrieve from the hypervisor DESCRIPTION Handler for PAPR_PLATFORM_DUMP_IOC_CREATE_HANDLE ioctl comman...
papr_rtas_blob_extend(9)
NAME papr_rtas_blob_extend - Append data to a &struct papr_rtas_blob. SYNOPSIS int papr_rtas_blob_extend (struct papr_rtas_blob *blob , const char *data , size_t len ); ARGUMENTS blob The blob to extend. data The new data to append to blob. len The length of data. CONTEXT May sl...
papr_rtas_blob_generate(9)
NAME papr_rtas_blob_generate - Construct a new &struct papr_rtas_blob. SYNOPSIS const struct papr_rtas_blob * papr_rtas_blob_generate (struct papr_rtas_sequence *seq ); ARGUMENTS seq work function of the caller that is called to obtain data with the caller RTAS call. DESCRIPTION The work callback is invoked ...
papr_rtas_retrieve(9)
NAME papr_rtas_retrieve - Return the data blob that is exposed to user space. SYNOPSIS const struct papr_rtas_blob * papr_rtas_retrieve (struct papr_rtas_sequence *seq ); ARGUMENTS seq RTAS call specific functions to be invoked until the sequence is completed. DESCRIPTION Run sequences against param until a ...
papr_rtas_run_sequence(9)
NAME papr_rtas_run_sequence - Run a single retrieval sequence. SYNOPSIS const struct papr_rtas_blob * papr_rtas_run_sequence (struct papr_rtas_sequence *seq ); ARGUMENTS seq Functions of the caller to complete the sequence CONTEXT May sleep. Holds a mutex and an RTAS work area for its duration. Typically per...
papr_rtas_setup_file_interface(9)
NAME papr_rtas_setup_file_interface - Complete the sequence and obtain the data and export to user space with fd-based handles. Then the user spave gets the data with read() handle. SYNOPSIS long papr_rtas_setup_file_interface (struct papr_rtas_sequence *seq , const struct file_operations *fops , char *name ); ARGUME...
papr_sysparm_get(9)
NAME papr_sysparm_get - Retrieve the value of a PAPR system parameter. SYNOPSIS int papr_sysparm_get (papr_sysparm_t param , struct papr_sysparm_buf *buf ); ARGUMENTS param PAPR system parameter token as described in 7.3.16 "System Parameters Option". buf A struct papr_sysparm_buf as returned fr...
papr_vpd_create_handle(9)
NAME papr_vpd_create_handle - Create a fd-based handle for reading VPD. SYNOPSIS long papr_vpd_create_handle (struct papr_location_code __user *ulc ); ARGUMENTS ulc Location code in user memory; defines the scope of the VPD to retrieve. DESCRIPTION Handler for PAPR_VPD_IOC_CREATE_HANDLE ioctl command. V...
parallel(1)
NAME parallel - run programs in parallel SYNOPSIS parallel [options] [command]-- [argument ...] parallel [options]-- [command ...] DESCRIPTION parallel runs the specified command, passing it a single one of the specified arguments. This is repeated for each argument. Jobs may be run in parallel. The d...
param_get_dyndbg_classes(9)
NAME param_get_dyndbg_classes - classes reader SYNOPSIS int param_get_dyndbg_classes (char *buffer , const struct kernel_param *kp ); ARGUMENTS buffer string description of controlled bits -> classes kp kp->arg has state: bits, map DESCRIPTION Reads last written state, underlying prdbg state ma...
param_get_vmidfilter(9)
NAME param_get_vmidfilter - Get z/VM user ID filter SYNOPSIS int param_get_vmidfilter (char *buffer , const struct kernel_param *kp ); ARGUMENTS buffer Buffer to store z/VM user ID filter, (buffer size assumption PAGE_SIZE) kp Kernel parameter pointing to the hvc_iucv_filter array DESCRIPTION T...
param_set_dyndbg_classes(9)
NAME param_set_dyndbg_classes - class FOO >control SYNOPSIS int param_set_dyndbg_classes (const char *instr , const struct kernel_param *kp ); ARGUMENTS instr string echo>d to sysfs, input depends on map_type kp kp->arg has state: bits/lvl, map, map_type DESCRIPTION Enable/disable prdbgs by th...
param_set_vmidfilter(9)
NAME param_set_vmidfilter - Set z/VM user ID filter parameter SYNOPSIS int param_set_vmidfilter (const char *val , const struct kernel_param *kp ); ARGUMENTS val String consisting of a comma-separated list of z/VM user IDs kp Kernel parameter pointing to hvc_iucv_filter array DESCRIPTION The...
parameq(9)
NAME parameq - checks if two parameter names match SYNOPSIS bool parameq (const char *name1 , const char *name2 ); ARGUMENTS name1 parameter name 1 name2 parameter name 2 RETURN true if the two parameter names are equal. Dashes (-) are considered equal to underscores (_). SEE ALSO Kernel file ...
parameqn(9)
NAME parameqn - checks if two parameter names match SYNOPSIS bool parameqn (const char *name1 , const char *name2 , size_t n ); ARGUMENTS name1 parameter name 1 name2 parameter name 2 n the length to compare DESCRIPTION Similar to parameq, except it compares n characters. RETUR...
params_access(9)
NAME params_access - get the access type from the hw params SYNOPSIS snd_pcm_access_t params_access (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params SEE ALSO Kernel file ./include/sound/pcm_params.h params_format(9), params_subformat(9), params_period_bytes(9), params_width(9) April 2026 ...
params_buffer_bytes(9)
NAME params_buffer_bytes - Get the buffer size (in bytes) from the hw params SYNOPSIS unsigned int params_buffer_bytes (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params RETURN the buffer size in bytes SEE ALSO Kernel file ./include/sound/pcm.h snd_pcm_stream_linked(9), snd_pcm_stream_lock_irqsav...
params_buffer_size(9)
NAME params_buffer_size - Get the buffer size (in frames) from the hw params SYNOPSIS unsigned int params_buffer_size (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params RETURN the buffer size in frames SEE ALSO Kernel file ./include/sound/pcm.h snd_pcm_stream_linked(9), snd_pcm_stream_lock_irqsav...
params_channels(9)
NAME params_channels - Get the number of channels from the hw params SYNOPSIS unsigned int params_channels (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params RETURN the number of channels SEE ALSO Kernel file ./include/sound/pcm.h snd_pcm_stream_linked(9), snd_pcm_stream_lock_irqsave(9), snd_pcm_...
params_format(9)
NAME params_format - get the sample format from the hw params SYNOPSIS snd_pcm_format_t params_format (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params SEE ALSO Kernel file ./include/sound/pcm_params.h params_access(9), params_subformat(9), params_period_bytes(9), params_width(9) April 2026 ...
params_period_bytes(9)
NAME params_period_bytes - get the period size (in bytes) from the hw params SYNOPSIS unsigned int params_period_bytes (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params SEE ALSO Kernel file ./include/sound/pcm_params.h params_access(9), params_format(9), params_subformat(9), params_width(9) Apri...
params_period_size(9)
NAME params_period_size - Get the period size (in frames) from the hw params SYNOPSIS unsigned int params_period_size (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params RETURN the period size in frames SEE ALSO Kernel file ./include/sound/pcm.h snd_pcm_stream_linked(9), snd_pcm_stream_lock_irqsav...
params_periods(9)
NAME params_periods - Get the number of periods from the hw params SYNOPSIS unsigned int params_periods (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params RETURN the number of periods SEE ALSO Kernel file ./include/sound/pcm.h snd_pcm_stream_linked(9), snd_pcm_stream_lock_irqsave(9), snd_pcm...
params_rate(9)
NAME params_rate - Get the sample rate from the hw params SYNOPSIS unsigned int params_rate (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params RETURN the sample rate SEE ALSO Kernel file ./include/sound/pcm.h snd_pcm_stream_linked(9), snd_pcm_stream_lock_irqsave(9), snd_pcm_stream_lock_irqsave_ne...
params_subformat(9)
NAME params_subformat - get the sample subformat from the hw params SYNOPSIS snd_pcm_subformat_t params_subformat (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params SEE ALSO Kernel file ./include/sound/pcm_params.h params_access(9), params_format(9), params_period_bytes(9), params_width(9) April ...
params_width(9)
NAME params_width - get the number of bits of the sample format from the hw params SYNOPSIS int params_width (const struct snd_pcm_hw_params *p ); ARGUMENTS p hw params DESCRIPTION This function returns the number of bits per sample that the selected sample format of the hw params has. SEE ALSO Kernel fil...
parent(9)
NAME parent - given the offset of the child, find the offset of the parent. SYNOPSIS __always_inline static size_t parent (size_t i , unsigned int lsbit , size_t size ); ARGUMENTS i the offset of the heap element whose parent is sought. Non-zero. lsbit a precomputed 1-bit mask, equal to "size...
parent_allows_removal(9)
NAME parent_allows_removal - verify if it's ok to remove an exception SYNOPSIS bool parent_allows_removal (struct dev_cgroup *childcg , struct dev_exception_item *ex ); ARGUMENTS childcg child cgroup from where the exception will be removed ex exception being removed DESCRIPTION When removing an...
parent_len(9)
NAME parent_len - find the length of the parent portion of a pathname SYNOPSIS int parent_len (const char *path ); ARGUMENTS path pathname of which to determine length SEE ALSO Kernel file ./kernel/auditfilter.c audit_rule_change(9), audit_list_rules_send(9), audit_compare_dname_path(9) April 2026 ...
parent_mem_cgroup(9)
NAME parent_mem_cgroup - find the accounting parent of a memcg SYNOPSIS struct mem_cgroup * parent_mem_cgroup (struct mem_cgroup *memcg ); ARGUMENTS memcg memcg whose parent to find DESCRIPTION Returns the parent memcg, or NULL if this is the root. SEE ALSO Kernel file ./include/linux/memcontrol.h mem_cgroup_...
parent_misc(9)
NAME parent_misc - Get the parent of the passed misc cgroup. SYNOPSIS struct misc_cg * parent_misc (struct misc_cg *cgroup ); ARGUMENTS cgroup cgroup whose parent needs to be fetched. CONTEXT Any context. RETURN * struct misc_cg* - Parent of the cgroup. * NULL - If cgroup is null or the passed cgroup does not...
parisc_pdc_chassis_init(9)
NAME parisc_pdc_chassis_init - Called at boot time. SYNOPSIS void parisc_pdc_chassis_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/parisc/kernel/pdc_chassis.c pdc_chassis_setup(9), pdc_chassis_checkold(9), pdc_chassis_panic_event(9), pdc_chassis_reboot_event(9), pdc_chassis_send_status...
parity8(9)
NAME parity8 - get the parity of an u8 value SYNOPSIS int parity8 (u8 val ); ARGUMENTS val -- undescribed -- DESCRIPTION Determine the parity of the u8 argument. RETURN 0 for even parity, 1 for odd parity NOTE This function informs you about the current parity. Example to bail out when parity is odd: if ...
parman_create(9)
NAME parman_create - creates a new parman instance SYNOPSIS struct parman * parman_create (const struct parman_ops *ops , void *priv ); ARGUMENTS ops caller-specific callbacks priv pointer to a private data passed to the ops NOTE all locking must be provided by the caller. Each parman insta...
parman_destroy(9)
NAME parman_destroy - destroys existing parman instance SYNOPSIS void parman_destroy (struct parman *parman ); ARGUMENTS parman parman instance NOTE all locking must be provided by the caller. SEE ALSO Kernel file ./lib/parman.c parman_create(9), parman_prio_init(9), parman_prio_fini(9), parman_item_add(9), pa...
parman_item_add(9)
NAME parman_item_add - adds a parman item under defined priority SYNOPSIS int parman_item_add (struct parman *parman , struct parman_prio *prio , struct parman_item *item ); ARGUMENTS parman parman instance prio parman prio instance to add the item to item parman item instance NOTE...
parman_item_remove(9)
NAME parman_item_remove - deletes parman item SYNOPSIS void parman_item_remove (struct parman *parman , struct parman_prio *prio , struct parman_item *item ); ARGUMENTS parman parman instance prio parman prio instance to delete the item from item parman item instance NOTE all locki...
parman_prio_fini(9)
NAME parman_prio_fini - finalizes use of parman priority chunk SYNOPSIS void parman_prio_fini (struct parman_prio *prio ); ARGUMENTS prio parman prio structure NOTE all locking must be provided by the caller. SEE ALSO Kernel file ./lib/parman.c parman_create(9), parman_destroy(9), parman_prio_init(9), parman...
parman_prio_init(9)
NAME parman_prio_init - initializes a parman priority chunk SYNOPSIS void parman_prio_init (struct parman *parman , struct parman_prio *prio , unsigned long priority ); ARGUMENTS parman parman instance prio parman prio structure to be initialized priority desired priority of the chunk ...
parport_announce_port(9)
NAME parport_announce_port - tell device drivers about a parallel port SYNOPSIS void parport_announce_port (struct parport *port ); ARGUMENTS port parallel port to announce DESCRIPTION After a port driver has registered a parallel port with parport_register_port, and performed any necessary initialisation...
parport_claim(9)
NAME parport_claim - claim access to a parallel port device SYNOPSIS int parport_claim (struct pardevice *dev ); ARGUMENTS dev pointer to structure representing a device on the port DESCRIPTION This function will not block and so can be used from interrupt context. If parport_claim succeeds in claiming acc...
parport_claim_or_block(9)
NAME parport_claim_or_block - claim access to a parallel port device SYNOPSIS int parport_claim_or_block (struct pardevice *dev ); ARGUMENTS dev pointer to structure representing a device on the port DESCRIPTION This behaves like parport_claim, but will block if necessary to wait for the port to be free. A...
parport_close(9)
NAME parport_close - close a device opened with parport_open() SYNOPSIS void parport_close (struct pardevice *dev ); ARGUMENTS dev device to close DESCRIPTION This is to parport_open as parport_unregister_device is to parport_register_device. SEE ALSO Kernel file ./drivers/parport/daisy.c parport_open(9) A...
parport_find_base(9)
NAME parport_find_base - find a parallel port by base address SYNOPSIS struct parport * parport_find_base (unsigned long base ); ARGUMENTS base base I/O address DESCRIPTION This returns the parallel port with the specified base address, or NULL if there is none. There is an implicit parport_get_port done al...
parport_find_number(9)
NAME parport_find_number - find a parallel port by number SYNOPSIS struct parport * parport_find_number (int number ); ARGUMENTS number parallel port number DESCRIPTION This returns the parallel port with the specified number, or NULL if there is none. There is an implicit parport_get_port done already; to thr...
parport_get_port(9)
NAME parport_get_port - increment a port's reference count SYNOPSIS struct parport * parport_get_port (struct parport *port ); ARGUMENTS port the port DESCRIPTION This ensures that a struct parport pointer remains valid until the matching parport_put_port call. SEE ALSO Kernel file ./drivers/parport/shar...
parport_ip32_clear_epp_timeout(9)
NAME parport_ip32_clear_epp_timeout - clear Timeout bit in EPP mode SYNOPSIS unsigned int parport_ip32_clear_epp_timeout (struct parport *p ); ARGUMENTS p pointer to struct parport DESCRIPTION Returns 1 if the Timeout bit is clear, and 0 otherwise. SEE ALSO Kernel file ./drivers/parport/parport_ip32.c ...
parport_ip32_compat_write_data(9)
NAME parport_ip32_compat_write_data - write a block of data in SPP mode SYNOPSIS size_t parport_ip32_compat_write_data (struct parport *p , const void *buf , size_t len , int flags ); ARGUMENTS p pointer to struct parport buf buffer of data to write len length of buffer buf ...
parport_ip32_data_forward(9)
NAME parport_ip32_data_forward - enable host-to-peripheral communications SYNOPSIS void parport_ip32_data_forward (struct parport *p ); ARGUMENTS p pointer to struct parport DESCRIPTION Enable the data line drivers, for 8-bit host-to-peripheral communications. SEE ALSO Kernel file ./drivers/parport/parpo...
parport_ip32_data_reverse(9)
NAME parport_ip32_data_reverse - enable peripheral-to-host communications SYNOPSIS void parport_ip32_data_reverse (struct parport *p ); ARGUMENTS p pointer to struct parport DESCRIPTION Place the data bus in a high impedance state, if p->modes has the PARPORT_MODE_TRISTATE bit set. SEE ALSO Kernel file ...
parport_ip32_disable_irq(9)
NAME parport_ip32_disable_irq - disable interrupts on the rising edge of nACK SYNOPSIS void parport_ip32_disable_irq (struct parport *p ); ARGUMENTS p pointer to struct parport SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struct p...
parport_ip32_dma_get_residue(9)
NAME parport_ip32_dma_get_residue - get residue from last DMA transfer SYNOPSIS size_t parport_ip32_dma_get_residue (void ); ARGUMENTS void no arguments DESCRIPTION Returns the number of bytes remaining from last DMA transfer. SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs...
parport_ip32_dma_interrupt(9)
NAME parport_ip32_dma_interrupt - DMA interrupt handler SYNOPSIS irqreturn_t parport_ip32_dma_interrupt (int irq , void *dev_id ); ARGUMENTS irq interrupt number dev_id unused SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), ...
parport_ip32_dma_register(9)
NAME parport_ip32_dma_register - initialize DMA engine SYNOPSIS int parport_ip32_dma_register (void ); ARGUMENTS void no arguments DESCRIPTION Returns zero for success. SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struct parport_ip3...
parport_ip32_dma_setup_context(9)
NAME parport_ip32_dma_setup_context - setup next DMA context SYNOPSIS void parport_ip32_dma_setup_context (unsigned int limit ); ARGUMENTS limit maximum data size for the context DESCRIPTION The alignment constraints must be verified in caller function, and the parameter limit must be set accordingly. SEE ALS...
parport_ip32_dma_start(9)
NAME parport_ip32_dma_start - begins a DMA transfer SYNOPSIS int parport_ip32_dma_start (struct parport *p , enum dma_data_direction dir , void *addr , size_t count ); ARGUMENTS p partport to work on dir DMA direction: DMA_TO_DEVICE or DMA_FROM_DEVICE addr pointer to data buff...
parport_ip32_dma_stop(9)
NAME parport_ip32_dma_stop - ends a running DMA transfer SYNOPSIS void parport_ip32_dma_stop (struct parport *p ); ARGUMENTS p partport to work on DESCRIPTION Calls to parport_ip32_dma_start and parport_ip32_dma_stop must be correctly balanced. SEE ALSO Kernel file ./drivers/parport/parport_ip32.c stru...
parport_ip32_dma_unregister(9)
NAME parport_ip32_dma_unregister - release and free resources for DMA engine SYNOPSIS void parport_ip32_dma_unregister (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struct parport_ip32_private(9), ...
parport_ip32_drain_fifo(9)
NAME parport_ip32_drain_fifo - wait for FIFO to empty SYNOPSIS unsigned int parport_ip32_drain_fifo (struct parport *p , unsigned long timeout ); ARGUMENTS p pointer to struct parport timeout timeout, in jiffies DESCRIPTION This function waits for FIFO to empty. It returns 1 when FIFO is empty...
parport_ip32_ecp_supported(9)
NAME parport_ip32_ecp_supported - check for an ECP port SYNOPSIS unsigned int parport_ip32_ecp_supported (struct parport *p ); ARGUMENTS p pointer to the parport structure DESCRIPTION Returns 1 if an ECP port is found, and 0 otherwise. This function actually checks if an Extended Control Register seems to...
parport_ip32_ecp_write_data(9)
NAME parport_ip32_ecp_write_data - write a block of data in ECP mode SYNOPSIS size_t parport_ip32_ecp_write_data (struct parport *p , const void *buf , size_t len , int flags ); ARGUMENTS p pointer to struct parport buf buffer of data to write len length of buffer buf ...
parport_ip32_enable_irq(9)
NAME parport_ip32_enable_irq - enable interrupts on the rising edge of nACK SYNOPSIS void parport_ip32_enable_irq (struct parport *p ); ARGUMENTS p pointer to struct parport SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struct parp...
parport_ip32_epp_read(9)
NAME parport_ip32_epp_read - generic EPP read function SYNOPSIS size_t parport_ip32_epp_read (void __iomem *eppreg , struct parport *p , void *buf , size_t len , int flags ); ARGUMENTS eppreg I/O register to read from p pointer to struct parport buf buffer to store read data ...
parport_ip32_epp_read_addr(9)
NAME parport_ip32_epp_read_addr - read a block of addresses in EPP mode SYNOPSIS size_t parport_ip32_epp_read_addr (struct parport *p , void *buf , size_t len , int flags ); ARGUMENTS p pointer to struct parport buf buffer to store read data len length of buffer buf f...
parport_ip32_epp_read_data(9)
NAME parport_ip32_epp_read_data - read a block of data in EPP mode SYNOPSIS size_t parport_ip32_epp_read_data (struct parport *p , void *buf , size_t len , int flags ); ARGUMENTS p pointer to struct parport buf buffer to store read data len length of buffer buf flags ...
parport_ip32_epp_write(9)
NAME parport_ip32_epp_write - generic EPP write function SYNOPSIS size_t parport_ip32_epp_write (void __iomem *eppreg , struct parport *p , const void *buf , size_t len , int flags ); ARGUMENTS eppreg I/O register to write to p pointer to struct parport buf buffer of data to wri...
parport_ip32_epp_write_addr(9)
NAME parport_ip32_epp_write_addr - write a block of addresses in EPP mode SYNOPSIS size_t parport_ip32_epp_write_addr (struct parport *p , const void *buf , size_t len , int flags ); ARGUMENTS p pointer to struct parport buf buffer of data to write len length of buffer buf ...
parport_ip32_epp_write_data(9)
NAME parport_ip32_epp_write_data - write a block of data in EPP mode SYNOPSIS size_t parport_ip32_epp_write_data (struct parport *p , const void *buf , size_t len , int flags ); ARGUMENTS p pointer to struct parport buf buffer of data to write len length of buffer buf ...
parport_ip32_exit(9)
NAME parport_ip32_exit - module termination function SYNOPSIS void parport_ip32_exit (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struct parport_ip32_private(9), struct parport_ip32_dma_data(9),...
parport_ip32_fifo_supported(9)
NAME parport_ip32_fifo_supported - check for FIFO parameters SYNOPSIS unsigned int parport_ip32_fifo_supported (struct parport *p ); ARGUMENTS p pointer to the parport structure DESCRIPTION Check for FIFO parameters of an Extended Capabilities Port. Returns 1 on success, and 0 otherwise. Adjust FIFO para...
parport_ip32_fifo_wait_break(9)
NAME parport_ip32_fifo_wait_break - check if the waiting function should return SYNOPSIS unsigned int parport_ip32_fifo_wait_break (struct parport *p , unsigned long expire ); ARGUMENTS p pointer to struct parport expire timeout expiring date, in jiffies DESCRIPTION parport_ip32_fifo_wait_brea...
parport_ip32_fifo_write_block(9)
NAME parport_ip32_fifo_write_block - write a block of data SYNOPSIS size_t parport_ip32_fifo_write_block (struct parport *p , const void *buf , size_t len ); ARGUMENTS p pointer to struct parport buf buffer of data to write len length of buffer buf DESCRIPTION Uses PIO or DM...
parport_ip32_fifo_write_block_dma(9)
NAME parport_ip32_fifo_write_block_dma - write a block of data (DMA mode) SYNOPSIS size_t parport_ip32_fifo_write_block_dma (struct parport *p , const void *buf , size_t len ); ARGUMENTS p pointer to struct parport buf buffer of data to write len length of buffer buf DESCRIP...
parport_ip32_fifo_write_block_pio(9)
NAME parport_ip32_fifo_write_block_pio - write a block of data (PIO mode) SYNOPSIS size_t parport_ip32_fifo_write_block_pio (struct parport *p , const void *buf , size_t len ); ARGUMENTS p pointer to struct parport buf buffer of data to write len length of buffer buf DESCRIP...
parport_ip32_frob_control(9)
NAME parport_ip32_frob_control - change bits from the DCR register SYNOPSIS unsigned char parport_ip32_frob_control (struct parport *p , unsigned char mask , unsigned char val ); ARGUMENTS p pointer to struct parport mask bit mask of bits to change val new value for changed bi...
parport_ip32_frob_econtrol(9)
NAME parport_ip32_frob_econtrol - change bits from the ECR register SYNOPSIS void parport_ip32_frob_econtrol (struct parport *p , unsigned int mask , unsigned int val ); ARGUMENTS p pointer to struct parport mask bit mask of bits to change val new value for changed bits DESCR...
parport_ip32_fwp_wait_interrupt(9)
NAME parport_ip32_fwp_wait_interrupt - wait for FIFO to empty (interrupt-driven) SYNOPSIS unsigned int parport_ip32_fwp_wait_interrupt (struct parport *p ); ARGUMENTS p pointer to struct parport DESCRIPTION Returns the number of bytes that can safely be written in the FIFO. A return value of zero means th...
parport_ip32_fwp_wait_polling(9)
NAME parport_ip32_fwp_wait_polling - wait for FIFO to empty (polling) SYNOPSIS unsigned int parport_ip32_fwp_wait_polling (struct parport *p ); ARGUMENTS p pointer to struct parport DESCRIPTION Returns the number of bytes that can safely be written in the FIFO. A return value of zero means that the callin...
parport_ip32_get_fifo_residue(9)
NAME parport_ip32_get_fifo_residue - reset FIFO SYNOPSIS unsigned int parport_ip32_get_fifo_residue (struct parport *p , unsigned int mode ); ARGUMENTS p pointer to struct parport mode current operation mode (ECR_MODE_PPF or ECR_MODE_ECP) DESCRIPTION This function resets FIFO, and returns th...
parport_ip32_init(9)
NAME parport_ip32_init - module initialization function SYNOPSIS int parport_ip32_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struct parport_ip32_private(9), struct parport_ip32_dma_data(9...
parport_ip32_init_state(9)
NAME parport_ip32_init_state - for core parport code SYNOPSIS void parport_ip32_init_state (struct pardevice *dev , struct parport_state *s ); ARGUMENTS dev pointer to struct pardevice s pointer to struct parport_state to initialize SEE ALSO Kernel file ./drivers/parport/parport_ip32.c s...
parport_ip32_interrupt(9)
NAME parport_ip32_interrupt - interrupt handler SYNOPSIS irqreturn_t parport_ip32_interrupt (int irq , void *dev_id ); ARGUMENTS irq interrupt number dev_id pointer to struct parport DESCRIPTION Caught interrupts are forwarded to the upper parport layer if IRQ_mode is PARPORT_IP32_IRQ_FWD. SEE ...
parport_ip32_make_isa_registers(9)
NAME parport_ip32_make_isa_registers - compute (ISA) register addresses SYNOPSIS void parport_ip32_make_isa_registers (struct parport_ip32_regs *regs , void __iomem *base , void __iomem *base_hi , unsigned int regshift ); ARGUMENTS regs pointer to struct parport_ip32_regs to fill base base addre...
parport_ip32_probe_port(9)
NAME parport_ip32_probe_port - probe and register IP32 built-in parallel port SYNOPSIS struct parport * parport_ip32_probe_port (void ); ARGUMENTS void no arguments DESCRIPTION Returns the new allocated parport structure. On error, an error code is encoded in return value with the ERR_PTR function. SEE ALSO...
parport_ip32_read_control(9)
NAME parport_ip32_read_control - return cached contents of the DCR register SYNOPSIS unsigned char parport_ip32_read_control (struct parport *p ); ARGUMENTS p pointer to struct parport DESCRIPTION The return value is masked so as to only return the value of DCR_STROBE, DCR_AUTOFD, DCR_nINIT, and DCR_SELECT...
parport_ip32_read_data(9)
NAME parport_ip32_read_data - return current contents of the DATA register SYNOPSIS unsigned char parport_ip32_read_data (struct parport *p ); ARGUMENTS p pointer to struct parport SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struc...
parport_ip32_read_econtrol(9)
NAME parport_ip32_read_econtrol - read contents of the ECR register SYNOPSIS unsigned int parport_ip32_read_econtrol (struct parport *p ); ARGUMENTS p pointer to struct parport SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struct p...
parport_ip32_read_status(9)
NAME parport_ip32_read_status - return current contents of the DSR register SYNOPSIS unsigned char parport_ip32_read_status (struct parport *p ); ARGUMENTS p pointer to struct parport SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), st...
parport_ip32_restore_state(9)
NAME parport_ip32_restore_state - for core parport code SYNOPSIS void parport_ip32_restore_state (struct parport *p , struct parport_state *s ); ARGUMENTS p pointer to struct parport s pointer to struct parport_state to restore state from SEE ALSO Kernel file ./drivers/parport/parport_i...
parport_ip32_save_state(9)
NAME parport_ip32_save_state - for core parport code SYNOPSIS void parport_ip32_save_state (struct parport *p , struct parport_state *s ); ARGUMENTS p pointer to struct parport s pointer to struct parport_state to save state to SEE ALSO Kernel file ./drivers/parport/parport_ip32.c stru...
parport_ip32_set_mode(9)
NAME parport_ip32_set_mode - change mode of ECP port SYNOPSIS void parport_ip32_set_mode (struct parport *p , unsigned int mode ); ARGUMENTS p pointer to struct parport mode new mode to write in ECR DESCRIPTION ECR is reset in a sane state (interrupts and DMA disabled), and placed in mode mo...
parport_ip32_unregister_port(9)
NAME parport_ip32_unregister_port - unregister a parallel port SYNOPSIS void parport_ip32_unregister_port (struct parport *p ); ARGUMENTS p pointer to the struct parport DESCRIPTION Unregisters a parallel port and free previously allocated resources (memory, IRQ, ...). SEE ALSO Kernel file ./drivers/par...
parport_ip32_wakeup(9)
NAME parport_ip32_wakeup - wakes up code waiting for an interrupt SYNOPSIS void parport_ip32_wakeup (struct parport *p ); ARGUMENTS p pointer to struct parport SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs(9), enum parport_ip32_irq_mode(9), struct parport_ip32_priva...
parport_ip32_write_control(9)
NAME parport_ip32_write_control - set new contents for the DCR register SYNOPSIS void parport_ip32_write_control (struct parport *p , unsigned char c ); ARGUMENTS p pointer to struct parport c new value to write DESCRIPTION The value is masked so as to only change the value of DCR_STROBE,...
parport_ip32_write_data(9)
NAME parport_ip32_write_data - set new contents for the DATA register SYNOPSIS void parport_ip32_write_data (struct parport *p , unsigned char d ); ARGUMENTS p pointer to struct parport d new value to write SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip32_regs...
parport_ip32_write_econtrol(9)
NAME parport_ip32_write_econtrol - write new contents to the ECR register SYNOPSIS void parport_ip32_write_econtrol (struct parport *p , unsigned int c ); ARGUMENTS p pointer to struct parport c new value to write SEE ALSO Kernel file ./drivers/parport/parport_ip32.c struct parport_ip...
parport_negotiate(9)
NAME parport_negotiate - negotiate an IEEE 1284 mode SYNOPSIS int parport_negotiate (struct parport *port , int mode ); ARGUMENTS port port to use mode mode to negotiate to DESCRIPTION Use this to negotiate to a particular IEEE 1284 transfer mode. The mode parameter should be one of the consta...
parport_open(9)
NAME parport_open - find a device by canonical device number SYNOPSIS struct pardevice * parport_open (int devnum , const char *name ); ARGUMENTS devnum canonical device number name name to associate with the device DESCRIPTION This function is similar to parport_register_device, except that it ...
parport_poll_peripheral(9)
NAME parport_poll_peripheral - poll status lines SYNOPSIS int parport_poll_peripheral (struct parport *port , unsigned char mask , unsigned char result , int usec ); ARGUMENTS port port to watch mask status lines to watch result desired values of chosen status lines usec ...