Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/mips/cavium/dev/
H A Dif_cnmac.c880 uint64_t *cmdptr; in cnmac_send_cmd() local
884 KASSERT((sc->sc_cmdptr.cmdptr & ~MIPS_PHYS_MASK) == 0); in cnmac_send_cmd()
885 cmdptr = (uint64_t *)MIPS_PHYS_TO_KSEG0(sc->sc_cmdptr.cmdptr); in cnmac_send_cmd()
887 cmdptr = (uint64_t *)MIPS_PHYS_TO_XKPHYS_CACHED(sc->sc_cmdptr.cmdptr); in cnmac_send_cmd()
889 cmdptr += sc->sc_cmdptr.cmdptr_idx; in cnmac_send_cmd()
891 KASSERT(cmdptr != NULL); in cnmac_send_cmd()
893 *cmdptr++ = pko_cmd_w0; in cnmac_send_cmd()
894 *cmdptr++ = pko_cmd_w1; in cnmac_send_cmd()
909 *cmdptr++ = buf; in cnmac_send_cmd()
910 sc->sc_cmdptr.cmdptr = (uint64_t)buf; in cnmac_send_cmd()
H A Docteon_pkovar.h51 uint64_t cmdptr; member
H A Docteon_pko.c154 sc->sc_cmdptr->cmdptr = (uint64_t)buf_ptr; in octpko_port_config()
/netbsd-src/sys/dev/i2c/
H A Dmotoi2c.c296 const uint8_t *cmdptr = cmdbuf; in motoi2c_exec() local
298 I2C_WRITE(I2CDR, *cmdptr++); in motoi2c_exec()