Lines Matching refs:sblk

1050 	struct tg3_hw_status *sblk = tnapi->hw_status;  in tg3_has_work()  local
1055 if (sblk->status & SD_STATUS_LINK_CHG) in tg3_has_work()
1060 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()
7017 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link() local
7019 if (sblk->status & SD_STATUS_LINK_CHG) { in tg3_poll_link()
7020 sblk->status = SD_STATUS_UPDATED | in tg3_poll_link()
7021 (sblk->status & ~SD_STATUS_LINK_CHG); in tg3_poll_link()
7232 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix() local
7247 tnapi->last_tag = sblk->status_tag; in tg3_poll_msix()
7252 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix()
7327 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll() local
7330 if (sblk->status & SD_STATUS_ERROR) in tg3_poll()
7348 tnapi->last_tag = sblk->status_tag; in tg3_poll()
7352 sblk->status &= ~SD_STATUS_UPDATED; in tg3_poll()
7515 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt() local
7523 if (unlikely(!(sblk->status & SD_STATUS_UPDATED))) { in tg3_interrupt()
7545 sblk->status &= ~SD_STATUS_UPDATED; in tg3_interrupt()
7564 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt_tagged() local
7572 if (unlikely(sblk->status_tag == tnapi->last_irq_tag)) { in tg3_interrupt_tagged()
7599 tnapi->last_irq_tag = sblk->status_tag; in tg3_interrupt_tagged()
7617 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_test_isr() local
7619 if ((sblk->status & SD_STATUS_UPDATED) || in tg3_test_isr()
8771 struct tg3_hw_status *sblk; in tg3_alloc_consistent() local
8780 sblk = tnapi->hw_status; in tg3_alloc_consistent()
8793 prodptr = &sblk->idx[0].rx_producer; in tg3_alloc_consistent()
8796 prodptr = &sblk->rx_jumbo_consumer; in tg3_alloc_consistent()
8799 prodptr = &sblk->reserved; in tg3_alloc_consistent()
8802 prodptr = &sblk->rx_mini_consumer; in tg3_alloc_consistent()
8807 tnapi->rx_rcb_prod_idx = &sblk->idx[0].rx_producer; in tg3_alloc_consistent()