Lines Matching refs:hw
533 struct npehwbuf *hw = &dma->hwbuf[i];
537 ((uintptr_t)hw - (uintptr_t)dma->hwbuf);
548 npe->ix_hw = hw;
1059 struct npehwbuf *hw;
1079 hw = npe->ix_hw;
1080 hw->ix_ne[0].data = htobe32(segs[0].ds_addr);
1083 hw->ix_ne[0].len = htobe32(segs[0].ds_len << 16);
1084 hw->ix_ne[0].next = 0;
1127 struct npehwbuf *hw = npe->ix_hw;
1135 mrx->m_len = be32toh(hw->ix_ne[0].len) & 0xffff;
1296 struct npehwbuf *hw;
1347 hw = npe->ix_hw;
1349 next = npe->ix_neaddr + sizeof(hw->ix_ne[0]);
1351 hw->ix_ne[i].data = htobe32(segs[i].ds_addr);
1352 hw->ix_ne[i].len = htobe32((segs[i].ds_len<<16) | len);
1353 hw->ix_ne[i].next = htobe32(next);
1356 next += sizeof(hw->ix_ne[0]);
1358 hw->ix_ne[i-1].next = 0; /* zero last in chain */
1364 hw->ix_ne[0].data, hw->ix_ne[0].len);
1450 * unpredictable state. A hw reset is executed before resetting