Home
last modified time | relevance | path

Searched refs:cpsw_sl (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw_sl.h58 struct cpsw_sl;
60 struct cpsw_sl *cpsw_sl_get(const char *device_id, struct device *dev,
63 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo);
65 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);
67 void cpsw_sl_ctl_reset(struct cpsw_sl *sl);
68 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo);
70 u32 cpsw_sl_reg_read(struct cpsw_sl *sl, enum cpsw_sl_regs reg);
71 void cpsw_sl_reg_write(struct cpsw_sl *sl, enum cpsw_sl_regs reg, u32 val);
Dcpsw_sl.c104 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()
[all …]
DMakefile17 ti_cpsw-y := cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o
Dcpsw_priv.h305 struct cpsw_sl *mac_sl;