Lines Matching refs:sd
83 #define SEEPROM_INB(sd) \
84 ahc_inb(sd->sd_ahc, sd->sd_control_offset)
85 #define SEEPROM_OUTB(sd, value) \
87 ahc_outb(sd->sd_ahc, sd->sd_control_offset, value); \
88 ahc_flush_device_writes(sd->sd_ahc); \
91 #define SEEPROM_STATUS_INB(sd) \
92 ahc_inb(sd->sd_ahc, sd->sd_status_offset)
93 #define SEEPROM_DATA_INB(sd) \
94 ahc_inb(sd->sd_ahc, sd->sd_dataout_offset)
96 int ahc_read_seeprom(struct seeprom_descriptor *sd, uint16_t *buf,
98 int ahc_write_seeprom(struct seeprom_descriptor *sd, uint16_t *buf,