Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/dsa/qca/
Dqca8k-common.c66 int qca8k_read(struct qca8k_priv *priv, u32 reg, u32 *val) in qca8k_read()
71 int qca8k_write(struct qca8k_priv *priv, u32 reg, u32 val) in qca8k_write()
76 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val) in qca8k_rmw()
104 static int qca8k_busy_wait(struct qca8k_priv *priv, u32 reg, u32 mask) in qca8k_busy_wait()
112 static int qca8k_fdb_read(struct qca8k_priv *priv, struct qca8k_fdb *fdb) in qca8k_fdb_read()
140 static void qca8k_fdb_write(struct qca8k_priv *priv, u16 vid, u8 port_mask, in qca8k_fdb_write()
164 static int qca8k_fdb_access(struct qca8k_priv *priv, enum qca8k_fdb_cmd cmd, in qca8k_fdb_access()
200 static int qca8k_fdb_next(struct qca8k_priv *priv, struct qca8k_fdb *fdb, in qca8k_fdb_next()
213 static int qca8k_fdb_add(struct qca8k_priv *priv, const u8 *mac, in qca8k_fdb_add()
226 static int qca8k_fdb_del(struct qca8k_priv *priv, const u8 *mac, in qca8k_fdb_del()
[all …]
Dqca8k-8xxx.c142 qca8k_set_page(struct qca8k_priv *priv, u16 page) in qca8k_set_page()
166 struct qca8k_priv *priv = ds->priv; in qca8k_rw_reg_ack_handler()
312 static int qca8k_read_eth(struct qca8k_priv *priv, u32 reg, u32 *val, int len) in qca8k_read_eth()
364 static int qca8k_write_eth(struct qca8k_priv *priv, u32 reg, u32 *val, int len) in qca8k_write_eth()
413 qca8k_regmap_update_bits_eth(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val) in qca8k_regmap_update_bits_eth()
429 qca8k_read_mii(struct qca8k_priv *priv, uint32_t reg, uint32_t *val) in qca8k_read_mii()
451 qca8k_write_mii(struct qca8k_priv *priv, uint32_t reg, uint32_t val) in qca8k_write_mii()
473 qca8k_regmap_update_bits_mii(struct qca8k_priv *priv, uint32_t reg, in qca8k_regmap_update_bits_mii()
508 struct qca8k_priv *priv = ctx; in qca8k_bulk_read()
530 struct qca8k_priv *priv = ctx; in qca8k_bulk_gather_write()
[all …]
Dqca8k-leds.c99 struct qca8k_priv *priv = led->priv; in qca8k_led_brightness_set()
167 struct qca8k_priv *priv = led->priv; in qca8k_led_brightness_get()
198 struct qca8k_priv *priv = led->priv; in qca8k_cled_blink_set()
233 struct qca8k_priv *priv = led->priv; in qca8k_cled_trigger_offload()
258 struct qca8k_priv *priv = led->priv; in qca8k_cled_hw_control_status()
290 struct qca8k_priv *priv = led->priv; in qca8k_cled_hw_control_set()
314 struct qca8k_priv *priv = led->priv; in qca8k_cled_hw_control_get()
353 struct qca8k_priv *priv = led->priv; in qca8k_cled_hw_control_get_device()
365 qca8k_parse_port_leds(struct qca8k_priv *priv, struct fwnode_handle *port, int port_num) in qca8k_parse_port_leds()
452 qca8k_setup_led_ctrl(struct qca8k_priv *priv) in qca8k_setup_led_ctrl()
Dqca8k.h375 struct qca8k_priv;
427 struct qca8k_priv *priv;
440 struct qca8k_priv *priv;
444 struct qca8k_priv { struct
503 int qca8k_mib_init(struct qca8k_priv *priv);
504 void qca8k_port_set_status(struct qca8k_priv *priv, int port, int enable);
505 int qca8k_read_switch_id(struct qca8k_priv *priv);
508 int qca8k_read(struct qca8k_priv *priv, u32 reg, u32 *val);
509 int qca8k_write(struct qca8k_priv *priv, u32 reg, u32 val);
510 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val);
[all …]
Dqca8k_leds.h8 int qca8k_setup_led_ctrl(struct qca8k_priv *priv);
10 static inline int qca8k_setup_led_ctrl(struct qca8k_priv *priv) in qca8k_setup_led_ctrl()