Lines Matching refs:val

1383 #define write_r10k_perf_cntr(counter,val)			\  argument
1388 : "r" (val), "i" (counter)); \
1402 #define write_r10k_perf_cntl(counter,val) \ argument
1407 : "r" (val), "i" (counter)); \
1509 #define __write_ulong_c0_register(reg, sel, val) \ argument
1512 __write_32bit_c0_register(reg, sel, val); \
1514 __write_64bit_c0_register(reg, sel, val); \
1568 #define __write_64bit_c0_split(source, sel, val) \ argument
1570 unsigned long long __tmp = (val); \
1655 #define write_c0_index(val) __write_32bit_c0_register($0, 0, val) argument
1658 #define write_c0_random(val) __write_32bit_c0_register($1, 0, val) argument
1661 #define write_c0_entrylo0(val) __write_ulong_c0_register($2, 0, val) argument
1664 #define writex_c0_entrylo0(val) __writex_32bit_c0_register($2, 0, val) argument
1667 #define write_c0_entrylo1(val) __write_ulong_c0_register($3, 0, val) argument
1670 #define writex_c0_entrylo1(val) __writex_32bit_c0_register($3, 0, val) argument
1673 #define write_c0_conf(val) __write_32bit_c0_register($3, 0, val) argument
1678 #define write_c0_context(val) __write_ulong_c0_register($4, 0, val) argument
1681 #define write_c0_contextconfig(val) __write_32bit_c0_register($4, 1, val) argument
1684 #define write_c0_userlocal(val) __write_ulong_c0_register($4, 2, val) argument
1687 #define write_c0_xcontextconfig(val) __write_ulong_c0_register($4, 3, val) argument
1690 #define write_c0_memorymapid(val) __write_32bit_c0_register($4, 5, val) argument
1693 #define write_c0_pagemask(val) __write_32bit_c0_register($5, 0, val) argument
1696 #define write_c0_pagegrain(val) __write_32bit_c0_register($5, 1, val) argument
1699 #define write_c0_wired(val) __write_32bit_c0_register($6, 0, val) argument
1704 #define write_c0_cache(val) __write_32bit_c0_register($7, 0, val) argument
1707 #define write_c0_badvaddr(val) __write_ulong_c0_register($8, 0, val) argument
1713 #define write_c0_count(val) __write_32bit_c0_register($9, 0, val) argument
1716 #define write_c0_entryhi(val) __write_ulong_c0_register($10, 0, val) argument
1719 #define write_c0_guestctl1(val) __write_32bit_c0_register($10, 4, val) argument
1722 #define write_c0_guestctl2(val) __write_32bit_c0_register($10, 5, val) argument
1725 #define write_c0_guestctl3(val) __write_32bit_c0_register($10, 6, val) argument
1728 #define write_c0_compare(val) __write_32bit_c0_register($11, 0, val) argument
1731 #define write_c0_guestctl0ext(val) __write_32bit_c0_register($11, 4, val) argument
1735 #define write_c0_status(val) __write_32bit_c0_register($12, 0, val) argument
1738 #define write_c0_guestctl0(val) __write_32bit_c0_register($12, 6, val) argument
1741 #define write_c0_gtoffset(val) __write_32bit_c0_register($12, 7, val) argument
1744 #define write_c0_cause(val) __write_32bit_c0_register($13, 0, val) argument
1747 #define write_c0_epc(val) __write_ulong_c0_register($14, 0, val) argument
1761 #define write_c0_config(val) __write_32bit_c0_register($16, 0, val) argument
1762 #define write_c0_config1(val) __write_32bit_c0_register($16, 1, val) argument
1763 #define write_c0_config2(val) __write_32bit_c0_register($16, 2, val) argument
1764 #define write_c0_config3(val) __write_32bit_c0_register($16, 3, val) argument
1765 #define write_c0_config4(val) __write_32bit_c0_register($16, 4, val) argument
1766 #define write_c0_config5(val) __write_32bit_c0_register($16, 5, val) argument
1767 #define write_c0_config6(val) __write_32bit_c0_register($16, 6, val) argument
1768 #define write_c0_config7(val) __write_32bit_c0_register($16, 7, val) argument
1771 #define write_c0_lladdr(val) __write_ulong_c0_register($17, 0, val) argument
1773 #define write_c0_maar(val) __write_ulong_c0_register($17, 1, val) argument
1775 #define writex_c0_maar(val) __writex_32bit_c0_register($17, 1, val) argument
1777 #define write_c0_maari(val) __write_32bit_c0_register($17, 2, val) argument
1790 #define write_c0_watchlo0(val) __write_ulong_c0_register($18, 0, val) argument
1791 #define write_c0_watchlo1(val) __write_ulong_c0_register($18, 1, val) argument
1792 #define write_c0_watchlo2(val) __write_ulong_c0_register($18, 2, val) argument
1793 #define write_c0_watchlo3(val) __write_ulong_c0_register($18, 3, val) argument
1794 #define write_c0_watchlo4(val) __write_ulong_c0_register($18, 4, val) argument
1795 #define write_c0_watchlo5(val) __write_ulong_c0_register($18, 5, val) argument
1796 #define write_c0_watchlo6(val) __write_ulong_c0_register($18, 6, val) argument
1797 #define write_c0_watchlo7(val) __write_ulong_c0_register($18, 7, val) argument
1811 #define write_c0_watchhi0(val) __write_32bit_c0_register($19, 0, val) argument
1812 #define write_c0_watchhi1(val) __write_32bit_c0_register($19, 1, val) argument
1813 #define write_c0_watchhi2(val) __write_32bit_c0_register($19, 2, val) argument
1814 #define write_c0_watchhi3(val) __write_32bit_c0_register($19, 3, val) argument
1815 #define write_c0_watchhi4(val) __write_32bit_c0_register($19, 4, val) argument
1816 #define write_c0_watchhi5(val) __write_32bit_c0_register($19, 5, val) argument
1817 #define write_c0_watchhi6(val) __write_32bit_c0_register($19, 6, val) argument
1818 #define write_c0_watchhi7(val) __write_32bit_c0_register($19, 7, val) argument
1821 #define write_c0_xcontext(val) __write_ulong_c0_register($20, 0, val) argument
1824 #define write_c0_intcontrol(val) __write_32bit_c0_ctrl_register($20, val) argument
1827 #define write_c0_framemask(val) __write_32bit_c0_register($21, 0, val) argument
1830 #define write_c0_diag(val) __write_32bit_c0_register($22, 0, val) argument
1834 #define write_c0_r10k_diag(val) __write_64bit_c0_register($22, 0, val) argument
1837 #define write_c0_diag1(val) __write_32bit_c0_register($22, 1, val) argument
1840 #define write_c0_diag2(val) __write_32bit_c0_register($22, 2, val) argument
1843 #define write_c0_diag3(val) __write_32bit_c0_register($22, 3, val) argument
1846 #define write_c0_diag4(val) __write_32bit_c0_register($22, 4, val) argument
1849 #define write_c0_diag5(val) __write_32bit_c0_register($22, 5, val) argument
1852 #define write_c0_debug(val) __write_32bit_c0_register($23, 0, val) argument
1855 #define write_c0_depc(val) __write_ulong_c0_register($24, 0, val) argument
1861 #define write_c0_perfctrl0(val) __write_32bit_c0_register($25, 0, val) argument
1863 #define write_c0_perfcntr0(val) __write_32bit_c0_register($25, 1, val) argument
1865 #define write_c0_perfcntr0_64(val) __write_64bit_c0_register($25, 1, val) argument
1867 #define write_c0_perfctrl1(val) __write_32bit_c0_register($25, 2, val) argument
1869 #define write_c0_perfcntr1(val) __write_32bit_c0_register($25, 3, val) argument
1871 #define write_c0_perfcntr1_64(val) __write_64bit_c0_register($25, 3, val) argument
1873 #define write_c0_perfctrl2(val) __write_32bit_c0_register($25, 4, val) argument
1875 #define write_c0_perfcntr2(val) __write_32bit_c0_register($25, 5, val) argument
1877 #define write_c0_perfcntr2_64(val) __write_64bit_c0_register($25, 5, val) argument
1879 #define write_c0_perfctrl3(val) __write_32bit_c0_register($25, 6, val) argument
1881 #define write_c0_perfcntr3(val) __write_32bit_c0_register($25, 7, val) argument
1883 #define write_c0_perfcntr3_64(val) __write_64bit_c0_register($25, 7, val) argument
1886 #define write_c0_ecc(val) __write_32bit_c0_register($26, 0, val) argument
1889 #define write_c0_derraddr0(val) __write_ulong_c0_register($26, 1, val) argument
1894 #define write_c0_derraddr1(val) __write_ulong_c0_register($27, 1, val) argument
1897 #define write_c0_taglo(val) __write_32bit_c0_register($28, 0, val) argument
1900 #define write_c0_dtaglo(val) __write_32bit_c0_register($28, 2, val) argument
1903 #define write_c0_ddatalo(val) __write_32bit_c0_register($28, 3, val) argument
1906 #define write_c0_staglo(val) __write_32bit_c0_register($28, 4, val) argument
1909 #define write_c0_taghi(val) __write_32bit_c0_register($29, 0, val) argument
1912 #define write_c0_errorepc(val) __write_ulong_c0_register($30, 0, val) argument
1916 #define write_c0_hwrena(val) __write_32bit_c0_register($7, 0, val) argument
1919 #define write_c0_intctl(val) __write_32bit_c0_register($12, 1, val) argument
1922 #define write_c0_srsctl(val) __write_32bit_c0_register($12, 2, val) argument
1925 #define write_c0_srsmap(val) __write_32bit_c0_register($12, 3, val) argument
1928 #define write_c0_ebase(val) __write_32bit_c0_register($15, 1, val) argument
1931 #define write_c0_ebase_64(val) __write_64bit_c0_register($15, 1, val) argument
1934 #define write_c0_cdmmbase(val) __write_ulong_c0_register($15, 2, val) argument
1938 #define write_c0_segctl0(val) __write_32bit_c0_register($5, 2, val) argument
1941 #define write_c0_segctl1(val) __write_32bit_c0_register($5, 3, val) argument
1944 #define write_c0_segctl2(val) __write_32bit_c0_register($5, 4, val) argument
1948 #define write_c0_pwbase(val) __write_ulong_c0_register($5, 5, val) argument
1951 #define write_c0_pwfield(val) __write_ulong_c0_register($5, 6, val) argument
1954 #define write_c0_pwsize(val) __write_ulong_c0_register($5, 7, val) argument
1957 #define write_c0_pwctl(val) __write_32bit_c0_register($6, 6, val) argument
1960 #define write_c0_pgd(val) __write_64bit_c0_register($9, 7, val) argument
1963 #define write_c0_kpgd(val) __write_64bit_c0_register($31, 7, val) argument
1967 #define write_c0_cvmcount(val) __write_ulong_c0_register($9, 6, val) argument
1970 #define write_c0_cvmctl(val) __write_64bit_c0_register($9, 7, val) argument
1973 #define write_c0_cvmmemctl(val) __write_64bit_c0_register($11, 7, val) argument
1976 #define write_c0_cvmmemctl2(val) __write_64bit_c0_register($16, 6, val) argument
1979 #define write_c0_cvmvmconfig(val) __write_64bit_c0_register($16, 7, val) argument
1986 #define write_octeon_c0_icacheerr(val) __write_64bit_c0_register($27, 0, val) argument
1989 #define write_octeon_c0_dcacheerr(val) __write_64bit_c0_register($27, 1, val) argument
1993 #define write_c0_brcm_config_0(val) __write_32bit_c0_register($22, 0, val) argument
1996 #define write_c0_brcm_bus_pll(val) __write_32bit_c0_register($22, 4, val) argument
1999 #define write_c0_brcm_reset(val) __write_32bit_c0_register($22, 5, val) argument
2003 #define write_c0_brcm_cmt_intr(val) __write_32bit_c0_register($22, 1, val) argument
2006 #define write_c0_brcm_cmt_ctrl(val) __write_32bit_c0_register($22, 2, val) argument
2009 #define write_c0_brcm_cmt_local(val) __write_32bit_c0_register($22, 3, val) argument
2012 #define write_c0_brcm_config_1(val) __write_32bit_c0_register($22, 5, val) argument
2015 #define write_c0_brcm_cbr(val) __write_32bit_c0_register($22, 6, val) argument
2019 #define write_c0_brcm_config(val) __write_32bit_c0_register($22, 0, val) argument
2022 #define write_c0_brcm_mode(val) __write_32bit_c0_register($22, 1, val) argument
2025 #define write_c0_brcm_action(val) __write_32bit_c0_register($22, 2, val) argument
2028 #define write_c0_brcm_edsp(val) __write_32bit_c0_register($22, 3, val) argument
2031 #define write_c0_brcm_bootvec(val) __write_32bit_c0_register($22, 4, val) argument
2034 #define write_c0_brcm_sleepcount(val) __write_32bit_c0_register($22, 7, val) argument
2037 #define write_c0_page_ctrl(val) __write_32bit_c0_register($5, 4, val) argument
2157 #define __write_ulong_gc0_register(reg, sel, val) \ argument
2160 __write_32bit_gc0_register(reg, sel, val); \
2162 __write_64bit_gc0_register(reg, sel, val); \
2166 #define write_gc0_index(val) __write_32bit_gc0_register($0, 0, val) argument
2169 #define write_gc0_entrylo0(val) __write_ulong_gc0_register($2, 0, val) argument
2172 #define write_gc0_entrylo1(val) __write_ulong_gc0_register($3, 0, val) argument
2175 #define write_gc0_context(val) __write_ulong_gc0_register($4, 0, val) argument
2178 #define write_gc0_contextconfig(val) __write_32bit_gc0_register($4, 1, val) argument
2181 #define write_gc0_userlocal(val) __write_ulong_gc0_register($4, 2, val) argument
2184 #define write_gc0_xcontextconfig(val) __write_ulong_gc0_register($4, 3, val) argument
2187 #define write_gc0_pagemask(val) __write_32bit_gc0_register($5, 0, val) argument
2190 #define write_gc0_pagegrain(val) __write_32bit_gc0_register($5, 1, val) argument
2193 #define write_gc0_segctl0(val) __write_ulong_gc0_register($5, 2, val) argument
2196 #define write_gc0_segctl1(val) __write_ulong_gc0_register($5, 3, val) argument
2199 #define write_gc0_segctl2(val) __write_ulong_gc0_register($5, 4, val) argument
2202 #define write_gc0_pwbase(val) __write_ulong_gc0_register($5, 5, val) argument
2205 #define write_gc0_pwfield(val) __write_ulong_gc0_register($5, 6, val) argument
2208 #define write_gc0_pwsize(val) __write_ulong_gc0_register($5, 7, val) argument
2211 #define write_gc0_wired(val) __write_32bit_gc0_register($6, 0, val) argument
2214 #define write_gc0_pwctl(val) __write_32bit_gc0_register($6, 6, val) argument
2217 #define write_gc0_hwrena(val) __write_32bit_gc0_register($7, 0, val) argument
2220 #define write_gc0_badvaddr(val) __write_ulong_gc0_register($8, 0, val) argument
2223 #define write_gc0_badinstr(val) __write_32bit_gc0_register($8, 1, val) argument
2226 #define write_gc0_badinstrp(val) __write_32bit_gc0_register($8, 2, val) argument
2231 #define write_gc0_entryhi(val) __write_ulong_gc0_register($10, 0, val) argument
2234 #define write_gc0_compare(val) __write_32bit_gc0_register($11, 0, val) argument
2237 #define write_gc0_status(val) __write_32bit_gc0_register($12, 0, val) argument
2240 #define write_gc0_intctl(val) __write_32bit_gc0_register($12, 1, val) argument
2243 #define write_gc0_cause(val) __write_32bit_gc0_register($13, 0, val) argument
2246 #define write_gc0_epc(val) __write_ulong_gc0_register($14, 0, val) argument
2251 #define write_gc0_ebase(val) __write_32bit_gc0_register($15, 1, val) argument
2254 #define write_gc0_ebase_64(val) __write_64bit_gc0_register($15, 1, val) argument
2264 #define write_gc0_config(val) __write_32bit_gc0_register($16, 0, val) argument
2265 #define write_gc0_config1(val) __write_32bit_gc0_register($16, 1, val) argument
2266 #define write_gc0_config2(val) __write_32bit_gc0_register($16, 2, val) argument
2267 #define write_gc0_config3(val) __write_32bit_gc0_register($16, 3, val) argument
2268 #define write_gc0_config4(val) __write_32bit_gc0_register($16, 4, val) argument
2269 #define write_gc0_config5(val) __write_32bit_gc0_register($16, 5, val) argument
2270 #define write_gc0_config6(val) __write_32bit_gc0_register($16, 6, val) argument
2271 #define write_gc0_config7(val) __write_32bit_gc0_register($16, 7, val) argument
2274 #define write_gc0_lladdr(val) __write_ulong_gc0_register($17, 0, val) argument
2284 #define write_gc0_watchlo0(val) __write_ulong_gc0_register($18, 0, val) argument
2285 #define write_gc0_watchlo1(val) __write_ulong_gc0_register($18, 1, val) argument
2286 #define write_gc0_watchlo2(val) __write_ulong_gc0_register($18, 2, val) argument
2287 #define write_gc0_watchlo3(val) __write_ulong_gc0_register($18, 3, val) argument
2288 #define write_gc0_watchlo4(val) __write_ulong_gc0_register($18, 4, val) argument
2289 #define write_gc0_watchlo5(val) __write_ulong_gc0_register($18, 5, val) argument
2290 #define write_gc0_watchlo6(val) __write_ulong_gc0_register($18, 6, val) argument
2291 #define write_gc0_watchlo7(val) __write_ulong_gc0_register($18, 7, val) argument
2301 #define write_gc0_watchhi0(val) __write_32bit_gc0_register($19, 0, val) argument
2302 #define write_gc0_watchhi1(val) __write_32bit_gc0_register($19, 1, val) argument
2303 #define write_gc0_watchhi2(val) __write_32bit_gc0_register($19, 2, val) argument
2304 #define write_gc0_watchhi3(val) __write_32bit_gc0_register($19, 3, val) argument
2305 #define write_gc0_watchhi4(val) __write_32bit_gc0_register($19, 4, val) argument
2306 #define write_gc0_watchhi5(val) __write_32bit_gc0_register($19, 5, val) argument
2307 #define write_gc0_watchhi6(val) __write_32bit_gc0_register($19, 6, val) argument
2308 #define write_gc0_watchhi7(val) __write_32bit_gc0_register($19, 7, val) argument
2311 #define write_gc0_xcontext(val) __write_ulong_gc0_register($20, 0, val) argument
2314 #define write_gc0_perfctrl0(val) __write_32bit_gc0_register($25, 0, val) argument
2316 #define write_gc0_perfcntr0(val) __write_32bit_gc0_register($25, 1, val) argument
2318 #define write_gc0_perfcntr0_64(val) __write_64bit_gc0_register($25, 1, val) argument
2320 #define write_gc0_perfctrl1(val) __write_32bit_gc0_register($25, 2, val) argument
2322 #define write_gc0_perfcntr1(val) __write_32bit_gc0_register($25, 3, val) argument
2324 #define write_gc0_perfcntr1_64(val) __write_64bit_gc0_register($25, 3, val) argument
2326 #define write_gc0_perfctrl2(val) __write_32bit_gc0_register($25, 4, val) argument
2328 #define write_gc0_perfcntr2(val) __write_32bit_gc0_register($25, 5, val) argument
2330 #define write_gc0_perfcntr2_64(val) __write_64bit_gc0_register($25, 5, val) argument
2332 #define write_gc0_perfctrl3(val) __write_32bit_gc0_register($25, 6, val) argument
2334 #define write_gc0_perfcntr3(val) __write_32bit_gc0_register($25, 7, val) argument
2336 #define write_gc0_perfcntr3_64(val) __write_64bit_gc0_register($25, 7, val) argument
2339 #define write_gc0_errorepc(val) __write_ulong_gc0_register($30, 0, val) argument
2347 #define write_gc0_kscratch1(val) __write_ulong_gc0_register($31, 2, val) argument
2348 #define write_gc0_kscratch2(val) __write_ulong_gc0_register($31, 3, val) argument
2349 #define write_gc0_kscratch3(val) __write_ulong_gc0_register($31, 4, val) argument
2350 #define write_gc0_kscratch4(val) __write_ulong_gc0_register($31, 5, val) argument
2351 #define write_gc0_kscratch5(val) __write_ulong_gc0_register($31, 6, val) argument
2352 #define write_gc0_kscratch6(val) __write_ulong_gc0_register($31, 7, val) argument
2356 #define write_gc0_cvmcount(val) __write_ulong_gc0_register($9, 6, val) argument
2359 #define write_gc0_cvmctl(val) __write_64bit_gc0_register($9, 7, val) argument
2362 #define write_gc0_cvmmemctl(val) __write_64bit_gc0_register($11, 7, val) argument
2365 #define write_gc0_cvmmemctl2(val) __write_64bit_gc0_register($16, 6, val) argument
2387 #define write_32bit_cp1_register(dest, val) \ argument
2395 : : "r" (val)); \
2414 #define wrdsp(val, mask) \ argument
2423 : "r" (val), "i" (mask)); \
2646 #define wrdsp(val, mask) \ argument
2657 : "r" (val), "i" (mask)); \
2676 #define _dsp_mtxxx(val, ins) \ argument
2686 : "r" (val), "i" (ins)); \
2694 #define _dsp_mtlo(val, reg) _dsp_mtxxx(val, ((reg << 14) | 0x1000)) argument
2695 #define _dsp_mthi(val, reg) _dsp_mtxxx(val, ((reg << 14) | 0x0000)) argument
2702 #define _dsp_mtlo(val, reg) _dsp_mtxxx(val, ((reg << 11) | 0x0002)) argument
2703 #define _dsp_mthi(val, reg) _dsp_mtxxx(val, ((reg << 11) | 0x0000)) argument
2877 change_##name(unsigned int change, unsigned int val) \
2883 new |= (val & change); \