id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
genpd_complete(9) | NAME genpd_complete - Complete power transition of a device in a power domain.
SYNOPSIS void genpd_complete (struct device *dev );
ARGUMENTS dev Device to complete the transition of.
DESCRIPTION Complete a power transition of a device (during a system-wide power transition) under the assumption that its pm_... |
genpd_dev_pm_attach(9) | NAME genpd_dev_pm_attach - Attach a device to its PM domain using DT.
SYNOPSIS int genpd_dev_pm_attach (struct device *dev );
ARGUMENTS dev Device to attach.
DESCRIPTION Parse device's OF node to find a PM domain specifier. If such is found, attaches the device to retrieved pm_domain ops. Returns 1 on succ... |
genpd_dev_pm_attach_by_id(9) | NAME genpd_dev_pm_attach_by_id - Associate a device with one of its PM domains.
SYNOPSIS struct device * genpd_dev_pm_attach_by_id (struct device *dev , unsigned int index );
ARGUMENTS dev The device used to lookup the PM domain.
index The index of the PM domain.
DESCRIPTION Parse device's OF... |
genpd_dev_pm_attach_by_name(9) | NAME genpd_dev_pm_attach_by_name - Associate a device with one of its PM domains.
SYNOPSIS struct device * genpd_dev_pm_attach_by_name (struct device *dev , const char *name );
ARGUMENTS dev The device used to lookup the PM domain.
name The name of the PM domain.
DESCRIPTION Parse device's OF ... |
genpd_dev_pm_detach(9) | NAME genpd_dev_pm_detach - Detach a device from its PM domain.
SYNOPSIS void genpd_dev_pm_detach (struct device *dev , bool power_off );
ARGUMENTS dev Device to detach.
power_off Currently not used
DESCRIPTION Try to locate a corresponding generic PM domain, which the device was attached to previou... |
genpd_finish_resume(9) | NAME genpd_finish_resume - Completion of resume of device in an I/O PM domain.
SYNOPSIS int genpd_finish_resume (struct device *dev , int (*resume_noirq)(struct device *dev) );
ARGUMENTS dev Device to resume.
resume_noirq
Generic resume_noirq callback.
DESCRIPTION Restore power to ... |
genpd_finish_suspend(9) | NAME genpd_finish_suspend - Completion of suspend or hibernation of device in an I/O pm domain.
SYNOPSIS int genpd_finish_suspend (struct device *dev , int (*suspend_noirq)(struct device *dev) , int (*resume_noirq)(struct device *dev) );
ARGUMENTS dev Device to suspend.
suspend_noirq
... |
genpd_freeze_noirq(9) | NAME genpd_freeze_noirq - Completion of freezing a device in an I/O PM domain.
SYNOPSIS int genpd_freeze_noirq (struct device *dev );
ARGUMENTS dev Device to freeze.
DESCRIPTION Carry out a late freeze of a device under the assumption that its pm_domain field points to the domain member of an object of type ... |
genpd_get_from_provider(9) | NAME genpd_get_from_provider - Look-up PM domain
SYNOPSIS struct generic_pm_domain * genpd_get_from_provider (const struct of_phandle_args *genpdspec );
ARGUMENTS genpdspec OF phandle args to use for look-up
DESCRIPTION Looks for a PM domain provider under the node specified by genpdspec and if found, uses xlate f... |
genpd_power_off(9) | NAME genpd_power_off - Remove power from a given PM domain.
SYNOPSIS void genpd_power_off (struct generic_pm_domain *genpd , bool one_dev_on , unsigned int depth );
ARGUMENTS genpd PM domain to power down.
one_dev_on If invoked from genpd's ->runtime_suspend|resume callback, the RPM status of the relea... |
genpd_power_off_unused(9) | NAME genpd_power_off_unused - Power off all PM domains with no devices in use.
SYNOPSIS int genpd_power_off_unused (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/pmdomain/core.c dev_pm_genpd_set_performance_state(9), dev_pm_genpd_set_next_wakeup(9), dev_pm_genpd_get_next_hrtimer(9), dev_... |
genpd_power_off_work_fn(9) | NAME genpd_power_off_work_fn - Power off PM domain whose subdomain count is 0.
SYNOPSIS void genpd_power_off_work_fn (struct work_struct *work );
ARGUMENTS work Work structure used for scheduling the execution of this function.
SEE ALSO Kernel file ./drivers/pmdomain/core.c dev_pm_genpd_set_performance_state... |
genpd_power_on(9) | NAME genpd_power_on - Restore power to a given PM domain and its parents.
SYNOPSIS int genpd_power_on (struct generic_pm_domain *genpd , unsigned int depth );
ARGUMENTS genpd PM domain to power up.
depth nesting count for lockdep.
DESCRIPTION Restore power to genpd and all of its parents so that ... |
genpd_poweroff_noirq(9) | NAME genpd_poweroff_noirq - Completion of hibernation of device in an I/O PM domain.
SYNOPSIS int genpd_poweroff_noirq (struct device *dev );
ARGUMENTS dev Device to poweroff.
DESCRIPTION Stop the device and remove power from the domain if all devices in it have been stopped.
SEE ALSO Kernel file ./drivers... |
genpd_prepare(9) | NAME genpd_prepare - Start power transition of a device in a PM domain.
SYNOPSIS int genpd_prepare (struct device *dev );
ARGUMENTS dev Device to start the transition of.
DESCRIPTION Start a power transition of a device (during a system-wide power transition) under the assumption that its pm_domain field poi... |
genpd_queue_power_off_work(9) | NAME genpd_queue_power_off_work - Queue up the execution of genpd_power_off().
SYNOPSIS void genpd_queue_power_off_work (struct generic_pm_domain *genpd );
ARGUMENTS genpd PM domain to power off.
DESCRIPTION Queue up the execution of genpd_power_off unless it's already been done before.
SEE ALSO Kernel file ... |
genpd_restore_noirq(9) | NAME genpd_restore_noirq - Start of restore of device in an I/O PM domain.
SYNOPSIS int genpd_restore_noirq (struct device *dev );
ARGUMENTS dev Device to resume.
DESCRIPTION Make sure the domain will be in the same power state as before the hibernation the system is resuming from and start the device if nec... |
genpd_resume_noirq(9) | NAME genpd_resume_noirq - Start of resume of device in an I/O PM domain.
SYNOPSIS int genpd_resume_noirq (struct device *dev );
ARGUMENTS dev Device to resume.
DESCRIPTION Restore power to the device's PM domain, if necessary, and start the device.
SEE ALSO Kernel file ./drivers/pmdomain/core.c dev_pm_genp... |
genpd_runtime_resume(9) | NAME genpd_runtime_resume - Resume a device belonging to I/O PM domain.
SYNOPSIS int genpd_runtime_resume (struct device *dev );
ARGUMENTS dev Device to resume.
DESCRIPTION Carry out a runtime resume of a device under the assumption that its pm_domain field points to the domain member of an object of type st... |
genpd_runtime_suspend(9) | NAME genpd_runtime_suspend - Suspend a device belonging to I/O PM domain.
SYNOPSIS int genpd_runtime_suspend (struct device *dev );
ARGUMENTS dev Device to suspend.
DESCRIPTION Carry out a runtime suspend of a device under the assumption that its pm_domain field points to the domain member of an object of ty... |
genpd_suspend_noirq(9) | NAME genpd_suspend_noirq - Completion of suspend of device in an I/O PM domain.
SYNOPSIS int genpd_suspend_noirq (struct device *dev );
ARGUMENTS dev Device to suspend.
DESCRIPTION Stop the device and remove power from the domain if all devices in it have been stopped.
SEE ALSO Kernel file ./drivers/pmdoma... |
genpd_sync_power_off(9) | NAME genpd_sync_power_off - Synchronously power off a PM domain and its parents.
SYNOPSIS void genpd_sync_power_off (struct generic_pm_domain *genpd , bool use_lock , unsigned int depth );
ARGUMENTS genpd PM domain to power off, if possible.
use_lock use the lock.
depth nesting count fo... |
genpd_sync_power_on(9) | NAME genpd_sync_power_on - Synchronously power on a PM domain and its parents.
SYNOPSIS void genpd_sync_power_on (struct generic_pm_domain *genpd , bool use_lock , unsigned int depth );
ARGUMENTS genpd PM domain to power on.
use_lock use the lock.
depth nesting count for lockdep.
DESCR... |
genpd_thaw_noirq(9) | NAME genpd_thaw_noirq - Early thaw of device in an I/O PM domain.
SYNOPSIS int genpd_thaw_noirq (struct device *dev );
ARGUMENTS dev Device to thaw.
DESCRIPTION Start the device, unless power has been removed from the domain already before the system transition.
SEE ALSO Kernel file ./drivers/pmdomain/core... |
genpd_xlate_onecell(9) | NAME genpd_xlate_onecell - Xlate function using a single index.
SYNOPSIS struct generic_pm_domain * genpd_xlate_onecell (const struct of_phandle_args *genpdspec , void *data );
ARGUMENTS genpdspec OF phandle args to map into a PM domain
data xlate function private data - pointer to struct genpd_onece... |
genpd_xlate_simple(9) | NAME genpd_xlate_simple - Xlate function for direct node-domain mapping
SYNOPSIS struct generic_pm_domain * genpd_xlate_simple (const struct of_phandle_args *genpdspec , void *data );
ARGUMENTS genpdspec OF phandle args to map into a PM domain
data xlate function private data - pointer to struct gene... |
genphy_aneg_done(9) | NAME genphy_aneg_done - return auto-negotiation status
SYNOPSIS int genphy_aneg_done (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Reads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-... |
genphy_c37_config_advert(9) | NAME genphy_c37_config_advert - sanitize and advertise auto-negotiation parameters
SYNOPSIS int genphy_c37_config_advert (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Writes MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only ... |
genphy_c37_config_aneg(9) | NAME genphy_c37_config_aneg - restart auto-negotiation or write BMCR
SYNOPSIS int genphy_c37_config_aneg (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, the... |
genphy_c37_read_status(9) | NAME genphy_c37_read_status - check the link status and update current link state
SYNOPSIS int genphy_c37_read_status (struct phy_device *phydev , bool *changed );
ARGUMENTS phydev target phy_device struct
changed pointer where to store if link changed
DESCRIPTION Check the link, then figure out t... |
genphy_c45_an_config_aneg(9) | NAME genphy_c45_an_config_aneg - configure advertisement registers
SYNOPSIS int genphy_c45_an_config_aneg (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Configure advertisement registers based on modes set in phydev->advertising Returns negative errno code on failure, 0 if a... |
genphy_c45_an_config_eee_aneg(9) | NAME genphy_c45_an_config_eee_aneg - configure EEE advertisement
SYNOPSIS int genphy_c45_an_config_eee_aneg (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), genphy_c45_p... |
genphy_c45_an_disable_aneg(9) | NAME genphy_c45_an_disable_aneg - disable auto-negotiation
SYNOPSIS int genphy_c45_an_disable_aneg (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Disable auto-negotiation in the Clause 45 PHY. The link parameters are controlled through the PMA/PMD MMD registers. Returns zer... |
genphy_c45_aneg_done(9) | NAME genphy_c45_aneg_done - return auto-negotiation complete status
SYNOPSIS int genphy_c45_aneg_done (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION This assumes that the auto-negotiation MMD is present. Reads the status register from the auto-negotiation MMD, returning: - ... |
genphy_c45_baset1_able(9) | NAME genphy_c45_baset1_able - checks if the PMA has BASE-T1 extended abilities
SYNOPSIS bool genphy_c45_baset1_able (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_pma_can_sleep(9), genphy_c45_pma_resume(9), genphy_c45_pma_s... |
genphy_c45_check_and_restart_aneg(9) | NAME genphy_c45_check_and_restart_aneg - Enable and restart auto-negotiation
SYNOPSIS int genphy_c45_check_and_restart_aneg (struct phy_device *phydev , bool restart );
ARGUMENTS phydev target phy_device struct
restart whether aneg restart is requested
DESCRIPTION This assumes that the auto-negotiat... |
genphy_c45_config_aneg(9) | NAME genphy_c45_config_aneg - restart auto-negotiation or forced setup
SYNOPSIS int genphy_c45_config_aneg (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, t... |
genphy_c45_eee_is_active(9) | NAME genphy_c45_eee_is_active - get EEE status
SYNOPSIS int genphy_c45_eee_is_active (struct phy_device *phydev , unsigned long *lp );
ARGUMENTS phydev target phy_device struct
lp variable to store LP advertised linkmodes
DESCRIPTION this function will read link partner PHY advertisement and co... |
genphy_c45_ethtool_get_eee(9) | NAME genphy_c45_ethtool_get_eee - get EEE supported and status
SYNOPSIS int genphy_c45_ethtool_get_eee (struct phy_device *phydev , struct ethtool_keee *data );
ARGUMENTS phydev target phy_device struct
data ethtool_keee data
DESCRIPTION it reports the Supported/Advertisement/LP Advertisement cap... |
genphy_c45_ethtool_set_eee(9) | NAME genphy_c45_ethtool_set_eee - set EEE supported and status
SYNOPSIS int genphy_c45_ethtool_set_eee (struct phy_device *phydev , struct ethtool_keee *data );
ARGUMENTS phydev target phy_device struct
data ethtool_keee data
DESCRIPTION sets the Supported/Advertisement/LP Advertisement capabi... |
genphy_c45_fast_retrain(9) | NAME genphy_c45_fast_retrain - configure fast retrain registers
SYNOPSIS int genphy_c45_fast_retrain (struct phy_device *phydev , bool enable );
ARGUMENTS phydev target phy_device struct
enable enable fast retrain or not
DESCRIPTION If fast-retrain is enabled, we configure PHY as advertising fast r... |
genphy_c45_oatc14_cable_test_get_status(9) | NAME genphy_c45_oatc14_cable_test_get_status - Get status of OATC14 10Base-T1S PHY cable test.
SYNOPSIS int genphy_c45_oatc14_cable_test_get_status (struct phy_device *phydev , bool *finished );
ARGUMENTS phydev pointer to the PHY device structure
finished pointer to a boolean set true if the test is ... |
genphy_c45_oatc14_cable_test_start(9) | NAME genphy_c45_oatc14_cable_test_start - Start a cable test on an OATC14 10Base-T1S PHY.
SYNOPSIS int genphy_c45_oatc14_cable_test_start (struct phy_device *phydev );
ARGUMENTS phydev Pointer to the PHY device structure
DESCRIPTION This function initiates a cable diagnostic test on a Clause 45 OATC14 10Base-... |
genphy_c45_oatc14_get_sqi(9) | NAME genphy_c45_oatc14_get_sqi - Get Signal Quality Indicator (SQI) from an OATC14 10Base-T1S PHY
SYNOPSIS int genphy_c45_oatc14_get_sqi (struct phy_device *phydev );
ARGUMENTS phydev pointer to the PHY device structure
DESCRIPTION This function reads the SQI+ or SQI value from an OATC14-compatible 10Base-T1S... |
genphy_c45_oatc14_get_sqi_max(9) | NAME genphy_c45_oatc14_get_sqi_max - Get maximum supported SQI or SQI+ level of OATC14 10Base-T1S PHY
SYNOPSIS int genphy_c45_oatc14_get_sqi_max (struct phy_device *phydev );
ARGUMENTS phydev pointer to the PHY device structure
DESCRIPTION This function returns the maximum supported Signal Quality Indicator (SQ... |
genphy_c45_plca_get_cfg(9) | NAME genphy_c45_plca_get_cfg - get PLCA configuration from standard registers
SYNOPSIS int genphy_c45_plca_get_cfg (struct phy_device *phydev , struct phy_plca_cfg *plca_cfg );
ARGUMENTS phydev target phy_device struct
plca_cfg output structure to store the PLCA configuration
DESCRIPTION if the PHY c... |
genphy_c45_plca_get_status(9) | NAME genphy_c45_plca_get_status - get PLCA status from standard registers
SYNOPSIS int genphy_c45_plca_get_status (struct phy_device *phydev , struct phy_plca_status *plca_st );
ARGUMENTS phydev target phy_device struct
plca_st output structure to store the PLCA status
DESCRIPTION if the PHY complie... |
genphy_c45_plca_set_cfg(9) | NAME genphy_c45_plca_set_cfg - set PLCA configuration using standard registers
SYNOPSIS int genphy_c45_plca_set_cfg (struct phy_device *phydev , const struct phy_plca_cfg *plca_cfg );
ARGUMENTS phydev target phy_device struct
plca_cfg structure containing the PLCA configuration. Fields set to -1 are n... |
genphy_c45_pma_baset1_read_abilities(9) | NAME genphy_c45_pma_baset1_read_abilities - read supported baset1 link modes from PMA
SYNOPSIS int genphy_c45_pma_baset1_read_abilities (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Read the supported link modes from the extended BASE-T1 ability register
SEE ALSO Kernel f... |
genphy_c45_pma_baset1_read_master_slave(9) | NAME genphy_c45_pma_baset1_read_master_slave - read forced master/slave configuration
SYNOPSIS int genphy_c45_pma_baset1_read_master_slave (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pm... |
genphy_c45_pma_baset1_setup_master_slave(9) | NAME genphy_c45_pma_baset1_setup_master_slave - configures forced master/slave role of BaseT1 devices.
SYNOPSIS int genphy_c45_pma_baset1_setup_master_slave (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), gen... |
genphy_c45_pma_can_sleep(9) | NAME genphy_c45_pma_can_sleep - checks if the PMA have sleep support
SYNOPSIS bool genphy_c45_pma_can_sleep (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_resume(9), genphy_c45_pma_suspend(9)... |
genphy_c45_pma_read_abilities(9) | NAME genphy_c45_pma_read_abilities - read supported link modes from PMA
SYNOPSIS int genphy_c45_pma_read_abilities (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Read the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported mo... |
genphy_c45_pma_read_ext_abilities(9) | NAME genphy_c45_pma_read_ext_abilities - read supported link modes from PMA
SYNOPSIS int genphy_c45_pma_read_ext_abilities (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Read the supported link modes from the PMA/PMD extended ability register (Register 1.11).
SEE ALSO Kerne... |
genphy_c45_pma_resume(9) | NAME genphy_c45_pma_resume - wakes up the PMA module
SYNOPSIS int genphy_c45_pma_resume (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), genphy_c45_pma_suspend(9), genphy_c45_pma_ba... |
genphy_c45_pma_setup_forced(9) | NAME genphy_c45_pma_setup_forced - configures a forced speed
SYNOPSIS int genphy_c45_pma_setup_forced (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), genphy_c45_pma_resume(9), ... |
genphy_c45_pma_suspend(9) | NAME genphy_c45_pma_suspend - suspends the PMA module
SYNOPSIS int genphy_c45_pma_suspend (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), genphy_c45_pma_resume(9), genphy_c45_pma_... |
genphy_c45_read_eee_abilities(9) | NAME genphy_c45_read_eee_abilities - read supported EEE link modes
SYNOPSIS int genphy_c45_read_eee_abilities (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), genphy_c45... |
genphy_c45_read_eee_adv(9) | NAME genphy_c45_read_eee_adv - read advertised EEE link modes
SYNOPSIS int genphy_c45_read_eee_adv (struct phy_device *phydev , unsigned long *adv );
ARGUMENTS phydev target phy_device struct
adv the linkmode advertisement status
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c... |
genphy_c45_read_eee_cap1(9) | NAME genphy_c45_read_eee_cap1 - read supported EEE link modes from register 3.20
SYNOPSIS int genphy_c45_read_eee_cap1 (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), genphy_c45_... |
genphy_c45_read_eee_cap2(9) | NAME genphy_c45_read_eee_cap2 - read supported EEE link modes from register 3.21
SYNOPSIS int genphy_c45_read_eee_cap2 (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), g... |
genphy_c45_read_eee_lpa(9) | NAME genphy_c45_read_eee_lpa - read advertised LP EEE link modes
SYNOPSIS int genphy_c45_read_eee_lpa (struct phy_device *phydev , unsigned long *lpa );
ARGUMENTS phydev target phy_device struct
lpa the linkmode LP advertisement status
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c ge... |
genphy_c45_read_link(9) | NAME genphy_c45_read_link - read the overall link status from the MMDs
SYNOPSIS int genphy_c45_read_link (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Read the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an e... |
genphy_c45_read_lpa(9) | NAME genphy_c45_read_lpa - read the link partner advertisement and pause
SYNOPSIS int genphy_c45_read_lpa (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Read the Clause 45 defined base (7.19) and 10G (7.33) status registers, filling in the link partner advertisement, paus... |
genphy_c45_read_mdix(9) | NAME genphy_c45_read_mdix - read mdix status from PMA
SYNOPSIS int genphy_c45_read_mdix (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), genphy_c45_pma_resume(9), gen... |
genphy_c45_read_pma(9) | NAME genphy_c45_read_pma - read link speed etc from PMA
SYNOPSIS int genphy_c45_read_pma (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(9), genphy_c45_pma_resume(9), genphy_c45_pma... |
genphy_c45_read_status(9) | NAME genphy_c45_read_status - read PHY status
SYNOPSIS int genphy_c45_read_status (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Reads status from PHY and sets phy_device members accordingly.
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c genphy_c45_baset1_able(9... |
genphy_c45_restart_aneg(9) | NAME genphy_c45_restart_aneg - Enable and restart auto-negotiation
SYNOPSIS int genphy_c45_restart_aneg (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION This assumes that the auto-negotiation MMD is present. Enable and restart auto-negotiation.
SEE ALSO Kernel file ./drive... |
genphy_c45_write_eee_adv(9) | NAME genphy_c45_write_eee_adv - write advertised EEE link modes
SYNOPSIS int genphy_c45_write_eee_adv (struct phy_device *phydev , unsigned long *adv );
ARGUMENTS phydev target phy_device struct
adv the linkmode advertisement settings
SEE ALSO Kernel file ./drivers/net/phy/phy-c45.c gen... |
genphy_check_and_restart_aneg(9) | NAME genphy_check_and_restart_aneg - Enable and restart auto-negotiation
SYNOPSIS int genphy_check_and_restart_aneg (struct phy_device *phydev , bool restart );
ARGUMENTS phydev target phy_device struct
restart whether aneg restart is requested
DESCRIPTION Check, and restart auto-negotiation if need... |
genphy_config_advert(9) | NAME genphy_config_advert - sanitize and advertise auto-negotiation parameters
SYNOPSIS int genphy_config_advert (struct phy_device *phydev , const unsigned long *advert );
ARGUMENTS phydev target phy_device struct
advert auto-negotiation parameters to advertise
DESCRIPTION Writes MII_ADVERTISE w... |
genphy_match_phy_device(9) | NAME genphy_match_phy_device - match a PHY device with a PHY driver
SYNOPSIS int genphy_match_phy_device (struct phy_device *phydev , const struct phy_driver *phydrv );
ARGUMENTS phydev target phy_device struct
phydrv target phy_driver struct
DESCRIPTION Checks whether the given PHY device matches... |
genphy_read_abilities(9) | NAME genphy_read_abilities - read PHY abilities from Clause 22 registers
SYNOPSIS int genphy_read_abilities (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Reads the PHY's abilities and populates phydev->supported accordingly.
RETURN 0 on success, < 0 on failure
SEE ALSO Ke... |
genphy_read_status(9) | NAME genphy_read_status - check the link status and update current link state
SYNOPSIS int genphy_read_status (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises... |
genphy_read_status_fixed(9) | NAME genphy_read_status_fixed - read the link parameters for !aneg mode
SYNOPSIS int genphy_read_status_fixed (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Read the current duplex and speed state for a PHY operating with autonegotiation disabled.
SEE ALSO Kernel file ./d... |
genphy_restart_aneg(9) | NAME genphy_restart_aneg - Enable and Restart Autonegotiation
SYNOPSIS int genphy_restart_aneg (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
SEE ALSO Kernel file ./drivers/net/phy/phy_device.c phy_uses_state_machine(9), phy_register_fixup(9), genphy_match_phy_device(9), get_phy_c45... |
genphy_setup_forced(9) | NAME genphy_setup_forced - configures/forces speed/duplex from @phydev
SYNOPSIS int genphy_setup_forced (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Configures MII_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see phy_saniti... |
genphy_soft_reset(9) | NAME genphy_soft_reset - software reset the PHY via BMCR_RESET bit
SYNOPSIS int genphy_soft_reset (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Perform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.
RETURN 0 on success, < 0... |
genphy_update_link(9) | NAME genphy_update_link - update link status in @phydev
SYNOPSIS int genphy_update_link (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
DESCRIPTION Update the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping... |
genpkey.1ssl(1) | NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp... |
genpool_algo_t(9) | NAME genpool_algo_t - Allocation callback function type definition
SYNOPSIS unsigned long genpool_algo_t (unsigned long *map , unsigned long size , unsigned long start , unsigned int nr , void *data , struct gen_pool *pool , unsigned long start_addr );
ARGUMENTS map Pointer to bitmap
size The b... |
genradix_for_each(9) | NAME genradix_for_each - iterate over entry in a genradix
SYNOPSIS genradix_for_each (_radix , _iter , _p );
ARGUMENTS _radix genradix to iterate over
_iter a genradix_iter to track current position
_p pointer to genradix entry type
DESCRIPTION On every iteration, _p will point to... |
genradix_for_each_reverse(9) | NAME genradix_for_each_reverse - iterate over entry in a genradix, reverse order
SYNOPSIS genradix_for_each_reverse (_radix , _iter , _p );
ARGUMENTS _radix genradix to iterate over
_iter a genradix_iter to track current position
_p pointer to genradix entry type
DESCRIPTION On ev... |
genradix_free(9) | NAME genradix_free - free all memory owned by a genradix
SYNOPSIS genradix_free (_radix );
ARGUMENTS _radix the genradix to free
DESCRIPTION After freeing, _radix will be reinitialized and empty
SEE ALSO Kernel file ./include/linux/generic-radix-tree.h Kernel API(9), genradix_init(9), genradix_ptr(9), genr... |
genradix_init(9) | NAME genradix_init - initialize a genradix
SYNOPSIS genradix_init (_radix );
ARGUMENTS _radix genradix to initialize
DESCRIPTION Does not fail
SEE ALSO Kernel file ./include/linux/generic-radix-tree.h Kernel API(9), genradix_free(9), genradix_ptr(9), genradix_ptr_alloc(9), genradix_iter_init(9), genradix_i... |
genradix_iter_init(9) | NAME genradix_iter_init - initialize a genradix_iter
SYNOPSIS genradix_iter_init (_radix , _idx );
ARGUMENTS _radix genradix that will be iterated over
_idx index to start iterating from
SEE ALSO Kernel file ./include/linux/generic-radix-tree.h Kernel API(9), genradix_init(9), genradix_free(9... |
genradix_iter_peek(9) | NAME genradix_iter_peek - get first entry at or above iterator's current position
SYNOPSIS genradix_iter_peek (_iter , _radix );
ARGUMENTS _iter a genradix_iter
_radix genradix being iterated over
DESCRIPTION If no more entries exist at or above _iter's current position, returns NULL
SEE ALSO Ker... |
genradix_iter_peek_prev(9) | NAME genradix_iter_peek_prev - get first entry at or below iterator's current position
SYNOPSIS genradix_iter_peek_prev (_iter , _radix );
ARGUMENTS _iter a genradix_iter
_radix genradix being iterated over
DESCRIPTION If no more entries exist at or below _iter's current position, returns NULL
SE... |
genradix_prealloc(9) | NAME genradix_prealloc - preallocate entries in a generic radix tree
SYNOPSIS genradix_prealloc (_radix , _nr , _gfp );
ARGUMENTS _radix genradix to preallocate
_nr number of entries to preallocate
_gfp gfp mask
DESCRIPTION Returns 0 on success, -ENOMEM on failure
SEE ALSO Kernel... |
genradix_ptr(9) | NAME genradix_ptr - get a pointer to a genradix entry
SYNOPSIS genradix_ptr (_radix , _idx );
ARGUMENTS _radix genradix to access
_idx index to fetch
DESCRIPTION Returns a pointer to entry at _idx, or NULL if that entry does not exist.
SEE ALSO Kernel file ./include/linux/generic-radix-tree.h ... |
genradix_ptr_alloc(9) | NAME genradix_ptr_alloc - get a pointer to a genradix entry, allocating it if necessary
SYNOPSIS genradix_ptr_alloc (_radix , _idx , _gfp );
ARGUMENTS _radix genradix to access
_idx index to fetch
_gfp gfp mask
DESCRIPTION Returns a pointer to entry at _idx, or NULL on allocation f... |
genrsa.1ssl(1) | NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp... |
genwqe_T_psec(9) | NAME genwqe_T_psec - Calculate PF/VF timeout register content
SYNOPSIS int genwqe_T_psec (struct genwqe_dev *cd );
ARGUMENTS cd GenWQE device information
NOTE From a design perspective it turned out to be a bad idea to use codes here to specifiy the frequency/speed values. An old driver cannot understand n... |
genwqe_base_clock_frequency(9) | NAME genwqe_base_clock_frequency - Deteremine base clock frequency of the card
SYNOPSIS int genwqe_base_clock_frequency (struct genwqe_dev *cd );
ARGUMENTS cd genwqe device descriptor
NOTE From a design perspective it turned out to be a bad idea to use codes here to specifiy the frequency/speed values. An ... |
genwqe_bus_reset(9) | NAME genwqe_bus_reset - Card recovery
SYNOPSIS int genwqe_bus_reset (struct genwqe_dev *cd );
ARGUMENTS cd GenWQE device information
DESCRIPTION pci_reset_function will recover the device and ensure that the registers are accessible again when it completes with success. If not, the card will stay dead and r... |
genwqe_card_reset(9) | NAME genwqe_card_reset - Reset the card
SYNOPSIS int genwqe_card_reset (struct genwqe_dev *cd );
ARGUMENTS cd pointer to the genwqe device descriptor
SEE ALSO Kernel file ./drivers/misc/genwqe/card_utils.c __genwqe_writeq(9), __genwqe_readq(9), __genwqe_writel(9), __genwqe_readl(9), genwqe_read_app_id(... |
genwqe_card_thread(9) | NAME genwqe_card_thread - Work thread for the DDCB queue
SYNOPSIS int genwqe_card_thread (void *data );
ARGUMENTS data pointer to genwqe device descriptor
DESCRIPTION The idea is to check if there are DDCBs in processing. If there are some finished DDCBs, we process them and wakeup the requestors. Otherwise w... |
genwqe_card_type(9) | NAME genwqe_card_type - Get chip type SLU Configuration Register
SYNOPSIS u8 genwqe_card_type (struct genwqe_dev *cd );
ARGUMENTS cd pointer to the genwqe device descriptor
RETURN 0: Altera Stratix-IV 230 1: Altera Stratix-IV 530 2: Altera Stratix-V A4 3: Altera Stratix-V A7
SEE ALSO Kernel file ./driver... |
genwqe_check_ddcb_queue(9) | NAME genwqe_check_ddcb_queue - Checks DDCB queue for completed work requests.
SYNOPSIS int genwqe_check_ddcb_queue (struct genwqe_dev *cd , struct ddcb_queue *queue );
ARGUMENTS cd pointer to genwqe device descriptor
queue queue to be checked
RETURN Number of DDCBs which were finished
SEE ALS... |
genwqe_crc16(9) | NAME genwqe_crc16 - Generate 16-bit crc as required for DDCBs
SYNOPSIS u16 genwqe_crc16 (const u8 *buff , size_t len , u16 init );
ARGUMENTS buff pointer to data buffer
len length of data for calculation
init initial crc (0xffff at start)
DESCRIPTION Polynomial = x^16 + x^12 + x... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.