Lines Matching refs:hw_status
1029 (tp->napi[0].hw_status->status & SD_STATUS_UPDATED)) in tg3_enable_ints()
1040 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work()
5759 tp->napi[0].hw_status->status = in tg3_setup_fiber_phy()
5761 (tp->napi[0].hw_status->status & ~SD_STATUS_LINK_CHG)); in tg3_setup_fiber_phy()
6489 tnapi->hw_status->status, in tg3_dump_state()
6490 tnapi->hw_status->status_tag, in tg3_dump_state()
6491 tnapi->hw_status->rx_jumbo_consumer, in tg3_dump_state()
6492 tnapi->hw_status->rx_consumer, in tg3_dump_state()
6493 tnapi->hw_status->rx_mini_consumer, in tg3_dump_state()
6494 tnapi->hw_status->idx[0].rx_producer, in tg3_dump_state()
6495 tnapi->hw_status->idx[0].tx_consumer); in tg3_dump_state()
6545 u32 hw_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_tx()
7022 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link()
7173 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) { in tg3_poll_work()
7235 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix()
7329 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll()
7429 tp->napi[0].hw_status->status |= SD_STATUS_UPDATED; in tg3_netif_start()
7477 prefetch(tnapi->hw_status); in tg3_msi_1shot()
7496 prefetch(tnapi->hw_status); in tg3_msi()
7517 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt()
7566 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt_tagged()
7619 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_test_isr()
8588 tnapi->hw_status->status = 0; in tg3_init_rings()
8589 tnapi->hw_status->status_tag = 0; in tg3_init_rings()
8590 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_init_rings()
8733 if (tnapi->hw_status) { in tg3_free_consistent()
8735 tnapi->hw_status, in tg3_free_consistent()
8737 tnapi->hw_status = NULL; in tg3_free_consistent()
8773 tnapi->hw_status = dma_alloc_coherent(&tp->pdev->dev, in tg3_alloc_consistent()
8777 if (!tnapi->hw_status) in tg3_alloc_consistent()
8780 sblk = tnapi->hw_status; in tg3_alloc_consistent()
8942 if (tnapi->hw_status) in tg3_abort_hw()
8943 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_abort_hw()
9109 if (tnapi->hw_status) { in tg3_chip_reset()
9110 tnapi->hw_status->status = 0; in tg3_chip_reset()
9111 tnapi->hw_status->status_tag = 0; in tg3_chip_reset()
9653 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_rings_reset()
9670 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_rings_reset()
11014 if (tp->napi[0].hw_status->status & SD_STATUS_UPDATED) { in tg3_timer()
11315 tnapi->hw_status->status &= ~SD_STATUS_UPDATED; in tg3_test_interrupt()
11334 tnapi->hw_status->status_tag != tnapi->last_tag) in tg3_test_interrupt()
13525 rx_start_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()
13552 tx_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_run_loopback()
13553 rx_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()