Lines Matching refs:realtek_smi

358 static int rtl8366rb_get_mib_counter(struct realtek_smi *smi,  in rtl8366rb_get_mib_counter()
417 struct realtek_smi *smi = irq_data_get_irq_chip_data(d); in rtl8366rb_mask_irq()
428 struct realtek_smi *smi = irq_data_get_irq_chip_data(d); in rtl8366rb_unmask_irq()
440 struct realtek_smi *smi = data; in rtl8366rb_irq()
500 static int rtl8366rb_setup_cascaded_irq(struct realtek_smi *smi) in rtl8366rb_setup_cascaded_irq()
576 static int rtl8366rb_set_addr(struct realtek_smi *smi) in rtl8366rb_set_addr()
721 struct realtek_smi *smi = ds->priv; in rtl8366rb_setup()
991 struct realtek_smi *smi = ds->priv; in rtl8366rb_mac_link_up()
1028 struct realtek_smi *smi = ds->priv; in rtl8366rb_mac_link_down()
1045 static void rb8366rb_set_port_led(struct realtek_smi *smi, in rb8366rb_set_port_led()
1095 struct realtek_smi *smi = ds->priv; in rtl8366rb_port_enable()
1111 struct realtek_smi *smi = ds->priv; in rtl8366rb_port_disable()
1125 struct realtek_smi *smi = ds->priv; in rtl8366rb_change_mtu()
1173 static int rtl8366rb_get_vlan_4k(struct realtek_smi *smi, u32 vid, in rtl8366rb_get_vlan_4k()
1214 static int rtl8366rb_set_vlan_4k(struct realtek_smi *smi, in rtl8366rb_set_vlan_4k()
1248 static int rtl8366rb_get_vlan_mc(struct realtek_smi *smi, u32 index, in rtl8366rb_get_vlan_mc()
1279 static int rtl8366rb_set_vlan_mc(struct realtek_smi *smi, u32 index, in rtl8366rb_set_vlan_mc()
1313 static int rtl8366rb_get_mc_index(struct realtek_smi *smi, int port, int *val) in rtl8366rb_get_mc_index()
1332 static int rtl8366rb_set_mc_index(struct realtek_smi *smi, int port, int index) in rtl8366rb_set_mc_index()
1344 static bool rtl8366rb_is_vlan_valid(struct realtek_smi *smi, unsigned int vlan) in rtl8366rb_is_vlan_valid()
1357 static int rtl8366rb_enable_vlan(struct realtek_smi *smi, bool enable) in rtl8366rb_enable_vlan()
1365 static int rtl8366rb_enable_vlan4k(struct realtek_smi *smi, bool enable) in rtl8366rb_enable_vlan4k()
1373 static int rtl8366rb_phy_read(struct realtek_smi *smi, int phy, int regnum) in rtl8366rb_phy_read()
1407 static int rtl8366rb_phy_write(struct realtek_smi *smi, int phy, int regnum, in rtl8366rb_phy_write()
1433 static int rtl8366rb_reset_chip(struct realtek_smi *smi) in rtl8366rb_reset_chip()
1459 static int rtl8366rb_detect(struct realtek_smi *smi) in rtl8366rb_detect()