Searched refs:cvmx_read_csr (Results 1 – 14 of 14) sorted by relevance
/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 163 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq() 175 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_tx_irq() 261 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers() 265 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers() 300 ns = cvmx_read_csr(CVMX_MIXX_TSTAMP(p->port)); in octeon_mgmt_clean_tx_buffers() 311 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers() 332 drop = cvmx_read_csr(p->agl + AGL_GMX_RX_STATS_PKTS_DRP); in octeon_mgmt_update_rx_stats() 333 bad = cvmx_read_csr(p->agl + AGL_GMX_RX_STATS_PKTS_BAD); in octeon_mgmt_update_rx_stats() 353 s0.u64 = cvmx_read_csr(p->agl + AGL_GMX_TX_STAT0); in octeon_mgmt_update_tx_stats() 354 s1.u64 = cvmx_read_csr(p->agl + AGL_GMX_TX_STAT1); in octeon_mgmt_update_tx_stats() [all …]
|
/drivers/staging/octeon/ |
D | ethernet-spi.c | 85 spx_int_reg.u64 = cvmx_read_csr(CVMX_SPXX_INT_REG(index)); in cvm_oct_spi_spx_int() 88 spx_int_reg.u64 &= cvmx_read_csr(CVMX_SPXX_INT_MSK(index)); in cvm_oct_spi_spx_int() 92 stx_int_reg.u64 = cvmx_read_csr(CVMX_STXX_INT_REG(index)); in cvm_oct_spi_spx_int() 95 stx_int_reg.u64 &= cvmx_read_csr(CVMX_STXX_INT_MSK(index)); in cvm_oct_spi_spx_int() 112 rsl_int_blocks.u64 = cvmx_read_csr(CVMX_NPI_RSL_INT_BLOCKS); in cvm_oct_spi_rml_interrupt() 127 spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting() 140 stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting()
|
D | ethernet-rgmii.c | 31 gmxx_rxx_frm_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, in cvm_oct_set_hw_preamble() 38 ipd_sub_port_fcs.u64 = cvmx_read_csr(CVMX_IPD_SUB_PORT_FCS); in cvm_oct_set_hw_preamble() 47 gmxx_rxx_int_reg.u64 = cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, in cvm_oct_set_hw_preamble() 76 gmxx_rxx_int_reg.u64 = cvmx_read_csr(CVMX_GMXX_RXX_INT_REG in cvm_oct_check_preamble_errors()
|
D | ethernet-rx.c | 96 cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface)); in cvm_oct_check_rcv_error() 202 old_group_mask = cvmx_read_csr(CVMX_SSO_PPX_GRP_MSK(coreid)); in cvm_oct_poll() 205 cvmx_read_csr(CVMX_SSO_PPX_GRP_MSK(coreid)); /* Flush */ in cvm_oct_poll() 207 old_group_mask = cvmx_read_csr(CVMX_POW_PP_GRP_MSKX(coreid)); in cvm_oct_poll() 391 cvmx_read_csr(CVMX_SSO_PPX_GRP_MSK(coreid)); /* Flush */ in cvm_oct_poll()
|
D | ethernet.c | 157 ipd_ctl_status.u64 = cvmx_read_csr(CVMX_IPD_CTL_STATUS); in cvm_oct_configure_common_hw() 325 cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_common_set_multicast_list() 361 cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_set_mac_filter() 467 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_common_open() 716 cvmx_read_csr(CVMX_PIP_PRT_TAGX(port)); in cvm_oct_probe()
|
D | ethernet-mdio.c | 113 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_common_stop()
|
D | ethernet-tx.c | 237 cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_xmit()
|
D | octeon-stubs.h | 1233 static inline uint64_t cvmx_read_csr(uint64_t csr_addr) in cvmx_read_csr() function
|
/drivers/edac/ |
D | octeon_edac-lmc.c | 44 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx)); in octeon_lmc_edac_poll() 47 fadr.u64 = cvmx_read_csr(CVMX_LMCX_FADR(mci->mc_idx)); in octeon_lmc_edac_poll() 79 int_reg.u64 = cvmx_read_csr(CVMX_LMCX_INT(mci->mc_idx)); in octeon_lmc_edac_poll_o2() 91 fadr.u64 = cvmx_read_csr(CVMX_LMCX_FADR(mci->mc_idx)); in octeon_lmc_edac_poll_o2() 240 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(0)); in octeon_lmc_edac_probe() 263 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mc)); in octeon_lmc_edac_probe() 272 config.u64 = cvmx_read_csr(CVMX_LMCX_CONFIG(0)); in octeon_lmc_edac_probe() 295 en.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mc)); in octeon_lmc_edac_probe()
|
D | octeon_edac-l2c.c | 29 l2t_err.u64 = cvmx_read_csr(CVMX_L2T_ERR); in octeon_l2c_poll_oct1() 44 l2d_err.u64 = cvmx_read_csr(CVMX_L2D_ERR); in octeon_l2c_poll_oct1() 68 err_tdtx.u64 = cvmx_read_csr(CVMX_L2C_ERR_TDTX(tad)); in _octeon_l2c_poll_oct2() 103 err_ttgx.u64 = cvmx_read_csr(CVMX_L2C_ERR_TTGX(tad)); in _octeon_l2c_poll_oct2() 157 l2t_err.u64 = cvmx_read_csr(CVMX_L2T_ERR); in octeon_l2c_probe() 162 l2d_err.u64 = cvmx_read_csr(CVMX_L2D_ERR); in octeon_l2c_probe()
|
/drivers/watchdog/ |
D | octeon-wdt-main.c | 254 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_SRC_PPX_IP2_WDOG(coreid)), 16); in octeon_wdt_nmi_stage3() 256 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_EN_PPX_IP2_WDOG(coreid)), 16); in octeon_wdt_nmi_stage3() 259 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_SRC_PPX_IP2_RML(coreid)), 16); in octeon_wdt_nmi_stage3() 261 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_EN_PPX_IP2_RML(coreid)), 16); in octeon_wdt_nmi_stage3() 264 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_SUM_PPX_IP2(coreid)), 16); in octeon_wdt_nmi_stage3() 268 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU_INTX_SUM0(coreid * 2)), 16); in octeon_wdt_nmi_stage3() 270 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU_INTX_EN0(coreid * 2)), 16); in octeon_wdt_nmi_stage3()
|
/drivers/ata/ |
D | pata_octeon_cf.c | 104 reg_cfg.u64 = cvmx_read_csr(CVMX_MIO_BOOT_REG_CFGX(cs)); in octeon_cf_set_boot_reg_cfg() 174 reg_tim.u64 = cvmx_read_csr(CVMX_MIO_BOOT_REG_TIMX(cf_port->cs0)); in octeon_cf_set_piomode() 245 pin_defs.u64 = cvmx_read_csr(CVMX_MIO_BOOT_PIN_DEFS); in octeon_cf_set_dmamode() 603 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_dma_finished() 657 dma_int.u64 = cvmx_read_csr(cf_port->dma_base + DMA_INT); in octeon_cf_interrupt() 658 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_interrupt()
|
/drivers/net/mdio/ |
D | mdio-cavium.h | 108 return cvmx_read_csr((u64 __force)addr); in oct_mdio_readq()
|
/drivers/gpio/ |
D | gpio-octeon.c | 76 u64 read_bits = cvmx_read_csr(gpio->register_base + RX_DAT); in octeon_gpio_get()
|