Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/nvidia/
Dforcedeth.c847 u32 pause_flags; member
3266 static void nv_update_pause(struct net_device *dev, u32 pause_flags) in nv_update_pause() argument
3271 np->pause_flags &= ~(NV_PAUSEFRAME_TX_ENABLE | NV_PAUSEFRAME_RX_ENABLE); in nv_update_pause()
3273 if (np->pause_flags & NV_PAUSEFRAME_RX_CAPABLE) { in nv_update_pause()
3275 if (pause_flags & NV_PAUSEFRAME_RX_ENABLE) { in nv_update_pause()
3277 np->pause_flags |= NV_PAUSEFRAME_RX_ENABLE; in nv_update_pause()
3282 if (np->pause_flags & NV_PAUSEFRAME_TX_CAPABLE) { in nv_update_pause()
3284 if (pause_flags & NV_PAUSEFRAME_TX_ENABLE) { in nv_update_pause()
3295 np->pause_flags |= NV_PAUSEFRAME_TX_ENABLE; in nv_update_pause()
3391 u32 control_1000, status_1000, phyreg, pause_flags, txreg; in nv_update_linkspeed() local
[all …]
/linux-5.19.10/drivers/net/ethernet/broadcom/
Db44.c359 static void __b44_set_flow_ctrl(struct b44 *bp, u32 pause_flags) in __b44_set_flow_ctrl() argument
364 bp->flags |= pause_flags; in __b44_set_flow_ctrl()
367 if (pause_flags & B44_FLAG_RX_PAUSE) in __b44_set_flow_ctrl()
374 if (pause_flags & B44_FLAG_TX_PAUSE) in __b44_set_flow_ctrl()