Home
last modified time | relevance | path

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

/openbsd/sys/arch/armv7/omap/
H A Dnxphdmi.c70 #define REGADDR(reg) ((reg) & 0xff) macro
439 if ((ret = iic_smbus_read_byte(sc->sc_tag, TDA_HDMI, REGADDR(reg), in nxphdmi_read()
443 DEVNAME(sc), REGADDR(reg), REGPAGE(reg), ret)); in nxphdmi_read()
448 DEVNAME(sc), *buf, REGADDR(reg), REGPAGE(reg))); in nxphdmi_read()
457 uint8_t sendbuf[] = { REGADDR(reg), val }; in nxphdmi_write()
465 DEVNAME(sc), val, REGADDR(reg), REGPAGE(reg), ret)); in nxphdmi_write()
470 DEVNAME(sc), val, REGADDR(reg), REGPAGE(reg))); in nxphdmi_write()
479 uint8_t sendbuf[] = { REGADDR(reg), val >> 8, val & 0xff }; in nxphdmi_write2()
487 DEVNAME(sc), val, REGADDR(reg), REGPAGE(reg), ret)); in nxphdmi_write2()
492 DEVNAME(sc), val, REGADDR(reg), REGPAGE(reg))); in nxphdmi_write2()