Searched refs:cvmx_build_mask (Results 1 – 3 of 3) sorted by relevance
114 */ static inline uint64_t cvmx_build_mask(uint64_t bits) in cvmx_build_mask() function152 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()
2152 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()
179 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()