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

#include <hermes.h>

Data Fields

int(* init )(struct hermes *hw)
 
int(* cmd_wait )(struct hermes *hw, u16 cmd, u16 parm0, struct hermes_response *resp)
 
int(* init_cmd_wait )(struct hermes *hw, u16 cmd, u16 parm0, u16 parm1, u16 parm2, struct hermes_response *resp)
 
int(* allocate )(struct hermes *hw, u16 size, u16 *fid)
 
int(* read_ltv )(struct hermes *hw, int bap, u16 rid, unsigned buflen, u16 *length, void *buf)
 
int(* write_ltv )(struct hermes *hw, int bap, u16 rid, u16 length, const void *value)
 
int(* bap_pread )(struct hermes *hw, int bap, void *buf, int len, u16 id, u16 offset)
 
int(* bap_pwrite )(struct hermes *hw, int bap, const void *buf, int len, u16 id, u16 offset)
 
int(* read_pda )(struct hermes *hw, __le16 *pda, u32 pda_addr, u16 pda_len)
 
int(* program_init )(struct hermes *hw, u32 entry_point)
 
int(* program_end )(struct hermes *hw)
 
int(* program )(struct hermes *hw, const char *buf, u32 addr, u32 len)
 
void(* lock_irqsave )(spinlock_t *lock, unsigned long *flags)
 
void(* unlock_irqrestore )(spinlock_t *lock, unsigned long *flags)
 
void(* lock_irq )(spinlock_t *lock)
 
void(* unlock_irq )(spinlock_t *lock)
 

Detailed Description

Definition at line 380 of file hermes.h.

Field Documentation

int(* allocate)(struct hermes *hw, u16 size, u16 *fid)

Definition at line 387 of file hermes.h.

int(* bap_pread)(struct hermes *hw, int bap, void *buf, int len, u16 id, u16 offset)

Definition at line 392 of file hermes.h.

int(* bap_pwrite)(struct hermes *hw, int bap, const void *buf, int len, u16 id, u16 offset)

Definition at line 394 of file hermes.h.

int(* cmd_wait)(struct hermes *hw, u16 cmd, u16 parm0, struct hermes_response *resp)

Definition at line 382 of file hermes.h.

int(* init)(struct hermes *hw)

Definition at line 381 of file hermes.h.

int(* init_cmd_wait)(struct hermes *hw, u16 cmd, u16 parm0, u16 parm1, u16 parm2, struct hermes_response *resp)

Definition at line 384 of file hermes.h.

void(* lock_irq)(spinlock_t *lock)

Definition at line 404 of file hermes.h.

void(* lock_irqsave)(spinlock_t *lock, unsigned long *flags)

Definition at line 402 of file hermes.h.

int(* program)(struct hermes *hw, const char *buf, u32 addr, u32 len)

Definition at line 400 of file hermes.h.

int(* program_end)(struct hermes *hw)

Definition at line 399 of file hermes.h.

int(* program_init)(struct hermes *hw, u32 entry_point)

Definition at line 398 of file hermes.h.

int(* read_ltv)(struct hermes *hw, int bap, u16 rid, unsigned buflen, u16 *length, void *buf)

Definition at line 388 of file hermes.h.

int(* read_pda)(struct hermes *hw, __le16 *pda, u32 pda_addr, u16 pda_len)

Definition at line 396 of file hermes.h.

void(* unlock_irq)(spinlock_t *lock)

Definition at line 405 of file hermes.h.

void(* unlock_irqrestore)(spinlock_t *lock, unsigned long *flags)

Definition at line 403 of file hermes.h.

int(* write_ltv)(struct hermes *hw, int bap, u16 rid, u16 length, const void *value)

Definition at line 390 of file hermes.h.


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