Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot.c50 static inline u32 ocelot_mact_read_macaccess(struct ocelot *ocelot) in ocelot_mact_read_macaccess()
55 static inline int ocelot_mact_wait_for_completion(struct ocelot *ocelot) in ocelot_mact_wait_for_completion()
66 static void ocelot_mact_select(struct ocelot *ocelot, in ocelot_mact_select()
88 static int ocelot_mact_learn(struct ocelot *ocelot, int port, in ocelot_mact_learn()
105 static int ocelot_mact_forget(struct ocelot *ocelot, in ocelot_mact_forget()
119 static void ocelot_mact_init(struct ocelot *ocelot) in ocelot_mact_init()
135 static void ocelot_vcap_enable(struct ocelot *ocelot, struct ocelot_port *port) in ocelot_vcap_enable()
142 static inline u32 ocelot_vlant_read_vlanaccess(struct ocelot *ocelot) in ocelot_vlant_read_vlanaccess()
147 static inline int ocelot_vlant_wait_for_completion(struct ocelot *ocelot) in ocelot_vlant_wait_for_completion()
159 static int ocelot_vlant_set_mask(struct ocelot *ocelot, u16 vid, u32 mask) in ocelot_vlant_set_mask()
[all …]
Docelot.h437 struct ocelot { struct
443 const struct ocelot_stat_layout *stats_layout; argument
452 struct workqueue_struct *ocelot_owq; argument
458 struct ocelot_port **ports; argument
483 struct ocelot *ocelot; argument
515 #define ocelot_read_ix(ocelot, reg, gi, ri) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_… argument
516 #define ocelot_read_gix(ocelot, reg, gi) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi)) argument
517 #define ocelot_read_rix(ocelot, reg, ri) __ocelot_read_ix(ocelot, reg, reg##_RSZ * (ri)) argument
518 #define ocelot_read(ocelot, reg) __ocelot_read_ix(ocelot, reg, 0) argument
521 #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.c44 static int ocelot_rx_frame_word(struct ocelot *ocelot, u8 grp, bool ifh, in ocelot_rx_frame_word()
89 struct ocelot *ocelot = arg; in ocelot_xtr_irq_handler() local
189 struct ocelot *ocelot = arg; in ocelot_ptp_rdy_irq_handler() local
257 struct ocelot *ocelot; in mscc_ocelot_probe() local
460 struct ocelot *ocelot = platform_get_drvdata(pdev); in mscc_ocelot_remove() local
Docelot_regs.c397 static void ocelot_pll5_init(struct ocelot *ocelot) in ocelot_pll5_init()
426 int ocelot_chip_init(struct ocelot *ocelot) in ocelot_chip_init()
Docelot_police.c49 struct ocelot *ocelot = port->ocelot; in qos_policer_conf_set() local
177 struct ocelot *ocelot = port->ocelot; in ocelot_port_policer_add() local
208 struct ocelot *ocelot = port->ocelot; in ocelot_port_policer_del() local
Docelot_ace.c329 static void is2_entry_set(struct ocelot *ocelot, int ix, in is2_entry_set()
725 static struct ocelot_acl_block *ocelot_acl_block_create(struct ocelot *ocelot) in ocelot_acl_block_create()
745 int ocelot_ace_init(struct ocelot *ocelot) in ocelot_ace_init()
Docelot_ace.h216 struct ocelot *ocelot; member