Lines Matching refs:hw
470 /* hw imposed limitation - register uses only [11:0] */
517 #define RD_ACTIVE 0x80 /* descriptor owned by hw (both TX,RX) */
544 * associated skb and a pointer to the hw entry descriptor
548 struct ring_descr_hw *hw;
553 /* wrappers for operations on hw-exposed ring descriptors
554 * access to the hw-part of the descriptors must use these.
559 return ((rd->hw->rd_status & RD_ACTIVE) != 0);
564 rd->hw->rd_status |= RD_ACTIVE;
569 rd->hw->rd_status = s; /* may pass ownership to the hardware */
589 rd->hw->rd_addr = cpu_to_le32(a);
596 rd->hw->rd_count = cpu_to_le16(c);
601 return rd->hw->rd_status;
608 a = le32_to_cpu(rd->hw->rd_addr);
614 return le16_to_cpu(rd->hw->rd_count);
621 * operations follow producer-consumer paradigm, with the hw