Home
last modified time | relevance | path

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

/linux/arch/mips/include/asm/octeon/
H A Dcvmx.h114 */ static inline uint64_t cvmx_build_mask(uint64_t bits) in cvmx_build_mask() function
152 return (value & cvmx_build_mask(high_bit - low_bit + 1)) << low_bit; in cvmx_build_bits()
175 return CAST64(ptr) & cvmx_build_mask(30); in cvmx_ptr_to_phys()
177 return CAST64(ptr) & cvmx_build_mask(40); in cvmx_ptr_to_phys()
H A Dcvmx-pow.h2152 return ((sw_bits & cvmx_build_mask(CVMX_TAG_SW_BITS)) << in cvmx_pow_tag_compose()
2154 (hw_bits & cvmx_build_mask(32 - CVMX_TAG_SW_BITS)); in cvmx_pow_tag_compose()
2168 cvmx_build_mask(CVMX_TAG_SW_BITS); in cvmx_pow_tag_get_sw_bits()
2182 return tag & cvmx_build_mask(32 - CVMX_TAG_SW_BITS); in cvmx_pow_tag_get_hw_bits()
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-rgmii.c179 asx_tx.s.prt_en = cvmx_build_mask(num_ports); in __cvmx_helper_rgmii_enable()
183 asx_rx.s.prt_en = cvmx_build_mask(num_ports); in __cvmx_helper_rgmii_enable()