Lines Matching refs:hw_status

1021 	    (tp->napi[0].hw_status->status & SD_STATUS_UPDATED))  in tg3_enable_ints()
1032 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work()
5754 tp->napi[0].hw_status->status = in tg3_setup_fiber_phy()
5756 (tp->napi[0].hw_status->status & ~SD_STATUS_LINK_CHG)); in tg3_setup_fiber_phy()
6465 tnapi->hw_status->status, in tg3_dump_state()
6466 tnapi->hw_status->status_tag, in tg3_dump_state()
6467 tnapi->hw_status->rx_jumbo_consumer, in tg3_dump_state()
6468 tnapi->hw_status->rx_consumer, in tg3_dump_state()
6469 tnapi->hw_status->rx_mini_consumer, in tg3_dump_state()
6470 tnapi->hw_status->idx[0].rx_producer, in tg3_dump_state()
6471 tnapi->hw_status->idx[0].tx_consumer); in tg3_dump_state()
6521 u32 hw_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_tx()
7001 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link()
7152 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) { in tg3_poll_work()
7216 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix()
7310 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll()
7409 tp->napi[0].hw_status->status |= SD_STATUS_UPDATED; in tg3_netif_start()
7457 prefetch(tnapi->hw_status); in tg3_msi_1shot()
7476 prefetch(tnapi->hw_status); in tg3_msi()
7497 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt()
7546 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_interrupt_tagged()
7599 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_test_isr()
8570 tnapi->hw_status->status = 0; in tg3_init_rings()
8571 tnapi->hw_status->status_tag = 0; in tg3_init_rings()
8572 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_init_rings()
8714 if (tnapi->hw_status) { in tg3_free_consistent()
8716 tnapi->hw_status, in tg3_free_consistent()
8718 tnapi->hw_status = NULL; in tg3_free_consistent()
8750 tnapi->hw_status = dma_zalloc_coherent(&tp->pdev->dev, in tg3_alloc_consistent()
8754 if (!tnapi->hw_status) in tg3_alloc_consistent()
8757 sblk = tnapi->hw_status; in tg3_alloc_consistent()
8919 if (tnapi->hw_status) in tg3_abort_hw()
8920 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_abort_hw()
9086 if (tnapi->hw_status) { in tg3_chip_reset()
9087 tnapi->hw_status->status = 0; in tg3_chip_reset()
9088 tnapi->hw_status->status_tag = 0; in tg3_chip_reset()
9614 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_rings_reset()
9631 memset(tnapi->hw_status, 0, TG3_HW_STATUS_SIZE); in tg3_rings_reset()
10950 if (tp->napi[0].hw_status->status & SD_STATUS_UPDATED) { in tg3_timer()
11240 tnapi->hw_status->status &= ~SD_STATUS_UPDATED; in tg3_test_interrupt()
11259 tnapi->hw_status->status_tag != tnapi->last_tag) in tg3_test_interrupt()
13471 rx_start_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()
13498 tx_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_run_loopback()
13499 rx_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()