Lines Matching refs:hw_status
1039 (tp->napi[0].hw_status->status & SD_STATUS_UPDATED)) in tg3_enable_ints()
1050 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work()
5770 tp->napi[0].hw_status->status = in tg3_setup_fiber_phy()
5772 (tp->napi[0].hw_status->status & ~SD_STATUS_LINK_CHG)); in tg3_setup_fiber_phy()
6481 tnapi->hw_status->status, in tg3_dump_state()
6482 tnapi->hw_status->status_tag, in tg3_dump_state()
6483 tnapi->hw_status->rx_jumbo_consumer, in tg3_dump_state()
6484 tnapi->hw_status->rx_consumer, in tg3_dump_state()
6485 tnapi->hw_status->rx_mini_consumer, in tg3_dump_state()
6486 tnapi->hw_status->idx[0].rx_producer, in tg3_dump_state()
6487 tnapi->hw_status->idx[0].tx_consumer); in tg3_dump_state()
6537 u32 hw_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_tx()
7017 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link()
7168 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) { in tg3_poll_work()
7232 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix()
7327 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll()
7427 tp->napi[0].hw_status->status |= SD_STATUS_UPDATED; in tg3_netif_start()
7475 prefetch(tnapi->hw_status); in tg3_msi_1shot()
7494 prefetch(tnapi->hw_status); in tg3_msi()
7515 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt()
7564 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt_tagged()
7617 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_zalloc_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()
9646 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_rings_reset()
9663 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_rings_reset()
11009 if (tp->napi[0].hw_status->status & SD_STATUS_UPDATED) { in tg3_timer()
11300 tnapi->hw_status->status &= ~SD_STATUS_UPDATED; in tg3_test_interrupt()
11319 tnapi->hw_status->status_tag != tnapi->last_tag) in tg3_test_interrupt()
13537 rx_start_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()
13564 tx_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_run_loopback()
13565 rx_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()