Home
last modified time | relevance | path

Searched refs:READ1 (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/sys/dev/iicbus/controller/vybrid/
H A Dvf_i2c.c100 #undef READ1
101 #define READ1(_sc, _reg) ({\ macro
175 div_reg = READ1(sc, I2C_IBFD); in vf_i2c_attach_common()
246 if ((READ1(sc, I2C_IBSR) & IBSR_IBB) == 0) in wait_for_nibb()
265 ibsr = READ1(sc, I2C_IBSR); in wait_for_icf()
289 return (READ1(sc, I2C_IBSR) & IBSR_RXAK) ? false : true; in tx_acked()
306 if ((READ1(sc, I2C_IBSR) & IBSR_IBB) == 0) { in i2c_repeated_start()
312 reg = READ1(sc, I2C_IBCR); in i2c_repeated_start()
400 if ((READ1(sc, I2C_IBCR) & IBCR_MSSL) != 0) in i2c_stop()
491 READ1(sc, I2C_IBDR); in i2c_read()
[all …]
/freebsd-14.2/sys/arm/altera/socfpga/
H A Dsocfpga_common.h33 #define READ1(_sc, _reg) bus_read_1((_sc)->res[0], _reg) macro
/freebsd-14.2/sys/arm/freescale/vybrid/
H A Dvf_common.h37 #define READ1(_sc, _reg) \ macro
H A Dvf_spi.c241 in_buf[i] = READ1(sc, SPI_POPR); in spi_txrx()
/freebsd-14.2/sys/dev/altera/pio/
H A Dpio.c60 #define READ1(_sc, _reg) bus_read_1((_sc)->res[0], _reg) macro
/freebsd-14.2/sys/dev/flash/
H A Dcqspi.c82 #define READ1(_sc, _reg) bus_read_1((_sc)->res[0], _reg) macro