Home
last modified time | relevance | path

Searched refs:ipd_reg (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/staging/octeon/
Dcvmx-ipd.h130 union cvmx_ipd_ctl_status ipd_reg; in cvmx_ipd_enable() local
131 ipd_reg.u64 = cvmx_read_csr(CVMX_IPD_CTL_STATUS); in cvmx_ipd_enable()
132 if (ipd_reg.s.ipd_en) { in cvmx_ipd_enable()
136 ipd_reg.s.ipd_en = 1; in cvmx_ipd_enable()
139 ipd_reg.s.len_m8 = TRUE; in cvmx_ipd_enable()
141 cvmx_write_csr(CVMX_IPD_CTL_STATUS, ipd_reg.u64); in cvmx_ipd_enable()
149 union cvmx_ipd_ctl_status ipd_reg; in cvmx_ipd_disable() local
150 ipd_reg.u64 = cvmx_read_csr(CVMX_IPD_CTL_STATUS); in cvmx_ipd_disable()
151 ipd_reg.s.ipd_en = 0; in cvmx_ipd_disable()
152 cvmx_write_csr(CVMX_IPD_CTL_STATUS, ipd_reg.u64); in cvmx_ipd_disable()