• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/skfp/

Lines Matching defs:frame_status

148 		 int frame_status);
150 int frame_status);
154 int frame_status);
1395 * void hwm_rx_frag(smc,virt,phys,len,frame_status)
1408 * frame_status status of the frame, see design description
1416 int frame_status)
1421 NDD_TRACE("RHfB",virt,len,frame_status) ;
1422 DB_RX("hwm_rx_frag: len = %d, frame_status = %x\n",len,frame_status,2) ;
1426 rbctrl = cpu_to_le32( (((__u32)frame_status &
1428 (((u_long) frame_status & FIRST_FRAG) << 21) |
1528 * int hwm_tx_init(smc,fc,frag_count,frame_len,frame_status)
1543 * frame_status status of the frame, the send queue bit is already
1546 * return frame_status
1551 int frame_status)
1554 smc->os.hwm.tx_p = smc->hw.fp.tx[frame_status & QUEUE_A0] ;
1559 frame_status |= LAN_TX ;
1565 frame_status |= LAN_TX ;
1568 frame_status |= LOC_TX ;
1571 frame_status |= LAN_TX | LOC_TX ;
1578 frame_status &= ~LAN_TX ;
1579 frame_status |= RING_DOWN ;
1587 frame_status &= ~LAN_TX ;
1588 frame_status |= OUT_OF_TXD ;
1592 frame_status &= ~LAN_TX ;
1593 frame_status |= OUT_OF_TXD ;
1596 DB_TX("frame_status = %x",frame_status,0,3) ;
1597 NDD_TRACE("THiE",frame_status,smc->os.hwm.tx_p->tx_free,0) ;
1598 return(frame_status) ;
1603 * void hwm_tx_frag(smc,virt,phys,len,frame_status)
1612 * is allocated if the FIRST_FRAG bit is set in the frame_status.
1615 * bit is set in the frame_status word.
1619 * frame_status status of the frame, see design description
1629 int frame_status)
1637 NDD_TRACE("THfB",virt,len,frame_status) ;
1645 DB_TX("hwm_tx_frag: len = %d, frame_status = %x ",len,frame_status,2) ;
1646 if (frame_status & LAN_TX) {
1652 tbctrl = cpu_to_le32((((__u32)frame_status &
1662 if (frame_status & QUEUE_A0) {
1672 if (frame_status & LAST_FRAG) {
1676 if (frame_status & LOC_TX) {
1678 if (frame_status & FIRST_FRAG) {
1700 if (frame_status & LAST_FRAG) {
1813 int frame_status ;
1854 frame_status = LOC_TX ;
1857 frame_status = LAN_TX ;
1860 frame_status |= LOC_TX ;
1864 frame_status &= ~LAN_TX;
1865 if (frame_status) {
1874 DB_TX("frame_status = 0x%x ",frame_status,0,5) ;
1876 if ((frame_status & LAN_TX) && (frame_status & LOC_TX)) {
1880 if (frame_status & LAN_TX) {
1882 frame_status |= FIRST_FRAG ;
1886 frame_status |= LAST_FRAG ;
1894 tbctrl = cpu_to_le32((((__u32)frame_status &
1905 frame_status &= ~FIRST_FRAG ;
1914 if (frame_status & LOC_TX) {