Home
last modified time | relevance | path

Searched refs:by_ctl (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_bypass.c114 u32 by_ctl = 0; in ixgbe_bypass_state_show() local
121 ret_val = adapter->bps.ops.bypass_rw(hw, cmd, &by_ctl); in ixgbe_bypass_state_show()
126 *state = (by_ctl >> BYPASS_STATUS_OFF_SHIFT) & BYPASS_STATUS_OFF_MASK; in ixgbe_bypass_state_show()
165 u32 by_ctl = 0; in ixgbe_bypass_event_show() local
172 ret_val = adapter->bps.ops.bypass_rw(hw, cmd, &by_ctl); in ixgbe_bypass_event_show()
197 *state = (by_ctl >> shift) & 0x3; in ixgbe_bypass_event_show()
316 u32 by_ctl = 0; in ixgbe_bypass_wd_timeout_show() local
326 ret_val = adapter->bps.ops.bypass_rw(hw, cmd, &by_ctl); in ixgbe_bypass_wd_timeout_show()
328 wdg = by_ctl & BYPASS_WDT_ENABLE_M; in ixgbe_bypass_wd_timeout_show()
332 *wd_timeout = (by_ctl >> BYPASS_WDT_TIME_SHIFT) & in ixgbe_bypass_wd_timeout_show()
H A Dixgbe_bypass_api.h205 u32 by_ctl = 0; in ixgbe_bypass_set_generic() local
211 if (ixgbe_bypass_rw_generic(hw, cmd, &by_ctl)) in ixgbe_bypass_set_generic()
215 cmd = (by_ctl & ~event) | BYPASS_WE | action; in ixgbe_bypass_set_generic()
216 if (ixgbe_bypass_rw_generic(hw, cmd, &by_ctl)) in ixgbe_bypass_set_generic()
226 if (ixgbe_bypass_rw_generic(hw, verify, &by_ctl)) in ixgbe_bypass_set_generic()
228 } while (!ixgbe_bypass_valid_rd_generic(cmd, by_ctl)); in ixgbe_bypass_set_generic()