1#ifndef _IPXE_THREEWIRE_H
2#define _IPXE_THREEWIRE_H
25#define THREEWIRE_READ 0x6
28#define THREEWIRE_WRITE 0x5
31#define THREEWIRE_EWEN 0x4
34#define THREEWIRE_EWEN_ADDRESS INT_MAX
41#define THREEWIRE_WRITE_MDELAY 10
uint8_t data[48]
Additional event data.
uint64_t address
Base address.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
static unsigned int organisation
init_at93cx6(device, organisation)
A non-volatile storage device.
int threewire_read(struct nvs_device *nvs, unsigned int address, void *data, size_t len)
Read data from three-wire device.
int threewire_write(struct nvs_device *nvs, unsigned int address, const void *data, size_t len)
Write data to three-wire device.
int threewire_detect_address_len(struct spi_device *device)
Autodetect device address length.
int threewire_read(struct nvs_device *nvs, unsigned int address, void *data, size_t len)
Read data from three-wire device.
int threewire_write(struct nvs_device *nvs, unsigned int address, const void *data, size_t len)
Write data to three-wire device.