Searched refs:nesnic (Results 1 – 2 of 2) sorted by relevance
364 struct nes_hw_nic *nesnic = &nesvnic->nic; in nes_nic_send() local373 nic_sqe = &nesnic->sq_vbase[nesnic->sq_head]; in nes_nic_send()410 memcpy(&nesnic->first_frag_vbase[nesnic->sq_head].buffer, in nes_nic_send()423 set_bit(nesnic->sq_head, nesnic->first_frag_overflow); in nes_nic_send()431 nesnic->tx_skb[nesnic->sq_head] = skb; in nes_nic_send()437 nesnic->tx_skb[nesnic->sq_head] = skb; in nes_nic_send()441 nesnic->tx_skb[nesnic->sq_head] = skb; in nes_nic_send()460 nesnic->sq_head++; in nes_nic_send()461 nesnic->sq_head &= nesnic->sq_size - 1; in nes_nic_send()474 struct nes_hw_nic *nesnic = &nesvnic->nic; in nes_netdev_start_xmit() local[all …]
1563 struct nes_hw_nic *nesnic; in nes_replenish_nic_rq() local1568 nesnic = &nesvnic->nic; in nes_replenish_nic_rq()1570 spin_lock_irqsave(&nesnic->rq_lock, flags); in nes_replenish_nic_rq()1571 if (nesnic->replenishing_rq !=0) { in nes_replenish_nic_rq()1572 if (((nesnic->rq_size-1) == atomic_read(&nesvnic->rx_skbs_needed)) && in nes_replenish_nic_rq()1575 spin_unlock_irqrestore(&nesnic->rq_lock, flags); in nes_replenish_nic_rq()1579 spin_unlock_irqrestore(&nesnic->rq_lock, flags); in nes_replenish_nic_rq()1582 nesnic->replenishing_rq = 1; in nes_replenish_nic_rq()1583 spin_unlock_irqrestore(&nesnic->rq_lock, flags); in nes_replenish_nic_rq()1595 nic_rqe = &nesnic->rq_vbase[nesvnic->nic.rq_head]; in nes_replenish_nic_rq()[all …]