Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ichiic/ig4_var.h
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | struct ig4iic_softc { | ||||
char rbuf[IG4_RBUFSIZE]; | char rbuf[IG4_RBUFSIZE]; | ||||
int error; | int error; | ||||
uint8_t last_slave; | uint8_t last_slave; | ||||
int platform_attached : 1; | int platform_attached : 1; | ||||
int use_10bit : 1; | int use_10bit : 1; | ||||
int slave_valid : 1; | int slave_valid : 1; | ||||
int read_started : 1; | int read_started : 1; | ||||
int write_started : 1; | int write_started : 1; | ||||
int access_intr_mask : 1; | |||||
/* | /* | ||||
* Locking semantics: | * Locking semantics: | ||||
* | * | ||||
* Functions implementing the icbus interface that interact | * Functions implementing the icbus interface that interact | ||||
* with the controller acquire an exclusive lock on call_lock | * with the controller acquire an exclusive lock on call_lock | ||||
* to prevent interleaving of calls to the interface and a lock on | * to prevent interleaving of calls to the interface and a lock on | ||||
* io_lock right afterwards, to synchronize controller I/O activity. | * io_lock right afterwards, to synchronize controller I/O activity. | ||||
Show All 29 Lines |