cpsw_sl
struct cpsw_sl *mac_sl;
struct cpsw_sl *mac_sl;
u32 cpsw_sl_reg_read(struct cpsw_sl *sl, enum cpsw_sl_regs reg)
void cpsw_sl_reg_write(struct cpsw_sl *sl, enum cpsw_sl_regs reg, u32 val)
struct cpsw_sl *cpsw_sl_get(const char *device_id, struct device *dev,
struct cpsw_sl *sl;
sl = devm_kzalloc(dev, sizeof(struct cpsw_sl), GFP_KERNEL);
void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo)
u32 cpsw_sl_ctl_set(struct cpsw_sl *sl, u32 ctl_funcs)
u32 cpsw_sl_ctl_clr(struct cpsw_sl *sl, u32 ctl_funcs)
void cpsw_sl_ctl_reset(struct cpsw_sl *sl)
int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo)
struct cpsw_sl;
struct cpsw_sl *cpsw_sl_get(const char *device_id, struct device *dev,
void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo);
u32 cpsw_sl_ctl_set(struct cpsw_sl *sl, u32 ctl_funcs);
u32 cpsw_sl_ctl_clr(struct cpsw_sl *sl, u32 ctl_funcs);
void cpsw_sl_ctl_reset(struct cpsw_sl *sl);
int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo);
u32 cpsw_sl_reg_read(struct cpsw_sl *sl, enum cpsw_sl_regs reg);
void cpsw_sl_reg_write(struct cpsw_sl *sl, enum cpsw_sl_regs reg, u32 val);