Lines Matching refs:frame_status
140 int frame_status);
142 int frame_status);
146 int frame_status);
1387 * void hwm_rx_frag(smc,virt,phys,len,frame_status)
1400 * frame_status status of the frame, see design description
1408 int frame_status)
1413 NDD_TRACE("RHfB",virt,len,frame_status) ;
1414 DB_RX(2, "hwm_rx_frag: len = %d, frame_status = %x", len, frame_status);
1418 rbctrl = cpu_to_le32( (((__u32)frame_status &
1420 (((u_long) frame_status & FIRST_FRAG) << 21) |
1520 * int hwm_tx_init(smc,fc,frag_count,frame_len,frame_status)
1535 * frame_status status of the frame, the send queue bit is already
1538 * return frame_status
1543 int frame_status)
1546 smc->os.hwm.tx_p = smc->hw.fp.tx[frame_status & QUEUE_A0] ;
1551 frame_status |= LAN_TX ;
1557 frame_status |= LAN_TX ;
1560 frame_status |= LOC_TX ;
1563 frame_status |= LAN_TX | LOC_TX ;
1570 frame_status &= ~LAN_TX ;
1571 frame_status |= RING_DOWN ;
1579 frame_status &= ~LAN_TX ;
1580 frame_status |= OUT_OF_TXD ;
1584 frame_status &= ~LAN_TX ;
1585 frame_status |= OUT_OF_TXD ;
1588 DB_TX(3, "frame_status = %x", frame_status);
1589 NDD_TRACE("THiE",frame_status,smc->os.hwm.tx_p->tx_free,0) ;
1590 return frame_status;
1595 * void hwm_tx_frag(smc,virt,phys,len,frame_status)
1604 * is allocated if the FIRST_FRAG bit is set in the frame_status.
1607 * bit is set in the frame_status word.
1611 * frame_status status of the frame, see design description
1621 int frame_status)
1629 NDD_TRACE("THfB",virt,len,frame_status) ;
1637 DB_TX(2, "hwm_tx_frag: len = %d, frame_status = %x", len, frame_status);
1638 if (frame_status & LAN_TX) {
1644 tbctrl = cpu_to_le32((((__u32)frame_status &
1654 if (frame_status & QUEUE_A0) {
1664 if (frame_status & LAST_FRAG) {
1668 if (frame_status & LOC_TX) {
1670 if (frame_status & FIRST_FRAG) {
1692 if (frame_status & LAST_FRAG) {
1805 int frame_status ;
1846 frame_status = LOC_TX ;
1849 frame_status = LAN_TX ;
1852 frame_status |= LOC_TX ;
1856 frame_status &= ~LAN_TX;
1857 if (frame_status) {
1866 DB_TX(5, "frame_status = 0x%x", frame_status);
1868 if ((frame_status & LAN_TX) && (frame_status & LOC_TX)) {
1872 if (frame_status & LAN_TX) {
1874 frame_status |= FIRST_FRAG ;
1878 frame_status |= LAST_FRAG ;
1886 tbctrl = cpu_to_le32((((__u32)frame_status &
1897 frame_status &= ~FIRST_FRAG ;
1906 if (frame_status & LOC_TX) {