Lines Matching refs:rev
41 static inline bool alx_is_rev_a(u8 rev) in alx_is_rev_a() argument
43 return rev == ALX_REV_A0 || rev == ALX_REV_A1; in alx_is_rev_a()
335 static void alx_reset_osc(struct alx_hw *hw, u8 rev) in alx_reset_osc() argument
349 if (rev >= ALX_REV_B0) { in alx_reset_osc()
366 if (alx_is_rev_a(rev)) in alx_reset_osc()
405 u8 rev; in alx_reset_mac() local
409 rev = alx_hw_revision(hw); in alx_reset_mac()
410 a_cr = alx_is_rev_a(rev) && alx_hw_with_cr(hw); in alx_reset_mac()
463 alx_reset_osc(hw, rev); in alx_reset_mac()
474 if (alx_is_rev_a(rev)) in alx_reset_mac()
562 u8 rev = alx_hw_revision(hw); in alx_reset_pcie() local
587 if (alx_is_rev_a(rev) && alx_hw_with_cr(hw)) { in alx_reset_pcie()
647 u8 rev = alx_hw_revision(hw); in alx_enable_aspm() local
668 if (alx_is_rev_a(rev) && alx_hw_with_cr(hw)) in alx_enable_aspm()