Home
last modified time | relevance | path

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

/drivers/net/ethernet/ti/
Dcpsw_sl.c274 u32 cpsw_sl_ctl_set(struct cpsw_sl *sl, u32 ctl_funcs) in cpsw_sl_ctl_set() argument
278 if (ctl_funcs & ~sl->control_features) { in cpsw_sl_ctl_set()
280 ctl_funcs & (~sl->control_features)); in cpsw_sl_ctl_set()
285 val |= ctl_funcs; in cpsw_sl_ctl_set()
291 u32 cpsw_sl_ctl_clr(struct cpsw_sl *sl, u32 ctl_funcs) in cpsw_sl_ctl_clr() argument
295 if (ctl_funcs & ~sl->control_features) { in cpsw_sl_ctl_clr()
297 ctl_funcs & (~sl->control_features)); in cpsw_sl_ctl_clr()
302 val &= ~ctl_funcs; in cpsw_sl_ctl_clr()
Dcpsw_sl.h65 u32 cpsw_sl_ctl_set(struct cpsw_sl *sl, u32 ctl_funcs);
66 u32 cpsw_sl_ctl_clr(struct cpsw_sl *sl, u32 ctl_funcs);