Lines Matching refs:BNX2_RD

270 	val = BNX2_RD(bp, BNX2_PCICFG_REG_WINDOW);  in bnx2_reg_rd_ind()
312 val = BNX2_RD(bp, BNX2_CTX_CTX_CTRL); in bnx2_ctx_wr()
493 val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); in bnx2_read_phy()
497 BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); in bnx2_read_phy()
510 val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_COMM); in bnx2_read_phy()
514 val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_COMM); in bnx2_read_phy()
531 val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); in bnx2_read_phy()
535 BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); in bnx2_read_phy()
550 val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); in bnx2_write_phy()
554 BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); in bnx2_write_phy()
567 val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_COMM); in bnx2_write_phy()
580 val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); in bnx2_write_phy()
584 BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); in bnx2_write_phy()
603 BNX2_RD(bp, BNX2_PCICFG_INT_ACK_CMD); in bnx2_disable_int()
1327 val = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_set_mac_link()
1369 val = BNX2_RD(bp, BNX2_EMAC_TX_MODE); in bnx2_set_mac_link()
1580 val = BNX2_RD(bp, BNX2_EMAC_STATUS); in bnx2_set_link()
2436 mac_mode = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_set_mac_loopback()
2465 mac_mode = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_set_phy_loopback()
2576 val = BNX2_RD(bp, BNX2_CTX_COMMAND); in bnx2_init_5709_context()
2601 val = BNX2_RD(bp, BNX2_CTX_HOST_PAGE_TBL_CTRL); in bnx2_init_5709_context()
3359 (BNX2_RD(bp, BNX2_PCICFG_MISC_STATUS) & in bnx2_interrupt()
3370 BNX2_RD(bp, BNX2_PCICFG_INT_ACK_CMD); in bnx2_interrupt()
3426 msi_ctrl = BNX2_RD(bp, BNX2_PCICFG_MSI_CONTROL); in bnx2_chk_missed_msi()
3474 BNX2_RD(bp, BNX2_HC_COMMAND); in bnx2_poll_link()
3960 val = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_setup_wol()
3995 val = BNX2_RD(bp, BNX2_RPM_CONFIG); in bnx2_setup_wol()
4034 val = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_set_power_state()
4039 val = BNX2_RD(bp, BNX2_RPM_CONFIG); in bnx2_set_power_state()
4089 val = BNX2_RD(bp, BNX2_NVM_SW_ARB); in bnx2_acquire_nvram_lock()
4112 val = BNX2_RD(bp, BNX2_NVM_SW_ARB); in bnx2_release_nvram_lock()
4131 val = BNX2_RD(bp, BNX2_MISC_CFG); in bnx2_enable_nvram_write()
4144 val = BNX2_RD(bp, BNX2_NVM_COMMAND); in bnx2_enable_nvram_write()
4160 val = BNX2_RD(bp, BNX2_MISC_CFG); in bnx2_disable_nvram_write()
4170 val = BNX2_RD(bp, BNX2_NVM_ACCESS_ENABLE); in bnx2_enable_nvram_access()
4181 val = BNX2_RD(bp, BNX2_NVM_ACCESS_ENABLE); in bnx2_disable_nvram_access()
4217 val = BNX2_RD(bp, BNX2_NVM_COMMAND); in bnx2_nvram_erase_page()
4259 val = BNX2_RD(bp, BNX2_NVM_COMMAND); in bnx2_nvram_read_dword()
4261 __be32 v = cpu_to_be32(BNX2_RD(bp, BNX2_NVM_READ)); in bnx2_nvram_read_dword()
4308 if (BNX2_RD(bp, BNX2_NVM_COMMAND) & BNX2_NVM_COMMAND_DONE) in bnx2_nvram_write_dword()
4330 val = BNX2_RD(bp, BNX2_NVM_CFG1); in bnx2_init_nvram()
4756 val = BNX2_RD(bp, BNX2_MISC_ENABLE_CLR_BITS); in bnx2_wait_dma_complete()
4759 val = BNX2_RD(bp, BNX2_MISC_NEW_CORE_CTL); in bnx2_wait_dma_complete()
4762 val = BNX2_RD(bp, BNX2_MISC_NEW_CORE_CTL); in bnx2_wait_dma_complete()
4766 val = BNX2_RD(bp, BNX2_PCICFG_DEVICE_CONTROL); in bnx2_wait_dma_complete()
4797 val = BNX2_RD(bp, BNX2_MISC_ID); in bnx2_reset_chip()
4801 BNX2_RD(bp, BNX2_MISC_COMMAND); in bnx2_reset_chip()
4827 val = BNX2_RD(bp, BNX2_PCICFG_MISC_CONFIG); in bnx2_reset_chip()
4842 val = BNX2_RD(bp, BNX2_PCI_SWAP_DIAG0); in bnx2_reset_chip()
4911 val = BNX2_RD(bp, BNX2_TDMA_CONFIG); in bnx2_init_chip()
4945 val = BNX2_RD(bp, BNX2_MQ_CONFIG); in bnx2_init_chip()
4964 val = BNX2_RD(bp, BNX2_TBDR_CONFIG); in bnx2_init_chip()
5091 val = BNX2_RD(bp, BNX2_MISC_NEW_CORE_CTL); in bnx2_init_chip()
5099 BNX2_RD(bp, BNX2_MISC_ENABLE_SET_BITS); in bnx2_init_chip()
5103 bp->hc_cmd = BNX2_RD(bp, BNX2_HC_COMMAND); in bnx2_init_chip()
5239 val = BNX2_RD(bp, BNX2_MQ_MAP_L2_5); in bnx2_init_rx_ring()
5840 BNX2_RD(bp, BNX2_HC_COMMAND); in bnx2_run_loopback()
5866 BNX2_RD(bp, BNX2_HC_COMMAND); in bnx2_run_loopback()
6015 status_idx = BNX2_RD(bp, BNX2_PCICFG_INT_ACK_CMD) & 0xffff; in bnx2_test_intr()
6019 BNX2_RD(bp, BNX2_HC_COMMAND); in bnx2_test_intr()
6022 if ((BNX2_RD(bp, BNX2_PCICFG_INT_ACK_CMD) & 0xffff) != in bnx2_test_intr()
6264 BNX2_RD(bp, BNX2_PCI_MSIX_CONTROL); in bnx2_enable_msix()
6509 BNX2_RD(bp, BNX2_TBDC_STATUS) & BNX2_TBDC_STATUS_FREE_CNT); in bnx2_dump_ftq()
6518 while ((BNX2_RD(bp, BNX2_TBDC_COMMAND) & in bnx2_dump_ftq()
6522 cid = BNX2_RD(bp, BNX2_TBDC_CID); in bnx2_dump_ftq()
6523 bdidx = BNX2_RD(bp, BNX2_TBDC_BIDX); in bnx2_dump_ftq()
6524 valid = BNX2_RD(bp, BNX2_TBDC_CAM_OPCODE); in bnx2_dump_ftq()
6545 BNX2_RD(bp, BNX2_EMAC_TX_STATUS), in bnx2_dump_state()
6546 BNX2_RD(bp, BNX2_EMAC_RX_STATUS)); in bnx2_dump_state()
6548 BNX2_RD(bp, BNX2_RPM_MGMT_PKT_CTRL)); in bnx2_dump_state()
6550 BNX2_RD(bp, BNX2_HC_STATS_INTERRUPT_STATUS)); in bnx2_dump_state()
6553 BNX2_RD(bp, BNX2_PCI_GRC_WINDOW3_BASE)); in bnx2_dump_state()
7085 *p++ = BNX2_RD(bp, offset); in bnx2_get_regs()
7709 bp->leds_save = BNX2_RD(bp, BNX2_MISC_CFG); in bnx2_set_phys_id()
7940 u32 val = BNX2_RD(bp, BNX2_MISC_DUAL_MEDIA_CTRL); in bnx2_get_5709_media()
7980 reg = BNX2_RD(bp, BNX2_PCICFG_MISC_STATUS); in bnx2_get_pci_speed()
7986 clkreg = BNX2_RD(bp, BNX2_PCICFG_PCI_CLOCK_CONTROL_BITS); in bnx2_get_pci_speed()
8151 bp->chip_id = BNX2_RD(bp, BNX2_MISC_ID); in bnx2_init_board()
8210 reg = BNX2_RD(bp, PCI_COMMAND); in bnx2_init_board()
8374 !(BNX2_RD(bp, BNX2_PCI_CONFIG_3) & BNX2_PCI_CONFIG_3_VAUX_PRESET)) { in bnx2_init_board()