Lines Matching defs: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() local
428 struct realtek_smi *smi = irq_data_get_irq_chip_data(d); in rtl8366rb_unmask_irq() local
440 struct realtek_smi *smi = data; in rtl8366rb_irq() local
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()
727 int jam_size, struct realtek_smi *smi, in rtl8366rb_jam_table()
764 struct realtek_smi *smi = ds->priv; in rtl8366rb_setup() local
998 struct realtek_smi *smi = ds->priv; in rtl8366rb_mac_link_up() local
1035 struct realtek_smi *smi = ds->priv; in rtl8366rb_mac_link_down() local
1052 static void rb8366rb_set_port_led(struct realtek_smi *smi, in rb8366rb_set_port_led()
1102 struct realtek_smi *smi = ds->priv; in rtl8366rb_port_enable() local
1118 struct realtek_smi *smi = ds->priv; in rtl8366rb_port_disable() local
1132 struct realtek_smi *smi = ds->priv; in rtl8366rb_change_mtu() local
1180 static int rtl8366rb_get_vlan_4k(struct realtek_smi *smi, u32 vid, in rtl8366rb_get_vlan_4k()
1221 static int rtl8366rb_set_vlan_4k(struct realtek_smi *smi, in rtl8366rb_set_vlan_4k()
1255 static int rtl8366rb_get_vlan_mc(struct realtek_smi *smi, u32 index, in rtl8366rb_get_vlan_mc()
1286 static int rtl8366rb_set_vlan_mc(struct realtek_smi *smi, u32 index, in rtl8366rb_set_vlan_mc()
1320 static int rtl8366rb_get_mc_index(struct realtek_smi *smi, int port, int *val) in rtl8366rb_get_mc_index()
1339 static int rtl8366rb_set_mc_index(struct realtek_smi *smi, int port, int index) in rtl8366rb_set_mc_index()
1351 static bool rtl8366rb_is_vlan_valid(struct realtek_smi *smi, unsigned int vlan) in rtl8366rb_is_vlan_valid()
1364 static int rtl8366rb_enable_vlan(struct realtek_smi *smi, bool enable) in rtl8366rb_enable_vlan()
1372 static int rtl8366rb_enable_vlan4k(struct realtek_smi *smi, bool enable) in rtl8366rb_enable_vlan4k()
1380 static int rtl8366rb_phy_read(struct realtek_smi *smi, int phy, int regnum) in rtl8366rb_phy_read()
1414 static int rtl8366rb_phy_write(struct realtek_smi *smi, int phy, int regnum, in rtl8366rb_phy_write()
1440 static int rtl8366rb_reset_chip(struct realtek_smi *smi) in rtl8366rb_reset_chip()
1466 static int rtl8366rb_detect(struct realtek_smi *smi) in rtl8366rb_detect()