id
stringlengths
4
63
text
stringlengths
153
8.81M
omap2xxx_clkt_vps_late_init(9)
NAME omap2xxx_clkt_vps_late_init - store a copy of the sys_ck rate SYNOPSIS void omap2xxx_clkt_vps_late_init (void ); ARGUMENTS void no arguments DESCRIPTION Store a copy of the sys_ck rate for later use by the OMAP2xxx DVFS code. (The sys_ck rate does not -- or rather, must not -- change during kernel ru...
omap2xxx_cm_split_idlest_reg(9)
NAME omap2xxx_cm_split_idlest_reg - split CM_IDLEST reg addr into its components SYNOPSIS int omap2xxx_cm_split_idlest_reg (struct clk_omap_reg *idlest_reg , s16 *prcm_inst , u8 *idlest_reg_id ); ARGUMENTS idlest_reg CM_IDLEST* virtual address prcm_inst pointer to an s16 to return the PRCM instance offset ...
omap2xxx_cm_wait_module_ready(9)
NAME omap2xxx_cm_wait_module_ready - wait for a module to leave idle or standby SYNOPSIS int omap2xxx_cm_wait_module_ready (u8 part , s16 prcm_mod , u16 idlest_id , u8 idlest_shift ); ARGUMENTS part PRCM partition, ignored for OMAP2 prcm_mod PRCM module offset idlest_id CM_IDLESTx register...
omap2xxx_common_look_up_clks_for_reset(9)
NAME omap2xxx_common_look_up_clks_for_reset - look up clocks needed for restart SYNOPSIS int omap2xxx_common_look_up_clks_for_reset (void ); ARGUMENTS void no arguments DESCRIPTION Some clocks need to be looked up in advance for the SoC restart operation to work - see omap2xxx_restart. Returns -EINVAL upon e...
omap2xxx_prm_clear_mod_irqs(9)
NAME omap2xxx_prm_clear_mod_irqs - clear wakeup status bits for a module SYNOPSIS int omap2xxx_prm_clear_mod_irqs (s16 module , u8 regs , u32 wkst_mask ); ARGUMENTS module PRM module to clear wakeups from regs register offset to clear wkst_mask wakeup status mask to clear DESCRIPTION Cl...
omap2xxx_prm_dpll_reset(9)
NAME omap2xxx_prm_dpll_reset - use DPLL reset to reboot the OMAP SoC SYNOPSIS void omap2xxx_prm_dpll_reset (void ); ARGUMENTS void no arguments DESCRIPTION Set the DPLL reset bit, which should reboot the SoC. This is the recommended way to restart the SoC. No return value. SEE ALSO Kernel file ./arch/arm/m...
omap2xxx_prm_read_reset_sources(9)
NAME omap2xxx_prm_read_reset_sources - return the last SoC reset source SYNOPSIS u32 omap2xxx_prm_read_reset_sources (void ); ARGUMENTS void no arguments DESCRIPTION Return a u32 representing the last reset sources of the SoC. The returned reset source bits are standardized across OMAP SoCs. SEE ALSO Kernel...
omap2xxx_pwrst_to_common_pwrst(9)
NAME omap2xxx_pwrst_to_common_pwrst - convert OMAP2xxx pwrst to common pwrst SYNOPSIS int omap2xxx_pwrst_to_common_pwrst (u8 omap2xxx_pwrst ); ARGUMENTS omap2xxx_pwrst OMAP2xxx hardware power state to convert DESCRIPTION Return the common power state bits corresponding to the OMAP2xxx hardware power state bits omap2...
omap2xxx_restart(9)
NAME omap2xxx_restart - Set DPLL to bypass mode for reboot to work SYNOPSIS void omap2xxx_restart (enum reboot_mode mode , const char *cmd ); ARGUMENTS mode -- undescribed -- cmd -- undescribed -- DESCRIPTION Set the DPLL to bypass so that reboot completes successfully. No return value. SEE ...
omap3430_pre_es3_1_reconfigure_io_chain(9)
NAME omap3430_pre_es3_1_reconfigure_io_chain - restart wake-up daisy chain SYNOPSIS void omap3430_pre_es3_1_reconfigure_io_chain (void ); ARGUMENTS void no arguments DESCRIPTION The ST_IO_CHAIN bit does not exist in 3430 before es3.1. The only thing we can do is toggle EN_IO bit for earlier omaps. SEE ALSO K...
omap3430es2_clk_dss_usbhost_find_idlest(9)
NAME omap3430es2_clk_dss_usbhost_find_idlest - CM_IDLEST info for DSS, USBHOST SYNOPSIS void omap3430es2_clk_dss_usbhost_find_idlest (struct clk_hw_omap *clk , struct clk_omap_reg *idlest_reg , u8 *idlest_bit , u8 *idlest_val ); ARGUMENTS clk struct clk * being enabled idlest_reg void __iomem ** to s...
omap3430es2_clk_hsotgusb_find_idlest(9)
NAME omap3430es2_clk_hsotgusb_find_idlest - return CM_IDLEST info for HSOTGUSB SYNOPSIS void omap3430es2_clk_hsotgusb_find_idlest (struct clk_hw_omap *clk , struct clk_omap_reg *idlest_reg , u8 *idlest_bit , u8 *idlest_val ); ARGUMENTS clk struct clk * being enabled idlest_reg void __iomem ** to stor...
omap3430es2_clk_ssi_find_idlest(9)
NAME omap3430es2_clk_ssi_find_idlest - return CM_IDLEST info for SSI SYNOPSIS void omap3430es2_clk_ssi_find_idlest (struct clk_hw_omap *clk , struct clk_omap_reg *idlest_reg , u8 *idlest_bit , u8 *idlest_val ); ARGUMENTS clk struct clk * being enabled idlest_reg void __iomem ** to store CM_IDLEST reg...
omap36xx_gate_clk_enable_with_hsdiv_restore(9)
NAME omap36xx_gate_clk_enable_with_hsdiv_restore - enable clocks suffering from HSDivider PWRDN problem Implements Errata ID: i556. SYNOPSIS int omap36xx_gate_clk_enable_with_hsdiv_restore (struct clk_hw *hw ); ARGUMENTS hw DPLL output struct clk_hw DESCRIPTION 3630 only: dpll3_m3_ck, dpll4_m2_ck, dpll4_m3_...
omap3_clk_lock_dpll5(9)
NAME omap3_clk_lock_dpll5 - locks DPLL5 SYNOPSIS void omap3_clk_lock_dpll5 (void ); ARGUMENTS void no arguments DESCRIPTION Locks DPLL5 to a pre-defined frequency. This is required for proper operation of USB. SEE ALSO Kernel file ./drivers/clk/ti/clk-3xxx.c omap3430es2_clk_ssi_find_idlest(9), omap3430es...
omap3_clkoutx2_recalc(9)
NAME omap3_clkoutx2_recalc - recalculate DPLL X2 output virtual clock rate SYNOPSIS unsigned long omap3_clkoutx2_recalc (struct clk_hw *hw , unsigned long parent_rate ); ARGUMENTS hw pointer struct clk_hw parent_rate clock rate of the DPLL parent DESCRIPTION Using parent clock DPLL data, look up DP...
omap3_core_dpll_restore_context(9)
NAME omap3_core_dpll_restore_context - restore the m and n values of the divider SYNOPSIS void omap3_core_dpll_restore_context (struct clk_hw *hw ); ARGUMENTS hw pointer struct clk_hw DESCRIPTION Restore the last rounded rate m and n and the enable mask. SEE ALSO Kernel file ./drivers/clk/ti/dpll3xxx.c _o...
omap3_core_dpll_save_context(9)
NAME omap3_core_dpll_save_context - Save the m and n values of the divider SYNOPSIS int omap3_core_dpll_save_context (struct clk_hw *hw ); ARGUMENTS hw pointer struct clk_hw DESCRIPTION Before the dpll registers are lost save the last rounded rate m and n and the enable mask. SEE ALSO Kernel file ./driver...
omap3_ctrl_init(9)
NAME omap3_ctrl_init - does static initializations for control module SYNOPSIS void omap3_ctrl_init (void ); ARGUMENTS void no arguments DESCRIPTION Initializes system control module. This sets up the sysconfig autoidle, and sets up modem and iva2 so that they can be idled properly. SEE ALSO Kernel file ./...
omap3_ctrl_save_padconf(9)
NAME omap3_ctrl_save_padconf - save padconf registers to scratchpad RAM SYNOPSIS int omap3_ctrl_save_padconf (void ); ARGUMENTS void no arguments DESCRIPTION Tell the SCM to start saving the padconf registers, then wait for the process to complete. Returns 0 unconditionally, although it should also eventua...
omap3_ctrl_set_iva_bootmode_idle(9)
NAME omap3_ctrl_set_iva_bootmode_idle - sets the IVA2 bootmode to idle SYNOPSIS void omap3_ctrl_set_iva_bootmode_idle (void ); ARGUMENTS void no arguments DESCRIPTION Sets the bootmode for IVA2 to idle. This is needed by the PM code to force disable IVA2 so that it does not prevent any low-power states. SEE ...
omap3_ctrl_setup_d2d_padconf(9)
NAME omap3_ctrl_setup_d2d_padconf - setup stacked modem pads for idle SYNOPSIS void omap3_ctrl_setup_d2d_padconf (void ); ARGUMENTS void no arguments DESCRIPTION Sets up the pads controlling the stacked modem in such way that the device can enter idle. SEE ALSO Kernel file ./arch/arm/mach-omap2/control.c...
omap3_ctrl_write_boot_mode(9)
NAME omap3_ctrl_write_boot_mode - set scratchpad boot mode for the next boot SYNOPSIS void omap3_ctrl_write_boot_mode (u8 bootmode ); ARGUMENTS bootmode 8-bit value to pass to some boot code DESCRIPTION Set the bootmode in the scratchpad RAM. This is used after the system restarts. Not sure what actually uses t...
omap3_dpll4_set_rate(9)
NAME omap3_dpll4_set_rate - set rate for omap3 per-dpll SYNOPSIS int omap3_dpll4_set_rate (struct clk_hw *hw , unsigned long rate , unsigned long parent_rate ); ARGUMENTS hw clock to change rate target rate for clock parent_rate clock rate of the DPLL parent DESCRIPTION Check if the c...
omap3_dpll4_set_rate_and_parent(9)
NAME omap3_dpll4_set_rate_and_parent - set rate and parent for omap3 per-dpll SYNOPSIS int omap3_dpll4_set_rate_and_parent (struct clk_hw *hw , unsigned long rate , unsigned long parent_rate , u8 index ); ARGUMENTS hw clock to change rate target rate for clock parent_rate rate of the p...
omap3_dpll5_set_rate(9)
NAME omap3_dpll5_set_rate - set rate for omap3 dpll5 SYNOPSIS int omap3_dpll5_set_rate (struct clk_hw *hw , unsigned long rate , unsigned long parent_rate ); ARGUMENTS hw clock to change rate target rate for clock parent_rate rate of the parent clock DESCRIPTION Set rate for the DPLL5...
omap3_dpll_allow_idle(9)
NAME omap3_dpll_allow_idle - enable DPLL autoidle bits SYNOPSIS void omap3_dpll_allow_idle (struct clk_hw_omap *clk ); ARGUMENTS clk struct clk * of the DPLL to operate on DESCRIPTION Enable DPLL automatic idle control. This automatic idle mode switching takes effect only when the DPLL is locked, at least o...
omap3_dpll_autoidle_read(9)
NAME omap3_dpll_autoidle_read - read a DPLL's autoidle bits SYNOPSIS u32 omap3_dpll_autoidle_read (struct clk_hw_omap *clk ); ARGUMENTS clk struct clk * of the DPLL to read DESCRIPTION Return the DPLL's autoidle bits, shifted down to bit 0. Returns -EINVAL if passed a null pointer or if the struct clk does ...
omap3_dpll_deny_idle(9)
NAME omap3_dpll_deny_idle - prevent DPLL from automatically idling SYNOPSIS void omap3_dpll_deny_idle (struct clk_hw_omap *clk ); ARGUMENTS clk struct clk * of the DPLL to operate on DESCRIPTION Disable DPLL automatic idle control. No return value. SEE ALSO Kernel file ./drivers/clk/ti/dpll3xxx.c _omap3_no...
omap3_dpll_recalc(9)
NAME omap3_dpll_recalc - recalculate DPLL rate SYNOPSIS unsigned long omap3_dpll_recalc (struct clk_hw *hw , unsigned long parent_rate ); ARGUMENTS hw struct clk_hw containing the DPLL struct clk parent_rate clock rate of the DPLL parent DESCRIPTION Recalculate and propagate the DPLL rate. SEE ALSO...
omap3_enter_idle(9)
NAME omap3_enter_idle - Programs OMAP3 to enter the specified state SYNOPSIS int omap3_enter_idle (struct cpuidle_device *dev , struct cpuidle_driver *drv , int index ); ARGUMENTS dev cpuidle device drv cpuidle driver index the index of state to be entered SEE ALSO Kernel file ....
omap3_enter_idle_bm(9)
NAME omap3_enter_idle_bm - Checks for any bus activity SYNOPSIS int omap3_enter_idle_bm (struct cpuidle_device *dev , struct cpuidle_driver *drv , int index ); ARGUMENTS dev cpuidle device drv cpuidle driver index array index of target state to be programmed DESCRIPTION This fun...
omap3_idle_init(9)
NAME omap3_idle_init - Init routine for OMAP3 idle SYNOPSIS int omap3_idle_init (void ); ARGUMENTS void no arguments DESCRIPTION Registers the OMAP3 specific cpuidle driver to the cpuidle framework with the valid set of states. SEE ALSO Kernel file ./arch/arm/mach-omap2/cpuidle34xx.c omap3_enter_idle(9), nex...
omap3_noncore_dpll_determine_rate(9)
NAME omap3_noncore_dpll_determine_rate - determine rate for a DPLL SYNOPSIS int omap3_noncore_dpll_determine_rate (struct clk_hw *hw , struct clk_rate_request *req ); ARGUMENTS hw pointer to the clock to determine rate for req target rate request DESCRIPTION Determines which DPLL mode to us...
omap3_noncore_dpll_disable(9)
NAME omap3_noncore_dpll_disable - instruct a DPLL to enter low-power stop SYNOPSIS void omap3_noncore_dpll_disable (struct clk_hw *hw ); ARGUMENTS hw struct clk_hw containing then pointer to a DPLL struct clk DESCRIPTION Instructs a non-CORE DPLL to enter low-power stop. This function is intended for use i...
omap3_noncore_dpll_enable(9)
NAME omap3_noncore_dpll_enable - instruct a DPLL to enter bypass or lock mode SYNOPSIS int omap3_noncore_dpll_enable (struct clk_hw *hw ); ARGUMENTS hw struct clk_hw containing then pointer to a DPLL struct clk DESCRIPTION Instructs a non-CORE DPLL to enable, e.g., to enter bypass or lock. The choice of m...
omap3_noncore_dpll_program(9)
NAME omap3_noncore_dpll_program - set non-core DPLL M,N values directly SYNOPSIS int omap3_noncore_dpll_program (struct clk_hw_omap *clk , u16 freqsel ); ARGUMENTS clk struct clk * of DPLL to set freqsel FREQSEL value to set DESCRIPTION Program the DPLL with the last M, N values calculated, and w...
omap3_noncore_dpll_restore_context(9)
NAME omap3_noncore_dpll_restore_context - restore the m and n values of the divider SYNOPSIS void omap3_noncore_dpll_restore_context (struct clk_hw *hw ); ARGUMENTS hw pointer struct clk_hw DESCRIPTION Restore the last rounded rate m and n and the enable mask. SEE ALSO Kernel file ./drivers/clk/ti/dpll3xx...
omap3_noncore_dpll_save_context(9)
NAME omap3_noncore_dpll_save_context - Save the m and n values of the divider SYNOPSIS int omap3_noncore_dpll_save_context (struct clk_hw *hw ); ARGUMENTS hw pointer struct clk_hw DESCRIPTION Before the dpll registers are lost save the last rounded rate m and n and the enable mask. SEE ALSO Kernel file ./...
omap3_noncore_dpll_set_parent(9)
NAME omap3_noncore_dpll_set_parent - set parent for a DPLL clock SYNOPSIS int omap3_noncore_dpll_set_parent (struct clk_hw *hw , u8 index ); ARGUMENTS hw pointer to the clock to set parent for index parent index to select DESCRIPTION Sets parent for a DPLL clock. This sets the DPLL into bypass...
omap3_noncore_dpll_set_rate(9)
NAME omap3_noncore_dpll_set_rate - set rate for a DPLL clock SYNOPSIS int omap3_noncore_dpll_set_rate (struct clk_hw *hw , unsigned long rate , unsigned long parent_rate ); ARGUMENTS hw pointer to the clock to set parent for rate target rate for the clock parent_rate rate of the parent...
omap3_noncore_dpll_set_rate_and_parent(9)
NAME omap3_noncore_dpll_set_rate_and_parent - set rate and parent for a DPLL clock SYNOPSIS int omap3_noncore_dpll_set_rate_and_parent (struct clk_hw *hw , unsigned long rate , unsigned long parent_rate , u8 index ); ARGUMENTS hw pointer to the clock to set rate and parent for rate target rate...
omap3_noncore_dpll_ssc_program(9)
NAME omap3_noncore_dpll_ssc_program - set spread-spectrum clocking registers SYNOPSIS void omap3_noncore_dpll_ssc_program (struct clk_hw_omap *clk ); ARGUMENTS clk struct clk * of DPLL to set DESCRIPTION Enable the DPLL spread spectrum clocking if frequency modulation and frequency spreading have been set, o...
omap3_prm_init_pm(9)
NAME omap3_prm_init_pm - initialize PM related registers for PRM SYNOPSIS void omap3_prm_init_pm (bool has_uart4 , bool has_iva ); ARGUMENTS has_uart4 SoC has UART4 has_iva SoC has IVA DESCRIPTION Initializes PRM registers for PM use. Called from PM init. SEE ALSO Kernel file ./arch/arm/mach-oma...
omap3_prm_reconfigure_io_chain(9)
NAME omap3_prm_reconfigure_io_chain - clear latches and reconfigure I/O chain SYNOPSIS void omap3_prm_reconfigure_io_chain (void ); ARGUMENTS void no arguments DESCRIPTION Clear any previously-latched I/O wakeup events and ensure that the I/O wakeup gates are aligned with the current mux settings. Works by a...
omap3_prm_reset_modem(9)
NAME omap3_prm_reset_modem - toggle reset signal for modem SYNOPSIS void omap3_prm_reset_modem (void ); ARGUMENTS void no arguments DESCRIPTION Toggles the reset signal to modem IP block. Required to allow OMAP3430 without stacked modem to idle properly. SEE ALSO Kernel file ./arch/arm/mach-omap2/prm3x...
omap3_set_i2c_timings(9)
NAME omap3_set_i2c_timings - sets i2c sleep timings for a channel SYNOPSIS void omap3_set_i2c_timings (struct voltagedomain *voltdm ); ARGUMENTS voltdm channel to configure DESCRIPTION Calculates and sets up voltage controller to use I2C based voltage scaling for sleep modes. This can be used for either of...
omap3_set_off_timings(9)
NAME omap3_set_off_timings - sets off-mode timings for a channel SYNOPSIS void omap3_set_off_timings (struct voltagedomain *voltdm ); ARGUMENTS voltdm channel to configure DESCRIPTION Calculates and sets up off-mode timings for a channel. Off-mode can use either I2C based voltage scaling, or alternatively sy...
omap3xxx_cm_split_idlest_reg(9)
NAME omap3xxx_cm_split_idlest_reg - split CM_IDLEST reg addr into its components SYNOPSIS int omap3xxx_cm_split_idlest_reg (struct clk_omap_reg *idlest_reg , s16 *prcm_inst , u8 *idlest_reg_id ); ARGUMENTS idlest_reg CM_IDLEST* virtual address prcm_inst pointer to an s16 to return the PRCM instance offset ...
omap3xxx_cm_wait_module_ready(9)
NAME omap3xxx_cm_wait_module_ready - wait for a module to leave idle or standby SYNOPSIS int omap3xxx_cm_wait_module_ready (u8 part , s16 prcm_mod , u16 idlest_id , u8 idlest_shift ); ARGUMENTS part PRCM partition, ignored for OMAP3 prcm_mod PRCM module offset idlest_id CM_IDLESTx register...
omap3xxx_hwmod_is_hs_ip_block_usable(9)
NAME omap3xxx_hwmod_is_hs_ip_block_usable - is a security IP block accessible? SYNOPSIS bool omap3xxx_hwmod_is_hs_ip_block_usable (struct device_node *bus , const char *dev_name ); ARGUMENTS bus struct device_node * for the top-level OMAP DT data dev_name device name used in the DT file DESCRIPTIO...
omap3xxx_prm_clear_global_cold_reset(9)
NAME omap3xxx_prm_clear_global_cold_reset - checks the global cold reset status and clears it if asserted SYNOPSIS int omap3xxx_prm_clear_global_cold_reset (void ); ARGUMENTS void no arguments DESCRIPTION Checks if cold-reset has occurred and clears the status bit if yes. Returns 1 if cold-reset has occurred,...
omap3xxx_prm_clear_mod_irqs(9)
NAME omap3xxx_prm_clear_mod_irqs - clear wake-up events from PRCM interrupt SYNOPSIS int omap3xxx_prm_clear_mod_irqs (s16 module , u8 regs , u32 wkst_mask ); ARGUMENTS module PRM module to clear wakeups from regs register set to clear, 1 or 3 wkst_mask wkst bits to clear DESCRIPTION The...
omap3xxx_prm_dpll3_reset(9)
NAME omap3xxx_prm_dpll3_reset - use DPLL3 reset to reboot the OMAP SoC SYNOPSIS void omap3xxx_prm_dpll3_reset (void ); ARGUMENTS void no arguments DESCRIPTION Set the DPLL3 reset bit, which should reboot the SoC. This is the recommended way to restart the SoC, considering Errata i520. No return value. SEE ...
omap3xxx_prm_enable_io_wakeup(9)
NAME omap3xxx_prm_enable_io_wakeup - enable wakeup events from I/O wakeup latches SYNOPSIS void omap3xxx_prm_enable_io_wakeup (void ); ARGUMENTS void no arguments DESCRIPTION Activates the I/O wakeup event latches and allows events logged by those latches to signal a wakeup event to the PRCM. ...
omap3xxx_prm_iva_idle(9)
NAME omap3xxx_prm_iva_idle - ensure IVA is in idle so it can be put into retention SYNOPSIS void omap3xxx_prm_iva_idle (void ); ARGUMENTS void no arguments DESCRIPTION In cases where IVA2 is activated by bootcode, it may prevent full-chip retention or off-mode because it is not idle. This function forces th...
omap3xxx_prm_ocp_barrier(9)
NAME omap3xxx_prm_ocp_barrier - force buffered MPU writes to the PRM to complete SYNOPSIS void omap3xxx_prm_ocp_barrier (void ); ARGUMENTS void no arguments DESCRIPTION Force any buffered writes to the PRM IP block to complete. Needed by the PRM IRQ handler, which reads and writes directly to the IP bloc...
omap3xxx_prm_read_pending_irqs(9)
NAME omap3xxx_prm_read_pending_irqs - read pending PRM MPU IRQs into @events SYNOPSIS void omap3xxx_prm_read_pending_irqs (unsigned long *events ); ARGUMENTS events ptr to a u32, preallocated by caller DESCRIPTION Read PRM_IRQSTATUS_MPU bits, AND'ed with the currently-enabled PRM MPU IRQs, and store the result ...
omap3xxx_prm_read_reset_sources(9)
NAME omap3xxx_prm_read_reset_sources - return the last SoC reset source SYNOPSIS u32 omap3xxx_prm_read_reset_sources (void ); ARGUMENTS void no arguments DESCRIPTION Return a u32 representing the last reset sources of the SoC. The returned reset source bits are standardized across OMAP SoCs. SEE ALSO Kernel...
omap3xxx_prm_restore_irqen(9)
NAME omap3xxx_prm_restore_irqen - set PRM_IRQENABLE_MPU register from args SYNOPSIS void omap3xxx_prm_restore_irqen (u32 *saved_mask ); ARGUMENTS saved_mask ptr to a u32 array of IRQENABLE bits saved previously DESCRIPTION Restore the PRM_IRQENABLE_MPU register from saved_mask. Intended to be used in the PRM ...
omap3xxx_prm_save_and_clear_irqen(9)
NAME omap3xxx_prm_save_and_clear_irqen - save/clear PRM_IRQENABLE_MPU reg SYNOPSIS void omap3xxx_prm_save_and_clear_irqen (u32 *saved_mask ); ARGUMENTS saved_mask ptr to a u32 array to save IRQENABLE bits DESCRIPTION Save the PRM_IRQENABLE_MPU register to saved_mask. saved_mask must be allocated by the caller. In...
omap3xxx_restart(9)
NAME omap3xxx_restart - trigger a software restart of the SoC SYNOPSIS void omap3xxx_restart (enum reboot_mode mode , const char *cmd ); ARGUMENTS mode the "reboot mode", see arch/arm/kernel/{setup,process}.c cmd passed from the userspace program rebooting the system (if provided) DESCRIPTION ...
omap4430_phy_power_down(9)
NAME omap4430_phy_power_down - disable MUSB PHY during early init SYNOPSIS int omap4430_phy_power_down (void ); ARGUMENTS void no arguments DESCRIPTION OMAP4 MUSB PHY module is enabled by default on reset, but this will prevent core retention if not disabled by SW. USB driver will later on enable this, once a...
omap44xx_prm_clear_context_loss_flags_old(9)
NAME omap44xx_prm_clear_context_loss_flags_old - clear context loss flags SYNOPSIS void omap44xx_prm_clear_context_loss_flags_old (u8 part , s16 inst , u16 idx ); ARGUMENTS part PRM partition ID (e.g., OMAP4430_PRM_PARTITION) inst PRM instance offset (e.g., OMAP4430_PRM_MPU_INST) idx ...
omap44xx_prm_enable_io_wakeup(9)
NAME omap44xx_prm_enable_io_wakeup - enable wakeup events from I/O wakeup latches SYNOPSIS void omap44xx_prm_enable_io_wakeup (void ); ARGUMENTS void no arguments DESCRIPTION Activates the I/O wakeup event latches and allows events logged by those latches to signal a wakeup event to the PRCM. ...
omap44xx_prm_ocp_barrier(9)
NAME omap44xx_prm_ocp_barrier - force buffered MPU writes to the PRM to complete SYNOPSIS void omap44xx_prm_ocp_barrier (void ); ARGUMENTS void no arguments DESCRIPTION Force any buffered writes to the PRM IP block to complete. Needed by the PRM IRQ handler, which reads and writes directly to the IP bloc...
omap44xx_prm_read_pending_irqs(9)
NAME omap44xx_prm_read_pending_irqs - read pending PRM MPU IRQs into @events SYNOPSIS void omap44xx_prm_read_pending_irqs (unsigned long *events ); ARGUMENTS events ptr to two consecutive u32s, preallocated by caller DESCRIPTION Read PRM_IRQSTATUS_MPU* bits, AND'ed with the currently-enabled PRM MPU IRQs, and s...
omap44xx_prm_read_reset_sources(9)
NAME omap44xx_prm_read_reset_sources - return the last SoC reset source SYNOPSIS u32 omap44xx_prm_read_reset_sources (void ); ARGUMENTS void no arguments DESCRIPTION Return a u32 representing the last reset sources of the SoC. The returned reset source bits are standardized across OMAP SoCs. SEE ALSO Kernel...
omap44xx_prm_reconfigure_io_chain(9)
NAME omap44xx_prm_reconfigure_io_chain - clear latches and reconfigure I/O chain SYNOPSIS void omap44xx_prm_reconfigure_io_chain (void ); ARGUMENTS void no arguments DESCRIPTION Clear any previously-latched I/O wakeup events and ensure that the I/O wakeup gates are aligned with the current mux settings. Work...
omap44xx_prm_restore_irqen(9)
NAME omap44xx_prm_restore_irqen - set PRM_IRQENABLE_MPU* registers from args SYNOPSIS void omap44xx_prm_restore_irqen (u32 *saved_mask ); ARGUMENTS saved_mask ptr to a u32 array of IRQENABLE bits saved previously DESCRIPTION Restore the PRM_IRQENABLE_MPU and PRM_IRQENABLE_MPU_2 registers from saved_mask. Intended ...
omap44xx_prm_save_and_clear_irqen(9)
NAME omap44xx_prm_save_and_clear_irqen - save/clear PRM_IRQENABLE_MPU* regs SYNOPSIS void omap44xx_prm_save_and_clear_irqen (u32 *saved_mask ); ARGUMENTS saved_mask ptr to a u32 array to save IRQENABLE bits DESCRIPTION Save the PRM_IRQENABLE_MPU and PRM_IRQENABLE_MPU_2 registers to saved_mask. saved_mask must b...
omap44xx_prm_was_any_context_lost_old(9)
NAME omap44xx_prm_was_any_context_lost_old - was module hardware context lost? SYNOPSIS bool omap44xx_prm_was_any_context_lost_old (u8 part , s16 inst , u16 idx ); ARGUMENTS part PRM partition ID (e.g., OMAP4430_PRM_PARTITION) inst PRM instance offset (e.g., OMAP4430_PRM_MPU_INST) idx ...
omap44xx_restart(9)
NAME omap44xx_restart - trigger a software restart of the SoC SYNOPSIS void omap44xx_restart (enum reboot_mode mode , const char *cmd ); ARGUMENTS mode the "reboot mode", see arch/arm/kernel/{setup,process}.c cmd passed from the userspace program rebooting the system (if provided) DESCRIPTION ...
omap4_calc_volt_ramp(9)
NAME omap4_calc_volt_ramp - calculates voltage ramping delays on omap4 SYNOPSIS u32 omap4_calc_volt_ramp (struct voltagedomain *voltdm , u32 voltage_diff ); ARGUMENTS voltdm channel to calculate values for voltage_diff voltage difference in microvolts DESCRIPTION Calculates voltage ...
omap4_clkdm_restore_context(9)
NAME omap4_clkdm_restore_context - Restore the clockdomain modulemode context SYNOPSIS int omap4_clkdm_restore_context (struct clockdomain *clkdm ); ARGUMENTS clkdm The clockdomain pointer whose context needs to be restored DESCRIPTION Restore the clockdomain modulemode context. SEE ALSO Kernel file ./a...
omap4_clkdm_save_context(9)
NAME omap4_clkdm_save_context - Save the clockdomain modulemode context SYNOPSIS int omap4_clkdm_save_context (struct clockdomain *clkdm ); ARGUMENTS clkdm The clockdomain pointer whose context needs to be saved DESCRIPTION Save the clockdomain modulemode context. SEE ALSO Kernel file ./arch/arm/mach-om...
omap4_cminst_clkdm_disable_hwsup(9)
NAME omap4_cminst_clkdm_disable_hwsup - put a clockdomain in swsup-idle mode SYNOPSIS void omap4_cminst_clkdm_disable_hwsup (u8 part , u16 inst , u16 cdoffs ); ARGUMENTS part PRCM partition ID that the clockdomain registers exist in inst CM instance register offset (*_INST macro) cdoffs ...
omap4_cminst_clkdm_enable_hwsup(9)
NAME omap4_cminst_clkdm_enable_hwsup - put a clockdomain in hwsup-idle mode SYNOPSIS void omap4_cminst_clkdm_enable_hwsup (u8 part , u16 inst , u16 cdoffs ); ARGUMENTS part PRCM partition ID that the clockdomain registers exist in inst CM instance register offset (*_INST macro) cdoffs ...
omap4_cminst_clkdm_force_wakeup(9)
NAME omap4_cminst_clkdm_force_wakeup - try to take a clockdomain out of idle SYNOPSIS void omap4_cminst_clkdm_force_wakeup (u8 part , u16 inst , u16 cdoffs ); ARGUMENTS part PRCM partition ID that the clockdomain registers exist in inst CM instance register offset (*_INST macro) cdoffs ...
omap4_cminst_is_clkdm_in_hwsup(9)
NAME omap4_cminst_is_clkdm_in_hwsup - is a clockdomain in hwsup idle mode? SYNOPSIS bool omap4_cminst_is_clkdm_in_hwsup (u8 part , u16 inst , u16 cdoffs ); ARGUMENTS part PRCM partition ID that the CM_CLKSTCTRL register exists in inst CM instance register offset (*_INST macro) cdoffs ...
omap4_cminst_module_disable(9)
NAME omap4_cminst_module_disable - Disable the module inside CLKCTRL SYNOPSIS void omap4_cminst_module_disable (u8 part , u16 inst , u16 clkctrl_offs ); ARGUMENTS part PRCM partition ID that the CM_CLKCTRL register exists in inst CM instance register offset (*_INST macro) clkctrl_offs ...
omap4_cminst_module_enable(9)
NAME omap4_cminst_module_enable - Enable the modulemode inside CLKCTRL SYNOPSIS void omap4_cminst_module_enable (u8 mode , u8 part , u16 inst , u16 clkctrl_offs ); ARGUMENTS mode Module mode (SW or HW) part PRCM partition ID that the CM_CLKCTRL register exists in inst CM instance ...
omap4_cminst_wait_module_idle(9)
NAME omap4_cminst_wait_module_idle - wait for a module to be in 'disabled' state SYNOPSIS int omap4_cminst_wait_module_idle (u8 part , s16 inst , u16 clkctrl_offs , u8 bit_shift ); ARGUMENTS part PRCM partition ID that the CM_CLKCTRL register exists in inst CM instance register offset (*_INST ma...
omap4_cminst_wait_module_ready(9)
NAME omap4_cminst_wait_module_ready - wait for a module to be in 'func' state SYNOPSIS int omap4_cminst_wait_module_ready (u8 part , s16 inst , u16 clkctrl_offs , u8 bit_shift ); ARGUMENTS part PRCM partition ID that the CM_CLKCTRL register exists in inst CM instance register offset (*_INST macr...
omap4_dpll_lpmode_recalc(9)
NAME omap4_dpll_lpmode_recalc - compute DPLL low-power setting SYNOPSIS void omap4_dpll_lpmode_recalc (struct dpll_data *dd ); ARGUMENTS dd pointer to the dpll data structure DESCRIPTION Calculates if low-power mode can be enabled based upon the last multiplier and divider values calculated. If low-power m...
omap4_dpll_regm4xen_determine_rate(9)
NAME omap4_dpll_regm4xen_determine_rate - determine rate for a DPLL SYNOPSIS int omap4_dpll_regm4xen_determine_rate (struct clk_hw *hw , struct clk_rate_request *req ); ARGUMENTS hw pointer to the clock to determine rate for req target rate request DESCRIPTION Determines which DPLL mode to ...
omap4_dpll_regm4xen_recalc(9)
NAME omap4_dpll_regm4xen_recalc - compute DPLL rate, considering REGM4XEN bit SYNOPSIS unsigned long omap4_dpll_regm4xen_recalc (struct clk_hw *hw , unsigned long parent_rate ); ARGUMENTS hw pointer to the clock to compute the rate for parent_rate clock rate of the DPLL parent DESCRIPTION Compute t...
omap4_enter_lowpower(9)
NAME omap4_enter_lowpower - OMAP4 MPUSS Low Power Entry Function The purpose of this function is to manage low power programming of OMAP4 MPUSS subsystem SYNOPSIS __cpuidle int omap4_enter_lowpower (unsigned int cpu , unsigned int power_state , bool rcuidle ); ARGUMENTS cpu CPU ID power_state Low powe...
omap4_hotplug_cpu(9)
NAME omap4_hotplug_cpu - OMAP4 CPU hotplug entry SYNOPSIS int omap4_hotplug_cpu (unsigned int cpu , unsigned int power_state ); ARGUMENTS cpu CPU ID power_state CPU low power state. SEE ALSO Kernel file ./arch/arm/mach-omap2/omap-mpuss-lowpower.c struct cpu_pm_ops(9), omap4_enter_lowpower(9) April 2...
omap4_idle_init(9)
NAME omap4_idle_init - Init routine for OMAP4+ idle SYNOPSIS int omap4_idle_init (void ); ARGUMENTS void no arguments DESCRIPTION Registers the OMAP4+ specific cpuidle driver to the cpuidle framework with the valid set of states. SEE ALSO Kernel file ./arch/arm/mach-omap2/cpuidle44xx.c April 2026 ...
omap4_pm_init(9)
NAME omap4_pm_init - Init routine for OMAP4+ devices SYNOPSIS int omap4_pm_init (void ); ARGUMENTS void no arguments DESCRIPTION Initializes all powerdomain and clockdomain target states and all PRCM settings. RETURN Returns the error code returned by called functions. SEE ALSO Kernel file ./arch/arm/mach-o...
omap4_pm_init_early(9)
NAME omap4_pm_init_early - Does early initialization necessary for OMAP4+ devices SYNOPSIS int omap4_pm_init_early (void ); ARGUMENTS void no arguments DESCRIPTION Initializes basic stuff for power management functionality. SEE ALSO Kernel file ./arch/arm/mach-omap2/pm44xx.c struct static_dep_map(9), omap_de...
omap4_prminst_assert_hardreset(9)
NAME omap4_prminst_assert_hardreset - assert the HW reset line of a submodule SYNOPSIS int omap4_prminst_assert_hardreset (u8 shift , u8 part , s16 inst , u16 rstctrl_offs ); ARGUMENTS shift register bit shift corresponding to the reset line to assert part -- undescribed -- inst --...
omap4_prminst_deassert_hardreset(9)
NAME omap4_prminst_deassert_hardreset - deassert a submodule hardreset line and wait SYNOPSIS int omap4_prminst_deassert_hardreset (u8 shift , u8 st_shift , u8 part , s16 inst , u16 rstctrl_offs , u16 rstst_offs ); ARGUMENTS shift register bit shift corresponding to the reset line to deassert st_shift ...
omap4_prminst_is_hardreset_asserted(9)
NAME omap4_prminst_is_hardreset_asserted - read the HW reset line state of submodules contained in the hwmod module SYNOPSIS int omap4_prminst_is_hardreset_asserted (u8 shift , u8 part , s16 inst , u16 rstctrl_offs ); ARGUMENTS shift register bit shift corresponding to the reset line to check part ...
omap4_pwrdm_read_prev_logic_pwrst(9)
NAME omap4_pwrdm_read_prev_logic_pwrst - read the previous logic powerstate SYNOPSIS int omap4_pwrdm_read_prev_logic_pwrst (struct powerdomain *pwrdm ); ARGUMENTS pwrdm struct powerdomain * to read the state for DESCRIPTION Reads the previous logic powerstate for a powerdomain. This function must determine...
omap4_pwrdm_read_prev_mem_pwrst(9)
NAME omap4_pwrdm_read_prev_mem_pwrst - reads the previous memory powerstate SYNOPSIS int omap4_pwrdm_read_prev_mem_pwrst (struct powerdomain *pwrdm , u8 bank ); ARGUMENTS pwrdm struct powerdomain * to read mem powerstate for bank memory bank index DESCRIPTION Reads the previous memory powersta...
omap4_pwrdm_restore_context(9)
NAME omap4_pwrdm_restore_context - Restores the powerdomain state SYNOPSIS void omap4_pwrdm_restore_context (struct powerdomain *pwrdm ); ARGUMENTS pwrdm pointer to individual powerdomain DESCRIPTION The function restores the powerdomain state control information. This is needed in rtc+ddr modes where we lose...
omap4_pwrdm_save_context(9)
NAME omap4_pwrdm_save_context - Saves the powerdomain state SYNOPSIS void omap4_pwrdm_save_context (struct powerdomain *pwrdm ); ARGUMENTS pwrdm pointer to individual powerdomain DESCRIPTION The function saves the powerdomain state control information. This is needed in rtc+ddr modes where we lose powerdomain...
omap4_set_timings(9)
NAME omap4_set_timings - set voltage ramp timings for a channel SYNOPSIS void omap4_set_timings (struct voltagedomain *voltdm , bool off_mode ); ARGUMENTS voltdm channel to configure off_mode whether off-mode values are used DESCRIPTION Calculates and sets the voltage ramp up / down values for a chan...