Searched refs:cpsw_sl (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_sl.h | 58 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 D | cpsw_sl.c | 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() [all …]
|
H A D | Makefile | 17 ti_cpsw-y := cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o 19 ti_cpsw_new-y := cpsw_switchdev.o cpsw_new.o davinci_cpdma.o cpsw_ale.o cpsw_sl.o cpsw_priv.o cpsw_… 29 ti-am65-cpsw-nuss-y := am65-cpsw-nuss.o cpsw_sl.o am65-cpsw-ethtool.o cpsw_ale.o
|
H A D | am65-cpsw-nuss.h | 30 struct cpsw_sl *mac_sl;
|
H A D | cpsw_priv.h | 313 struct cpsw_sl *mac_sl;
|