Home
last modified time | relevance | path

Searched defs:ocelot (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mscc/
Docelot.c44 static inline int ocelot_mact_wait_for_completion(struct ocelot *ocelot) in ocelot_mact_wait_for_completion()
63 static void ocelot_mact_select(struct ocelot *ocelot, in ocelot_mact_select()
85 static int ocelot_mact_learn(struct ocelot *ocelot, int port, in ocelot_mact_learn()
102 static int ocelot_mact_forget(struct ocelot *ocelot, in ocelot_mact_forget()
116 static void ocelot_mact_init(struct ocelot *ocelot) in ocelot_mact_init()
132 static inline int ocelot_vlant_wait_for_completion(struct ocelot *ocelot) in ocelot_vlant_wait_for_completion()
151 static int ocelot_vlant_set_mask(struct ocelot *ocelot, u16 vid, u32 mask) in ocelot_vlant_set_mask()
167 struct ocelot *ocelot = port->ocelot; in ocelot_vlan_mode() local
180 static void ocelot_vlan_port_apply(struct ocelot *ocelot, in ocelot_vlan_port_apply()
238 struct ocelot *ocelot = port->ocelot; in ocelot_vlan_vid_add() local
[all …]
Docelot.h473 struct ocelot { struct
479 const struct ocelot_stat_layout *stats_layout; argument
488 struct workqueue_struct *ocelot_owq; argument
494 struct ocelot_port **ports; argument
512 struct ocelot *ocelot; argument
533 #define ocelot_read_ix(ocelot, reg, gi, ri) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_… argument
534 #define ocelot_read_gix(ocelot, reg, gi) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi)) argument
535 #define ocelot_read_rix(ocelot, reg, ri) __ocelot_read_ix(ocelot, reg, reg##_RSZ * (ri)) argument
536 #define ocelot_read(ocelot, reg) __ocelot_read_ix(ocelot, reg, 0) argument
539 #define ocelot_write_ix(ocelot, val, reg, gi, ri) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (… argument
[all …]
Docelot_io.c13 u32 __ocelot_read_ix(struct ocelot *ocelot, u32 reg, u32 offset) in __ocelot_read_ix()
26 void __ocelot_write_ix(struct ocelot *ocelot, u32 val, u32 reg, u32 offset) in __ocelot_write_ix()
37 void __ocelot_rmw_ix(struct ocelot *ocelot, u32 val, u32 mask, u32 reg, in __ocelot_rmw_ix()
62 int ocelot_regfields_init(struct ocelot *ocelot, in ocelot_regfields_init()
100 struct regmap *ocelot_io_platform_init(struct ocelot *ocelot, in ocelot_io_platform_init()
Docelot_board.c38 static int ocelot_rx_frame_word(struct ocelot *ocelot, u8 grp, bool ifh, in ocelot_rx_frame_word()
83 struct ocelot *ocelot = arg; in ocelot_xtr_irq_handler() local
170 struct ocelot *ocelot; in mscc_ocelot_probe() local
301 struct ocelot *ocelot = platform_get_drvdata(pdev); in mscc_ocelot_remove() local
Docelot_regs.c451 static void ocelot_pll5_init(struct ocelot *ocelot) in ocelot_pll5_init()
477 int ocelot_chip_init(struct ocelot *ocelot) in ocelot_chip_init()