Lines Matching refs:val
1319 #define write_r10k_perf_cntr(counter,val) \ argument
1324 : "r" (val), "i" (counter)); \
1338 #define write_r10k_perf_cntl(counter,val) \ argument
1343 : "r" (val), "i" (counter)); \
1445 #define __write_ulong_c0_register(reg, sel, val) \ argument
1448 __write_32bit_c0_register(reg, sel, val); \
1450 __write_64bit_c0_register(reg, sel, val); \
1504 #define __write_64bit_c0_split(source, sel, val) \ argument
1506 unsigned long long __tmp = (val); \
1583 #define write_c0_index(val) __write_32bit_c0_register($0, 0, val) argument
1586 #define write_c0_random(val) __write_32bit_c0_register($1, 0, val) argument
1589 #define write_c0_entrylo0(val) __write_ulong_c0_register($2, 0, val) argument
1592 #define writex_c0_entrylo0(val) __writex_32bit_c0_register($2, 0, val) argument
1595 #define write_c0_entrylo1(val) __write_ulong_c0_register($3, 0, val) argument
1598 #define writex_c0_entrylo1(val) __writex_32bit_c0_register($3, 0, val) argument
1601 #define write_c0_conf(val) __write_32bit_c0_register($3, 0, val) argument
1606 #define write_c0_context(val) __write_ulong_c0_register($4, 0, val) argument
1609 #define write_c0_contextconfig(val) __write_32bit_c0_register($4, 1, val) argument
1612 #define write_c0_userlocal(val) __write_ulong_c0_register($4, 2, val) argument
1615 #define write_c0_xcontextconfig(val) __write_ulong_c0_register($4, 3, val) argument
1618 #define write_c0_memorymapid(val) __write_32bit_c0_register($4, 5, val) argument
1621 #define write_c0_pagemask(val) __write_32bit_c0_register($5, 0, val) argument
1624 #define write_c0_pagegrain(val) __write_32bit_c0_register($5, 1, val) argument
1627 #define write_c0_wired(val) __write_32bit_c0_register($6, 0, val) argument
1632 #define write_c0_cache(val) __write_32bit_c0_register($7, 0, val) argument
1635 #define write_c0_badvaddr(val) __write_ulong_c0_register($8, 0, val) argument
1641 #define write_c0_count(val) __write_32bit_c0_register($9, 0, val) argument
1644 #define write_c0_count2(val) __write_32bit_c0_register($9, 6, val) argument
1647 #define write_c0_count3(val) __write_32bit_c0_register($9, 7, val) argument
1650 #define write_c0_entryhi(val) __write_ulong_c0_register($10, 0, val) argument
1653 #define write_c0_guestctl1(val) __write_32bit_c0_register($10, 4, val) argument
1656 #define write_c0_guestctl2(val) __write_32bit_c0_register($10, 5, val) argument
1659 #define write_c0_guestctl3(val) __write_32bit_c0_register($10, 6, val) argument
1662 #define write_c0_compare(val) __write_32bit_c0_register($11, 0, val) argument
1665 #define write_c0_guestctl0ext(val) __write_32bit_c0_register($11, 4, val) argument
1668 #define write_c0_compare2(val) __write_32bit_c0_register($11, 6, val) argument
1671 #define write_c0_compare3(val) __write_32bit_c0_register($11, 7, val) argument
1675 #define write_c0_status(val) __write_32bit_c0_register($12, 0, val) argument
1678 #define write_c0_guestctl0(val) __write_32bit_c0_register($12, 6, val) argument
1681 #define write_c0_gtoffset(val) __write_32bit_c0_register($12, 7, val) argument
1684 #define write_c0_cause(val) __write_32bit_c0_register($13, 0, val) argument
1687 #define write_c0_epc(val) __write_ulong_c0_register($14, 0, val) argument
1701 #define write_c0_config(val) __write_32bit_c0_register($16, 0, val) argument
1702 #define write_c0_config1(val) __write_32bit_c0_register($16, 1, val) argument
1703 #define write_c0_config2(val) __write_32bit_c0_register($16, 2, val) argument
1704 #define write_c0_config3(val) __write_32bit_c0_register($16, 3, val) argument
1705 #define write_c0_config4(val) __write_32bit_c0_register($16, 4, val) argument
1706 #define write_c0_config5(val) __write_32bit_c0_register($16, 5, val) argument
1707 #define write_c0_config6(val) __write_32bit_c0_register($16, 6, val) argument
1708 #define write_c0_config7(val) __write_32bit_c0_register($16, 7, val) argument
1711 #define write_c0_lladdr(val) __write_ulong_c0_register($17, 0, val) argument
1713 #define write_c0_maar(val) __write_ulong_c0_register($17, 1, val) argument
1715 #define write_c0_maari(val) __write_32bit_c0_register($17, 2, val) argument
1728 #define write_c0_watchlo0(val) __write_ulong_c0_register($18, 0, val) argument
1729 #define write_c0_watchlo1(val) __write_ulong_c0_register($18, 1, val) argument
1730 #define write_c0_watchlo2(val) __write_ulong_c0_register($18, 2, val) argument
1731 #define write_c0_watchlo3(val) __write_ulong_c0_register($18, 3, val) argument
1732 #define write_c0_watchlo4(val) __write_ulong_c0_register($18, 4, val) argument
1733 #define write_c0_watchlo5(val) __write_ulong_c0_register($18, 5, val) argument
1734 #define write_c0_watchlo6(val) __write_ulong_c0_register($18, 6, val) argument
1735 #define write_c0_watchlo7(val) __write_ulong_c0_register($18, 7, val) argument
1749 #define write_c0_watchhi0(val) __write_32bit_c0_register($19, 0, val) argument
1750 #define write_c0_watchhi1(val) __write_32bit_c0_register($19, 1, val) argument
1751 #define write_c0_watchhi2(val) __write_32bit_c0_register($19, 2, val) argument
1752 #define write_c0_watchhi3(val) __write_32bit_c0_register($19, 3, val) argument
1753 #define write_c0_watchhi4(val) __write_32bit_c0_register($19, 4, val) argument
1754 #define write_c0_watchhi5(val) __write_32bit_c0_register($19, 5, val) argument
1755 #define write_c0_watchhi6(val) __write_32bit_c0_register($19, 6, val) argument
1756 #define write_c0_watchhi7(val) __write_32bit_c0_register($19, 7, val) argument
1759 #define write_c0_xcontext(val) __write_ulong_c0_register($20, 0, val) argument
1762 #define write_c0_intcontrol(val) __write_32bit_c0_ctrl_register($20, val) argument
1765 #define write_c0_framemask(val) __write_32bit_c0_register($21, 0, val) argument
1768 #define write_c0_diag(val) __write_32bit_c0_register($22, 0, val) argument
1772 #define write_c0_r10k_diag(val) __write_64bit_c0_register($22, 0, val) argument
1775 #define write_c0_diag1(val) __write_32bit_c0_register($22, 1, val) argument
1778 #define write_c0_diag2(val) __write_32bit_c0_register($22, 2, val) argument
1781 #define write_c0_diag3(val) __write_32bit_c0_register($22, 3, val) argument
1784 #define write_c0_diag4(val) __write_32bit_c0_register($22, 4, val) argument
1787 #define write_c0_diag5(val) __write_32bit_c0_register($22, 5, val) argument
1790 #define write_c0_debug(val) __write_32bit_c0_register($23, 0, val) argument
1793 #define write_c0_depc(val) __write_ulong_c0_register($24, 0, val) argument
1799 #define write_c0_perfctrl0(val) __write_32bit_c0_register($25, 0, val) argument
1801 #define write_c0_perfcntr0(val) __write_32bit_c0_register($25, 1, val) argument
1803 #define write_c0_perfcntr0_64(val) __write_64bit_c0_register($25, 1, val) argument
1805 #define write_c0_perfctrl1(val) __write_32bit_c0_register($25, 2, val) argument
1807 #define write_c0_perfcntr1(val) __write_32bit_c0_register($25, 3, val) argument
1809 #define write_c0_perfcntr1_64(val) __write_64bit_c0_register($25, 3, val) argument
1811 #define write_c0_perfctrl2(val) __write_32bit_c0_register($25, 4, val) argument
1813 #define write_c0_perfcntr2(val) __write_32bit_c0_register($25, 5, val) argument
1815 #define write_c0_perfcntr2_64(val) __write_64bit_c0_register($25, 5, val) argument
1817 #define write_c0_perfctrl3(val) __write_32bit_c0_register($25, 6, val) argument
1819 #define write_c0_perfcntr3(val) __write_32bit_c0_register($25, 7, val) argument
1821 #define write_c0_perfcntr3_64(val) __write_64bit_c0_register($25, 7, val) argument
1824 #define write_c0_ecc(val) __write_32bit_c0_register($26, 0, val) argument
1827 #define write_c0_derraddr0(val) __write_ulong_c0_register($26, 1, val) argument
1832 #define write_c0_derraddr1(val) __write_ulong_c0_register($27, 1, val) argument
1835 #define write_c0_taglo(val) __write_32bit_c0_register($28, 0, val) argument
1838 #define write_c0_dtaglo(val) __write_32bit_c0_register($28, 2, val) argument
1841 #define write_c0_ddatalo(val) __write_32bit_c0_register($28, 3, val) argument
1844 #define write_c0_staglo(val) __write_32bit_c0_register($28, 4, val) argument
1847 #define write_c0_taghi(val) __write_32bit_c0_register($29, 0, val) argument
1850 #define write_c0_errorepc(val) __write_ulong_c0_register($30, 0, val) argument
1854 #define write_c0_hwrena(val) __write_32bit_c0_register($7, 0, val) argument
1857 #define write_c0_intctl(val) __write_32bit_c0_register($12, 1, val) argument
1860 #define write_c0_srsctl(val) __write_32bit_c0_register($12, 2, val) argument
1863 #define write_c0_srsmap(val) __write_32bit_c0_register($12, 3, val) argument
1866 #define write_c0_ebase(val) __write_32bit_c0_register($15, 1, val) argument
1869 #define write_c0_ebase_64(val) __write_64bit_c0_register($15, 1, val) argument
1872 #define write_c0_cdmmbase(val) __write_ulong_c0_register($15, 2, val) argument
1876 #define write_c0_segctl0(val) __write_32bit_c0_register($5, 2, val) argument
1879 #define write_c0_segctl1(val) __write_32bit_c0_register($5, 3, val) argument
1882 #define write_c0_segctl2(val) __write_32bit_c0_register($5, 4, val) argument
1886 #define write_c0_pwbase(val) __write_ulong_c0_register($5, 5, val) argument
1889 #define write_c0_pwfield(val) __write_ulong_c0_register($5, 6, val) argument
1892 #define write_c0_pwsize(val) __write_ulong_c0_register($5, 7, val) argument
1895 #define write_c0_pwctl(val) __write_32bit_c0_register($6, 6, val) argument
1898 #define write_c0_pgd(val) __write_64bit_c0_register($9, 7, val) argument
1901 #define write_c0_kpgd(val) __write_64bit_c0_register($31, 7, val) argument
1905 #define write_c0_cvmcount(val) __write_ulong_c0_register($9, 6, val) argument
1908 #define write_c0_cvmctl(val) __write_64bit_c0_register($9, 7, val) argument
1911 #define write_c0_cvmmemctl(val) __write_64bit_c0_register($11, 7, val) argument
1914 #define write_c0_cvmmemctl2(val) __write_64bit_c0_register($16, 6, val) argument
1917 #define write_c0_cvmvmconfig(val) __write_64bit_c0_register($16, 7, val) argument
1924 #define write_octeon_c0_icacheerr(val) __write_64bit_c0_register($27, 0, val) argument
1927 #define write_octeon_c0_dcacheerr(val) __write_64bit_c0_register($27, 1, val) argument
1931 #define write_c0_brcm_config_0(val) __write_32bit_c0_register($22, 0, val) argument
1934 #define write_c0_brcm_bus_pll(val) __write_32bit_c0_register($22, 4, val) argument
1937 #define write_c0_brcm_reset(val) __write_32bit_c0_register($22, 5, val) argument
1941 #define write_c0_brcm_cmt_intr(val) __write_32bit_c0_register($22, 1, val) argument
1944 #define write_c0_brcm_cmt_ctrl(val) __write_32bit_c0_register($22, 2, val) argument
1947 #define write_c0_brcm_cmt_local(val) __write_32bit_c0_register($22, 3, val) argument
1950 #define write_c0_brcm_config_1(val) __write_32bit_c0_register($22, 5, val) argument
1953 #define write_c0_brcm_cbr(val) __write_32bit_c0_register($22, 6, val) argument
1957 #define write_c0_brcm_config(val) __write_32bit_c0_register($22, 0, val) argument
1960 #define write_c0_brcm_mode(val) __write_32bit_c0_register($22, 1, val) argument
1963 #define write_c0_brcm_action(val) __write_32bit_c0_register($22, 2, val) argument
1966 #define write_c0_brcm_edsp(val) __write_32bit_c0_register($22, 3, val) argument
1969 #define write_c0_brcm_bootvec(val) __write_32bit_c0_register($22, 4, val) argument
1972 #define write_c0_brcm_sleepcount(val) __write_32bit_c0_register($22, 7, val) argument
2061 #define __write_ulong_gc0_register(reg, sel, val) \ argument
2064 __write_32bit_gc0_register(reg, sel, val); \
2066 __write_64bit_gc0_register(reg, sel, val); \
2070 #define write_gc0_index(val) __write_32bit_gc0_register($0, 0, val) argument
2073 #define write_gc0_entrylo0(val) __write_ulong_gc0_register($2, 0, val) argument
2076 #define write_gc0_entrylo1(val) __write_ulong_gc0_register($3, 0, val) argument
2079 #define write_gc0_context(val) __write_ulong_gc0_register($4, 0, val) argument
2082 #define write_gc0_contextconfig(val) __write_32bit_gc0_register($4, 1, val) argument
2085 #define write_gc0_userlocal(val) __write_ulong_gc0_register($4, 2, val) argument
2088 #define write_gc0_xcontextconfig(val) __write_ulong_gc0_register($4, 3, val) argument
2091 #define write_gc0_pagemask(val) __write_32bit_gc0_register($5, 0, val) argument
2094 #define write_gc0_pagegrain(val) __write_32bit_gc0_register($5, 1, val) argument
2097 #define write_gc0_segctl0(val) __write_ulong_gc0_register($5, 2, val) argument
2100 #define write_gc0_segctl1(val) __write_ulong_gc0_register($5, 3, val) argument
2103 #define write_gc0_segctl2(val) __write_ulong_gc0_register($5, 4, val) argument
2106 #define write_gc0_pwbase(val) __write_ulong_gc0_register($5, 5, val) argument
2109 #define write_gc0_pwfield(val) __write_ulong_gc0_register($5, 6, val) argument
2112 #define write_gc0_pwsize(val) __write_ulong_gc0_register($5, 7, val) argument
2115 #define write_gc0_wired(val) __write_32bit_gc0_register($6, 0, val) argument
2118 #define write_gc0_pwctl(val) __write_32bit_gc0_register($6, 6, val) argument
2121 #define write_gc0_hwrena(val) __write_32bit_gc0_register($7, 0, val) argument
2124 #define write_gc0_badvaddr(val) __write_ulong_gc0_register($8, 0, val) argument
2127 #define write_gc0_badinstr(val) __write_32bit_gc0_register($8, 1, val) argument
2130 #define write_gc0_badinstrp(val) __write_32bit_gc0_register($8, 2, val) argument
2135 #define write_gc0_entryhi(val) __write_ulong_gc0_register($10, 0, val) argument
2138 #define write_gc0_compare(val) __write_32bit_gc0_register($11, 0, val) argument
2141 #define write_gc0_status(val) __write_32bit_gc0_register($12, 0, val) argument
2144 #define write_gc0_intctl(val) __write_32bit_gc0_register($12, 1, val) argument
2147 #define write_gc0_cause(val) __write_32bit_gc0_register($13, 0, val) argument
2150 #define write_gc0_epc(val) __write_ulong_gc0_register($14, 0, val) argument
2155 #define write_gc0_ebase(val) __write_32bit_gc0_register($15, 1, val) argument
2158 #define write_gc0_ebase_64(val) __write_64bit_gc0_register($15, 1, val) argument
2168 #define write_gc0_config(val) __write_32bit_gc0_register($16, 0, val) argument
2169 #define write_gc0_config1(val) __write_32bit_gc0_register($16, 1, val) argument
2170 #define write_gc0_config2(val) __write_32bit_gc0_register($16, 2, val) argument
2171 #define write_gc0_config3(val) __write_32bit_gc0_register($16, 3, val) argument
2172 #define write_gc0_config4(val) __write_32bit_gc0_register($16, 4, val) argument
2173 #define write_gc0_config5(val) __write_32bit_gc0_register($16, 5, val) argument
2174 #define write_gc0_config6(val) __write_32bit_gc0_register($16, 6, val) argument
2175 #define write_gc0_config7(val) __write_32bit_gc0_register($16, 7, val) argument
2178 #define write_gc0_lladdr(val) __write_ulong_gc0_register($17, 0, val) argument
2188 #define write_gc0_watchlo0(val) __write_ulong_gc0_register($18, 0, val) argument
2189 #define write_gc0_watchlo1(val) __write_ulong_gc0_register($18, 1, val) argument
2190 #define write_gc0_watchlo2(val) __write_ulong_gc0_register($18, 2, val) argument
2191 #define write_gc0_watchlo3(val) __write_ulong_gc0_register($18, 3, val) argument
2192 #define write_gc0_watchlo4(val) __write_ulong_gc0_register($18, 4, val) argument
2193 #define write_gc0_watchlo5(val) __write_ulong_gc0_register($18, 5, val) argument
2194 #define write_gc0_watchlo6(val) __write_ulong_gc0_register($18, 6, val) argument
2195 #define write_gc0_watchlo7(val) __write_ulong_gc0_register($18, 7, val) argument
2205 #define write_gc0_watchhi0(val) __write_32bit_gc0_register($19, 0, val) argument
2206 #define write_gc0_watchhi1(val) __write_32bit_gc0_register($19, 1, val) argument
2207 #define write_gc0_watchhi2(val) __write_32bit_gc0_register($19, 2, val) argument
2208 #define write_gc0_watchhi3(val) __write_32bit_gc0_register($19, 3, val) argument
2209 #define write_gc0_watchhi4(val) __write_32bit_gc0_register($19, 4, val) argument
2210 #define write_gc0_watchhi5(val) __write_32bit_gc0_register($19, 5, val) argument
2211 #define write_gc0_watchhi6(val) __write_32bit_gc0_register($19, 6, val) argument
2212 #define write_gc0_watchhi7(val) __write_32bit_gc0_register($19, 7, val) argument
2215 #define write_gc0_xcontext(val) __write_ulong_gc0_register($20, 0, val) argument
2218 #define write_gc0_perfctrl0(val) __write_32bit_gc0_register($25, 0, val) argument
2220 #define write_gc0_perfcntr0(val) __write_32bit_gc0_register($25, 1, val) argument
2222 #define write_gc0_perfcntr0_64(val) __write_64bit_gc0_register($25, 1, val) argument
2224 #define write_gc0_perfctrl1(val) __write_32bit_gc0_register($25, 2, val) argument
2226 #define write_gc0_perfcntr1(val) __write_32bit_gc0_register($25, 3, val) argument
2228 #define write_gc0_perfcntr1_64(val) __write_64bit_gc0_register($25, 3, val) argument
2230 #define write_gc0_perfctrl2(val) __write_32bit_gc0_register($25, 4, val) argument
2232 #define write_gc0_perfcntr2(val) __write_32bit_gc0_register($25, 5, val) argument
2234 #define write_gc0_perfcntr2_64(val) __write_64bit_gc0_register($25, 5, val) argument
2236 #define write_gc0_perfctrl3(val) __write_32bit_gc0_register($25, 6, val) argument
2238 #define write_gc0_perfcntr3(val) __write_32bit_gc0_register($25, 7, val) argument
2240 #define write_gc0_perfcntr3_64(val) __write_64bit_gc0_register($25, 7, val) argument
2243 #define write_gc0_errorepc(val) __write_ulong_gc0_register($30, 0, val) argument
2251 #define write_gc0_kscratch1(val) __write_ulong_gc0_register($31, 2, val) argument
2252 #define write_gc0_kscratch2(val) __write_ulong_gc0_register($31, 3, val) argument
2253 #define write_gc0_kscratch3(val) __write_ulong_gc0_register($31, 4, val) argument
2254 #define write_gc0_kscratch4(val) __write_ulong_gc0_register($31, 5, val) argument
2255 #define write_gc0_kscratch5(val) __write_ulong_gc0_register($31, 6, val) argument
2256 #define write_gc0_kscratch6(val) __write_ulong_gc0_register($31, 7, val) argument
2260 #define write_gc0_cvmcount(val) __write_ulong_gc0_register($9, 6, val) argument
2263 #define write_gc0_cvmctl(val) __write_64bit_gc0_register($9, 7, val) argument
2266 #define write_gc0_cvmmemctl(val) __write_64bit_gc0_register($11, 7, val) argument
2269 #define write_gc0_cvmmemctl2(val) __write_64bit_gc0_register($16, 6, val) argument
2291 #define _write_32bit_cp1_register(dest, val, gas_hardfloat) \ argument
2299 : : "r" (val)); \
2305 #define write_32bit_cp1_register(dest, val) \ argument
2306 _write_32bit_cp1_register(dest, val, .set hardfloat)
2310 #define write_32bit_cp1_register(dest, val) \ argument
2311 _write_32bit_cp1_register(dest, val, )
2330 #define wrdsp(val, mask) \ argument
2339 : "r" (val), "i" (mask)); \
2562 #define wrdsp(val, mask) \ argument
2573 : "r" (val), "i" (mask)); \
2592 #define _dsp_mtxxx(val, ins) \ argument
2602 : "r" (val), "i" (ins)); \
2610 #define _dsp_mtlo(val, reg) _dsp_mtxxx(val, ((reg << 14) | 0x1000)) argument
2611 #define _dsp_mthi(val, reg) _dsp_mtxxx(val, ((reg << 14) | 0x0000)) argument
2618 #define _dsp_mtlo(val, reg) _dsp_mtxxx(val, ((reg << 11) | 0x0002)) argument
2619 #define _dsp_mthi(val, reg) _dsp_mtxxx(val, ((reg << 11) | 0x0000)) argument
2798 change_##name(unsigned int change, unsigned int val) \
2804 new |= (val & change); \