id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
zynqmp_pll_is_enabled(9) | NAME zynqmp_pll_is_enabled - Check if a clock is enabled
SYNOPSIS int zynqmp_pll_is_enabled (struct clk_hw *hw );
ARGUMENTS hw Handle between common and hardware-specific interfaces
RETURN 1 if the clock is enabled, 0 otherwise
SEE ALSO Kernel file ./drivers/clk/zynqmp/pll.c struct zynqmp_pll(9), zynq... |
zynqmp_pll_recalc_rate(9) | NAME zynqmp_pll_recalc_rate - Recalculate clock frequency
SYNOPSIS unsigned long zynqmp_pll_recalc_rate (struct clk_hw *hw , unsigned long parent_rate );
ARGUMENTS hw Handle between common and hardware-specific interfaces
parent_rate Clock frequency of parent clock
RETURN Current clock frequency or ... |
zynqmp_pll_set_mode(9) | NAME zynqmp_pll_set_mode - Set the PLL mode
SYNOPSIS void zynqmp_pll_set_mode (struct clk_hw *hw , bool on );
ARGUMENTS hw Handle between common and hardware-specific interfaces
on Flag to determine the mode
SEE ALSO Kernel file ./drivers/clk/zynqmp/pll.c struct zynqmp_pll(9), zynqmp_pll... |
zynqmp_pll_set_rate(9) | NAME zynqmp_pll_set_rate - Set rate of PLL
SYNOPSIS int zynqmp_pll_set_rate (struct clk_hw *hw , unsigned long rate , unsigned long parent_rate );
ARGUMENTS hw Handle between common and hardware-specific interfaces
rate Frequency of clock to be set
parent_rate Clock frequency of parent... |
zynqmp_pm_aes_engine(9) | NAME zynqmp_pm_aes_engine - Access AES hardware to encrypt/decrypt the data using AES-GCM core.
SYNOPSIS int zynqmp_pm_aes_engine (const u64 address , u32 *out );
ARGUMENTS address Address of the AesParams structure.
out Returned output value
RETURN Returns status, either success or error code.
... |
zynqmp_pm_api_debugfs_exit(9) | NAME zynqmp_pm_api_debugfs_exit - Remove debugfs interface
SYNOPSIS void zynqmp_pm_api_debugfs_exit (void );
ARGUMENTS void no arguments
RETURN None
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp-debug.c zynqmp_pm_ioctl(9), zynqmp_pm_argument_value(9), get_pm_api_id(9), zynqmp_pm_debugfs_api_write(9),... |
zynqmp_pm_api_debugfs_init(9) | NAME zynqmp_pm_api_debugfs_init - Initialize debugfs interface
SYNOPSIS void zynqmp_pm_api_debugfs_init (void );
ARGUMENTS void no arguments
RETURN None
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp-debug.c zynqmp_pm_ioctl(9), zynqmp_pm_argument_value(9), get_pm_api_id(9), zynqmp_pm_debugfs_api_write... |
zynqmp_pm_argument_value(9) | NAME zynqmp_pm_argument_value - Extract argument value from a PM-API request
SYNOPSIS u64 zynqmp_pm_argument_value (char *arg );
ARGUMENTS arg Entered PM-API argument in string format
RETURN Argument value in unsigned integer format on success 0 otherwise
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqm... |
zynqmp_pm_bootmode_read(9) | NAME zynqmp_pm_bootmode_read - PM Config API for read bootpin status
SYNOPSIS unsigned int zynqmp_pm_bootmode_read (u32 *ps_mode );
ARGUMENTS ps_mode Returned output value of ps_mode
DESCRIPTION This API function is to be used for notify the power management controller to read bootpin status.
RETURN status, eit... |
zynqmp_pm_bootmode_write(9) | NAME zynqmp_pm_bootmode_write - PM Config API for Configure bootpin
SYNOPSIS int zynqmp_pm_bootmode_write (u32 ps_mode );
ARGUMENTS ps_mode Value to be written to the bootpin ctrl register
DESCRIPTION This API function is to be used for notify the power management controller to configure bootpin.
RETURN Returns... |
zynqmp_pm_clock_disable(9) | NAME zynqmp_pm_clock_disable - Disable the clock for given id
SYNOPSIS int zynqmp_pm_clock_disable (u32 clock_id );
ARGUMENTS clock_id ID of the clock to be disable
DESCRIPTION This function is used by master to disable the clock including peripherals and PLL clocks.
RETURN Returns status, either success or erro... |
zynqmp_pm_clock_enable(9) | NAME zynqmp_pm_clock_enable - Enable the clock for given id
SYNOPSIS int zynqmp_pm_clock_enable (u32 clock_id );
ARGUMENTS clock_id ID of the clock to be enabled
DESCRIPTION This function is used by master to enable the clock including peripherals and PLL clocks.
RETURN Returns status, either success or error+re... |
zynqmp_pm_clock_get_attributes(9) | NAME zynqmp_pm_clock_get_attributes - Get the attributes of clock for given id
SYNOPSIS int zynqmp_pm_clock_get_attributes (u32 clock_id , struct attr_resp *response );
ARGUMENTS clock_id Clock ID
response Clock attributes response
DESCRIPTION This function is used to get clock's attributes(e.g. valid,... |
zynqmp_pm_clock_get_name(9) | NAME zynqmp_pm_clock_get_name - Get the name of clock for given id
SYNOPSIS int zynqmp_pm_clock_get_name (u32 clock_id , struct name_resp *response );
ARGUMENTS clock_id ID of the clock to be queried
response Name of the clock with the given id
DESCRIPTION This function is used to get name of clock spe... |
zynqmp_pm_clock_get_num_clocks(9) | NAME zynqmp_pm_clock_get_num_clocks - Get number of clocks in system
SYNOPSIS int zynqmp_pm_clock_get_num_clocks (u32 *nclocks );
ARGUMENTS nclocks Number of clocks in system/board.
DESCRIPTION Call firmware API to get number of clocks.
RETURN 0 on success else error code.
SEE ALSO Kernel file ./drivers/clk/zy... |
zynqmp_pm_clock_get_parents(9) | NAME zynqmp_pm_clock_get_parents - Get the first 3 parents of clock for given id
SYNOPSIS int zynqmp_pm_clock_get_parents (u32 clock_id , u32 index , struct parents_resp *response );
ARGUMENTS clock_id Clock ID
index Parent index
response Parents of the given clock
DESCRIPTION This funct... |
zynqmp_pm_clock_get_topology(9) | NAME zynqmp_pm_clock_get_topology - Get the topology of clock for given id
SYNOPSIS int zynqmp_pm_clock_get_topology (u32 clock_id , u32 index , struct topology_resp *response );
ARGUMENTS clock_id ID of the clock to be queried
index Node index of clock topology
response Buffer used for th... |
zynqmp_pm_clock_getdivider(9) | NAME zynqmp_pm_clock_getdivider - Get the clock divider for given id
SYNOPSIS int zynqmp_pm_clock_getdivider (u32 clock_id , u32 *divider );
ARGUMENTS clock_id ID of the clock
divider divider value
DESCRIPTION This function is used by master to get divider values for any clock.
RETURN Returns status,... |
zynqmp_pm_clock_getparent(9) | NAME zynqmp_pm_clock_getparent - Get the clock parent for given id
SYNOPSIS int zynqmp_pm_clock_getparent (u32 clock_id , u32 *parent_id );
ARGUMENTS clock_id ID of the clock
parent_id parent id
DESCRIPTION This function is used by master to get parent index for any clock.
RETURN Returns status, either... |
zynqmp_pm_clock_getstate(9) | NAME zynqmp_pm_clock_getstate - Get the clock state for given id
SYNOPSIS int zynqmp_pm_clock_getstate (u32 clock_id , u32 *state );
ARGUMENTS clock_id ID of the clock to be queried
state 1/0 (Enabled/Disabled)
DESCRIPTION This function is used by master to get the state of clock including periphera... |
zynqmp_pm_clock_setdivider(9) | NAME zynqmp_pm_clock_setdivider - Set the clock divider for given id
SYNOPSIS int zynqmp_pm_clock_setdivider (u32 clock_id , u32 divider );
ARGUMENTS clock_id ID of the clock
divider divider value
DESCRIPTION This function is used by master to set divider for any clock to achieve desired rate.
RETURN... |
zynqmp_pm_clock_setparent(9) | NAME zynqmp_pm_clock_setparent - Set the clock parent for given id
SYNOPSIS int zynqmp_pm_clock_setparent (u32 clock_id , u32 parent_id );
ARGUMENTS clock_id ID of the clock
parent_id parent id
DESCRIPTION This function is used by master to set parent for any clock.
RETURN Returns status, either succes... |
zynqmp_pm_debugfs_api_read(9) | NAME zynqmp_pm_debugfs_api_read - debugfs read function
SYNOPSIS ssize_t zynqmp_pm_debugfs_api_read (struct file *file , char __user *ptr , size_t len , loff_t *off );
ARGUMENTS file User file
ptr Requested pm_api_version string
len Length of the userspace buffer
off ... |
zynqmp_pm_debugfs_api_write(9) | NAME zynqmp_pm_debugfs_api_write - debugfs write function
SYNOPSIS ssize_t zynqmp_pm_debugfs_api_write (struct file *file , const char __user *ptr , size_t len , loff_t *off );
ARGUMENTS file User file
ptr User entered PM-API string
len Length of the userspace buffer
off... |
zynqmp_pm_efuse_access(9) | NAME zynqmp_pm_efuse_access - Provides access to efuse memory.
SYNOPSIS int zynqmp_pm_efuse_access (const u64 address , u32 *out );
ARGUMENTS address Address of the efuse params structure
out Returned output value
RETURN Returns status, either success or error code.
SEE ALSO Kernel file ./driv... |
zynqmp_pm_feature(9) | NAME zynqmp_pm_feature - Check whether given feature is supported or not and store supported IOCTL/QUERY ID mask
SYNOPSIS int zynqmp_pm_feature (const u32 api_id );
ARGUMENTS api_id API ID to check
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp.c ... |
zynqmp_pm_force_pwrdwn(9) | NAME zynqmp_pm_force_pwrdwn - PM call to request for another PU or subsystem to be powered down forcefully
SYNOPSIS int zynqmp_pm_force_pwrdwn (const u32 node , const enum zynqmp_pm_request_ack ack );
ARGUMENTS node Node ID of the targeted PU or subsystem
ack Flag to specify whether acknowledge... |
zynqmp_pm_fpga_get_config_status(9) | NAME zynqmp_pm_fpga_get_config_status - Get the FPGA configuration status.
SYNOPSIS int zynqmp_pm_fpga_get_config_status (u32 *value );
ARGUMENTS value Buffer to store FPGA configuration status.
DESCRIPTION This function provides access to the pmufw to get the FPGA configuration status
RETURN 0 on success, a ... |
zynqmp_pm_fpga_get_status(9) | NAME zynqmp_pm_fpga_get_status - Read value from PCAP status register
SYNOPSIS int zynqmp_pm_fpga_get_status (u32 *value );
ARGUMENTS value Value to read
DESCRIPTION This function provides access to the pmufw to get the PCAP status
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file ... |
zynqmp_pm_fpga_load(9) | NAME zynqmp_pm_fpga_load - Perform the fpga load
SYNOPSIS int zynqmp_pm_fpga_load (const u64 address , const u32 size , const u32 flags );
ARGUMENTS address Address to write to
size pl bitstream size
flags Bitstream type -XILINX_ZYNQMP_PM_FPGA_FULL: FPGA full reconfiguration -XILINX_... |
zynqmp_pm_get_api_version(9) | NAME zynqmp_pm_get_api_version - Get version number of PMU PM firmware
SYNOPSIS int zynqmp_pm_get_api_version (u32 *version );
ARGUMENTS version Returned version value
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp.c struct zynqmp_devinfo(9), struct p... |
zynqmp_pm_get_chipid(9) | NAME zynqmp_pm_get_chipid - Get silicon ID registers
SYNOPSIS int zynqmp_pm_get_chipid (u32 *idcode , u32 *version );
ARGUMENTS idcode IDCODE register
version version register
RETURN Returns the status of the operation and the idcode and version registers in idcode and version.
SEE ALSO Kernel fil... |
zynqmp_pm_get_family_info(9) | NAME zynqmp_pm_get_family_info - Get family info of platform
SYNOPSIS int zynqmp_pm_get_family_info (u32 *family );
ARGUMENTS family Returned family code value
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp.c struct zynqmp_devinfo(9), struct pm... |
zynqmp_pm_get_feature_config(9) | NAME zynqmp_pm_get_feature_config - PM call to get value of configured feature
SYNOPSIS int zynqmp_pm_get_feature_config (enum pm_feature_config_id id , u32 *payload );
ARGUMENTS id The config id of the feature to be queried
payload Returned value array
RETURN Returns 0 on success or error value... |
zynqmp_pm_get_node_status(9) | NAME zynqmp_pm_get_node_status - PM call to request a node's current power state
SYNOPSIS int zynqmp_pm_get_node_status (const u32 node , u32 *const status , u32 *const requirements , u32 *const usage );
ARGUMENTS node ID of the component or sub-system in question
status Current operating state of... |
zynqmp_pm_get_pll_frac_data(9) | NAME zynqmp_pm_get_pll_frac_data - PM API for getting pll fraction data
SYNOPSIS int zynqmp_pm_get_pll_frac_data (u32 clk_id , u32 *data );
ARGUMENTS clk_id PLL clock ID
data fraction data
DESCRIPTION This function returns fraction data value.
RETURN Returns status, either success or error+reaso... |
zynqmp_pm_get_pll_frac_mode(9) | NAME zynqmp_pm_get_pll_frac_mode - PM API for get PLL mode
SYNOPSIS int zynqmp_pm_get_pll_frac_mode (u32 clk_id , u32 *mode );
ARGUMENTS clk_id PLL clock ID
mode PLL mode
DESCRIPTION This function return current PLL mode
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file... |
zynqmp_pm_get_rpu_mode(9) | NAME zynqmp_pm_get_rpu_mode - Get RPU mode
SYNOPSIS int zynqmp_pm_get_rpu_mode (u32 node_id , enum rpu_oper_mode *rpu_mode );
ARGUMENTS node_id Node ID of the device
rpu_mode return by reference value either split or lockstep
RETURN return 0 on success or error+reason. if success, then rpu_mode will... |
zynqmp_pm_get_sip_svc_version(9) | NAME zynqmp_pm_get_sip_svc_version - Get SiP service call version
SYNOPSIS int zynqmp_pm_get_sip_svc_version (u32 *version );
ARGUMENTS version Returned version value
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp.c struct zynqmp_devinfo(9), stru... |
zynqmp_pm_get_trustzone_version(9) | NAME zynqmp_pm_get_trustzone_version - Get secure trustzone firmware version
SYNOPSIS int zynqmp_pm_get_trustzone_version (u32 *version );
ARGUMENTS version Returned version value
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp.c struct zynqmp_devi... |
zynqmp_pm_get_ufs_calibration_values(9) | NAME zynqmp_pm_get_ufs_calibration_values - Read UFS calibration values
SYNOPSIS int zynqmp_pm_get_ufs_calibration_values (u32 *val );
ARGUMENTS val Store the calibration value
RETURN Returns 0 on success or error value on failure.
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp-ufs.c zynqmp_pm_is_mph... |
zynqmp_pm_init_finalize(9) | NAME zynqmp_pm_init_finalize - PM call to inform firmware that the caller master has initialized its own power management
SYNOPSIS int zynqmp_pm_init_finalize (void );
ARGUMENTS void no arguments
RETURN Returns status, either success or error+reason
DESCRIPTION This API function is to be used for notify the ... |
zynqmp_pm_init_suspend_work_fn(9) | NAME zynqmp_pm_init_suspend_work_fn - Initialize suspend
SYNOPSIS void zynqmp_pm_init_suspend_work_fn (struct work_struct *work );
ARGUMENTS work Pointer to work_struct
DESCRIPTION Bottom-half of PM callback IRQ handler.
SEE ALSO Kernel file ./drivers/soc/xilinx/zynqmp_power.c struct zynqmp_pm_work_struct(9)... |
zynqmp_pm_invoke_fn(9) | NAME zynqmp_pm_invoke_fn - Invoke the system-level platform management layer caller function depending on the configuration
SYNOPSIS int zynqmp_pm_invoke_fn (u32 pm_api_id , u32 *ret_payload , u32 num_args , ... );
ARGUMENTS pm_api_id Requested PM-API call
ret_payload Returned value array
num_args ... |
zynqmp_pm_invoke_fw_fn(9) | NAME zynqmp_pm_invoke_fw_fn - Invoke the system-level platform management layer caller function depending on the configuration
SYNOPSIS int zynqmp_pm_invoke_fw_fn (u32 pm_api_id , u32 *ret_payload , u32 num_args , ... );
ARGUMENTS pm_api_id Requested PM-API call
ret_payload Returned value array
num_... |
zynqmp_pm_ioctl(9) | NAME zynqmp_pm_ioctl - PM IOCTL for device control and configs
SYNOPSIS int zynqmp_pm_ioctl (const u32 node , const u32 ioctl , const u32 arg1 , const u32 arg2 , const u32 arg3 , u32 *out );
ARGUMENTS node Node ID of the device
ioctl ID of the requested IOCTL
arg1 Argument 1 of req... |
zynqmp_pm_is_function_supported(9) | NAME zynqmp_pm_is_function_supported - Check whether given IOCTL/QUERY function is supported or not
SYNOPSIS int zynqmp_pm_is_function_supported (const u32 api_id , const u32 id );
ARGUMENTS api_id PM_IOCTL or PM_QUERY_DATA
id IOCTL or QUERY function IDs
RETURN Returns status, either success or... |
zynqmp_pm_is_mphy_tx_rx_config_ready(9) | NAME zynqmp_pm_is_mphy_tx_rx_config_ready - check M-PHY TX-RX config readiness
SYNOPSIS int zynqmp_pm_is_mphy_tx_rx_config_ready (bool *is_ready );
ARGUMENTS is_ready Store output status (true/false)
RETURN Returns 0 on success or error value on failure.
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp-ufs.... |
zynqmp_pm_is_shutdown_scope_valid(9) | NAME zynqmp_pm_is_shutdown_scope_valid - Check if shutdown scope string is valid
SYNOPSIS struct zynqmp_pm_shutdown_scope* zynqmp_pm_is_shutdown_scope_valid (const char *scope_string );
ARGUMENTS scope_string Shutdown scope string
RETURN Return pointer to matching shutdown scope struct from array of available option... |
zynqmp_pm_is_sram_init_done(9) | NAME zynqmp_pm_is_sram_init_done - check SRAM initialization
SYNOPSIS int zynqmp_pm_is_sram_init_done (bool *is_done );
ARGUMENTS is_done Store output status (true/false)
RETURN Returns 0 on success or error value on failure.
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp-ufs.c zynqmp_pm_is_mphy_tx_rx_co... |
zynqmp_pm_load_pdi(9) | NAME zynqmp_pm_load_pdi - Load and process PDI
SYNOPSIS int zynqmp_pm_load_pdi (const u32 src , const u64 address );
ARGUMENTS src Source device where PDI is located
address PDI src address
DESCRIPTION This function provides support to load PDI from linux
RETURN Returns status, either success or... |
zynqmp_pm_ospi_mux_select(9) | NAME zynqmp_pm_ospi_mux_select - OSPI Mux selection
SYNOPSIS int zynqmp_pm_ospi_mux_select (u32 dev_id , u32 select );
ARGUMENTS dev_id Device Id of the OSPI device.
select OSPI Mux select value.
DESCRIPTION This function select the OSPI Mux.
RETURN Returns status, either success or error+reason
... |
zynqmp_pm_pinctrl_get_config(9) | NAME zynqmp_pm_pinctrl_get_config - Get configuration parameter for the pin
SYNOPSIS int zynqmp_pm_pinctrl_get_config (const u32 pin , const u32 param , u32 *value );
ARGUMENTS pin Pin number
param Parameter to get
value Buffer to store parameter value
DESCRIPTION This function ge... |
zynqmp_pm_pinctrl_release(9) | NAME zynqmp_pm_pinctrl_release - Inform firmware that Pin control is released
SYNOPSIS int zynqmp_pm_pinctrl_release (const u32 pin );
ARGUMENTS pin Pin number to release
DESCRIPTION This function release pin from firmware.
RETURN Returns status, either success or error+reason.
SEE ALSO Kernel file ./dri... |
zynqmp_pm_pinctrl_request(9) | NAME zynqmp_pm_pinctrl_request - Request Pin from firmware
SYNOPSIS int zynqmp_pm_pinctrl_request (const u32 pin );
ARGUMENTS pin Pin number to request
DESCRIPTION This function requests pin from firmware.
RETURN Returns status, either success or error+reason.
SEE ALSO Kernel file ./drivers/firmware/xili... |
zynqmp_pm_pinctrl_set_config(9) | NAME zynqmp_pm_pinctrl_set_config - Set configuration parameter for the pin
SYNOPSIS int zynqmp_pm_pinctrl_set_config (const u32 pin , const u32 param , u32 value );
ARGUMENTS pin Pin number
param Parameter to set
value Parameter value to set
DESCRIPTION This function sets request... |
zynqmp_pm_pinctrl_set_function(9) | NAME zynqmp_pm_pinctrl_set_function - Set requested function for the pin
SYNOPSIS int zynqmp_pm_pinctrl_set_function (const u32 pin , const u32 id );
ARGUMENTS pin Pin number
id Function ID to set
DESCRIPTION This function sets requested function for the given pin.
RETURN Returns status, ei... |
zynqmp_pm_query_data(9) | NAME zynqmp_pm_query_data - Get query data from firmware
SYNOPSIS int zynqmp_pm_query_data (struct zynqmp_pm_query_data qdata , u32 *out );
ARGUMENTS qdata Variable to the zynqmp_pm_query_data structure
out Returned output value
RETURN Returns status, either success or error+reason
SEE ALSO Ke... |
zynqmp_pm_read_ggs(9) | NAME zynqmp_pm_read_ggs - PM API for reading global general storage (ggs)
SYNOPSIS int zynqmp_pm_read_ggs (u32 index , u32 *value );
ARGUMENTS index GGS register index
value Register value to be written
DESCRIPTION This function returns GGS register value.
RETURN Returns status, either success o... |
zynqmp_pm_read_pggs(9) | NAME zynqmp_pm_read_pggs - PM API for reading persistent global general storage (pggs)
SYNOPSIS int zynqmp_pm_read_pggs (u32 index , u32 *value );
ARGUMENTS index PGGS register index
value Register value to be written
DESCRIPTION This function returns PGGS register value.
RETURN Returns status, ... |
zynqmp_pm_register_notifier(9) | NAME zynqmp_pm_register_notifier - PM API for register a subsystem to be notified about specific event/error.
SYNOPSIS int zynqmp_pm_register_notifier (const u32 node , const u32 event , const u32 wake , const u32 enable );
ARGUMENTS node Node ID to which the event is related.
event Event Mask of... |
zynqmp_pm_release_node(9) | NAME zynqmp_pm_release_node - Release a node
SYNOPSIS int zynqmp_pm_release_node (const u32 node );
ARGUMENTS node Node ID of the slave
DESCRIPTION This function is used by master to inform firmware that master has released node. Once released, master must not use that node without re-request.
RETURN Returns... |
zynqmp_pm_request_node(9) | NAME zynqmp_pm_request_node - Request a node with specific capabilities
SYNOPSIS int zynqmp_pm_request_node (const u32 node , const u32 capabilities , const u32 qos , const enum zynqmp_pm_request_ack ack );
ARGUMENTS node Node ID of the slave
capabilities
Requested capabilities of th... |
zynqmp_pm_request_wake(9) | NAME zynqmp_pm_request_wake - PM call to wake up selected master or subsystem
SYNOPSIS int zynqmp_pm_request_wake (const u32 node , const bool set_addr , const u64 address , const enum zynqmp_pm_request_ack ack );
ARGUMENTS node Node ID of the master or subsystem
set_addr Specifies whether the addre... |
zynqmp_pm_reset_assert(9) | NAME zynqmp_pm_reset_assert - Request setting of reset (1 - assert, 0 - release)
SYNOPSIS int zynqmp_pm_reset_assert (const u32 reset , const enum zynqmp_pm_reset_action assert_flag );
ARGUMENTS reset Reset to be configured
assert_flag Flag stating should reset be asserted (1) or released (0)
RETURN Re... |
zynqmp_pm_reset_get_status(9) | NAME zynqmp_pm_reset_get_status - Get status of the reset
SYNOPSIS int zynqmp_pm_reset_get_status (const u32 reset , u32 *status );
ARGUMENTS reset Reset whose status should be returned
status Returned status
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file ./drivers/fir... |
zynqmp_pm_ret_code(9) | NAME zynqmp_pm_ret_code - Convert PMU-FW error codes to Linux error codes
SYNOPSIS int zynqmp_pm_ret_code (u32 ret_status );
ARGUMENTS ret_status PMUFW return code
RETURN corresponding Linux error code
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp.c struct zynqmp_devinfo(9), struct pm_api_feature_dat... |
zynqmp_pm_sd_dll_reset(9) | NAME zynqmp_pm_sd_dll_reset - Reset DLL logic
SYNOPSIS int zynqmp_pm_sd_dll_reset (u32 node_id , u32 type );
ARGUMENTS node_id Node ID of the device
type Reset type
DESCRIPTION This function resets DLL logic for the SD device.
RETURN Returns status, either success or error+reason
SEE ALSO Kernel... |
zynqmp_pm_sec_mask_write_reg(9) | NAME zynqmp_pm_sec_mask_write_reg - PM call to securely write to given offset of the node
SYNOPSIS int zynqmp_pm_sec_mask_write_reg (const u32 node_id , const u32 offset , u32 mask , u32 value );
ARGUMENTS node_id Node Id of the device
offset Offset to be used (20-bit)
mask Mask to be ... |
zynqmp_pm_sec_read_reg(9) | NAME zynqmp_pm_sec_read_reg - PM call to securely read from given offset of the node
SYNOPSIS int zynqmp_pm_sec_read_reg (u32 node_id , u32 offset , u32 *ret_value );
ARGUMENTS node_id Node Id of the device
offset Offset to be used (20-bit)
ret_value Output data read from the given offset a... |
zynqmp_pm_set_boot_health_status(9) | NAME zynqmp_pm_set_boot_health_status - PM API for setting healthy boot status
SYNOPSIS int zynqmp_pm_set_boot_health_status (u32 value );
ARGUMENTS value Status value to be written
DESCRIPTION This function sets healthy bit value to indicate boot health status to firmware.
RETURN Returns status, either succe... |
zynqmp_pm_set_feature_config(9) | NAME zynqmp_pm_set_feature_config - PM call to request IOCTL for feature config
SYNOPSIS int zynqmp_pm_set_feature_config (enum pm_feature_config_id id , u32 value );
ARGUMENTS id The config ID of the feature to be configured
value The config value of the feature to be configured
RETURN Return... |
zynqmp_pm_set_gem_config(9) | NAME zynqmp_pm_set_gem_config - PM call to set value of GEM config registers
SYNOPSIS int zynqmp_pm_set_gem_config (u32 node , enum pm_gem_config_type config , u32 value );
ARGUMENTS node GEM node ID
config The config type of GEM registers
value Value to be set
RETURN Returns 0 on s... |
zynqmp_pm_set_pll_frac_data(9) | NAME zynqmp_pm_set_pll_frac_data - PM API for setting pll fraction data
SYNOPSIS int zynqmp_pm_set_pll_frac_data (u32 clk_id , u32 data );
ARGUMENTS clk_id PLL clock ID
data fraction data
DESCRIPTION This function sets fraction data. It is valid for fraction mode only.
RETURN Returns status, ei... |
zynqmp_pm_set_pll_frac_mode(9) | NAME zynqmp_pm_set_pll_frac_mode - PM API for set PLL mode
SYNOPSIS int zynqmp_pm_set_pll_frac_mode (u32 clk_id , u32 mode );
ARGUMENTS clk_id PLL clock ID
mode PLL mode (PLL_MODE_FRAC/PLL_MODE_INT)
DESCRIPTION This function sets PLL mode
RETURN Returns status, either success or error+reason
SE... |
zynqmp_pm_set_requirement(9) | NAME zynqmp_pm_set_requirement - PM call to set requirement for PM slaves
SYNOPSIS int zynqmp_pm_set_requirement (const u32 node , const u32 capabilities , const u32 qos , const enum zynqmp_pm_request_ack ack );
ARGUMENTS node Node ID of the slave
capabilities
Requested capabilities ... |
zynqmp_pm_set_rpu_mode(9) | NAME zynqmp_pm_set_rpu_mode - Set RPU mode
SYNOPSIS int zynqmp_pm_set_rpu_mode (u32 node_id , enum rpu_oper_mode rpu_mode );
ARGUMENTS node_id Node ID of the device
rpu_mode Argument 1 to requested IOCTL call. either split or lockstep
DESCRIPTION This function is used to set RPU mode to split or locks... |
zynqmp_pm_set_sd_config(9) | NAME zynqmp_pm_set_sd_config - PM call to set value of SD config registers
SYNOPSIS int zynqmp_pm_set_sd_config (u32 node , enum pm_sd_config_type config , u32 value );
ARGUMENTS node SD node ID
config The config type of SD registers
value Value to be set
RETURN Returns 0 on success... |
zynqmp_pm_set_sd_tapdelay(9) | NAME zynqmp_pm_set_sd_tapdelay - Set tap delay for the SD device
SYNOPSIS int zynqmp_pm_set_sd_tapdelay (u32 node_id , u32 type , u32 value );
ARGUMENTS node_id Node ID of the device
type Type of tap delay to set (input/output)
value Value to set fot the tap delay
DESCRIPTION This fu... |
zynqmp_pm_set_sram_bypass(9) | NAME zynqmp_pm_set_sram_bypass - Set SRAM bypass Control
SYNOPSIS int zynqmp_pm_set_sram_bypass (void );
ARGUMENTS void no arguments
RETURN Returns 0 on success or error value on failure.
SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp-ufs.c zynqmp_pm_is_mphy_tx_rx_config_ready(9), zynqmp_pm_is_sram_in... |
zynqmp_pm_set_suspend_mode(9) | NAME zynqmp_pm_set_suspend_mode - Set system suspend mode
SYNOPSIS int zynqmp_pm_set_suspend_mode (u32 mode );
ARGUMENTS mode Mode to set for system suspend
DESCRIPTION This API function is used to set mode of system suspend.
RETURN Returns status, either success or error+reason
SEE ALSO Kernel file ./dri... |
zynqmp_pm_set_tcm_config(9) | NAME zynqmp_pm_set_tcm_config - configure TCM
SYNOPSIS int zynqmp_pm_set_tcm_config (u32 node_id , enum rpu_tcm_comb tcm_mode );
ARGUMENTS node_id Firmware specific TCM subsystem ID
tcm_mode Argument 1 to requested IOCTL call either PM_RPU_TCM_COMB or PM_RPU_TCM_SPLIT
DESCRIPTION This function is used... |
zynqmp_pm_sha_hash(9) | NAME zynqmp_pm_sha_hash - Access the SHA engine to calculate the hash
SYNOPSIS int zynqmp_pm_sha_hash (const u64 address , const u32 size , const u32 flags );
ARGUMENTS address Address of the data/ Address of output buffer where hash should be stored.
size Size of the data.
flags BIT(... |
zynqmp_pm_subsystem_restart_work_fn(9) | NAME zynqmp_pm_subsystem_restart_work_fn - Initiate Subsystem restart
SYNOPSIS void zynqmp_pm_subsystem_restart_work_fn (struct work_struct *work );
ARGUMENTS work Pointer to work_struct
DESCRIPTION Bottom-half of PM callback IRQ handler.
SEE ALSO Kernel file ./drivers/soc/xilinx/zynqmp_power.c struct zynqmp... |
zynqmp_pm_system_shutdown(9) | NAME zynqmp_pm_system_shutdown - PM call to request a system shutdown or restart
SYNOPSIS int zynqmp_pm_system_shutdown (const u32 type , const u32 subtype );
ARGUMENTS type Shutdown or restart? 0 for shutdown, 1 for restart
subtype Specifies which system should be restarted or shut down
RETURN Re... |
zynqmp_pm_write_ggs(9) | NAME zynqmp_pm_write_ggs - PM API for writing global general storage (ggs)
SYNOPSIS int zynqmp_pm_write_ggs (u32 index , u32 value );
ARGUMENTS index GGS register index
value Register value to be written
DESCRIPTION This function writes value to GGS register.
RETURN Returns status, either succes... |
zynqmp_pm_write_pggs(9) | NAME zynqmp_pm_write_pggs - PM API for writing persistent global general storage (pggs)
SYNOPSIS int zynqmp_pm_write_pggs (u32 index , u32 value );
ARGUMENTS index PGGS register index
value Register value to be written
DESCRIPTION This function writes value to PGGS register.
RETURN Returns statu... |
zynqmp_pmux_get_function_groups(9) | NAME zynqmp_pmux_get_function_groups - Get groups for the function
SYNOPSIS int zynqmp_pmux_get_function_groups (struct pinctrl_dev *pctldev , unsigned int selector , const char * const **groups , unsigned * const num_groups );
ARGUMENTS pctldev Pincontrol device pointer.
selector Function ID
g... |
zynqmp_process_dma_irq(9) | NAME zynqmp_process_dma_irq - Handler for DMA done interrupt of QSPI controller
SYNOPSIS void zynqmp_process_dma_irq (struct zynqmp_qspi *xqspi );
ARGUMENTS xqspi zynqmp_qspi instance pointer
DESCRIPTION This function handles DMA interrupt only.
SEE ALSO Kernel file ./drivers/spi/spi-zynqmp-gqspi.c stru... |
zynqmp_qspi_chipselect(9) | NAME zynqmp_qspi_chipselect - Select or deselect the chip select line
SYNOPSIS void zynqmp_qspi_chipselect (struct spi_device *qspi , bool is_high );
ARGUMENTS qspi Pointer to the spi_device structure
is_high Select(0) or deselect (1) the chip select line
SEE ALSO Kernel file ./drivers/spi/spi... |
zynqmp_qspi_config_op(9) | NAME zynqmp_qspi_config_op - Configure QSPI controller for specified transfer
SYNOPSIS int zynqmp_qspi_config_op (struct zynqmp_qspi *xqspi , const struct spi_mem_op *op );
ARGUMENTS xqspi Pointer to the zynqmp_qspi structure
op The memory operation to execute
DESCRIPTION Sets the operational ... |
zynqmp_qspi_copy_read_data(9) | NAME zynqmp_qspi_copy_read_data - Copy data to RX buffer
SYNOPSIS void zynqmp_qspi_copy_read_data (struct zynqmp_qspi *xqspi , ulong data , u8 size );
ARGUMENTS xqspi Pointer to the zynqmp_qspi structure
data The variable where data is stored
size Number of bytes to be copied from ... |
zynqmp_qspi_disable_dma(9) | NAME zynqmp_qspi_disable_dma - Disable DMA mode
SYNOPSIS void zynqmp_qspi_disable_dma (struct zynqmp_qspi *xqspi );
ARGUMENTS xqspi GQSPI instance
SEE ALSO Kernel file ./drivers/spi/spi-zynqmp-gqspi.c struct qspi_platform_data(9), struct zynqmp_qspi(9), zynqmp_gqspi_read(9), zynqmp_gqspi_write(9), ... |
zynqmp_qspi_enable_dma(9) | NAME zynqmp_qspi_enable_dma - Enable DMA mode
SYNOPSIS void zynqmp_qspi_enable_dma (struct zynqmp_qspi *xqspi );
ARGUMENTS xqspi GQSPI instance
SEE ALSO Kernel file ./drivers/spi/spi-zynqmp-gqspi.c struct qspi_platform_data(9), struct zynqmp_qspi(9), zynqmp_gqspi_read(9), zynqmp_gqspi_write(9), zy... |
zynqmp_qspi_exec_op(9) | NAME zynqmp_qspi_exec_op - Initiates the QSPI transfer
SYNOPSIS int zynqmp_qspi_exec_op (struct spi_mem *mem , const struct spi_mem_op *op );
ARGUMENTS mem The SPI memory
op The memory operation to execute
DESCRIPTION Executes a memory operation. This function first selects the chip and sta... |
zynqmp_qspi_fillgenfifo(9) | NAME zynqmp_qspi_fillgenfifo - Fills the GENFIFO.
SYNOPSIS void zynqmp_qspi_fillgenfifo (struct zynqmp_qspi *xqspi , u8 nbits , u32 genfifoentry );
ARGUMENTS xqspi Pointer to the zynqmp_qspi structure
nbits Transfer/Receive buswidth.
genfifoentry
Variable in which GENFIF... |
zynqmp_qspi_filltxfifo(9) | NAME zynqmp_qspi_filltxfifo - Fills the TX FIFO as long as there is room in the FIFO or the bytes required to be transmitted.
SYNOPSIS void zynqmp_qspi_filltxfifo (struct zynqmp_qspi *xqspi , int size );
ARGUMENTS xqspi Pointer to the zynqmp_qspi structure
size Number of bytes to be copied from T... |
zynqmp_qspi_init_hw(9) | NAME zynqmp_qspi_init_hw - Initialize the hardware
SYNOPSIS void zynqmp_qspi_init_hw (struct zynqmp_qspi *xqspi );
ARGUMENTS xqspi Pointer to the zynqmp_qspi structure
DESCRIPTION The default settings of the QSPI controller's configurable parameters on reset are - Host mode - TX threshold set to 1 - RX thresho... |
zynqmp_qspi_irq(9) | NAME zynqmp_qspi_irq - Interrupt service routine of the QSPI controller
SYNOPSIS irqreturn_t zynqmp_qspi_irq (int irq , void *dev_id );
ARGUMENTS irq IRQ number
dev_id Pointer to the xqspi structure
DESCRIPTION This function handles TX empty only. On TX empty interrupt this function reads the r... |
zynqmp_qspi_probe(9) | NAME zynqmp_qspi_probe - Probe method for the QSPI driver
SYNOPSIS int zynqmp_qspi_probe (struct platform_device *pdev );
ARGUMENTS pdev Pointer to the platform_device structure
DESCRIPTION This function initializes the driver data structures and the hardware.
RETURN 0 on success; error value otherwise
SEE ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.