Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
omap_hwmod_soc_ops Struct Reference

Data Fields

void(* enable_module )(struct omap_hwmod *oh)
 
int(* disable_module )(struct omap_hwmod *oh)
 
int(* wait_target_ready )(struct omap_hwmod *oh)
 
int(* assert_hardreset )(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri)
 
int(* deassert_hardreset )(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri)
 
int(* is_hardreset_asserted )(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri)
 
int(* init_clkdm )(struct omap_hwmod *oh)
 

Detailed Description

struct omap_hwmod_soc_ops - fn ptrs for some SoC-specific operations : function to enable a module (via MODULEMODE) : function to disable a module (via MODULEMODE)

XXX Eventually this functionality will be hidden inside the PRM/CM device drivers. Until then, this should avoid huge blocks of cpu_is_*() conditionals in this code.

Definition at line 181 of file omap_hwmod.c.

Field Documentation

int(* assert_hardreset)(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri)

Definition at line 185 of file omap_hwmod.c.

int(* deassert_hardreset)(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri)

Definition at line 187 of file omap_hwmod.c.

int(* disable_module)(struct omap_hwmod *oh)

Definition at line 183 of file omap_hwmod.c.

void(* enable_module)(struct omap_hwmod *oh)

Definition at line 182 of file omap_hwmod.c.

int(* init_clkdm)(struct omap_hwmod *oh)

Definition at line 191 of file omap_hwmod.c.

int(* is_hardreset_asserted)(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri)

Definition at line 189 of file omap_hwmod.c.

int(* wait_target_ready)(struct omap_hwmod *oh)

Definition at line 184 of file omap_hwmod.c.


The documentation for this struct was generated from the following file: