id
stringlengths
4
63
text
stringlengths
153
8.81M
perlthrtut(1)
NAME perlthrtut - Tutorial on threads in Perl DESCRIPTION This tutorial describes the use of Perl interpreter threads (sometimes referred to as ithreads). In this model, each thread runs in its own Perl interpreter, and any data sharing between threads must be explicit. The user-level interface for ithreads uses the...
perltie(1)
NAME perltie - how to hide an object class in a simple variable SYNOPSIS tie VARIABLE, CLASSNAME, LIST $object = tied VARIABLE untie VARIABLE DESCRIPTION Prior to release 5.0 of Perl, a programmer could use dbmopen() to connect an on-disk database in the standard Unix dbm(3x) format magically to a %...
perltoc(1)
NAME perltoc - perl documentation table of contents DESCRIPTION This page provides a brief table of contents for the rest of the Perl documentation set. It is meant to be scanned quickly or grepped through to locate the proper section you're looking for. BASIC DOCUMENTATION perl - The Perl 5 language interpreter SYN...
perltodo(1)
NAME perltodo - Link to the Perl to-do list DESCRIPTION The Perl 5 to-do list is maintained in the git repository, and can be viewed at <https://github.com/Perl/perl5/blob/blead/Porting/todo.pod>. (The to-do list used to be here in perltodo. That has stopped, as installing a snapshot that becomes increasingly ...
perltooc(1)
NAME perltooc - Links to information on object-oriented programming in Perl DESCRIPTION For information on OO programming with Perl, please see perlootut and perlobj. (The above documents supersede the tutorial that was formerly here in perltooc.) perl v5.40.0 ...
perltoot(1)
NAME perltoot - Links to information on object-oriented programming in Perl DESCRIPTION For information on OO programming with Perl, please see perlootut and perlobj. (The above documents supersede the tutorial that was formerly here in perltoot.) perl v5.40.0 ...
perltrap(1)
NAME perltrap - Perl traps for the unwary DESCRIPTION The biggest trap of all is forgetting to "use warnings" or use the -w switch; see warnings and "-w" in perlrun. The second biggest trap is not making your entire program runnable under "use strict". The third biggest trap is not reading the list of changes in this...
perltru64(1)
NAME perltru64 - Perl version 5 on Tru64 (formerly known as Digital UNIX formerly known as DEC OSF/1) systems DESCRIPTION This document describes various features of HP's (formerly Compaq's, formerly Digital's) Unix operating system (Tru64) that will affect how Perl version 5 (hereafter just Perl) is configured, compi...
perltw(1)
NAME perltw - 正體中文 Perl 指南 DESCRIPTION 歡迎來到 Perl 的天地! 從 5.8.0 版開始, Perl 具備了完善的 Unicode (萬國碼) 支援, 也連帶支援了許多拉丁語系以外的編碼方式; CJK (中日韓) 便是其中的一部份. Unicode 是國際性的標準, 試圖涵蓋世界上所有的字符: 西方世界, 東方世界, 以及兩者間的一切 (希臘文, 敘利亞文, 阿拉伯文, 希伯來文, 印度文, 印地安文, 等等). 它也容納了多種作業系統與平臺 (如 PC 及麥金塔). Perl 本身以 Unicode 進行操作. 這表示 Perl 內部的字串...
perlunicode(1)
NAME perlunicode - Unicode support in Perl DESCRIPTION If you haven't already, before reading this document, you should become familiar with both perlunitut and perluniintro. Unicode aims to UNI-fy the en-CODE-ings of all the world's character sets into a single Standard. For quite a few of the various codin...
perlunicook(1)
NAME perlunicook - cookbookish examples of handling Unicode in Perl DESCRIPTION This manpage contains short recipes demonstrating how to handle common Unicode operations in Perl, plus one complete program at the end. Any undeclared variables in individual recipes are assumed to have a previous appropriate value in the...
perlunifaq(1)
NAME perlunifaq - Perl Unicode FAQ Q and A This is a list of questions and answers about Unicode in Perl, intended to be read after perlunitut. perlunitut isn't really a Unicode tutorial, is it? No, and this isn't really a Unicode FAQ. Perl has an abstracted interface for all supported character enc...
perluniintro(1)
NAME perluniintro - Perl Unicode introduction DESCRIPTION This document gives a general idea of Unicode and how to use Unicode in Perl. See "Further Resources" for references to more in-depth treatments of Unicode. Unicode Unicode is a character set standard which plans to codify all of the writing systems...
perluniprops(1)
NAME perluniprops - Index of Unicode Version 15.0.0 character properties in Perl DESCRIPTION This document provides information about the portion of the Unicode database that deals with character properties, that is the portion that is defined on single code points. ("Other information in the Unicode data base" below...
perlunitut(1)
NAME perlunitut - Perl Unicode Tutorial DESCRIPTION The days of just flinging strings around are over. It's well established that modern programs need to be capable of communicating funny accented letters, and things like euro symbols. This means that programmers need new habits. It's easy to program Unicode capable s...
perlutil(1)
NAME perlutil - utilities packaged with the Perl distribution DESCRIPTION Along with the Perl interpreter itself, the Perl distribution installs a range of utilities on your system. There are also several utilities which are used by the Perl distribution itself as part of the install process. This document exists to l...
perlvar(1)
NAME perlvar - Perl predefined variables DESCRIPTION The Syntax of Variable Names Variable names in Perl can have several formats. Usually, they must begin with a letter or underscore, in which case they can be arbitrarily long (up to an internal limit of 251 characters) and may contain letters, digits, underscores, ...
perlvms(1)
NAME perlvms - VMS-specific documentation for Perl DESCRIPTION Gathered below are notes describing details of Perl 5's behavior on VMS. They are a supplement to the regular Perl 5 documentation, so we have focussed on the ways in which Perl 5 functions differently under VMS than it does under Unix, and on the interac...
perlvos(1)
NAME perlvos - Perl for Stratus OpenVOS SYNOPSIS This file contains notes for building perl on the Stratus OpenVOS operating system. Perl is a scripting or macro language that is popular on many systems. See perlbook for a number of good books on Perl. These are instructions for building Perl from source. T...
perlwin32(1)
NAME perlwin32 - Perl under Windows SYNOPSIS These are instructions for building Perl under Windows 7 and later. DESCRIPTION Before you start, you should glance through the README file found in the top-level directory to which the Perl distribution was extracted. Make sure you read and understand the terms under whi...
perlxs(1)
NAME perlxs - XS language reference manual DESCRIPTION Introduction XS is an interface description file format used to create an extension interface between Perl and C code (or a C library) which one wishes to use with Perl. The XS interface is combined with the library to create a new library which can then be eithe...
perlxstut(1)
NAME perlxstut - Tutorial for writing XSUBs DESCRIPTION This tutorial will educate the reader on the steps involved in creating a Perl extension. The reader is assumed to have access to perlguts, perlclib, perlapi, and perlxs. This tutorial starts with very simple examples and becomes more complex, with each ...
perlxstypemap(1)
NAME perlxstypemap - Perl XS C/Perl type mapping DESCRIPTION The more you think about interfacing between two languages, the more you'll realize that the majority of programmer effort has to go into converting between the data structures that are native to either of the languages involved. This trumps other matter su...
perror(1)
NAME perror - explain error codes SYNOPSIS perror [options] errorcode ... DESCRIPTION For most system errors, MariaDB displays, in addition to an internal text message, the system error code in one of the following styles: message ... (errno: #) message ... (Errcode: #) You can ...
perror(3)
NAME perror - print a system error message LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> void perror(const char *s); #include <errno.h> int errno; /* Not really declared this way; see errno(3) */ [[deprecated]] const char *const sys_errlist[]; [[deprecated]...
perror(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 perror — write error messages to standard error SYNOPSIS #incl...
persistent-keyring(7)
NAME persistent-keyring - per-user persistent keyring DESCRIPTION The persistent keyring is a keyring used to anchor keys on behalf of a user. Each UID the kernel deals with has its own persistent keyring that is shared between all threads owned by that UID. The persistent keyring has a name (description) of the for...
persistent_id_show(9)
NAME persistent_id_show - SysFS callback for persisten ID display SYNOPSIS ssize_t persistent_id_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device attr Device attributes buf Buffer to copy RETURN sysfs_emit return after copying p...
personality(2)
NAME personality - set the process execution domain LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/personality.h> int personality(unsigned long persona); DESCRIPTION Linux supports different execution domains, or personalities, for each process. Among other things, execution domains tell Li...
pf9453_regulator_disable_regmap(9)
NAME pf9453_regulator_disable_regmap - disable regulator for regmap users SYNOPSIS int pf9453_regulator_disable_regmap (struct regulator_dev *rdev ); ARGUMENTS rdev regulator to operate on DESCRIPTION Regulators that use regmap for their register I/O can set the enable_reg and enable_mask fields in their desc...
pf9453_regulator_enable_regmap(9)
NAME pf9453_regulator_enable_regmap - enable regulator for regmap users SYNOPSIS int pf9453_regulator_enable_regmap (struct regulator_dev *rdev ); ARGUMENTS rdev regulator to operate on DESCRIPTION Regulators that use regmap for their register I/O can set the enable_reg and enable_mask fields in their descrip...
pf9453_regulator_set_ramp_delay_regmap(9)
NAME pf9453_regulator_set_ramp_delay_regmap - set ramp delay for regmap users SYNOPSIS int pf9453_regulator_set_ramp_delay_regmap (struct regulator_dev *rdev , int ramp_delay ); ARGUMENTS rdev regulator to operate on ramp_delay desired ramp delay value in microseconds DESCRIPTION Regulators that use ...
pf9453_regulator_set_voltage_sel_regmap(9)
NAME pf9453_regulator_set_voltage_sel_regmap - set voltage for regmap users SYNOPSIS int pf9453_regulator_set_voltage_sel_regmap (struct regulator_dev *rdev , unsigned int sel ); ARGUMENTS rdev regulator to operate on sel Selector to set DESCRIPTION Regulators that use regmap for their registe...
pfb2pfa(1)
NAME pfb2pfa - convert a type1 pfb file (binary MSDOS) into a pfa (ASCII) SYNOPSIS pfb2pfa [-v] pfbfile [pfafile] DESCRIPTION Program converts a binary MSDOS representation for a type1 PostScript font into a readable ASCII version. The MSDOS newline (\r) is converted into the UNIX newline (\n). The output is writte...
pfn_is_nosave(9)
NAME pfn_is_nosave - check if given pfn is in the 'nosave' section SYNOPSIS int pfn_is_nosave (unsigned long pfn ); ARGUMENTS pfn the page frame number to check. SEE ALSO Kernel file ./arch/x86/power/hibernate.c compute_e820_crc32(9), arch_hibernation_header_save(9), arch_hibernation_header_restore(9) April...
pfn_mkclean_range(9)
NAME pfn_mkclean_range - Cleans the PTEs (including PMDs) mapped with range of [@pfn, @pfn + @nr_pages) at the specific offset (@pgoff) within the @vma of shared mappings. And since clean PTEs should also be readonly, write protects them too. SYNOPSIS int pfn_mkclean_range (unsigned long pfn , unsigned long nr_page...
pfn_valid(9)
NAME pfn_valid - check if there is a valid memory map entry for a PFN SYNOPSIS int pfn_valid (unsigned long pfn ); ARGUMENTS pfn the page frame number to check DESCRIPTION Check if there is a valid memory map entry aka struct page for the pfn. Note, that availability of the memory map entry does not imply ...
pfnmap_setup_cachemode(9)
NAME pfnmap_setup_cachemode - setup the cachemode in the pgprot for a pfn range SYNOPSIS int pfnmap_setup_cachemode (unsigned long pfn , unsigned long size , pgprot_t *prot ); ARGUMENTS pfn the start of the pfn range size the size of the pfn range in bytes prot the pgprot to modi...
pfnmap_setup_cachemode_pfn(9)
NAME pfnmap_setup_cachemode_pfn - setup the cachemode in the pgprot for a pfn SYNOPSIS void pfnmap_setup_cachemode_pfn (unsigned long pfn , pgprot_t *prot ); ARGUMENTS pfn the pfn prot the pgprot to modify DESCRIPTION Lookup the cachemode for pfn and store it in prot, leaving other data in pro...
pfnmap_track(9)
NAME pfnmap_track - track a pfn range SYNOPSIS int pfnmap_track (unsigned long pfn , unsigned long size , pgprot_t *prot ); ARGUMENTS pfn the start of the pfn range size the size of the pfn range in bytes prot the pgprot to track DESCRIPTION Requested the pfn range to be 'track...
pfnmap_untrack(9)
NAME pfnmap_untrack - untrack a pfn range SYNOPSIS void pfnmap_untrack (unsigned long pfn , unsigned long size ); ARGUMENTS pfn the start of the pfn range size the size of the pfn range in bytes DESCRIPTION Untrack a pfn range previously tracked through pfnmap_track. SEE ALSO Kernel file ...
pg_amcheck(1)
NAME pg_amcheck - checks for corruption in one or more PostgreSQL databases SYNOPSIS pg_amcheck [option...] [dbname] DESCRIPTION pg_amcheck supports running amcheck's corruption checking functions against one or more databases, with options to select which schemas, tables and indexes to check, which kinds of ...
pg_archivecleanup(1)
NAME pg_archivecleanup - clean up PostgreSQL WAL archive files SYNOPSIS pg_archivecleanup [option...] archivelocation oldestkeptwalfile DESCRIPTION pg_archivecleanup is designed to be used as an archive_cleanup_command to clean up WAL file archives when running as a standby server (see Section 27.2). pg_arch...
pg_basebackup(1)
NAME pg_basebackup - take a base backup of a PostgreSQL cluster SYNOPSIS pg_basebackup [option...] DESCRIPTION pg_basebackup is used to take a base backup of a running PostgreSQL database cluster. The backup is taken without affecting other clients of the database, and can be used both for point-in-time recov...
pg_checksums(1)
NAME pg_checksums - enable, disable or check data checksums in a PostgreSQL database cluster SYNOPSIS pg_checksums [option...] [[-D | --pgdata]datadir] DESCRIPTION pg_checksums checks, enables or disables data checksums in a PostgreSQL cluster. The server must be shut down cleanly before running pg_checksums....
pg_config(1)
NAME pg_config - retrieve information about the installed version of PostgreSQL SYNOPSIS pg_config [option...] DESCRIPTION The pg_config utility prints configuration parameters of the currently installed version of PostgreSQL. It is intended, for example, to be used by software packages that want to interface...
pg_controldata(1)
NAME pg_controldata - display control information of a PostgreSQL database cluster SYNOPSIS pg_controldata [option] [[-D | --pgdata]datadir] DESCRIPTION pg_controldata prints information initialized during initdb, such as the catalog version. It also shows information about write-ahead logging and checkpoint ...
pg_ctl(1)
NAME pg_ctl - initialize, start, stop, or control a PostgreSQL server SYNOPSIS pg_ctl init[db] [-D datadir] [-s] [-o initdb-options] pg_ctl start [-D datadir] [-l filename] [-W] [-t seconds] [-s] [-o options] [-p path] [-c] pg_ctl stop [-D datadir] [-m s[mart] | f[ast] | i[mmediate]] [-W] [-t s...
pg_dump(1)
NAME pg_dump - extract a PostgreSQL database into a script file or other archive file SYNOPSIS pg_dump [connection-option...] [option...] [dbname] DESCRIPTION pg_dump is a utility for backing up a PostgreSQL database. It makes consistent backups even if the database is being used concurrently. pg_dump does n...
pg_dumpall(1)
NAME pg_dumpall - extract a PostgreSQL database cluster into a script file SYNOPSIS pg_dumpall [connection-option...] [option...] DESCRIPTION pg_dumpall is a utility for writing out (“dumping”) all PostgreSQL databases of a cluster into one script file. The script file contains SQL commands that can be used a...
pg_isready(1)
NAME pg_isready - check the connection status of a PostgreSQL server SYNOPSIS pg_isready [connection-option...] [option...] DESCRIPTION pg_isready is a utility for checking the connection status of a PostgreSQL database server. The exit status specifies the result of the connection check. OPTIONS -d dbname -...
pg_receivewal(1)
NAME pg_receivewal - stream write-ahead logs from a PostgreSQL server SYNOPSIS pg_receivewal [option...] DESCRIPTION pg_receivewal is used to stream the write-ahead log from a running PostgreSQL cluster. The write-ahead log is streamed using the streaming replication protocol, and is written to a local direct...
pg_recvlogical(1)
NAME pg_recvlogical - control PostgreSQL logical decoding streams SYNOPSIS pg_recvlogical [option...] DESCRIPTION pg_recvlogical controls logical decoding replication slots and streams data from such replication slots. It creates a replication-mode connection, so it is subject to the same constraints ...
pg_resetwal(1)
NAME pg_resetwal - reset the write-ahead log and other control information of a PostgreSQL database cluster SYNOPSIS pg_resetwal [-f | --force] [-n | --dry-run] [option...] [-D | --pgdata]datadir DESCRIPTION pg_resetwal clears the write-ahead log (WAL) and optionally resets some other control information stor...
pg_restore(1)
NAME pg_restore - restore a PostgreSQL database from an archive file created by pg_dump SYNOPSIS pg_restore [connection-option...] [option...] [filename] DESCRIPTION pg_restore is a utility for restoring a PostgreSQL database from an archive created by pg_dump(1) in one of the non-plain-text formats. It will ...
pg_rewind(1)
NAME pg_rewind - synchronize a PostgreSQL data directory with another data directory that was forked from it SYNOPSIS pg_rewind [option...] {-D | --target-pgdata} directory {--source-pgdata=directory | --source-server=connstr} DESCRIPTION pg_rewind is a tool for synchronizing a PostgreSQL cluster with another...
pg_test_fsync(1)
NAME pg_test_fsync - determine fastest wal_sync_method for PostgreSQL SYNOPSIS pg_test_fsync [option...] DESCRIPTION pg_test_fsync is intended to give you a reasonable idea of what the fastest wal_sync_method is on your specific system, as well as supplying diagnostic information in the event of an identified...
pg_test_timing(1)
NAME pg_test_timing - measure timing overhead SYNOPSIS pg_test_timing [option...] DESCRIPTION pg_test_timing is a tool to measure the timing overhead on your system and confirm that the system time never moves backwards. Systems that are slow to collect timing data can give less accurate EXPLAIN ANALYZE resul...
pg_upgrade(1)
NAME pg_upgrade - upgrade a PostgreSQL server instance SYNOPSIS pg_upgrade -b oldbindir [-B newbindir] -d oldconfigdir -D newconfigdir [option...] DESCRIPTION pg_upgrade (formerly called pg_migrator) allows data stored in PostgreSQL data files to be upgraded to a later PostgreSQL major version without the dat...
pg_verifybackup(1)
NAME pg_verifybackup - verify the integrity of a base backup of a PostgreSQL cluster SYNOPSIS pg_verifybackup [option...] DESCRIPTION pg_verifybackup is used to check the integrity of a database cluster backup taken using pg_basebackup against a backup_manifest generated by the server at the time of the backu...
pg_waldump(1)
NAME pg_waldump - display a human-readable rendering of the write-ahead log of a PostgreSQL database cluster SYNOPSIS pg_waldump [option...] [startseg [endseg]] DESCRIPTION pg_waldump displays the write-ahead log (WAL) and is mainly useful for debugging or educational purposes. This utility can only b...
pgbench(1)
NAME pgbench - run a benchmark test on PostgreSQL SYNOPSIS pgbench -i [option...] [dbname] pgbench [option...] [dbname] DESCRIPTION pgbench is a simple program for running benchmark tests on PostgreSQL. It runs the same sequence of SQL commands over and over, possibly in multiple concurrent database s...
pgrep(1)
NAME pgrep, pkill, pidwait - look up, signal, or wait for processes based on name and other attributes SYNOPSIS pgrep [options] pattern pkill [options] pattern pidwait [options] pattern DESCRIPTION pgrep looks through the currently running processes and lists the process IDs which match the selection criteria to stdo...
phm_get_clock_info(9)
NAME phm_get_clock_info - SYNOPSIS int phm_get_clock_info (struct pp_hwmgr *hwmgr , const struct pp_hw_power_state *state , struct pp_clock_info *pclock_info , PHM_PerformanceLevelDesignation designation ); ARGUMENTS hwmgr the address of the powerplay hardware manager. state the address of the Pow...
phm_initializa_dynamic_state_adjustment_rule_settings(9)
NAME phm_initializa_dynamic_state_adjustment_rule_settings - Initialize Dynamic State Adjustment Rule Settings SYNOPSIS int phm_initializa_dynamic_state_adjustment_rule_settings (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. SEE ALSO Kernel file ./drivers/gpu/drm/amd/...
phm_start_thermal_controller(9)
NAME phm_start_thermal_controller - Initializes the thermal controller subsystem. SYNOPSIS int phm_start_thermal_controller (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. Exception PP_Result_Failed if any of the paramters is NULL, otherwise the return value from the d...
phy_CalculateBitShift(9)
NAME phy_CalculateBitShift - Get shifted position of the BitMask. SYNOPSIS u32 phy_CalculateBitShift (u32 BitMask ); ARGUMENTS BitMask Bitmask. RETURN Return the shift bit position of the mask SEE ALSO Kernel file ./drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c PHY_QueryBBReg_8723B(9), PHY_SetBBReg_8723B(9), ...
phy_InitBBRFRegisterDefinition(9)
NAME phy_InitBBRFRegisterDefinition - Initialize Register definition offset for Radio Path A/B/C/D SYNOPSIS void phy_InitBBRFRegisterDefinition (struct adapter *Adapter ); ARGUMENTS Adapter DESCRIPTION .. Note:: The initialization value is constant and it should never be changes SEE ALSO Kernel file ./dr...
phy_RFSerialWrite_8723B(9)
NAME phy_RFSerialWrite_8723B - Write data to RF register (page 8~). SYNOPSIS void phy_RFSerialWrite_8723B (struct adapter *Adapter , enum rf_path eRFPath , u32 Offset , u32 Data ); ARGUMENTS Adapter eRFPath Radio path of A/B/C/D Offset The target address to be read Data The new...
phy_advertise_eee_all(9)
NAME phy_advertise_eee_all - Advertise all supported EEE modes SYNOPSIS void phy_advertise_eee_all (struct phy_device *phydev ); ARGUMENTS phydev target phy_device struct DESCRIPTION Per default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes...
phy_advertise_supported(9)
NAME phy_advertise_supported - Advertise all supported modes SYNOPSIS void phy_advertise_supported (struct phy_device *phydev ); ARGUMENTS phydev target phy_device struct DESCRIPTION Called to advertise all supported modes, doesn't touch pause mode advertising. SEE ALSO Kernel file ./drivers/net/phy/phy_devi...
phy_aneg_done(9)
NAME phy_aneg_done - return auto-negotiation status SYNOPSIS int phy_aneg_done (struct phy_device *phydev ); ARGUMENTS phydev target phy_device struct DESCRIPTION Return the auto-negotiation status from this phydev Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending. SEE ALSO...
phy_attach(9)
NAME phy_attach - attach a network device to a particular PHY device SYNOPSIS struct phy_device * phy_attach (struct net_device *dev , const char *bus_id , phy_interface_t interface ); ARGUMENTS dev network device to attach bus_id Bus ID of PHY device to attach interface PHY device's in...
phy_attach_direct(9)
NAME phy_attach_direct - attach a network device to a given PHY device pointer SYNOPSIS int phy_attach_direct (struct net_device *dev , struct phy_device *phydev , u32 flags , phy_interface_t interface ); ARGUMENTS dev network device to attach phydev Pointer to phy_device to attach flags ...
phy_attest_sequence_begin(9)
NAME phy_attest_sequence_begin - Begin a response data for attestation command retrieval sequence. SYNOPSIS void phy_attest_sequence_begin (struct papr_rtas_sequence *seq ); ARGUMENTS seq user specified parameters for RTAS call from seq struct. CONTEXT May sleep. SEE ALSO Kernel file ./arch/powerpc/platform...
phy_attest_sequence_end(9)
NAME phy_attest_sequence_end - Finalize a attestation command response retrieval sequence. SYNOPSIS void phy_attest_sequence_end (struct papr_rtas_sequence *seq ); ARGUMENTS seq Sequence state. DESCRIPTION Releases resources obtained by phy_attest_sequence_begin. SEE ALSO Kernel file ./arch/powerpc/platform...
phy_calibrate(9)
NAME phy_calibrate - Tunes the phy hw parameters for current configuration SYNOPSIS int phy_calibrate (struct phy *phy ); ARGUMENTS phy the phy returned by phy_get DESCRIPTION Used to calibrate phy hardware, typically by adjusting some parameters in runtime, which are otherwise lost after host controller res...
phy_can_wakeup(9)
NAME phy_can_wakeup - indicate whether PHY has driver model wakeup capabilities SYNOPSIS bool phy_can_wakeup (struct phy_device *phydev ); ARGUMENTS phydev The phy_device struct RETURN true/false depending on the PHY driver's device_set_wakeup_capable setting. SEE ALSO Kernel file ./include/linux/phy.h enum...
phy_caps_from_interface(9)
NAME phy_caps_from_interface - Get the link capa from a given PHY interface SYNOPSIS unsigned long phy_caps_from_interface (phy_interface_t interface ); ARGUMENTS interface The PHY interface we want to get the possible Speed/Duplex from RETURN A bitmask of LINK_CAPA_xxx values that can be achieved with the provide...
phy_caps_init(9)
NAME phy_caps_init - Initializes the link_caps array from the link_mode_params. SYNOPSIS int phy_caps_init (void ); ARGUMENTS void no arguments RETURN 0 if phy caps init was successful, -EINVAL if we found an unexpected linkmode setting that requires LINK_CAPS update. SEE ALSO Kernel file ./drivers/net...
phy_caps_linkmode_max_speed(9)
NAME phy_caps_linkmode_max_speed - Clamp a linkmodes set to a max speed SYNOPSIS void phy_caps_linkmode_max_speed (u32 max_speed , unsigned long *linkmodes ); ARGUMENTS max_speed Speed limit for the linkmode set linkmodes Linkmodes to limit SEE ALSO Kernel file ./drivers/net/phy/phy_caps.c phy_caps...
phy_caps_linkmodes(9)
NAME phy_caps_linkmodes - Convert a bitfield of capabilities into linkmodes SYNOPSIS void phy_caps_linkmodes (unsigned long caps , unsigned long *linkmodes ); ARGUMENTS caps The list of caps, each bit corresponding to a LINK_CAPA value linkmodes The set of linkmodes to fill. Must be previously initia...
phy_caps_lookup(9)
NAME phy_caps_lookup - Lookup capabilities by speed/duplex that matches a mask SYNOPSIS const struct link_capabilities * phy_caps_lookup (int speed , unsigned int duplex , const unsigned long *supported , bool exact ); ARGUMENTS speed Speed to match duplex Duplex to match supported Mask o...
phy_caps_lookup_by_linkmode(9)
NAME phy_caps_lookup_by_linkmode - Lookup the fastest matching link_capabilities SYNOPSIS const struct link_capabilities * phy_caps_lookup_by_linkmode (const unsigned long *linkmodes ); ARGUMENTS linkmodes Linkmodes to match against RETURN The highest-speed link_capabilities that intersects the given linkmodes. In...
phy_caps_lookup_by_linkmode_rev(9)
NAME phy_caps_lookup_by_linkmode_rev - Lookup the slowest matching link_capabilities SYNOPSIS const struct link_capabilities * phy_caps_lookup_by_linkmode_rev (const unsigned long *linkmodes , bool fdx_only ); ARGUMENTS linkmodes Linkmodes to match against fdx_only Full duplex match only when set RETURN...
phy_caps_medium_get_supported(9)
NAME phy_caps_medium_get_supported - Returns linkmodes supported on a given medium SYNOPSIS void phy_caps_medium_get_supported (unsigned long *supported , enum ethtool_link_medium medium , int pairs ); ARGUMENTS supported After this call, contains all possible linkmodes on a given medium, and with the given number ...
phy_caps_mediums_from_linkmodes(9)
NAME phy_caps_mediums_from_linkmodes - Get all mediums from a linkmodes list SYNOPSIS u32 phy_caps_mediums_from_linkmodes (unsigned long *linkmodes ); ARGUMENTS linkmodes A bitset of linkmodes to get the mediums from RETURN A bitset of ETHTOOL_MEDIUM_XXX values corresponding to all medium types in the linkmodes li...
phy_caps_speeds(9)
NAME phy_caps_speeds - Fill an array of supported SPEED_* values for given modes SYNOPSIS size_t phy_caps_speeds (unsigned int *speeds , size_t size , unsigned long *linkmodes ); ARGUMENTS speeds Output array to store the speeds list into size Size of the output array linkmodes Linkmodes...
phy_caps_valid(9)
NAME phy_caps_valid - Validate a linkmodes set agains given speed and duplex SYNOPSIS bool phy_caps_valid (int speed , int duplex , const unsigned long *linkmodes ); ARGUMENTS speed input speed to validate duplex input duplex to validate. Passing DUPLEX_UNKNOWN is always not valid linkmodes...
phy_check_downshift(9)
NAME phy_check_downshift - check whether downshift occurred SYNOPSIS void phy_check_downshift (struct phy_device *phydev ); ARGUMENTS phydev The phy_device struct DESCRIPTION Check whether a downshift to a lower speed occurred. If this should be the case warn the user. Prerequisite for detecting downshift is t...
phy_check_link_status(9)
NAME phy_check_link_status - check link status and set state accordingly SYNOPSIS int phy_check_link_status (struct phy_device *phydev ); ARGUMENTS phydev the phy_device struct DESCRIPTION Check for link and whether autoneg was triggered / is running and set state accordingly SEE ALSO Kernel file ./drivers/ne...
phy_check_valid(9)
NAME phy_check_valid - check if there is a valid PHY setting which matches speed, duplex, and feature mask SYNOPSIS bool phy_check_valid (int speed , int duplex , unsigned long *features ); ARGUMENTS speed speed to match duplex duplex to match features A mask of the valid settings DESCR...
phy_clear_bits(9)
NAME phy_clear_bits - Convenience function for clearing bits in a PHY register SYNOPSIS int phy_clear_bits (struct phy_device *phydev , u32 regnum , u16 val ); ARGUMENTS phydev the phy_device struct regnum register number to write val bits to clear SEE ALSO Kernel file ./include/l...
phy_clear_bits_mmd(9)
NAME phy_clear_bits_mmd - Convenience function for clearing bits in a register on MMD SYNOPSIS int phy_clear_bits_mmd (struct phy_device *phydev , int devad , u32 regnum , u16 val ); ARGUMENTS phydev the phy_device struct devad the MMD containing register to modify regnum register numb...
phy_config_inband(9)
NAME phy_config_inband - configure the desired PHY in-band mode SYNOPSIS int phy_config_inband (struct phy_device *phydev , unsigned int modes ); ARGUMENTS phydev the phy_device struct modes in-band modes to configure DESCRIPTION disables, enables or enables-with-bypass in-band signalling between ...
phy_config_interrupt(9)
NAME phy_config_interrupt - configure the PHY device for the requested interrupts SYNOPSIS int phy_config_interrupt (struct phy_device *phydev , bool interrupts ); ARGUMENTS phydev the phy_device struct interrupts interrupt flags to configure for this phydev DESCRIPTION Returns 0 on success or < 0 on e...
phy_configure(9)
NAME phy_configure - Changes the phy parameters SYNOPSIS int phy_configure (struct phy *phy , union phy_configure_opts *opts ); ARGUMENTS phy the phy returned by phy_get opts New configuration to apply DESCRIPTION Used to change the PHY parameters. phy_init must have been called on the phy. Th...
phy_connect(9)
NAME phy_connect - connect an ethernet device to a PHY device SYNOPSIS struct phy_device * phy_connect (struct net_device *dev , const char *bus_id , void (*handler)(struct net_device *) , phy_interface_t interface ); ARGUMENTS dev the network device to connect bus_id the id string of the PHY dev...
phy_connect_direct(9)
NAME phy_connect_direct - connect an ethernet device to a specific phy_device SYNOPSIS int phy_connect_direct (struct net_device *dev , struct phy_device *phydev , void (*handler)(struct net_device *) , phy_interface_t interface ); ARGUMENTS dev the network device to connect phydev the pointer to...
phy_create(9)
NAME phy_create - create a new phy SYNOPSIS struct phy * phy_create (struct device *dev , struct device_node *node , const struct phy_ops *ops ); ARGUMENTS dev device that is creating the new phy node device node of the phy ops function pointers for performing phy operations DE...