Searched refs:realtek_priv (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/dsa/realtek/ |
D | realtek.h | 49 struct realtek_priv { struct 91 int (*detect)(struct realtek_priv *priv); argument 92 int (*reset_chip)(struct realtek_priv *priv); 93 int (*setup)(struct realtek_priv *priv); 94 void (*cleanup)(struct realtek_priv *priv); 95 int (*get_mib_counter)(struct realtek_priv *priv, 99 int (*get_vlan_mc)(struct realtek_priv *priv, u32 index, 101 int (*set_vlan_mc)(struct realtek_priv *priv, u32 index, 103 int (*get_vlan_4k)(struct realtek_priv *priv, u32 vid, 105 int (*set_vlan_4k)(struct realtek_priv *priv, [all …]
|
D | realtek-smi.c | 47 static inline void realtek_smi_clk_delay(struct realtek_priv *priv) in realtek_smi_clk_delay() 52 static void realtek_smi_start(struct realtek_priv *priv) in realtek_smi_start() 77 static void realtek_smi_stop(struct realtek_priv *priv) in realtek_smi_stop() 102 static void realtek_smi_write_bits(struct realtek_priv *priv, u32 data, u32 len) in realtek_smi_write_bits() 118 static void realtek_smi_read_bits(struct realtek_priv *priv, u32 len, u32 *data) in realtek_smi_read_bits() 139 static int realtek_smi_wait_for_ack(struct realtek_priv *priv) in realtek_smi_wait_for_ack() 160 static int realtek_smi_write_byte(struct realtek_priv *priv, u8 data) in realtek_smi_write_byte() 166 static int realtek_smi_write_byte_noack(struct realtek_priv *priv, u8 data) in realtek_smi_write_byte_noack() 172 static int realtek_smi_read_byte0(struct realtek_priv *priv, u8 *data) in realtek_smi_read_byte0() 186 static int realtek_smi_read_byte1(struct realtek_priv *priv, u8 *data) in realtek_smi_read_byte1() [all …]
|
D | rtl8365mb.c | 618 struct realtek_priv *priv; 637 struct realtek_priv *priv; 645 static int rtl8365mb_phy_poll_busy(struct realtek_priv *priv) in rtl8365mb_phy_poll_busy() 654 static int rtl8365mb_phy_ocp_prepare(struct realtek_priv *priv, int phy, in rtl8365mb_phy_ocp_prepare() 684 static int rtl8365mb_phy_ocp_read(struct realtek_priv *priv, int phy, in rtl8365mb_phy_ocp_read() 728 static int rtl8365mb_phy_ocp_write(struct realtek_priv *priv, int phy, in rtl8365mb_phy_ocp_write() 770 static int rtl8365mb_phy_read(struct realtek_priv *priv, int phy, int regnum) in rtl8365mb_phy_read() 798 static int rtl8365mb_phy_write(struct realtek_priv *priv, int phy, int regnum, in rtl8365mb_phy_write() 838 rtl8365mb_get_port_extint(struct realtek_priv *priv, int port) in rtl8365mb_get_port_extint() 861 struct realtek_priv *priv = ds->priv; in rtl8365mb_get_tag_protocol() [all …]
|
D | rtl8366-core.c | 16 int rtl8366_mc_is_used(struct realtek_priv *priv, int mc_index, int *used) in rtl8366_mc_is_used() 47 static int rtl8366_obtain_mc(struct realtek_priv *priv, int vid, in rtl8366_obtain_mc() 136 int rtl8366_set_vlan(struct realtek_priv *priv, int vid, u32 member, in rtl8366_set_vlan() 192 int rtl8366_set_pvid(struct realtek_priv *priv, unsigned int port, in rtl8366_set_pvid() 222 int rtl8366_enable_vlan4k(struct realtek_priv *priv, bool enable) in rtl8366_enable_vlan4k() 248 int rtl8366_enable_vlan(struct realtek_priv *priv, bool enable) in rtl8366_enable_vlan() 270 int rtl8366_reset_vlan(struct realtek_priv *priv) in rtl8366_reset_vlan() 301 struct realtek_priv *priv = ds->priv; in rtl8366_vlan_add() 353 struct realtek_priv *priv = ds->priv; in rtl8366_vlan_del() 397 struct realtek_priv *priv = ds->priv; in rtl8366_get_strings() [all …]
|
D | rtl8366rb.c | 399 static int rtl8366rb_get_mib_counter(struct realtek_priv *priv, in rtl8366rb_get_mib_counter() 458 struct realtek_priv *priv = irq_data_get_irq_chip_data(d); in rtl8366rb_mask_irq() 469 struct realtek_priv *priv = irq_data_get_irq_chip_data(d); in rtl8366rb_unmask_irq() 481 struct realtek_priv *priv = data; in rtl8366rb_irq() 541 static int rtl8366rb_setup_cascaded_irq(struct realtek_priv *priv) in rtl8366rb_setup_cascaded_irq() 617 static int rtl8366rb_set_addr(struct realtek_priv *priv) in rtl8366rb_set_addr() 768 int jam_size, struct realtek_priv *priv, in rtl8366rb_jam_table() 805 struct realtek_priv *priv = ds->priv; in rtl8366rb_setup() 1057 struct realtek_priv *priv = ds->priv; in rtl8366rb_mac_link_up() 1094 struct realtek_priv *priv = ds->priv; in rtl8366rb_mac_link_down() [all …]
|
D | realtek-mdio.c | 43 struct realtek_priv *priv = ctx; in realtek_mdio_write() 71 struct realtek_priv *priv = ctx; in realtek_mdio_read() 103 struct realtek_priv *priv = ctx; in realtek_mdio_lock() 110 struct realtek_priv *priv = ctx; in realtek_mdio_unlock() 144 struct realtek_priv *priv; in realtek_mdio_probe() 238 struct realtek_priv *priv = dev_get_drvdata(&mdiodev->dev); in realtek_mdio_remove() 252 struct realtek_priv *priv = dev_get_drvdata(&mdiodev->dev); in realtek_mdio_shutdown()
|