Home
last modified time | relevance | path

Searched refs:eereg (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/
Drtl8139.c229 uint8_t eereg; in rtl_spi_read_bit() local
231 eereg = inb ( rtl->ioaddr + Cfg9346 ); in rtl_spi_read_bit()
232 return ( eereg & mask ); in rtl_spi_read_bit()
240 uint8_t eereg; in rtl_spi_write_bit() local
242 eereg = inb ( rtl->ioaddr + Cfg9346 ); in rtl_spi_write_bit()
243 eereg &= ~mask; in rtl_spi_write_bit()
244 eereg |= ( data & mask ); in rtl_spi_write_bit()
245 outb ( eereg, rtl->ioaddr + Cfg9346 ); in rtl_spi_write_bit()
Dnatsemi.c109 uint8_t eereg; in natsemi_spi_read_bit() local
111 eereg = inb ( np->ioaddr + EE_REG ); in natsemi_spi_read_bit()
112 return ( eereg & mask ); in natsemi_spi_read_bit()
120 uint8_t eereg; in natsemi_spi_write_bit() local
122 eereg = inb ( np->ioaddr + EE_REG ); in natsemi_spi_write_bit()
123 eereg &= ~mask; in natsemi_spi_write_bit()
124 eereg |= ( data & mask ); in natsemi_spi_write_bit()
125 outb ( eereg, np->ioaddr + EE_REG ); in natsemi_spi_write_bit()