Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ti/
H A 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);
H A 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 …]
H A DMakefile18 ti_cpsw-y := cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o
20 ti_cpsw_new-y := cpsw_switchdev.o cpsw_new.o davinci_cpdma.o cpsw_ale.o cpsw_sl.o cpsw_priv.o cpsw_…
30 ti-am65-cpsw-nuss-y := am65-cpsw-nuss.o cpsw_sl.o am65-cpsw-ethtool.o cpsw_ale.o am65-cpsw-qos.o
H A Dam65-cpsw-nuss.h31 struct cpsw_sl *mac_sl;
H A Dcpsw_priv.h313 struct cpsw_sl *mac_sl;