Lines Matching refs:mix
119 u64 mix; member
163 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq()
165 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_rx_irq()
175 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_tx_irq()
177 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_tx_irq()
249 cvmx_write_csr(p->mix + MIX_IRING2, 1); in octeon_mgmt_rx_fill_ring()
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()
285 cvmx_write_csr(p->mix + MIX_ORCNT, mix_orcnt.u64); in octeon_mgmt_clean_tx_buffers()
311 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers()
472 cvmx_write_csr(p->mix + MIX_IRCNT, mix_ircnt.u64); in octeon_mgmt_receive_one()
482 mix_ircnt.u64 = cvmx_read_csr(p->mix + MIX_IRCNT); in octeon_mgmt_receive_packets()
490 mix_ircnt.u64 = cvmx_read_csr(p->mix + MIX_IRCNT); in octeon_mgmt_receive_packets()
524 cvmx_write_csr(p->mix + MIX_CTL, mix_ctl.u64); in octeon_mgmt_reset_hw()
526 mix_ctl.u64 = cvmx_read_csr(p->mix + MIX_CTL); in octeon_mgmt_reset_hw()
529 cvmx_write_csr(p->mix + MIX_CTL, mix_ctl.u64); in octeon_mgmt_reset_hw()
530 cvmx_read_csr(p->mix + MIX_CTL); in octeon_mgmt_reset_hw()
533 mix_bist.u64 = cvmx_read_csr(p->mix + MIX_BIST); in octeon_mgmt_reset_hw()
675 mixx_isr.u64 = cvmx_read_csr(p->mix + MIX_ISR); in octeon_mgmt_interrupt()
678 cvmx_write_csr(p->mix + MIX_ISR, mixx_isr.u64); in octeon_mgmt_interrupt()
679 cvmx_read_csr(p->mix + MIX_ISR); in octeon_mgmt_interrupt()
1008 mix_ctl.u64 = cvmx_read_csr(p->mix + MIX_CTL); in octeon_mgmt_open()
1013 cvmx_write_csr(p->mix + MIX_CTL, mix_ctl.u64); in octeon_mgmt_open()
1015 mix_ctl.u64 = cvmx_read_csr(p->mix + MIX_CTL); in octeon_mgmt_open()
1047 cvmx_write_csr(p->mix + MIX_ORING1, oring1.u64); in octeon_mgmt_open()
1052 cvmx_write_csr(p->mix + MIX_IRING1, iring1.u64); in octeon_mgmt_open()
1071 cvmx_write_csr(p->mix + MIX_CTL, mix_ctl.u64); in octeon_mgmt_open()
1153 cvmx_write_csr(p->mix + MIX_ISR, cvmx_read_csr(p->mix + MIX_ISR)); in octeon_mgmt_open()
1164 cvmx_write_csr(p->mix + MIX_IRHWM, mix_irhwm.u64); in octeon_mgmt_open()
1169 cvmx_write_csr(p->mix + MIX_ORHWM, mix_orhwm.u64); in octeon_mgmt_open()
1175 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_open()
1323 cvmx_write_csr(p->mix + MIX_ORING2, 1); in octeon_mgmt_xmit()
1476 p->mix = (u64)devm_ioremap(&pdev->dev, p->mix_phys, p->mix_size); in octeon_mgmt_probe()
1480 if (!p->mix || !p->agl || !p->agl_prt_ctl) { in octeon_mgmt_probe()