@@ -391,7 +391,7 @@ static int ice_cfg_cgu_pll_e82x(struct ice_hw *hw,
391
391
392
392
/* Log the current clock configuration */
393
393
ice_debug (hw , ICE_DBG_PTP , "Current CGU configuration -- %s, clk_src %s, clk_freq %s, PLL %s\n" ,
394
- dw24 .ts_pll_enable ? "enabled" : "disabled" ,
394
+ str_enabled_disabled ( dw24 .ts_pll_enable ) ,
395
395
ice_clk_src_str (dw24 .time_ref_sel ),
396
396
ice_clk_freq_str (dw9 .time_ref_freq_sel ),
397
397
bwm_lf .plllock_true_lock_cri ? "locked" : "unlocked" );
@@ -469,7 +469,7 @@ static int ice_cfg_cgu_pll_e82x(struct ice_hw *hw,
469
469
470
470
/* Log the current clock configuration */
471
471
ice_debug (hw , ICE_DBG_PTP , "New CGU configuration -- %s, clk_src %s, clk_freq %s, PLL %s\n" ,
472
- dw24 .ts_pll_enable ? "enabled" : "disabled" ,
472
+ str_enabled_disabled ( dw24 .ts_pll_enable ) ,
473
473
ice_clk_src_str (dw24 .time_ref_sel ),
474
474
ice_clk_freq_str (dw9 .time_ref_freq_sel ),
475
475
bwm_lf .plllock_true_lock_cri ? "locked" : "unlocked" );
@@ -546,7 +546,7 @@ static int ice_cfg_cgu_pll_e825c(struct ice_hw *hw,
546
546
547
547
/* Log the current clock configuration */
548
548
ice_debug (hw , ICE_DBG_PTP , "Current CGU configuration -- %s, clk_src %s, clk_freq %s, PLL %s\n" ,
549
- dw24 .ts_pll_enable ? "enabled" : "disabled" ,
549
+ str_enabled_disabled ( dw24 .ts_pll_enable ) ,
550
550
ice_clk_src_str (dw23 .time_ref_sel ),
551
551
ice_clk_freq_str (dw9 .time_ref_freq_sel ),
552
552
ro_lock .plllock_true_lock_cri ? "locked" : "unlocked" );
@@ -651,7 +651,7 @@ static int ice_cfg_cgu_pll_e825c(struct ice_hw *hw,
651
651
652
652
/* Log the current clock configuration */
653
653
ice_debug (hw , ICE_DBG_PTP , "New CGU configuration -- %s, clk_src %s, clk_freq %s, PLL %s\n" ,
654
- dw24 .ts_pll_enable ? "enabled" : "disabled" ,
654
+ str_enabled_disabled ( dw24 .ts_pll_enable ) ,
655
655
ice_clk_src_str (dw23 .time_ref_sel ),
656
656
ice_clk_freq_str (dw9 .time_ref_freq_sel ),
657
657
ro_lock .plllock_true_lock_cri ? "locked" : "unlocked" );
0 commit comments