1 #ifndef _IPXE_BITBASH_H 2 #define _IPXE_BITBASH_H 67 basher->
op->
open ( basher );
static void open_bit(struct bit_basher *basher)
Open bit-bashing interface.
struct bit_basher_operations * op
Bit-bashing operations.
void(* close)(struct bit_basher *basher)
Close bit-bashing interface (optional)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int(* read)(struct bit_basher *basher, unsigned int bit_id)
Read input bit.
int read_bit(struct bit_basher *basher, unsigned int bit_id)
Read input bit.
void(* write)(struct bit_basher *basher, unsigned int bit_id, unsigned long data)
Set/clear output bit.
void write_bit(struct bit_basher *basher, unsigned int bit_id, unsigned long data)
Set/clear output bit.
uint8_t data[48]
Additional event data.
static void close_bit(struct bit_basher *basher)
Close bit-bashing interface.
void(* open)(struct bit_basher *basher)
Open bit-bashing interface (optional)