Lines Matching refs:hw_status
1028 (tp->napi[0].hw_status->status & SD_STATUS_UPDATED)) in tg3_enable_ints()
1039 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work()
5764 tp->napi[0].hw_status->status = in tg3_setup_fiber_phy()
5766 (tp->napi[0].hw_status->status & ~SD_STATUS_LINK_CHG)); in tg3_setup_fiber_phy()
6486 tnapi->hw_status->status, in tg3_dump_state()
6487 tnapi->hw_status->status_tag, in tg3_dump_state()
6488 tnapi->hw_status->rx_jumbo_consumer, in tg3_dump_state()
6489 tnapi->hw_status->rx_consumer, in tg3_dump_state()
6490 tnapi->hw_status->rx_mini_consumer, in tg3_dump_state()
6491 tnapi->hw_status->idx[0].rx_producer, in tg3_dump_state()
6492 tnapi->hw_status->idx[0].tx_consumer); in tg3_dump_state()
6542 u32 hw_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_tx()
7021 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link()
7172 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) { in tg3_poll_work()
7234 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix()
7328 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll()
7428 tp->napi[0].hw_status->status |= SD_STATUS_UPDATED; in tg3_netif_start()
7476 prefetch(tnapi->hw_status); in tg3_msi_1shot()
7495 prefetch(tnapi->hw_status); in tg3_msi()
7516 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt()
7565 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt_tagged()
7618 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_test_isr()
8586 tnapi->hw_status->status = 0; in tg3_init_rings()
8587 tnapi->hw_status->status_tag = 0; in tg3_init_rings()
8588 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_init_rings()
8731 if (tnapi->hw_status) { in tg3_free_consistent()
8733 tnapi->hw_status, in tg3_free_consistent()
8735 tnapi->hw_status = NULL; in tg3_free_consistent()
8771 tnapi->hw_status = dma_alloc_coherent(&tp->pdev->dev, in tg3_alloc_consistent()
8775 if (!tnapi->hw_status) in tg3_alloc_consistent()
8778 sblk = tnapi->hw_status; in tg3_alloc_consistent()
8940 if (tnapi->hw_status) in tg3_abort_hw()
8941 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_abort_hw()
9107 if (tnapi->hw_status) { in tg3_chip_reset()
9108 tnapi->hw_status->status = 0; in tg3_chip_reset()
9109 tnapi->hw_status->status_tag = 0; in tg3_chip_reset()
9644 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_rings_reset()
9661 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_rings_reset()
11005 if (tp->napi[0].hw_status->status & SD_STATUS_UPDATED) { in tg3_timer()
11305 tnapi->hw_status->status &= ~SD_STATUS_UPDATED; in tg3_test_interrupt()
11324 tnapi->hw_status->status_tag != tnapi->last_tag) in tg3_test_interrupt()
13531 rx_start_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()
13558 tx_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_run_loopback()
13559 rx_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()