Searched refs:CPLD_MEM_DATA (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/powerpc/amigaone/ |
H A D | cpld_a1222.c | 61 #define CPLD_MEM_DATA 0x80 macro 137 bus_write_1(sc->sc_mem, CPLD_MEM_DATA, data); in cpld_write() 149 return (bus_read_1(sc->sc_mem, CPLD_MEM_DATA)); in cpld_read() 163 tmp = bus_read_1(sc->sc_mem, CPLD_MEM_DATA) << 8; in cpld_read_pair() 166 tmp |= bus_read_1(sc->sc_mem, CPLD_MEM_DATA); in cpld_read_pair() 324 bus_write_4(sc->sc_mem, CPLD_MEM_DATA, *word); in cpld_send() 349 *word = bus_read_4(sc->sc_mem, CPLD_MEM_DATA); in cpld_recv()
|
H A D | cpld_x5000.c | 56 #define CPLD_MEM_DATA 0x8000 macro 120 bus_write_2(sc->sc_mem, CPLD_MEM_DATA, data); in cpld_write() 128 return (bus_read_2(sc->sc_mem, CPLD_MEM_DATA)); in cpld_read() 262 bus_write_4(sc->sc_mem, CPLD_MEM_DATA, *word); in cpld_send() 287 *word = bus_read_4(sc->sc_mem, CPLD_MEM_DATA); in cpld_recv()
|