Lines Matching refs:sblk
1032 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work() local
1037 if (sblk->status & SD_STATUS_LINK_CHG) in tg3_has_work()
1042 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()
7001 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link() local
7003 if (sblk->status & SD_STATUS_LINK_CHG) { in tg3_poll_link()
7004 sblk->status = SD_STATUS_UPDATED | in tg3_poll_link()
7005 (sblk->status & ~SD_STATUS_LINK_CHG); in tg3_poll_link()
7216 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix() local
7231 tnapi->last_tag = sblk->status_tag; in tg3_poll_msix()
7236 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix()
7310 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll() local
7313 if (sblk->status & SD_STATUS_ERROR) in tg3_poll()
7331 tnapi->last_tag = sblk->status_tag; in tg3_poll()
7335 sblk->status &= ~SD_STATUS_UPDATED; in tg3_poll()
7497 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt() local
7505 if (unlikely(!(sblk->status & SD_STATUS_UPDATED))) { in tg3_interrupt()
7527 sblk->status &= ~SD_STATUS_UPDATED; in tg3_interrupt()
7546 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt_tagged() local
7554 if (unlikely(sblk->status_tag == tnapi->last_irq_tag)) { in tg3_interrupt_tagged()
7581 tnapi->last_irq_tag = sblk->status_tag; in tg3_interrupt_tagged()
7599 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_test_isr() local
7601 if ((sblk->status & SD_STATUS_UPDATED) || in tg3_test_isr()
8748 struct tg3_hw_status *sblk; in tg3_alloc_consistent() local
8757 sblk = tnapi->hw_status; in tg3_alloc_consistent()
8770 prodptr = &sblk->idx[0].rx_producer; in tg3_alloc_consistent()
8773 prodptr = &sblk->rx_jumbo_consumer; in tg3_alloc_consistent()
8776 prodptr = &sblk->reserved; in tg3_alloc_consistent()
8779 prodptr = &sblk->rx_mini_consumer; in tg3_alloc_consistent()
8784 tnapi->rx_rcb_prod_idx = &sblk->idx[0].rx_producer; in tg3_alloc_consistent()