Lines Matching refs:gbuf
552 uint64_t *gbuf;
554 cnmac_send_queue_del(sc, &m, &gbuf);
556 octfpa_buf_put(cnmac_fb_sg, gbuf);
642 uint64_t *gbuf)
646 sqe->_sqe_gbuf = gbuf;
776 cnmac_send_makecmd_gbuf(struct cnmac_softc *sc, struct mbuf *m0, uint64_t *gbuf,
795 *(gbuf + segs) = cnmac_send_makecmd_w1(rlen,
807 *(gbuf + segs) = cnmac_send_makecmd_w1(nlen,
824 uint64_t *gbuf, uint64_t *rpko_cmd_w0, uint64_t *rpko_cmd_w1)
831 if (cnmac_send_makecmd_gbuf(sc, m, gbuf, &segs)) {
856 KASSERT(MIPS_KSEG0_P(gbuf));
858 MIPS_KSEG0_TO_PHYS(gbuf));
861 MIPS_XKPHYS_TO_PHYS(gbuf));
919 cnmac_send_buf(struct cnmac_softc *sc, struct mbuf *m, uint64_t *gbuf,
925 error = cnmac_send_makecmd(sc, m, gbuf, &pko_cmd_w0, &pko_cmd_w1);
946 uint64_t *gbuf = NULL;
959 gbuf = (uint64_t *)(uintptr_t)MIPS_PHYS_TO_KSEG0(gaddr);
961 gbuf = (uint64_t *)(uintptr_t)MIPS_PHYS_TO_XKPHYS_CACHED(gaddr);
964 KASSERT(gbuf != NULL);
966 error = cnmac_send_buf(sc, m, gbuf, pwdc);
974 cnmac_send_queue_add(sc, m, gbuf);