Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
aic7xxx_93cx6.c File Reference
#include <dev/aic7xxx/aic7xxx_osm.h>
#include <dev/aic7xxx/aic7xxx_inline.h>
#include <dev/aic7xxx/aic7xxx_93cx6.h>

Go to the source code of this file.

Data Structures

struct  seeprom_cmd
 

Macros

#define CLOCK_PULSE(sd, rdy)
 

Functions

int ahc_read_seeprom (struct seeprom_descriptor *sd, uint16_t *buf, u_int start_addr, u_int count)
 
int ahc_write_seeprom (struct seeprom_descriptor *sd, uint16_t *buf, u_int start_addr, u_int count)
 
int ahc_verify_cksum (struct seeprom_config *sc)
 

Macro Definition Documentation

#define CLOCK_PULSE (   sd,
  rdy 
)
Value:
while ((SEEPROM_STATUS_INB(sd) & rdy) == 0) { \
; /* Do nothing */ \
} \
(void)SEEPROM_INB(sd); /* Clear clock */

Definition at line 101 of file aic7xxx_93cx6.c.

Function Documentation

int ahc_read_seeprom ( struct seeprom_descriptor sd,
uint16_t buf,
u_int  start_addr,
u_int  count 
)

Definition at line 155 of file aic7xxx_93cx6.c.

int ahc_verify_cksum ( struct seeprom_config sc)

Definition at line 305 of file aic7xxx_93cx6.c.

int ahc_write_seeprom ( struct seeprom_descriptor sd,
uint16_t buf,
u_int  start_addr,
u_int  count 
)

Definition at line 227 of file aic7xxx_93cx6.c.