Searched refs:jtgd (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-jtag.c89 union cvmx_ciu_qlm_jtgd jtgd; cvmx_helper_qlm_jtag_shift() local
90 jtgd.u64 = 0; cvmx_helper_qlm_jtag_shift()
91 jtgd.s.shift = 1; cvmx_helper_qlm_jtag_shift()
92 jtgd.s.shft_cnt = bits - 1; cvmx_helper_qlm_jtag_shift()
93 jtgd.s.shft_reg = data; cvmx_helper_qlm_jtag_shift()
95 jtgd.s.select = 1 << qlm; cvmx_helper_qlm_jtag_shift()
96 cvmx_write_csr(CVMX_CIU_QLM_JTGD, jtgd.u64); cvmx_helper_qlm_jtag_shift()
98 jtgd.u64 = cvmx_read_csr(CVMX_CIU_QLM_JTGD); cvmx_helper_qlm_jtag_shift()
99 } while (jtgd.s.shift); cvmx_helper_qlm_jtag_shift()
100 return jtgd.s.shft_reg >> (32 - bits); cvmx_helper_qlm_jtag_shift()
133 union cvmx_ciu_qlm_jtgd jtgd; cvmx_helper_qlm_jtag_update() local
136 jtgd.u64 = 0; cvmx_helper_qlm_jtag_update()
137 jtgd.s.update = 1; cvmx_helper_qlm_jtag_update()
139 jtgd.s.select = 1 << qlm; cvmx_helper_qlm_jtag_update()
140 cvmx_write_csr(CVMX_CIU_QLM_JTGD, jtgd.u64); cvmx_helper_qlm_jtag_update()
142 jtgd.u64 = cvmx_read_csr(CVMX_CIU_QLM_JTGD); cvmx_helper_qlm_jtag_update()
143 } while (jtgd.s.update); cvmx_helper_qlm_jtag_update()

Completed in 67 milliseconds