Lines Matching defs:index
944 led_group, dp->index);
948 led = &rb->leds[dp->index][led_group];
949 led->port_num = dp->index;
976 dp->ds->index, dp->index, led_group);
983 led_group, dp->index);
1024 dp->index);
1320 int port = dp->index;
1391 int port = dp->index;
1757 static int rtl8366rb_get_vlan_mc(struct realtek_priv *priv, u32 index,
1766 if (index >= RTL8366RB_NUM_VLANS)
1771 RTL8366RB_VLAN_MC_BASE(index) + i,
1788 static int rtl8366rb_set_vlan_mc(struct realtek_priv *priv, u32 index,
1795 if (index >= RTL8366RB_NUM_VLANS ||
1813 RTL8366RB_VLAN_MC_BASE(index) + i,
1841 static int rtl8366rb_set_mc_index(struct realtek_priv *priv, int port, int index)
1849 pvid_enabled = !!index;
1851 if (port >= priv->num_ports || index >= RTL8366RB_NUM_VLANS)
1857 (index & RTL8366RB_PORT_VLAN_CTRL_MASK) <<