id
stringlengths
4
63
text
stringlengths
153
8.81M
counter_add(9)
NAME counter_add - complete registration of a counter SYNOPSIS int counter_add (struct counter_device *counter ); ARGUMENTS counter the counter to add DESCRIPTION This is part two of counter registration. If this succeeds, call counter_unregister to get rid of the counter_device again. SEE ALSO Kernel file ./d...
counter_alloc(9)
NAME counter_alloc - allocate a counter_device SYNOPSIS struct counter_device * counter_alloc (size_t sizeof_priv ); ARGUMENTS sizeof_priv size of the driver private data DESCRIPTION This is part one of counter registration. The structure is allocated dynamically to ensure the right lifetime for the embedded struct ...
counter_priv(9)
NAME counter_priv - access counter device private data SYNOPSIS void * counter_priv (const struct counter_device *const counter ); ARGUMENTS counter counter device DESCRIPTION Get the counter device private data SEE ALSO Kernel file ./drivers/counter/counter-core.c counter_alloc(9), counter_add(9), counter_unre...
counter_push_event(9)
NAME counter_push_event - queue event for userspace reading SYNOPSIS void counter_push_event (struct counter_device *const counter , const u8 event , const u8 channel ); ARGUMENTS counter pointer to Counter structure event triggered event channel event channel NOTE If no one is watching...
counter_sysfs_add(9)
NAME counter_sysfs_add - Adds Counter sysfs attributes to the device structure SYNOPSIS int counter_sysfs_add (struct counter_device *const counter ); ARGUMENTS counter Pointer to the Counter device structure DESCRIPTION Counter sysfs attributes are created and added to the respective device structure for la...
counter_unregister(9)
NAME counter_unregister - unregister Counter from the system SYNOPSIS void counter_unregister (struct counter_device *const counter ); ARGUMENTS counter pointer to Counter to unregister DESCRIPTION The Counter is unregistered from the system. SEE ALSO Kernel file ./drivers/counter/counter-core.c counter_priv(9)...
countof(3)
NAME countof, _Countof - count the number of elements in an array LIBRARY Standard C library (libc) SYNOPSIS #include <stdcountof.h> size_t countof(array); DESCRIPTION This operator counts the number of elements in an array. If the operand is not an array, it produces a compilation error. The...
cp(1)
NAME cp - copy files and directories SYNOPSIS cp [OPTION]... [-T] SOURCE DEST cp [OPTION]... SOURCE... DIRECTORY cp [OPTION]... -t DIRECTORY SOURCE... DESCRIPTION Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. Mandatory arguments to long options are mandatory for short options too. -a, --arc...
cp(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 cp — copy files SYNOPSIS cp [-Pfip] source_file target_fi...
cp1251(7)
NAME cp1251 - CP 1251 character set encoded in octal, decimal, and hexadecimal DESCRIPTION The Windows Code Pages include several 8-bit extensions to the ASCII character set (also known as ISO/IEC 646-IRV). CP 1251 encodes the characters used in Cyrillic scripts. CP 1251 characters The following table disp...
cp1252(7)
NAME cp1252 - CP 1252 character set encoded in octal, decimal, and hexadecimal DESCRIPTION The Windows Code Pages include several 8-bit extensions to the ASCII character set (also known as ISO/IEC 646-IRV). CP 1252 encodes the characters used in many West European languages. CP 1252 characters The followin...
cp_free(9)
NAME cp_free - free resources for channel program. SYNOPSIS void cp_free (struct channel_program *cp ); ARGUMENTS cp channel_program on which to perform the operation DESCRIPTION This unpins the memory pages and frees the memory space occupied by cp, which must have been returned by a previous call to cp_in...
cp_get_orb(9)
NAME cp_get_orb - get the orb of the channel program SYNOPSIS union orb * cp_get_orb (struct channel_program *cp , struct subchannel *sch ); ARGUMENTS cp channel_program on which to perform the operation sch subchannel the operation will be performed against DESCRIPTION This function returns...
cp_init(9)
NAME cp_init - allocate ccwchains for a channel program. SYNOPSIS int cp_init (struct channel_program *cp , union orb *orb ); ARGUMENTS cp channel_program on which to perform the operation orb control block for the channel program from the guest DESCRIPTION This creates one or more ccwchain(...
cp_iova_pinned(9)
NAME cp_iova_pinned - check if an iova is pinned for a ccw chain. SYNOPSIS bool cp_iova_pinned (struct channel_program *cp , u64 iova , u64 length ); ARGUMENTS cp channel_program on which to perform the operation iova the iova to check length the length to check from iova DESCRIP...
cp_prefetch(9)
NAME cp_prefetch - translate a guest physical address channel program to a real-device runnable channel program. SYNOPSIS int cp_prefetch (struct channel_program *cp ); ARGUMENTS cp channel_program on which to perform the operation DESCRIPTION This function translates the guest-physical-address channel p...
cp_update_scsw(9)
NAME cp_update_scsw - update scsw for a channel program. SYNOPSIS void cp_update_scsw (struct channel_program *cp , union scsw *scsw ); ARGUMENTS cp channel_program on which to perform the operation scsw I/O results of the channel program and also the target to be updated DESCRIPTION scsw co...
cpacf_kimd(9)
NAME cpacf_kimd - executes the KIMD (COMPUTE INTERMEDIATE MESSAGE DIGEST) instruction SYNOPSIS void cpacf_kimd (unsigned long func , void *param , const u8 *src , long src_len ); ARGUMENTS func the function code passed to KM; see CPACF_KIMD_xxx defines param address of parameter block; see POP fo...
cpacf_klmd(9)
NAME cpacf_klmd - executes the KLMD (COMPUTE LAST MESSAGE DIGEST) instruction SYNOPSIS void cpacf_klmd (unsigned long func , void *param , const u8 *src , long src_len ); ARGUMENTS func the function code passed to KM; see CPACF_KLMD_xxx defines param address of parameter block; see POP for detail...
cpacf_km(9)
NAME cpacf_km - executes the KM (CIPHER MESSAGE) instruction SYNOPSIS int cpacf_km (unsigned long func , void *param , u8 *dest , const u8 *src , long src_len ); ARGUMENTS func the function code passed to KM; see CPACF_KM_xxx defines param address of parameter block; see POP for details on each f...
cpacf_kma(9)
NAME cpacf_kma - executes the KMA (CIPHER MESSAGE WITH AUTHENTICATION) instruction SYNOPSIS void cpacf_kma (unsigned long func , void *param , u8 *dest , const u8 *src , unsigned long src_len , const u8 *aad , unsigned long aad_len ); ARGUMENTS func the function code passed to KMA; see CPACF_KMA_xxx defines ...
cpacf_kmac(9)
NAME cpacf_kmac - executes the KMAC (COMPUTE MESSAGE AUTHENTICATION CODE) instruction SYNOPSIS int cpacf_kmac (unsigned long func , void *param , const u8 *src , long src_len ); ARGUMENTS func function code passed to KMAC; see CPACF_KMAC_xxx defines param address of parameter block; see POP for d...
cpacf_kmc(9)
NAME cpacf_kmc - executes the KMC (CIPHER MESSAGE WITH CHAINING) instruction SYNOPSIS int cpacf_kmc (unsigned long func , void *param , u8 *dest , const u8 *src , long src_len ); ARGUMENTS func the function code passed to KM; see CPACF_KMC_xxx defines param address of parameter block; see POP for...
cpacf_kmctr(9)
NAME cpacf_kmctr - executes the KMCTR (CIPHER MESSAGE WITH COUNTER) instruction SYNOPSIS int cpacf_kmctr (unsigned long func , void *param , u8 *dest , const u8 *src , long src_len , u8 *counter ); ARGUMENTS func the function code passed to KMCTR; see CPACF_KMCTR_xxx defines param address of para...
cpacf_pcc(9)
NAME cpacf_pcc - executes the PCC (PERFORM CRYPTOGRAPHIC COMPUTATION) instruction SYNOPSIS int cpacf_pcc (unsigned long func , void *param ); ARGUMENTS func the function code passed to PCC; see CPACF_KM_xxx defines param address of parameter block; see POP for details on each func DESCRIPTION Re...
cpacf_pckmo(9)
NAME cpacf_pckmo - executes the PCKMO (PERFORM CRYPTOGRAPHIC KEY MANAGEMENT) instruction SYNOPSIS void cpacf_pckmo (long func , void *param ); ARGUMENTS func the function code passed to PCKMO; see CPACF_PCKMO_xxx defines param address of parameter block; see POP for details on each func DESCRIPT...
cpacf_prno(9)
NAME cpacf_prno - executes the PRNO (PERFORM RANDOM NUMBER OPERATION) instruction SYNOPSIS void cpacf_prno (unsigned long func , void *param , u8 *dest , unsigned long dest_len , const u8 *seed , unsigned long seed_len ); ARGUMENTS func the function code passed to PRNO; see CPACF_PRNO_xxx defines param...
cpacf_qai(9)
NAME cpacf_qai - Get the query authentication information for a CPACF opcode SYNOPSIS int cpacf_qai (unsigned int opcode , cpacf_qai_t *qai ); ARGUMENTS opcode the opcode of the crypto instruction qai -- undescribed -- DESCRIPTION Executes the query authentication information function for the g...
cpacf_query(9)
NAME cpacf_query - Query the function code mask for this CPACF opcode SYNOPSIS int cpacf_query (unsigned int opcode , cpacf_mask_t *mask ); ARGUMENTS opcode the opcode of the crypto instruction mask ptr to struct cpacf_mask_t DESCRIPTION Executes the query function for the given crypto instru...
cpacf_trng(9)
NAME cpacf_trng - executes the TRNG subfunction of the PRNO instruction SYNOPSIS void cpacf_trng (u8 *ucbuf , unsigned long ucbuf_len , u8 *cbuf , unsigned long cbuf_len ); ARGUMENTS ucbuf buffer for unconditioned data ucbuf_len amount of unconditioned data to fetch in bytes cbuf buffer...
cpan(1)
NAME cpan - easily interact with CPAN from the command line SYNOPSIS # with arguments and no switches, installs specified modules cpan module_name [ module_name ... ] # with switches, installs modules with extra behavior cpan [-cfFimtTw] module_name [ module_name ... ] # ...
cpc_ffh_supported(9)
NAME cpc_ffh_supported - check if FFH reading supported SYNOPSIS bool cpc_ffh_supported (void ); ARGUMENTS void no arguments DESCRIPTION Check if the architecture has support for functional fixed hardware read/write capability. RETURN true for supported, false for not supported SEE ALSO Kernel file ./dri...
cpc_read_ffh(9)
NAME cpc_read_ffh - Read FFH register SYNOPSIS int cpc_read_ffh (int cpunum , struct cpc_reg *reg , u64 *val ); ARGUMENTS cpunum CPU number to read reg cppc register information val place holder for return value DESCRIPTION Read bit_width bits from a specified address and bit_off...
cpc_supported_by_cpu(9)
NAME cpc_supported_by_cpu - check if CPPC is supported by CPU SYNOPSIS bool cpc_supported_by_cpu (void ); ARGUMENTS void no arguments DESCRIPTION Check if the architectural support for CPPC is present even if the _OSC hasn't prescribed it RETURN true for supported, false for not supported SEE ALSO Kernel f...
cpc_write_ffh(9)
NAME cpc_write_ffh - Write FFH register SYNOPSIS int cpc_write_ffh (int cpunum , struct cpc_reg *reg , u64 val ); ARGUMENTS cpunum CPU number to write reg cppc register information val value to write DESCRIPTION Write value of bit_width bits to a specified address and bit_offset ...
cpcap_battery_cc_get_avg_current(9)
NAME cpcap_battery_cc_get_avg_current - read cpcap coulumb counter SYNOPSIS int cpcap_battery_cc_get_avg_current (struct cpcap_battery_ddata *ddata ); ARGUMENTS ddata cpcap battery driver device data SEE ALSO Kernel file ./drivers/power/supply/cpcap-battery.c cpcap_battery_cc_raw_div(9), cpcap_battery_read_acc...
cpcap_battery_cc_raw_div(9)
NAME cpcap_battery_cc_raw_div - calculate and divide coulomb counter μAms values SYNOPSIS int cpcap_battery_cc_raw_div (struct cpcap_battery_ddata *ddata , s32 sample , s32 accumulator , s16 offset , u32 divider ); ARGUMENTS ddata device driver data sample coulomb counter sample value accum...
cpcap_battery_read_accumulated(9)
NAME cpcap_battery_read_accumulated - reads cpcap coulomb counter SYNOPSIS int cpcap_battery_read_accumulated (struct cpcap_battery_ddata *ddata , struct cpcap_coulomb_counter_data *ccd ); ARGUMENTS ddata device driver data ccd coulomb counter values DESCRIPTION Based on Motorola mapphone kerne...
cper_bits_to_str(9)
NAME cper_bits_to_str - return a string for set bits SYNOPSIS int cper_bits_to_str (char *buf , int buf_size , unsigned long bits , const char * const strs[] , unsigned int strs_size ); ARGUMENTS buf buffer to store the output string buf_size size of the output string buffer bits bit...
cper_print_bits(9)
NAME cper_print_bits - print strings for set bits SYNOPSIS void cper_print_bits (const char *pfx , unsigned int bits , const char * const strs[] , unsigned int strs_size ); ARGUMENTS pfx prefix for each line, including log level and prefix string bits bit mask strs string array, ...
cpg_div6_register(9)
NAME cpg_div6_register - Register a DIV6 clock SYNOPSIS struct clk * cpg_div6_register (const char *name , unsigned int num_parents , const char **parent_names , void __iomem *reg , struct raw_notifier_head *notifiers ); ARGUMENTS name Name of the DIV6 clock num_parents Number of parent clocks of the D...
cpio(1)
NAME cpio - copy files to and from archives SYNOPSIS cpio {-o|--create} [-0acvABLV] [-C BYTES] [-H FORMAT] [-M MESSAGE] [-O [[USER@]HOST:]ARCHIVE] [-F [[USER@]HOST:]ARCHIVE] [--file=[[USER@]HOST:]ARCHIVE] [--format=FORMAT] [--message=MESSAGE] [--null] [--reset-access-time] [--verbose] [--dot] [--append] [--block-size...
cpio.h(0p)
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 cpio.h — cpio archive values SYNOPSIS #include <cpio.h> DESCR...
cpm_muram_addr(9)
NAME cpm_muram_addr - turn a muram offset into a virtual address SYNOPSIS void __iomem * cpm_muram_addr (unsigned long offset ); ARGUMENTS offset muram offset to convert SEE ALSO Kernel file ./drivers/soc/fsl/qe/qe_common.c cpm_muram_free(9), devm_cpm_muram_alloc(9), devm_cpm_muram_alloc_fixed(9), cpm_muram_dma...
cpm_muram_dma(9)
NAME cpm_muram_dma - turn a muram virtual address into a DMA address SYNOPSIS dma_addr_t cpm_muram_dma (void __iomem *addr ); ARGUMENTS addr virtual address from cpm_muram_addr to convert SEE ALSO Kernel file ./drivers/soc/fsl/qe/qe_common.c cpm_muram_free(9), devm_cpm_muram_alloc(9), devm_cpm_muram_alloc_fix...
cpm_muram_free(9)
NAME cpm_muram_free - free a chunk of multi-user ram SYNOPSIS void cpm_muram_free (s32 offset ); ARGUMENTS offset The beginning of the chunk as returned by cpm_muram_alloc. SEE ALSO Kernel file ./drivers/soc/fsl/qe/qe_common.c devm_cpm_muram_alloc(9), devm_cpm_muram_alloc_fixed(9), cpm_muram_addr(9), cpm_muram_...
cpow(3)
NAME cpow, cpowf, cpowl - complex power function LIBRARY Math library (libm, -lm) SYNOPSIS #include <complex.h> double complex cpow(double complex x, double complex z); float complex cpowf(float complex x, float complex z); long double complex cpowl(long double complex x, ...
cpow(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME cpow, cpowf, cpowl — complex power functions SYNOPSIS #include...
cpowf(3)
NAME cpow, cpowf, cpowl - complex power function LIBRARY Math library (libm, -lm) SYNOPSIS #include <complex.h> double complex cpow(double complex x, double complex z); float complex cpowf(float complex x, float complex z); long double complex cpowl(long double complex x, ...
cpowl(3)
NAME cpow, cpowf, cpowl - complex power function LIBRARY Math library (libm, -lm) SYNOPSIS #include <complex.h> double complex cpow(double complex x, double complex z); float complex cpowf(float complex x, float complex z); long double complex cpowl(long double complex x, ...
cpp(1)
NAME cpp - The C Preprocessor SYNOPSIS cpp [-Dmacro[=defn]...] [-Umacro] [-Idir...] [-iquotedir...] [-M|-MM] [-MG] [-MF filename] [-MP] [-MQ target...] [-MT target...] infile [[-o] outfile] Only the most useful options are given above; see below for a more complete list of preprocessor-specific options. In ad...
cppc_get_auto_act_window(9)
NAME cppc_get_auto_act_window - Read autonomous activity window register. SYNOPSIS int cppc_get_auto_act_window (int cpu , u64 *auto_act_window ); ARGUMENTS cpu CPU from which to read register. auto_act_window Return address. DESCRIPTION According to ACPI 6.5, s8.4.6.1.6, the value...
cppc_get_auto_sel(9)
NAME cppc_get_auto_sel - Read autonomous selection register. SYNOPSIS int cppc_get_auto_sel (int cpu , bool *enable ); ARGUMENTS cpu CPU from which to read register. enable Return address. SEE ALSO Kernel file ./drivers/acpi/cppc_acpi.c acpi_get_psd_map(9), cpc_ffh_supported(9), cpc_supported_...
cppc_get_desired_perf(9)
NAME cppc_get_desired_perf - Get the desired performance register value. SYNOPSIS int cppc_get_desired_perf (int cpunum , u64 *desired_perf ); ARGUMENTS cpunum CPU from which to get desired performance. desired_perf Return address. RETURN 0 for success, -EIO otherwise. SEE ALSO Kerne...
cppc_get_epp_perf(9)
NAME cppc_get_epp_perf - Get the epp register value. SYNOPSIS int cppc_get_epp_perf (int cpunum , u64 *epp_perf ); ARGUMENTS cpunum CPU from which to get epp preference value. epp_perf Return address. RETURN 0 for success, -EIO otherwise. SEE ALSO Kernel file ./drivers/acpi/cppc_acpi.c acpi_get_ps...
cppc_get_highest_perf(9)
NAME cppc_get_highest_perf - Get the highest performance register value. SYNOPSIS int cppc_get_highest_perf (int cpunum , u64 *highest_perf ); ARGUMENTS cpunum CPU from which to get highest performance. highest_perf Return address. RETURN 0 for success, -EIO otherwise. SEE ALSO Kerne...
cppc_get_nominal_perf(9)
NAME cppc_get_nominal_perf - Get the nominal performance register value. SYNOPSIS int cppc_get_nominal_perf (int cpunum , u64 *nominal_perf ); ARGUMENTS cpunum CPU from which to get nominal performance. nominal_perf Return address. RETURN 0 for success, -EIO otherwise. SEE ALSO Kerne...
cppc_get_perf_caps(9)
NAME cppc_get_perf_caps - Get a CPU's performance capabilities. SYNOPSIS int cppc_get_perf_caps (int cpunum , struct cppc_perf_caps *perf_caps ); ARGUMENTS cpunum CPU from which to get capabilities info. perf_caps ptr to cppc_perf_caps. See cppc_acpi.h RETURN 0 for success with perf_caps populated els...
cppc_get_perf_ctrs(9)
NAME cppc_get_perf_ctrs - Read a CPU's performance feedback counters. SYNOPSIS int cppc_get_perf_ctrs (int cpunum , struct cppc_perf_fb_ctrs *perf_fb_ctrs ); ARGUMENTS cpunum CPU from which to read counters. perf_fb_ctrs ptr to cppc_perf_fb_ctrs. See cppc_acpi.h RETURN 0 for success w...
cppc_get_transition_latency(9)
NAME cppc_get_transition_latency - returns frequency transition latency in ns SYNOPSIS int cppc_get_transition_latency (int cpu_num ); ARGUMENTS cpu_num CPU number for per_cpu. DESCRIPTION ACPI CPPC does not explicitly specify how a platform can specify the transition latency for performance change requests. ...
cppc_perf_ctrs_in_pcc(9)
NAME cppc_perf_ctrs_in_pcc - Check if any perf counters are in a PCC region. SYNOPSIS bool cppc_perf_ctrs_in_pcc (void ); ARGUMENTS void no arguments DESCRIPTION CPPC has flexibility about how CPU performance counters are accessed. One of the choices is PCC regions, which can have a high access latency. This...
cppc_perf_ctrs_in_pcc_cpu(9)
NAME cppc_perf_ctrs_in_pcc_cpu - Check if any perf counters of a CPU are in PCC. SYNOPSIS bool cppc_perf_ctrs_in_pcc_cpu (unsigned int cpu ); ARGUMENTS cpu CPU on which to check perf counters. RETURN true if any of the counters are in PCC regions, false otherwise SEE ALSO Kernel file ./drivers/acpi/cppc_a...
cppc_set_auto_act_window(9)
NAME cppc_set_auto_act_window - Write autonomous activity window register. SYNOPSIS int cppc_set_auto_act_window (int cpu , u64 auto_act_window ); ARGUMENTS cpu CPU on which to write register. auto_act_window usec value to write to the autonomous activity window register. DESCRIPTI...
cppc_set_auto_sel(9)
NAME cppc_set_auto_sel - Write autonomous selection register. SYNOPSIS int cppc_set_auto_sel (int cpu , bool enable ); ARGUMENTS cpu CPU to which to write register. enable the desired value of autonomous selection resiter to be updated. SEE ALSO Kernel file ./drivers/acpi/cppc_acpi.c acpi_get_...
cppc_set_enable(9)
NAME cppc_set_enable - Set to enable CPPC on the processor by writing the Continuous Performance Control package EnableRegister field. SYNOPSIS int cppc_set_enable (int cpu , bool enable ); ARGUMENTS cpu CPU for which to enable CPPC register. enable 0 - disable, 1 - enable CPPC feature on the pro...
cppc_set_epp(9)
NAME cppc_set_epp - Write the EPP register. SYNOPSIS int cppc_set_epp (int cpu , u64 epp_val ); ARGUMENTS cpu CPU on which to write register. epp_val Value to write to the EPP register. SEE ALSO Kernel file ./drivers/acpi/cppc_acpi.c acpi_get_psd_map(9), cpc_ffh_supported(9), cpc_supported_by_c...
cppc_set_perf(9)
NAME cppc_set_perf - Set a CPU's performance controls. SYNOPSIS int cppc_set_perf (int cpu , struct cppc_perf_ctrls *perf_ctrls ); ARGUMENTS cpu CPU for which to set performance controls. perf_ctrls ptr to cppc_perf_ctrls. See cppc_acpi.h RETURN 0 for success, -ERRNO otherwise. SEE ALSO Kernel fil...
cppcheck(1)
NAME cppcheck - Tool for static C/C++ code analysis SYNOPSIS cppcheck [--check-config] [--check-library] [-D<id>] [-U<id>] [--disable=<id>] [--enable=<id>] [--error-exitcode=<n>] [--errorlist] [--exitcode-suppressions=<file>] [--file-list=<file>] [--filesdir] [--force] [--fsigned-char] [--funsi...
cppi5_desc_get_errflags(9)
NAME cppi5_desc_get_errflags - get Error Flags from Desc SYNOPSIS u32 cppi5_desc_get_errflags (struct cppi5_desc_hdr_t *desc_hdr ); ARGUMENTS desc_hdr packet/TR descriptor header DESCRIPTION Returns Error Flags from Packet/TR Descriptor SEE ALSO Kernel file ./include/linux/dma/ti-cppi5.h struct cppi5_desc_hd...
cppi5_desc_get_pktids(9)
NAME cppi5_desc_get_pktids - get Packet and Flow ids from Desc SYNOPSIS void cppi5_desc_get_pktids (struct cppi5_desc_hdr_t *desc_hdr , u32 *pkt_id , u32 *flow_id ); ARGUMENTS desc_hdr packet/TR descriptor header pkt_id Packet ID flow_id Flow ID DESCRIPTION Returns Packet and Flow ids fro...
cppi5_desc_get_tags_ids(9)
NAME cppi5_desc_get_tags_ids - get Packet Src/Dst Tags from Desc SYNOPSIS void cppi5_desc_get_tags_ids (struct cppi5_desc_hdr_t *desc_hdr , u32 *src_tag_id , u32 *dst_tag_id ); ARGUMENTS desc_hdr packet/TR descriptor header src_tag_id Source Tag dst_tag_id Dest Tag DESCRIPTION Returns Packet Src...
cppi5_desc_get_type(9)
NAME cppi5_desc_get_type - get descriptor type SYNOPSIS u32 cppi5_desc_get_type (struct cppi5_desc_hdr_t *desc_hdr ); ARGUMENTS desc_hdr packet descriptor/TR header DESCRIPTION Returns descriptor type: CPPI5_INFO0_DESC_TYPE_VAL_HOST CPPI5_INFO0_DESC_TYPE_VAL_MONO CPPI5_INFO0_DESC_TYPE_VAL_TR SEE ALSO Kernel fil...
cppi5_desc_is_tdcm(9)
NAME cppi5_desc_is_tdcm - check if the paddr indicates Teardown Complete Message SYNOPSIS bool cppi5_desc_is_tdcm (dma_addr_t paddr ); ARGUMENTS paddr Physical address of the packet popped from the ring DESCRIPTION Returns true if the address indicates TDCM SEE ALSO Kernel file ./include/linux/dma/ti-cppi5....
cppi5_desc_set_pktids(9)
NAME cppi5_desc_set_pktids - set Packet and Flow ids in Desc SYNOPSIS void cppi5_desc_set_pktids (struct cppi5_desc_hdr_t *desc_hdr , u32 pkt_id , u32 flow_id ); ARGUMENTS desc_hdr packet/TR descriptor header pkt_id Packet ID flow_id Flow ID SEE ALSO Kernel file ./include/linux/dma/ti-c...
cppi5_desc_set_retpolicy(9)
NAME cppi5_desc_set_retpolicy - set Packet Return Policy in Desc SYNOPSIS void cppi5_desc_set_retpolicy (struct cppi5_desc_hdr_t *desc_hdr , u32 flags , u32 return_ring_id ); ARGUMENTS desc_hdr packet/TR descriptor header flags fags, supported values CPPI5_INFO2_HDESC_RETPOLICY CPPI5_INFO2_HDESC_EARL...
cppi5_desc_set_tags_ids(9)
NAME cppi5_desc_set_tags_ids - set Packet Src/Dst Tags in HDesc SYNOPSIS void cppi5_desc_set_tags_ids (struct cppi5_desc_hdr_t *desc_hdr , u32 src_tag_id , u32 dst_tag_id ); ARGUMENTS desc_hdr packet/TR descriptor header src_tag_id Source Tag dst_tag_id Dest Tag DESCRIPTION Returns Packet Src/Ds...
cppi5_hdesc_attach_buf(9)
NAME cppi5_hdesc_attach_buf - attach buffer to HDesc SYNOPSIS void cppi5_hdesc_attach_buf (struct cppi5_host_desc_t *desc , dma_addr_t buf , u32 buf_data_len , dma_addr_t obuf , u32 obuf_len ); ARGUMENTS desc Host packet descriptor buf Buffer physical address buf_data_len ...
cppi5_hdesc_calc_size(9)
NAME cppi5_hdesc_calc_size - Calculate Host Packet Descriptor size SYNOPSIS u32 cppi5_hdesc_calc_size (bool epib , u32 psdata_size , u32 sw_data_size ); ARGUMENTS epib is EPIB present psdata_size PSDATA size sw_data_size SWDATA size DESCRIPTION Returns required Host Packet D...
cppi5_hdesc_epib_present(9)
NAME cppi5_hdesc_epib_present - check if EPIB present SYNOPSIS bool cppi5_hdesc_epib_present (struct cppi5_desc_hdr_t *desc_hdr ); ARGUMENTS desc_hdr packet descriptor/TR header DESCRIPTION Returns true if EPIB present in the packet SEE ALSO Kernel file ./include/linux/dma/ti-cppi5.h struct cppi5_desc_hdr_t(...
cppi5_hdesc_get_pktlen(9)
NAME cppi5_hdesc_get_pktlen - get Packet Length from HDesc SYNOPSIS u32 cppi5_hdesc_get_pktlen (struct cppi5_host_desc_t *desc ); ARGUMENTS desc Host packet descriptor DESCRIPTION Returns Packet Length from Host Packet Descriptor SEE ALSO Kernel file ./include/linux/dma/ti-cppi5.h struct cppi5_desc_hdr_t...
cppi5_hdesc_get_psdata(9)
NAME cppi5_hdesc_get_psdata - Get pointer on PSDATA SYNOPSIS void * cppi5_hdesc_get_psdata (struct cppi5_host_desc_t *desc ); ARGUMENTS desc Host packet descriptor DESCRIPTION Returns pointer on PSDATA in HDesc. NULL - if ps_data placed at the start of data buffer. SEE ALSO Kernel file ./include/linux/dma...
cppi5_hdesc_get_psdata_size(9)
NAME cppi5_hdesc_get_psdata_size - get PSdata size in bytes SYNOPSIS u32 cppi5_hdesc_get_psdata_size (struct cppi5_host_desc_t *desc ); ARGUMENTS desc Host packet descriptor SEE ALSO Kernel file ./include/linux/dma/ti-cppi5.h struct cppi5_desc_hdr_t(9), struct cppi5_host_desc_t(9), struct cppi5_desc_e...
cppi5_hdesc_get_psflags(9)
NAME cppi5_hdesc_get_psflags - get Protocol Specific Flags from HDesc SYNOPSIS u32 cppi5_hdesc_get_psflags (struct cppi5_host_desc_t *desc ); ARGUMENTS desc Host packet descriptor DESCRIPTION Returns Protocol Specific Flags from Host Packet Descriptor SEE ALSO Kernel file ./include/linux/dma/ti-cppi5.h st...
cppi5_hdesc_get_swdata(9)
NAME cppi5_hdesc_get_swdata - Get pointer on swdata SYNOPSIS void * cppi5_hdesc_get_swdata (struct cppi5_host_desc_t *desc ); ARGUMENTS desc Host packet descriptor DESCRIPTION Returns pointer on SWDATA in HDesc. NOTE. It's caller responsibility to be sure hdesc actually has swdata. SEE ALSO Kernel file ./...
cppi5_hdesc_init(9)
NAME cppi5_hdesc_init - Init Host Packet Descriptor size SYNOPSIS void cppi5_hdesc_init (struct cppi5_host_desc_t *desc , u32 flags , u32 psdata_size ); ARGUMENTS desc Host packet descriptor flags supported values CPPI5_INFO0_HDESC_EPIB_PRESENT CPPI5_INFO0_HDESC_PSINFO_LOCATION psdata_siz...
cppi5_hdesc_link_hbdesc(9)
NAME cppi5_hdesc_link_hbdesc - link Host Buffer Descriptor to HDesc SYNOPSIS void cppi5_hdesc_link_hbdesc (struct cppi5_host_desc_t *desc , dma_addr_t hbuf_desc ); ARGUMENTS desc Host Packet Descriptor hbuf_desc -- undescribed -- DESCRIPTION add and link Host Buffer Descriptor to HDesc SEE ALSO Ker...
cppi5_hdesc_set_pktlen(9)
NAME cppi5_hdesc_set_pktlen - set Packet Length in HDesc SYNOPSIS void cppi5_hdesc_set_pktlen (struct cppi5_host_desc_t *desc , u32 pkt_len ); ARGUMENTS desc Host packet descriptor pkt_len -- undescribed -- SEE ALSO Kernel file ./include/linux/dma/ti-cppi5.h struct cppi5_desc_hdr_t(9), struct...
cppi5_hdesc_set_psflags(9)
NAME cppi5_hdesc_set_psflags - set Protocol Specific Flags in HDesc SYNOPSIS void cppi5_hdesc_set_psflags (struct cppi5_host_desc_t *desc , u32 ps_flags ); ARGUMENTS desc Host packet descriptor ps_flags -- undescribed -- SEE ALSO Kernel file ./include/linux/dma/ti-cppi5.h struct cppi5_desc_hdr_...
cppi5_hdesc_update_flags(9)
NAME cppi5_hdesc_update_flags - Replace descriptor flags SYNOPSIS void cppi5_hdesc_update_flags (struct cppi5_host_desc_t *desc , u32 flags ); ARGUMENTS desc Host packet descriptor flags supported values CPPI5_INFO0_HDESC_EPIB_PRESENT CPPI5_INFO0_HDESC_PSINFO_LOCATION SEE ALSO Kernel file ./in...
cppi5_hdesc_update_psdata_size(9)
NAME cppi5_hdesc_update_psdata_size - Replace PSdata size SYNOPSIS void cppi5_hdesc_update_psdata_size (struct cppi5_host_desc_t *desc , u32 psdata_size ); ARGUMENTS desc Host packet descriptor psdata_size PSDATA size SEE ALSO Kernel file ./include/linux/dma/ti-cppi5.h struct cppi5_desc_hdr_t(9), ...
cppi5_tr_init(9)
NAME cppi5_tr_init - Init TR record SYNOPSIS void cppi5_tr_init (cppi5_tr_flags_t *flags , enum cppi5_tr_types type , bool static_tr , bool wait , enum cppi5_tr_event_size event_size , u32 cmd_id ); ARGUMENTS flags Pointer to the TR's flags type TR type static_tr TR is static wa...
cppi5_tr_set_trigger(9)
NAME cppi5_tr_set_trigger - Configure trigger0/1 and trigger0/1_type SYNOPSIS void cppi5_tr_set_trigger (cppi5_tr_flags_t *flags , enum cppi5_tr_trigger trigger0 , enum cppi5_tr_trigger_type trigger0_type , enum cppi5_tr_trigger trigger1 , enum cppi5_tr_trigger_type trigger1_type ); ARGUMENTS flags Pointer to t...
cppi5_trdesc_calc_size(9)
NAME cppi5_trdesc_calc_size - Calculate TR Descriptor size SYNOPSIS size_t cppi5_trdesc_calc_size (u32 tr_count , u32 tr_size ); ARGUMENTS tr_count number of TR records tr_size Nominal size of TR record (max) [16, 32, 64, 128] DESCRIPTION Returns required TR Descriptor size SEE ALSO Kernel file ./i...
cppi5_trdesc_init(9)
NAME cppi5_trdesc_init - Init TR Descriptor SYNOPSIS void cppi5_trdesc_init (struct cppi5_desc_hdr_t *desc_hdr , u32 tr_count , u32 tr_size , u32 reload_idx , u32 reload_count ); ARGUMENTS desc_hdr -- undescribed -- tr_count number of TR records tr_size Nominal size of TR record (max) [16, 3...
cpqhp_find_slot(9)
NAME cpqhp_find_slot - find the struct slot of given device SYNOPSIS struct slot * cpqhp_find_slot (struct controller *ctrl , u8 device ); ARGUMENTS ctrl scan lots of this controller device the device id to find SEE ALSO Kernel file ./drivers/pci/hotplug/cpqphp_ctrl.c sort_by_size(9), sort_by...
cpqhp_hardware_test(9)
NAME cpqhp_hardware_test - runs hardware tests SYNOPSIS int cpqhp_hardware_test (struct controller *ctrl , int test_num ); ARGUMENTS ctrl target controller test_num the number written to the "test" file in sysfs. DESCRIPTION For hot plug ctrl folks to play with. SEE ALSO Kernel file ./drivers/pc...
cpqhp_pushbutton_thread(9)
NAME cpqhp_pushbutton_thread - handle pushbutton events SYNOPSIS void cpqhp_pushbutton_thread (struct timer_list *t ); ARGUMENTS t pointer to struct timer_list which holds all timer-related callbacks DESCRIPTION Scheduled procedure to handle blocking stuff for the pushbuttons. Handles all pending events a...
cpqhp_resource_sort_and_combine(9)
NAME cpqhp_resource_sort_and_combine - sort nodes by base addresses and clean up SYNOPSIS int cpqhp_resource_sort_and_combine (struct pci_resource **head ); ARGUMENTS head the list to sort and clean up DESCRIPTION Sorts all of the nodes in the list in ascending order by their base addresses. Also does garbag...
cpqhp_set_attention_status(9)
NAME cpqhp_set_attention_status - Turns the Amber LED for a slot on or off SYNOPSIS int cpqhp_set_attention_status (struct controller *ctrl , struct pci_func *func , u32 status ); ARGUMENTS ctrl struct controller to use func PCI device/function info status LED control flag: 1 = LED ...
cpqhp_slot_create(9)
NAME cpqhp_slot_create - Creates a node and adds it to the proper bus. SYNOPSIS struct pci_func * cpqhp_slot_create (u8 busnumber ); ARGUMENTS busnumber bus where new node is to be located DESCRIPTION Returns pointer to the new node or NULL if unsuccessful. SEE ALSO Kernel file ./drivers/pci/hotplug/cpqphp_ctrl....