Searched refs:eereg (Results 1 – 2 of 2) sorted by relevance
229 uint8_t eereg; in rtl_spi_read_bit() local231 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() local242 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()
109 uint8_t eereg; in natsemi_spi_read_bit() local111 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() local122 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()