id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
omap4_usec_to_val_scrm(9) | NAME omap4_usec_to_val_scrm - convert microsecond value to SCRM module bitfield
SYNOPSIS u32 omap4_usec_to_val_scrm (u32 usec , int shift , u32 mask );
ARGUMENTS usec microseconds
shift number of bits to shift left
mask bitfield mask
DESCRIPTION Converts microsecond value to OMA... |
omap4_vc_i2c_timing_init(9) | NAME omap4_vc_i2c_timing_init - sets up board I2C timing parameters
SYNOPSIS void omap4_vc_i2c_timing_init (struct voltagedomain *voltdm );
ARGUMENTS voltdm voltagedomain pointer to get data from
DESCRIPTION Use PMIC + board supplied settings for calculating the total I2C channel capacitance and set the tim... |
omap4plus_init_static_deps(9) | NAME omap4plus_init_static_deps - Initialize a static dependency map
SYNOPSIS int omap4plus_init_static_deps (const struct static_dep_map *map );
ARGUMENTS map Mapping of clock domains
SEE ALSO Kernel file ./arch/arm/mach-omap2/pm44xx.c struct static_dep_map(9), omap_default_idle(9), omap4_pm_init_early(9), ... |
omap_calculate_ecc(9) | NAME omap_calculate_ecc - Generate non-inverted ECC bytes.
SYNOPSIS int omap_calculate_ecc (struct nand_chip *chip , const u_char *dat , u_char *ecc_code );
ARGUMENTS chip NAND chip object
dat The pointer to data on which ecc is computed
ecc_code The ecc_code buffer
DESCRIPTION Usin... |
omap_calculate_ecc_bch_multi(9) | NAME omap_calculate_ecc_bch_multi - Generate ECC for multiple sectors
SYNOPSIS int omap_calculate_ecc_bch_multi (struct mtd_info *mtd , const u_char *dat , u_char *ecc_calc );
ARGUMENTS mtd MTD device structure
dat The pointer to data on which ecc is computed
ecc_calc Buffer storing... |
omap_calculate_ecc_bch_sw(9) | NAME omap_calculate_ecc_bch_sw - ECC generator for sector for SW based correction
SYNOPSIS int omap_calculate_ecc_bch_sw (struct nand_chip *chip , const u_char *dat , u_char *ecc_calc );
ARGUMENTS chip NAND chip object
dat The pointer to data on which ecc is computed
ecc_calc Buffer ... |
omap_clear_gpio_debounce(9) | NAME omap_clear_gpio_debounce - clear debounce settings for a gpio
SYNOPSIS void omap_clear_gpio_debounce (struct gpio_bank *bank , unsigned offset );
ARGUMENTS bank the gpio bank we're acting upon
offset the gpio number on this bank
DESCRIPTION If a gpio is using debounce, then clear the deboun... |
omap_cm_base_init(9) | NAME omap_cm_base_init - Populates the cm partitions
SYNOPSIS void omap_cm_base_init (void );
ARGUMENTS void no arguments
DESCRIPTION Populates the base addresses of the _cm_bases array used for read/write of cm module registers.
SEE ALSO Kernel file ./arch/arm/mach-omap2/cminst44xx.c _clkctrl_idles... |
omap_cm_init(9) | NAME omap_cm_init - low level init for the CM drivers
SYNOPSIS int omap_cm_init (void );
ARGUMENTS void no arguments
DESCRIPTION Initializes the low level clock infrastructure for CM drivers. Returns 0 in success, negative error value in failure.
SEE ALSO Kernel file ./arch/arm/mach-omap2/cm_common.c cm_... |
omap_cm_module_disable(9) | NAME omap_cm_module_disable - disable a module
SYNOPSIS int omap_cm_module_disable (u8 part , u16 inst , u16 clkctrl_offs );
ARGUMENTS part PRCM partition
inst PRCM instance
clkctrl_offs
CM_CLKCTRL register offset for the module
DESCRIPTION Disables clocks for a modul... |
omap_cm_module_enable(9) | NAME omap_cm_module_enable - enable a module
SYNOPSIS int omap_cm_module_enable (u8 mode , u8 part , u16 inst , u16 clkctrl_offs );
ARGUMENTS mode target mode for the module
part PRCM partition
inst PRCM instance
clkctrl_offs
CM_CLKCTRL register offset f... |
omap_cm_wait_module_idle(9) | NAME omap_cm_wait_module_idle - wait for a module to enter idle or standby
SYNOPSIS int omap_cm_wait_module_idle (u8 part , s16 prcm_mod , u16 idlest_reg , u8 idlest_shift );
ARGUMENTS part PRCM partition
prcm_mod PRCM module offset
idlest_reg CM_IDLESTx register
idlest_shift
... |
omap_cm_wait_module_ready(9) | NAME omap_cm_wait_module_ready - wait for a module to leave idle or standby
SYNOPSIS int omap_cm_wait_module_ready (u8 part , s16 prcm_mod , u16 idlest_reg , u8 idlest_shift );
ARGUMENTS part PRCM partition
prcm_mod PRCM module offset
idlest_reg CM_IDLESTx register
idlest_shift
... |
omap_common_suspend_init(9) | NAME omap_common_suspend_init - Set common suspend routines for OMAP SoCs
SYNOPSIS void omap_common_suspend_init (void *pm_suspend );
ARGUMENTS pm_suspend function pointer to SoC specific suspend function
SEE ALSO Kernel file ./arch/arm/mach-omap2/pm.c struct omap2_oscillator(9)
April 2026 ... |
omap_compare_ecc(9) | NAME omap_compare_ecc - Detect (2 bits) and correct (1 bit) error in data
SYNOPSIS int omap_compare_ecc (u8 *ecc_data1 , u8 *page_data );
ARGUMENTS ecc_data1 ecc code from nand spare area
page_data page data
DESCRIPTION This function compares two ECC's and indicates if there is an error. If the error ca... |
omap_control_init(9) | NAME omap_control_init - low level init for the control driver
SYNOPSIS int omap_control_init (void );
ARGUMENTS void no arguments
DESCRIPTION Initializes the low level clock infrastructure for control driver. Returns 0 in success, negative error value in failure.
SEE ALSO Kernel file ./arch/arm/mach-omap... |
omap_control_pcie_pcs(9) | NAME omap_control_pcie_pcs - set the PCS delay count
SYNOPSIS void omap_control_pcie_pcs (struct device *dev , u8 delay );
ARGUMENTS dev the control module device
delay 8 bit delay value
SEE ALSO Kernel file ./drivers/phy/ti/phy-omap-control.c omap_control_phy_power(9), omap_control_usb_host_mo... |
omap_control_phy_power(9) | NAME omap_control_phy_power - power on/off the phy using control module reg
SYNOPSIS void omap_control_phy_power (struct device *dev , int on );
ARGUMENTS dev the control module device
on 0 or 1, based on powering on or off the PHY
SEE ALSO Kernel file ./drivers/phy/ti/phy-omap-control.c oma... |
omap_control_usb_device_mode(9) | NAME omap_control_usb_device_mode - set AVALID, VBUSVALID and ID pin in high impedance
SYNOPSIS void omap_control_usb_device_mode (struct omap_control_phy *ctrl_phy );
ARGUMENTS ctrl_phy struct omap_control_phy *
DESCRIPTION Writes to the mailbox register to notify the usb core that it has been connected to a usb... |
omap_control_usb_host_mode(9) | NAME omap_control_usb_host_mode - set AVALID, VBUSVALID and ID pin in grounded
SYNOPSIS void omap_control_usb_host_mode (struct omap_control_phy *ctrl_phy );
ARGUMENTS ctrl_phy struct omap_control_phy *
DESCRIPTION Writes to the mailbox register to notify the usb core that a usb device has been connected.
SEE AL... |
omap_control_usb_set_mode(9) | NAME omap_control_usb_set_mode - Calls to functions to set USB in one of host mode or device mode or to denote disconnected state
SYNOPSIS void omap_control_usb_set_mode (struct device *dev , enum omap_control_usb_mode mode );
ARGUMENTS dev the control module device
mode The mode to which usb s... |
omap_control_usb_set_sessionend(9) | NAME omap_control_usb_set_sessionend - Enable SESSIONEND and IDIG to high impedance
SYNOPSIS void omap_control_usb_set_sessionend (struct omap_control_phy *ctrl_phy );
ARGUMENTS ctrl_phy struct omap_control_phy *
DESCRIPTION Writes to the mailbox register to notify the usb core it's now in disconnected state.
SE... |
omap_correct_data(9) | NAME omap_correct_data - Compares the ECC read with HW generated ECC
SYNOPSIS int omap_correct_data (struct nand_chip *chip , u_char *dat , u_char *read_ecc , u_char *calc_ecc );
ARGUMENTS chip NAND chip object
dat page data
read_ecc ecc read from nand flash
calc_ecc ecc r... |
omap_cpcap_uv_to_vsel(9) | NAME omap_cpcap_uv_to_vsel - convert microvolts DC to CPCAP VSEL value
SYNOPSIS unsigned char omap_cpcap_uv_to_vsel (unsigned long uv );
ARGUMENTS uv microvolts DC to convert
RETURN the VSEL value necessary for the CPCAP PMIC to generate an output voltage equal to or greater than uv microvolts DC.
SEE ALSO... |
omap_cpcap_vsel_to_uv(9) | NAME omap_cpcap_vsel_to_uv - convert CPCAP VSEL value to microvolts DC
SYNOPSIS unsigned long omap_cpcap_vsel_to_uv (unsigned char vsel );
ARGUMENTS vsel CPCAP VSEL value to convert
RETURN the microvolts DC that the CPCAP PMIC should generate when programmed with vsel.
SEE ALSO Kernel file ./arch/arm/mach-... |
omap_default_idle(9) | NAME omap_default_idle - OMAP4 default ilde routine.'
SYNOPSIS void omap_default_idle (void );
ARGUMENTS void no arguments
DESCRIPTION Implements OMAP4 memory, IO ordering requirements which can't be addressed with default cpu_do_idle hook. Used by all CPUs with !CONFIG_CPU_IDLE and by secondary CPU with CONF... |
omap_device_alloc(9) | NAME omap_device_alloc - allocate an omap_device
SYNOPSIS struct omap_device * omap_device_alloc (struct platform_device *pdev , struct omap_hwmod **ohs , int oh_cnt );
ARGUMENTS pdev platform_device that will be included in this omap_device
ohs ptr to the omap_hwmod for this omap_device
... |
omap_device_assert_hardreset(9) | NAME omap_device_assert_hardreset - set a device's hardreset line
SYNOPSIS int omap_device_assert_hardreset (struct platform_device *pdev , const char *name );
ARGUMENTS pdev struct platform_device * to reset
name const char * name of the reset line
DESCRIPTION Set the hardreset line identifie... |
omap_device_build_from_dt(9) | NAME omap_device_build_from_dt - build an omap_device with multiple hwmods
SYNOPSIS int omap_device_build_from_dt (struct platform_device *pdev );
ARGUMENTS pdev The platform device to update.
DESCRIPTION Function for building an omap_device already registered from device-tree Returns 0 or PTR_ERR on error.
... |
omap_device_deassert_hardreset(9) | NAME omap_device_deassert_hardreset - release a device's hardreset line
SYNOPSIS int omap_device_deassert_hardreset (struct platform_device *pdev , const char *name );
ARGUMENTS pdev struct platform_device * to reset
name const char * name of the reset line
DESCRIPTION Release the hardreset lin... |
omap_device_enable(9) | NAME omap_device_enable - fully activate an omap_device
SYNOPSIS int omap_device_enable (struct platform_device *pdev );
ARGUMENTS pdev the platform device to activate
DESCRIPTION Do whatever is necessary for the hwmods underlying omap_device od to be accessible and ready to operate. This generally involves... |
omap_device_idle(9) | NAME omap_device_idle - idle an omap_device
SYNOPSIS int omap_device_idle (struct platform_device *pdev );
ARGUMENTS pdev The platform_device (omap_device) to idle
DESCRIPTION Idle omap_device od. Device drivers call this function indirectly via pm_runtime_put*(). Returns -EINVAL if the omap_device is not c... |
omap_device_late_idle(9) | NAME omap_device_late_idle - idle devices without drivers
SYNOPSIS int omap_device_late_idle (struct device *dev , void *data );
ARGUMENTS dev struct device * associated with omap_device
data unused
DESCRIPTION Check the driver bound status of this device, and idle it if there is no driver att... |
omap_dm_timer_cap_counter(9) | NAME omap_dm_timer_cap_counter - Calculate the high count or period count depending on the configuration.
SYNOPSIS unsigned int omap_dm_timer_cap_counter (struct omap_dm_timer *cookie , bool is_period );
ARGUMENTS cookie Pointer to OMAP DM timer
is_period Whether to configure timer in period or duty cy... |
omap_dm_timer_modify_idlect_mask(9) | NAME omap_dm_timer_modify_idlect_mask - Check if any running timers use ARMXOR
SYNOPSIS __u32 omap_dm_timer_modify_idlect_mask (__u32 inputmask );
ARGUMENTS inputmask current value of idlect mask
SEE ALSO Kernel file ./drivers/clocksource/timer-ti-dm.c dmtimer_read(9), dmtimer_write(9), omap_dm_timer_re... |
omap_dm_timer_probe(9) | NAME omap_dm_timer_probe - probe function called for every registered device
SYNOPSIS int omap_dm_timer_probe (struct platform_device *pdev );
ARGUMENTS pdev pointer to current timer platform device
DESCRIPTION Called by driver framework at the end of device registration for all timer devices.
SEE ALSO Kerne... |
omap_dm_timer_remove(9) | NAME omap_dm_timer_remove - cleanup a registered timer device
SYNOPSIS void omap_dm_timer_remove (struct platform_device *pdev );
ARGUMENTS pdev pointer to current timer platform device
DESCRIPTION Called by driver framework whenever a timer device is unregistered. In addition to freeing platform resources i... |
omap_dm_timer_request_by_node(9) | NAME omap_dm_timer_request_by_node - Request a timer by device-tree node
SYNOPSIS struct omap_dm_timer * omap_dm_timer_request_by_node (struct device_node *np );
ARGUMENTS np Pointer to device-tree timer node
DESCRIPTION Request a timer based upon a device node pointer. Returns pointer to timer handle on su... |
omap_dm_timer_set_int_disable(9) | NAME omap_dm_timer_set_int_disable - disable timer interrupts
SYNOPSIS int omap_dm_timer_set_int_disable (struct omap_dm_timer *cookie , u32 mask );
ARGUMENTS cookie pointer to timer cookie
mask bit mask of interrupts to be disabled
DESCRIPTION Disables the specified timer interrupts for a timer.... |
omap_elm_correct_data(9) | NAME omap_elm_correct_data - corrects page data area in case error reported
SYNOPSIS int omap_elm_correct_data (struct nand_chip *chip , u_char *data , u_char *read_ecc , u_char *calc_ecc );
ARGUMENTS chip NAND chip object
data page data
read_ecc ecc read from nand flash
calc_... |
omap_enable_hwecc(9) | NAME omap_enable_hwecc - This function enables the hardware ecc functionality
SYNOPSIS void omap_enable_hwecc (struct nand_chip *chip , int mode );
ARGUMENTS chip NAND chip object
mode Read/Write mode
SEE ALSO Kernel file ./drivers/mtd/nand/raw/omap2.c omap_prefetch_enable(9), omap_nand_dat... |
omap_enable_hwecc_bch(9) | NAME omap_enable_hwecc_bch - Program GPMC to perform BCH ECC calculation
SYNOPSIS void __maybe_unused omap_enable_hwecc_bch (struct nand_chip *chip , int mode );
ARGUMENTS chip NAND chip object
mode Read/Write mode
DESCRIPTION When using BCH with SW correction (i.e. no ELM), sector size is se... |
omap_fan535503_uv_to_vsel(9) | NAME omap_fan535503_uv_to_vsel - convert microvolts DC to FAN535503 VSEL value
SYNOPSIS unsigned char omap_fan535503_uv_to_vsel (unsigned long uv );
ARGUMENTS uv microvolts DC to convert
RETURN the VSEL value necessary for the MAX8952 Regulator to generate an output voltage equal to or greater than uv micro... |
omap_fan535503_vsel_to_uv(9) | NAME omap_fan535503_vsel_to_uv - convert FAN535503 VSEL value to microvolts DC
SYNOPSIS unsigned long omap_fan535503_vsel_to_uv (unsigned char vsel );
ARGUMENTS vsel FAN535503 VSEL value to convert
RETURN the microvolts DC that the FAN535503 Regulator should generate when programmed with vsel.
SEE ALSO Kerne... |
omap_fan535508_uv_to_vsel(9) | NAME omap_fan535508_uv_to_vsel - convert microvolts DC to FAN535508 VSEL value
SYNOPSIS unsigned char omap_fan535508_uv_to_vsel (unsigned long uv );
ARGUMENTS uv microvolts DC to convert
RETURN the VSEL value necessary for the MAX8952 Regulator to generate an output voltage equal to or greater than uv micro... |
omap_fan535508_vsel_to_uv(9) | NAME omap_fan535508_vsel_to_uv - convert FAN535508 VSEL value to microvolts DC
SYNOPSIS unsigned long omap_fan535508_vsel_to_uv (unsigned char vsel );
ARGUMENTS vsel FAN535508 VSEL value to convert
RETURN the microvolts DC that the FAN535508 Regulator should generate when programmed with vsel.
SEE ALSO Kerne... |
omap_gem_dumb_create(9) | NAME omap_gem_dumb_create - create a dumb buffer
SYNOPSIS int omap_gem_dumb_create (struct drm_file *file , struct drm_device *dev , struct drm_mode_create_dumb *args );
ARGUMENTS file our client file
dev our device
args the requested arguments copied from userspace
DESCRIPTION ... |
omap_gem_dumb_map_offset(9) | NAME omap_gem_dumb_map_offset - create an offset for a dumb buffer
SYNOPSIS int omap_gem_dumb_map_offset (struct drm_file *file , struct drm_device *dev , u32 handle , u64 *offset );
ARGUMENTS file our drm client file
dev drm device
handle GEM handle to the object (from dumb_create... |
omap_gem_fault(9) | NAME omap_gem_fault - pagefault handler for GEM objects
SYNOPSIS vm_fault_t omap_gem_fault (struct vm_fault *vmf );
ARGUMENTS vmf fault detail
DESCRIPTION Invoked when a fault occurs on an mmap of a GEM managed area. GEM does most of the work for us including the actual map/unmap calls but we need to do th... |
omap_gem_pin(9) | NAME omap_gem_pin - Pin a GEM object in memory
SYNOPSIS int omap_gem_pin (struct drm_gem_object *obj , dma_addr_t *dma_addr );
ARGUMENTS obj the GEM object
dma_addr the DMA address
DESCRIPTION Pin the given GEM object in memory and fill the dma_addr pointer with the object's DMA address. If the bu... |
omap_gem_unpin(9) | NAME omap_gem_unpin - Unpin a GEM object from memory
SYNOPSIS void omap_gem_unpin (struct drm_gem_object *obj );
ARGUMENTS obj the GEM object
DESCRIPTION Unpin the given GEM object previously pinned with omap_gem_pin. Pins are reference-counted, the actual unpin will only be performed when the number of call... |
omap_gem_unpin_locked(9) | NAME omap_gem_unpin_locked - Unpin a GEM object from memory
SYNOPSIS void omap_gem_unpin_locked (struct drm_gem_object *obj );
ARGUMENTS obj the GEM object
DESCRIPTION omap_gem_unpin without locking.
SEE ALSO Kernel file ./drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_fault(9), omap_gem_dumb_create(9), omap_g... |
omap_hdq1w_reset(9) | NAME omap_hdq1w_reset - reset the OMAP HDQ1W module
SYNOPSIS int omap_hdq1w_reset (struct omap_hwmod *oh );
ARGUMENTS oh struct omap_hwmod *
DESCRIPTION OCP soft reset the HDQ1W IP block. Section 20.6.1.4 "HDQ1W/1-Wire Software Reset" of the OMAP34xx Technical Reference Manual Revision ZR (SWPU223R) does... |
omap_hwmod_allocate_module(9) | NAME omap_hwmod_allocate_module - allocate new module
SYNOPSIS int omap_hwmod_allocate_module (struct device *dev , struct omap_hwmod *oh , const struct ti_sysc_module_data *data , struct sysc_regbits *sysc_fields , struct clockdomain *clkdm , s32 rev_offs , s32 sysc_offs , s32 syss_offs , u32 sysc_flags , u32 i... |
omap_hwmod_assert_hardreset(9) | NAME omap_hwmod_assert_hardreset - assert the HW reset line of submodules contained in the hwmod module.
SYNOPSIS int omap_hwmod_assert_hardreset (struct omap_hwmod *oh , const char *name );
ARGUMENTS oh struct omap_hwmod *
name name of the reset line to lookup and assert
DESCRIPTION Some IP... |
omap_hwmod_check_module(9) | NAME omap_hwmod_check_module - check new module against platform data
SYNOPSIS int omap_hwmod_check_module (struct device *dev , struct omap_hwmod *oh , const struct ti_sysc_module_data *data , struct sysc_regbits *sysc_fields , s32 rev_offs , s32 sysc_offs , s32 syss_offs , u32 sysc_flags , u32 idlemodes );
ARGU... |
omap_hwmod_check_sysc(9) | NAME omap_hwmod_check_sysc - check sysc against platform sysc
SYNOPSIS int omap_hwmod_check_sysc (struct device *dev , const struct ti_sysc_module_data *data , struct sysc_regbits *sysc_fields );
ARGUMENTS dev struct device
data module data
sysc_fields new sysc configuration
SEE ALSO K... |
omap_hwmod_deassert_hardreset(9) | NAME omap_hwmod_deassert_hardreset - deassert the HW reset line of submodules contained in the hwmod module.
SYNOPSIS int omap_hwmod_deassert_hardreset (struct omap_hwmod *oh , const char *name );
ARGUMENTS oh struct omap_hwmod *
name name of the reset line to look up and deassert
DESCRIPTION... |
omap_hwmod_enable(9) | NAME omap_hwmod_enable - enable an omap_hwmod
SYNOPSIS int omap_hwmod_enable (struct omap_hwmod *oh );
ARGUMENTS oh struct omap_hwmod *
DESCRIPTION Enable an omap_hwmod oh. Intended to be called by omap_device_enable. Returns -EINVAL on error or passes along the return value from _enable.
SEE ALSO Kernel... |
omap_hwmod_fix_mpu_rt_idx(9) | NAME omap_hwmod_fix_mpu_rt_idx - fix up mpu_rt_idx register offsets
SYNOPSIS void omap_hwmod_fix_mpu_rt_idx (struct omap_hwmod *oh , struct device_node *np , struct resource *res );
ARGUMENTS oh struct omap_hwmod *
np struct device_node *
res -- undescribed --
DESCRIPTION Fi... |
omap_hwmod_for_each(9) | NAME omap_hwmod_for_each - call function for each registered omap_hwmod
SYNOPSIS int omap_hwmod_for_each (int (*fn)(struct omap_hwmod *oh, void *data) , void *data );
ARGUMENTS fn pointer to a callback function
data void * data to pass to callback function
DESCRIPTION Call fn for each registe... |
omap_hwmod_for_each_by_class(9) | NAME omap_hwmod_for_each_by_class - call @fn for each hwmod of class @classname
SYNOPSIS int omap_hwmod_for_each_by_class (const char *classname , int (*fn)(struct omap_hwmod *oh, void *user) , void *user );
ARGUMENTS classname struct omap_hwmod_class name to search for
fn callback function pointer... |
omap_hwmod_get_mpu_rt_va(9) | NAME omap_hwmod_get_mpu_rt_va - return the module's base address (for the MPU)
SYNOPSIS void __iomem * omap_hwmod_get_mpu_rt_va (struct omap_hwmod *oh );
ARGUMENTS oh struct omap_hwmod *
DESCRIPTION Returns the virtual address corresponding to the beginning of the module's register target, in the address ra... |
omap_hwmod_idle(9) | NAME omap_hwmod_idle - idle an omap_hwmod
SYNOPSIS int omap_hwmod_idle (struct omap_hwmod *oh );
ARGUMENTS oh struct omap_hwmod *
DESCRIPTION Idle an omap_hwmod oh. Intended to be called by omap_device_idle. Returns -EINVAL on error or passes along the return value from _idle.
SEE ALSO Kernel file ./arch... |
omap_hwmod_init(9) | NAME omap_hwmod_init - initialize the hwmod code
SYNOPSIS void omap_hwmod_init (void );
ARGUMENTS void no arguments
DESCRIPTION Sets up some function pointers needed by the hwmod code to operate on the currently-booted SoC. Intended to be called once during kernel init before any hwmods are registered. No r... |
omap_hwmod_init_idlemodes(9) | NAME omap_hwmod_init_idlemodes - initialize module idle modes
SYNOPSIS int omap_hwmod_init_idlemodes (struct device *dev , const struct ti_sysc_module_data *data , u32 *idlemodes );
ARGUMENTS dev struct device
data module data
idlemodes module supported idle modes
SEE ALSO Kernel fil... |
omap_hwmod_init_module(9) | NAME omap_hwmod_init_module - initialize new module
SYNOPSIS int omap_hwmod_init_module (struct device *dev , const struct ti_sysc_module_data *data , struct ti_sysc_cookie *cookie );
ARGUMENTS dev struct device
data module data
cookie cookie for the caller to use for later calls
... |
omap_hwmod_init_reg_offs(9) | NAME omap_hwmod_init_reg_offs - initialize sysconfig register offsets
SYNOPSIS int omap_hwmod_init_reg_offs (struct device *dev , const struct ti_sysc_module_data *data , s32 *rev_offs , s32 *sysc_offs , s32 *syss_offs );
ARGUMENTS dev struct device
data module data
rev_offs revision... |
omap_hwmod_init_regbits(9) | NAME omap_hwmod_init_regbits - init sysconfig specific register bits
SYNOPSIS int omap_hwmod_init_regbits (struct device *dev , struct omap_hwmod *oh , const struct ti_sysc_module_data *data , struct sysc_regbits **sysc_fields );
ARGUMENTS dev struct device
oh module
data modul... |
omap_hwmod_init_sysc_flags(9) | NAME omap_hwmod_init_sysc_flags - initialize sysconfig features
SYNOPSIS int omap_hwmod_init_sysc_flags (struct device *dev , const struct ti_sysc_module_data *data , u32 *sysc_flags );
ARGUMENTS dev struct device
data module data
sysc_flags module configuration
SEE ALSO Kernel file .... |
omap_hwmod_lookup(9) | NAME omap_hwmod_lookup - look up a registered omap_hwmod by name
SYNOPSIS struct omap_hwmod * omap_hwmod_lookup (const char *name );
ARGUMENTS name name of the omap_hwmod to look up
DESCRIPTION Given a name of an omap_hwmod, return a pointer to the registered struct omap_hwmod *, or NULL upon error.
SEE ALSO... |
omap_hwmod_parse_module_range(9) | NAME omap_hwmod_parse_module_range - map module IO range from device tree
SYNOPSIS int omap_hwmod_parse_module_range (struct omap_hwmod *oh , struct device_node *np , struct resource *res );
ARGUMENTS oh struct omap_hwmod *
np struct device_node *
res -- undescribed --
DESCR... |
omap_hwmod_register_links(9) | NAME omap_hwmod_register_links - register an array of hwmod links
SYNOPSIS int omap_hwmod_register_links (struct omap_hwmod_ocp_if **ois );
ARGUMENTS ois pointer to an array of omap_hwmod_ocp_if to register
DESCRIPTION Intended to be called early in boot before the clock framework is initialized. If ois is ... |
omap_hwmod_set_postsetup_state(9) | NAME omap_hwmod_set_postsetup_state - set the post-_setup() state for this hwmod
SYNOPSIS int omap_hwmod_set_postsetup_state (struct omap_hwmod *oh , u8 state );
ARGUMENTS oh struct omap_hwmod *
state state that _setup should leave the hwmod in
DESCRIPTION Sets the hwmod state that oh will ent... |
omap_hwmod_setup_all(9) | NAME omap_hwmod_setup_all - set up all registered IP blocks
SYNOPSIS int omap_hwmod_setup_all (void );
ARGUMENTS void no arguments
DESCRIPTION Initialize and set up all IP blocks registered with the hwmod code. Must be called after omap2_clk_init. Resolves the struct clk names to struct clk pointers for ... |
omap_hwmod_setup_earlycon_flags(9) | NAME omap_hwmod_setup_earlycon_flags - set up flags for early console
SYNOPSIS void omap_hwmod_setup_earlycon_flags (void );
ARGUMENTS void no arguments
DESCRIPTION Enable DEBUG_OMAPUART_FLAGS for uart hwmod that is being used as early concole so that hwmod core doesn't reset and keep it in idle that specific... |
omap_hwmod_setup_one(9) | NAME omap_hwmod_setup_one - set up a single hwmod
SYNOPSIS int omap_hwmod_setup_one (const char *oh_name );
ARGUMENTS oh_name const char * name of the already-registered hwmod to set up
DESCRIPTION Initialize and set up a single hwmod. Intended to be used for a small number of early devices, such as the ti... |
omap_hwmod_shutdown(9) | NAME omap_hwmod_shutdown - shutdown an omap_hwmod
SYNOPSIS int omap_hwmod_shutdown (struct omap_hwmod *oh );
ARGUMENTS oh struct omap_hwmod *
DESCRIPTION Shutdown an omap_hwmod oh. Intended to be called by omap_device_shutdown. Returns -EINVAL on error or passes along the return value from _shutdown.
SEE... |
omap_hwmod_softreset(9) | NAME omap_hwmod_softreset - reset a module via SYSCONFIG.SOFTRESET bit
SYNOPSIS int omap_hwmod_softreset (struct omap_hwmod *oh );
ARGUMENTS oh struct omap_hwmod *
DESCRIPTION This is a public function exposed to drivers. Some drivers may need to do some settings before and after resetting the device. Tho... |
omap_i2c_bus_setup(9) | NAME omap_i2c_bus_setup - Process command line options for the I2C bus speed
SYNOPSIS int omap_i2c_bus_setup (char *str );
ARGUMENTS str String of options
DESCRIPTION This function allow to override the default I2C bus speed for given I2C bus with a command line option. Format: i2c_bus=bus_id,clkrate (in kH... |
omap_i2c_reset(9) | NAME omap_i2c_reset - reset the omap i2c module.
SYNOPSIS int omap_i2c_reset (struct omap_hwmod *oh );
ARGUMENTS oh struct omap_hwmod *
DESCRIPTION The i2c moudle in omap2, omap3 had a special sequence to reset. The sequence is: - Disable the I2C. - Write to SOFTRESET bit. - Enable the I2C. - Poll on t... |
omap_init_clocksource_32k(9) | NAME omap_init_clocksource_32k - setup and register counter 32k as a kernel clocksource
SYNOPSIS int omap_init_clocksource_32k (void __iomem *vbase );
ARGUMENTS vbase base addr of counter_32k module
RETURN 0 upon success or negative error code upon failure.
SEE ALSO Kernel file ./arch/arm/mach-omap1/timer32k.... |
omap_iommu_attach(9) | NAME omap_iommu_attach - attach iommu device to an iommu domain
SYNOPSIS int omap_iommu_attach (struct omap_iommu *obj , u32 *iopgd );
ARGUMENTS obj target omap iommu device
iopgd page table
SEE ALSO Kernel file ./drivers/iommu/omap-iommu.c to_omap_domain(9), omap_iommu_save_ctx(9), o... |
omap_iommu_detach(9) | NAME omap_iommu_detach - release iommu device
SYNOPSIS void omap_iommu_detach (struct omap_iommu *obj );
ARGUMENTS obj target iommu
SEE ALSO Kernel file ./drivers/iommu/omap-iommu.c to_omap_domain(9), omap_iommu_save_ctx(9), omap_iommu_restore_ctx(9), load_iotlb_entry(9), flush_iotlb_page(9), ... |
omap_iommu_domain_activate(9) | NAME omap_iommu_domain_activate - activate attached iommu devices
SYNOPSIS int omap_iommu_domain_activate (struct iommu_domain *domain );
ARGUMENTS domain iommu domain attached to the target iommu device
DESCRIPTION This API allows the client devices of IOMMU devices to resume the IOMMUs they control at runtime... |
omap_iommu_domain_deactivate(9) | NAME omap_iommu_domain_deactivate - deactivate attached iommu devices
SYNOPSIS int omap_iommu_domain_deactivate (struct iommu_domain *domain );
ARGUMENTS domain iommu domain attached to the target iommu device
DESCRIPTION This API allows the client devices of IOMMU devices to suspend the IOMMUs they control at ... |
omap_iommu_prepare(9) | NAME omap_iommu_prepare - prepare() dev_pm_ops implementation
SYNOPSIS int omap_iommu_prepare (struct device *dev );
ARGUMENTS dev iommu device
DESCRIPTION This function performs the necessary checks to determine if the IOMMU device needs suspending or not. The function checks if the runtime_pm status of ... |
omap_iommu_restore_ctx(9) | NAME omap_iommu_restore_ctx - Restore registers for pm off-mode support
SYNOPSIS void omap_iommu_restore_ctx (struct device *dev );
ARGUMENTS dev client device
DESCRIPTION This should be treated as an deprecated API. It is preserved only to maintain existing functionality for OMAP3 ISP driver.
SEE ALSO Kern... |
omap_iommu_runtime_resume(9) | NAME omap_iommu_runtime_resume - enable an iommu device
SYNOPSIS __maybe_unused int omap_iommu_runtime_resume (struct device *dev );
ARGUMENTS dev iommu device
DESCRIPTION This function performs all that is necessary to enable an IOMMU device, either during initial attachment to a client device, or durin... |
omap_iommu_runtime_suspend(9) | NAME omap_iommu_runtime_suspend - disable an iommu device
SYNOPSIS __maybe_unused int omap_iommu_runtime_suspend (struct device *dev );
ARGUMENTS dev iommu device
DESCRIPTION This function performs all that is necessary to disable an IOMMU device, either during final detachment from a client device, or dur... |
omap_iommu_save_ctx(9) | NAME omap_iommu_save_ctx - Save registers for pm off-mode support
SYNOPSIS void omap_iommu_save_ctx (struct device *dev );
ARGUMENTS dev client device
DESCRIPTION This should be treated as an deprecated API. It is preserved only to maintain existing functionality for OMAP3 ISP driver.
SEE ALSO Kernel file... |
omap_iommu_translate(9) | NAME omap_iommu_translate - va to pa translation
SYNOPSIS phys_addr_t omap_iommu_translate (unsigned long d , dma_addr_t va , dma_addr_t mask );
ARGUMENTS d omap iommu descriptor
va virtual address
mask omap iommu descriptor mask
DESCRIPTION va to pa translation
SEE ALSO Ke... |
omap_iopgtable_store_entry(9) | NAME omap_iopgtable_store_entry - Make an iommu pte entry
SYNOPSIS int omap_iopgtable_store_entry (struct omap_iommu *obj , struct iotlb_entry *e );
ARGUMENTS obj target iommu
e an iommu tlb entry info
SEE ALSO Kernel file ./drivers/iommu/omap-iommu.c to_omap_domain(9), omap_iommu_save_ct... |
omap_irq_disable_vblank(9) | NAME omap_irq_disable_vblank - disable vblank interrupt events
SYNOPSIS void omap_irq_disable_vblank (struct drm_crtc *crtc );
ARGUMENTS crtc DRM CRTC
DESCRIPTION Disable vblank interrupts for crtc. If the device doesn't have a hardware vblank counter, this routine should be a no-op, since interrupts will ha... |
omap_irq_enable_vblank(9) | NAME omap_irq_enable_vblank - enable vblank interrupt events
SYNOPSIS int omap_irq_enable_vblank (struct drm_crtc *crtc );
ARGUMENTS crtc DRM CRTC
DESCRIPTION Enable vblank interrupts for crtc. If the device doesn't have a hardware vblank counter, this routine should be a no-op, since interrupts will have t... |
omap_max8952_uv_to_vsel(9) | NAME omap_max8952_uv_to_vsel - convert microvolts DC to MAX8952 VSEL value
SYNOPSIS unsigned char omap_max8952_uv_to_vsel (unsigned long uv );
ARGUMENTS uv microvolts DC to convert
RETURN the VSEL value necessary for the MAX8952 Regulator to generate an output voltage equal to or greater than uv microvolts ... |
omap_max8952_vsel_to_uv(9) | NAME omap_max8952_vsel_to_uv - convert MAX8952 VSEL value to microvolts DC
SYNOPSIS unsigned long omap_max8952_vsel_to_uv (unsigned char vsel );
ARGUMENTS vsel MAX8952 VSEL value to convert
RETURN the microvolts DC that the MAX8952 Regulator should generate when programmed with vsel.
SEE ALSO Kernel file ... |
omap_mcbsp_dma_reg_params(9) | NAME omap_mcbsp_dma_reg_params - returns the address of mcbsp data register
SYNOPSIS int omap_mcbsp_dma_reg_params (struct omap_mcbsp *mcbsp , unsigned int stream );
ARGUMENTS mcbsp omap_mcbsp struct for the McBSP instance
stream Stream direction (playback/capture)
DESCRIPTION Returns the address ... |
omap_msdi_reset(9) | NAME omap_msdi_reset - reset the MSDI IP block
SYNOPSIS int omap_msdi_reset (struct omap_hwmod *oh );
ARGUMENTS oh struct omap_hwmod *
DESCRIPTION The MSDI IP block on OMAP2420 has to have both the POW and CLKD fields set inside its CON register for a reset to complete successfully. This is not documented... |
omap_nand_data_in_dma_pref(9) | NAME omap_nand_data_in_dma_pref - NAND data in using DMA and Prefetch
SYNOPSIS void omap_nand_data_in_dma_pref (struct nand_chip *chip , void *buf , unsigned int len , bool force_8bit );
ARGUMENTS chip NAND chip
buf output buffer where NAND data is placed into
len length of tran... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.