Home
last modified time | relevance | path

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

/freebsd/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c99 uint32_t spad_off2; /* Offset of our extra spads. */ member
439 sc->spad_offp2 = sc->spad_off2 = PLX_PORT_BASE(sc->ntx * 8) + 0x20c; in ntb_plx_attach()
443 bus_write_4(sc->conf_res, sc->spad_off2, 0x12345678); in ntb_plx_attach()
444 if (bus_read_4(sc->conf_res, sc->spad_off2) == 0x12345678) in ntb_plx_attach()
450 sc->spad_off2 += PLX_NUM_SPAD_PATT / 2 * 4; in ntb_plx_attach()
456 bus_write_4(sc->conf_res, sc->spad_off2, 0x12345678); in ntb_plx_attach()
457 if (bus_read_4(sc->conf_res, sc->spad_off2) == 0x12345678) in ntb_plx_attach()
892 off = sc->spad_off2 + (idx - sc->spad_count1) * 4; in ntb_plx_spad_write()
933 off = sc->spad_off2 + (idx - sc->spad_count1) * 4; in ntb_plx_spad_read()