Lines Matching refs:cpsw_sl
104 struct cpsw_sl { struct
189 u32 cpsw_sl_reg_read(struct cpsw_sl *sl, enum cpsw_sl_regs reg) in cpsw_sl_reg_read()
204 void cpsw_sl_reg_write(struct cpsw_sl *sl, enum cpsw_sl_regs reg, u32 val) in cpsw_sl_reg_write()
231 struct cpsw_sl *cpsw_sl_get(const char *device_id, struct device *dev, in cpsw_sl_get()
235 struct cpsw_sl *sl; in cpsw_sl_get()
237 sl = devm_kzalloc(dev, sizeof(struct cpsw_sl), GFP_KERNEL); in cpsw_sl_get()
256 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo) in cpsw_sl_reset()
274 u32 cpsw_sl_ctl_set(struct cpsw_sl *sl, u32 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()
308 void cpsw_sl_ctl_reset(struct cpsw_sl *sl) in cpsw_sl_ctl_reset()
313 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo) in cpsw_sl_wait_for_idle()