Lines Matching refs:cvmx_write_csr

109 	cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1);  in cvmx_helper_rgmii_internal_loopback()
110 cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); in cvmx_helper_rgmii_internal_loopback()
111 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); in cvmx_helper_rgmii_internal_loopback()
112 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback()
114 cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), (1 << index) | tmp); in cvmx_helper_rgmii_internal_loopback()
116 cvmx_write_csr(CVMX_ASXX_TX_PRT_EN(interface), (1 << index) | tmp); in cvmx_helper_rgmii_internal_loopback()
118 cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), (1 << index) | tmp); in cvmx_helper_rgmii_internal_loopback()
120 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback()
138 cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 12); in __cvmx_helper_errata_asx_pass1()
140 cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 11); in __cvmx_helper_errata_asx_pass1()
142 cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 10); in __cvmx_helper_errata_asx_pass1()
144 cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 9); in __cvmx_helper_errata_asx_pass1()
180 cvmx_write_csr(CVMX_ASXX_TX_PRT_EN(interface), asx_tx.u64); in __cvmx_helper_rgmii_enable()
184 cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), asx_rx.u64); in __cvmx_helper_rgmii_enable()
207 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(port, interface), in __cvmx_helper_rgmii_enable()
218 cvmx_write_csr(CVMX_GMXX_TXX_PAUSE_PKT_TIME(port, interface), in __cvmx_helper_rgmii_enable()
220 cvmx_write_csr(CVMX_GMXX_TXX_PAUSE_PKT_INTERVAL in __cvmx_helper_rgmii_enable()
224 cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(port, interface), in __cvmx_helper_rgmii_enable()
226 cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(port, interface), in __cvmx_helper_rgmii_enable()
229 cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(port, interface), in __cvmx_helper_rgmii_enable()
231 cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(port, interface), in __cvmx_helper_rgmii_enable()
245 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(port, interface), in __cvmx_helper_rgmii_enable()
318 cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), in __cvmx_helper_rgmii_link_set()
326 cvmx_write_csr(CVMX_PKO_REG_READ_IDX, queue); in __cvmx_helper_rgmii_link_set()
332 cvmx_write_csr(CVMX_PKO_MEM_QUEUE_QOS, pko_mem_queue_qos.u64); in __cvmx_helper_rgmii_link_set()
340 cvmx_write_csr(CVMX_GMXX_TX_OVR_BP(interface), gmx_tx_ovr_bp.u64); in __cvmx_helper_rgmii_link_set()
350 cvmx_write_csr(CVMX_NPI_DBG_SELECT, in __cvmx_helper_rgmii_link_set()
359 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); in __cvmx_helper_rgmii_link_set()
386 cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 50); in __cvmx_helper_rgmii_link_set()
387 cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x40); in __cvmx_helper_rgmii_link_set()
388 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); in __cvmx_helper_rgmii_link_set()
390 cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 5); in __cvmx_helper_rgmii_link_set()
391 cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x40); in __cvmx_helper_rgmii_link_set()
392 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); in __cvmx_helper_rgmii_link_set()
394 cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); in __cvmx_helper_rgmii_link_set()
395 cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); in __cvmx_helper_rgmii_link_set()
396 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); in __cvmx_helper_rgmii_link_set()
418 cvmx_write_csr(CVMX_GMXX_TXX_CLK in __cvmx_helper_rgmii_link_set()
428 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); in __cvmx_helper_rgmii_link_set()
431 cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), in __cvmx_helper_rgmii_link_set()
438 cvmx_write_csr(CVMX_PKO_REG_READ_IDX, queue); in __cvmx_helper_rgmii_link_set()
439 cvmx_write_csr(CVMX_PKO_MEM_QUEUE_QOS, in __cvmx_helper_rgmii_link_set()
444 cvmx_write_csr(CVMX_GMXX_TX_OVR_BP(interface), gmx_tx_ovr_bp_save.u64); in __cvmx_helper_rgmii_link_set()
448 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); in __cvmx_helper_rgmii_link_set()