/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vlan.c | 26 static void lan966x_vlan_set_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_set_mask() 54 static void lan966x_vlan_port_add_vlan_mask(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_add_vlan_mask() 63 static void lan966x_vlan_port_del_vlan_mask(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan_mask() 72 static bool lan966x_vlan_port_any_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_port_any_vlan_mask() 77 static void lan966x_vlan_cpu_add_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_add_vlan_mask() 83 static void lan966x_vlan_cpu_del_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_del_vlan_mask() 89 static void lan966x_vlan_cpu_add_cpu_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_add_cpu_vlan_mask() 94 static void lan966x_vlan_cpu_del_cpu_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_del_cpu_vlan_mask() 99 bool lan966x_vlan_cpu_member_cpu_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_member_cpu_vlan_mask() 114 int lan966x_vlan_port_set_vid(struct lan966x_port *port, u16 vid, in lan966x_vlan_port_set_vid() [all …]
|
H A D | lan966x_mac.c | 22 u16 vid; member 54 unsigned int vid) in lan966x_mac_select() 76 unsigned int vid, in __lan966x_mac_learn_locked() 98 unsigned int vid, in __lan966x_mac_learn() 116 unsigned int vid, in lan966x_mac_ip_learn() 126 unsigned int vid, in lan966x_mac_learn() 136 unsigned int vid, in lan966x_mac_learn_locked() 146 unsigned int vid, in lan966x_mac_forget_locked() 163 unsigned int vid, in lan966x_mac_forget() 175 int lan966x_mac_cpu_learn(struct lan966x *lan966x, const char *addr, u16 vid) in lan966x_mac_cpu_learn() [all …]
|
/linux/net/bridge/ |
H A D | br_fdb.c | 207 __u16 vid) in fdb_find_rcu() 222 __u16 vid) in br_fdb_find() 237 __u16 vid) in br_fdb_find_port() 261 __u16 vid) in br_fdb_find_rcu() 342 u16 vid = f->key.vlan_id; in fdb_delete_local() local 370 const unsigned char *addr, u16 vid) in br_fdb_find_delete_local() 385 __u16 vid, in fdb_create() 427 const unsigned char *addr, u16 vid) in fdb_add_local() 761 u16 vid, in br_fdb_delete_by_port() 866 const unsigned char *addr, u16 vid) in br_fdb_add_local() [all …]
|
H A D | br_vlan.c | 17 u16 vid = *(u16 *)arg->key; in br_vlan_cmp() local 32 static struct net_bridge_vlan *br_vlan_lookup(struct rhashtable *tbl, u16 vid) in br_vlan_lookup() 48 static void __vlan_delete_pvid(struct net_bridge_vlan_group *vg, u16 vid) in __vlan_delete_pvid() 162 br_vlan_get_master(struct net_bridge *br, u16 vid, in br_vlan_get_master() 480 u16 vid; in br_handle_vlan() local 536 struct sk_buff *skb, u16 *vid, in __allowed_ingress() 643 u16 *vid, u8 *state, in br_allowed_ingress() 663 u16 vid; in br_allowed_egress() local 679 bool br_should_learn(struct net_bridge_port *p, struct sk_buff *skb, u16 *vid) in br_should_learn() 770 int br_vlan_add(struct net_bridge *br, u16 vid, u16 flags, bool *changed, in br_vlan_add() [all …]
|
H A D | br_private_tunnel.h | 14 u16 vid; member 57 u16 vid) in nbp_vlan_tunnel_info_delete() 63 u16 vid, u32 tun_id) in nbp_vlan_tunnel_info_add()
|
/linux/net/dsa/ |
H A D | tag_8021q.c | 69 u16 vid; member 100 int dsa_8021q_rx_switch_id(u16 vid) in dsa_8021q_rx_switch_id() 107 int dsa_8021q_rx_source_port(u16 vid) in dsa_8021q_rx_source_port() 114 static int dsa_tag_8021q_rx_vbid(u16 vid) in dsa_tag_8021q_rx_vbid() 122 bool vid_is_dsa_8021q(u16 vid) in vid_is_dsa_8021q() 131 dsa_tag_8021q_vlan_find(struct dsa_8021q_context *ctx, int port, u16 vid) in dsa_tag_8021q_vlan_find() 142 static int dsa_port_do_tag_8021q_vlan_add(struct dsa_port *dp, u16 vid, in dsa_port_do_tag_8021q_vlan_add() 179 static int dsa_port_do_tag_8021q_vlan_del(struct dsa_port *dp, u16 vid) in dsa_port_do_tag_8021q_vlan_del() 343 u16 vid = dsa_tag_8021q_standalone_vid(dp); in dsa_tag_8021q_port_setup() local 373 u16 vid = dsa_tag_8021q_standalone_vid(dp); in dsa_tag_8021q_port_teardown() local [all …]
|
H A D | tag.h | 60 u16 vid) in dsa_software_untag_vlan_aware_bridge() 106 u16 vid) in dsa_software_untag_vlan_unaware_bridge() 153 u16 vid, proto; in dsa_software_vlan_untag() local 191 dsa_find_designated_bridge_port_by_vid(struct net_device *conduit, u16 vid) in dsa_find_designated_bridge_port_by_vid()
|
/linux/net/8021q/ |
H A D | vlan_core.c | 165 u16 vid; member 181 __be16 proto, u16 vid) in vlan_vid_info_get() 192 static struct vlan_vid_info *vlan_vid_info_alloc(__be16 proto, u16 vid) in vlan_vid_info_alloc() 205 static int vlan_add_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_add_rx_filter_info() 216 static int vlan_kill_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_kill_rx_filter_info() 228 int (*action)(struct net_device *dev, int vid, void *arg), in vlan_for_each() 295 static int __vlan_vid_add(struct vlan_info *vlan_info, __be16 proto, u16 vid, in __vlan_vid_add() 318 int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_add() 359 u16 vid = vid_info->vid; in __vlan_vid_del() local 371 void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_del()
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_netdev.c | 644 u32 vid, u8 vsi, bool set) in fm10k_queue_vlan_request() 683 const unsigned char *addr, u16 vid, bool set) in fm10k_queue_mac_request() 758 u16 vid = interface->vid; in fm10k_uc_vlan_unsync() local 778 u16 vid = interface->vid; in fm10k_mc_vlan_unsync() local 793 static int fm10k_update_vid(struct net_device *netdev, u16 vid, bool set) in fm10k_update_vid() 896 __always_unused __be16 proto, u16 vid) in fm10k_vlan_rx_add_vid() 903 __always_unused __be16 proto, u16 vid) in fm10k_vlan_rx_kill_vid() 909 static u16 fm10k_find_next_vlan(struct fm10k_intfc *interface, u16 vid) in fm10k_find_next_vlan() 922 u32 vid, prev_vid; in fm10k_clear_unused_vlans() local 941 u16 vid, glort = interface->glort; in __fm10k_uc_sync() local [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_vid.c | 96 struct sti_vid *vid = (struct sti_vid *)node->info_ent->data; in vid_dbg_show() local 127 void vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor) in vid_debugfs_init() 139 void sti_vid_commit(struct sti_vid *vid, in sti_vid_commit() 183 void sti_vid_disable(struct sti_vid *vid) in sti_vid_disable() 193 static void sti_vid_init(struct sti_vid *vid) in sti_vid_init() 210 struct sti_vid *vid; in sti_vid_create() local
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_eswitch_br.c | 105 ice_eswitch_br_get_lkups_cnt(u16 vid) in ice_eswitch_br_get_lkups_cnt() 111 ice_eswitch_br_add_vlan_lkup(struct ice_adv_lkup_elem *list, u16 vid) in ice_eswitch_br_add_vlan_lkup() 122 const unsigned char *mac, u16 vid) in ice_eswitch_br_fwd_rule_create() 183 const unsigned char *mac, u16 vid) in ice_eswitch_br_guard_rule_create() 230 int port_type, const unsigned char *mac, u16 vid) in ice_eswitch_br_flow_create() 274 u16 vid) in ice_eswitch_br_fdb_find() 305 ice_esw_br_port_vlan_lookup(struct ice_esw_br *bridge, u16 vsi_idx, u16 vid) in ice_esw_br_port_vlan_lookup() 345 const unsigned char *mac, u16 vid, in ice_eswitch_br_fdb_offload_notify() 370 const unsigned char *mac, u16 vid) in ice_eswitch_br_fdb_entry_find_and_delete() 391 const unsigned char *mac, u16 vid) in ice_eswitch_br_fdb_entry_create() [all …]
|
/linux/net/batman-adv/ |
H A D | bridge_loop_avoidance.h | 63 struct sk_buff *skb, unsigned short vid, in batadv_bla_rx() 70 struct sk_buff *skb, unsigned short vid) in batadv_bla_tx() 83 u8 *orig, unsigned short vid) in batadv_bla_is_backbone_gw_orig() 125 unsigned short vid) in batadv_bla_check_claim()
|
H A D | distributed-arp-table.c | 291 __be16 vid; in batadv_hash_dat() local 327 unsigned short vid) in batadv_dat_entry_hash_find() 367 u8 *mac_addr, unsigned short vid) in batadv_dat_entry_add() 629 unsigned short vid) in batadv_dat_select_candidates() 676 unsigned short vid, int packet_subtype) in batadv_dat_forward_data() 1076 unsigned short vid; in batadv_dat_get_vid() local 1108 unsigned short vid) in batadv_dat_arp_create_reply() 1147 unsigned short vid; in batadv_dat_snoop_outgoing_arp_request() local 1241 unsigned short vid; in batadv_dat_snoop_incoming_arp_request() local 1304 unsigned short vid; in batadv_dat_snoop_outgoing_arp_reply() local [all …]
|
H A D | translation-table.c | 128 unsigned short vid) in batadv_tt_hash_find() 173 unsigned short vid) in batadv_tt_local_hash_find() 198 unsigned short vid) in batadv_tt_global_hash_find() 271 const u8 *addr, unsigned short vid) in batadv_tt_global_hash_count() 294 unsigned short vid, int v) in batadv_tt_local_size_mod() 314 unsigned short vid) in batadv_tt_local_size_inc() 326 unsigned short vid) in batadv_tt_local_size_dec() 339 unsigned short vid, int v) in batadv_tt_global_size_mod() 366 unsigned short vid) in batadv_tt_global_size_inc() 378 unsigned short vid) in batadv_tt_global_size_dec() [all …]
|
H A D | multicast_forw.c | 150 struct sk_buff *skb, unsigned short vid, in batadv_mcast_forw_push_dest() 192 unsigned short vid, in batadv_mcast_forw_push_dests_list() 231 unsigned short vid, unsigned short *num_dests, in batadv_mcast_forw_push_tt() 278 unsigned short vid, in batadv_mcast_forw_push_want_all() 324 unsigned short vid, in batadv_mcast_forw_push_want_rtr() 493 unsigned short vid, int is_routable, int *count, in batadv_mcast_forw_push_dests() 585 unsigned short vid, int is_routable, int count, in batadv_mcast_forw_push_tvlvs() 1127 unsigned short vid, int is_routable, int count) in batadv_mcast_forw_push()
|
H A D | multicast.c | 1198 struct sk_buff *skb, unsigned short vid, in batadv_mcast_forw_mode_by_count() 1227 unsigned short vid, int *is_routable) in batadv_mcast_forw_mode() 1272 unsigned short vid, in batadv_mcast_forw_send_orig() 1305 unsigned short vid) in batadv_mcast_forw_tt() 1353 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_ipv4() 1390 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_ipv6() 1428 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all() 1456 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_rtr4() 1493 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_rtr6() 1531 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_rtr() [all …]
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_switchdev.c | 64 u16 vid; member 72 u16 vid; member 179 prestera_bridge_vlan_create(struct prestera_bridge_port *br_port, u16 vid) in prestera_bridge_vlan_create() 202 prestera_bridge_vlan_by_vid(struct prestera_bridge_port *br_port, u16 vid) in prestera_bridge_vlan_by_vid() 215 u16 vid) in prestera_bridge_vlan_port_count() 240 prestera_port_vlan_by_vid(struct prestera_port *port, u16 vid) in prestera_port_vlan_by_vid() 253 prestera_port_vlan_create(struct prestera_port *port, u16 vid, bool untagged) in prestera_port_vlan_create() 285 const unsigned char *mac, u16 vid, bool dynamic) in prestera_fdb_add() 295 const unsigned char *mac, u16 vid) in prestera_fdb_del() 304 static int prestera_fdb_flush_port_vlan(struct prestera_port *port, u16 vid, in prestera_fdb_flush_port_vlan() [all …]
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 26 u16 vid; member 51 unsigned int vid) in ocelot_mact_select() 73 unsigned int vid, enum macaccess_entry_type type) in __ocelot_mact_learn() 105 unsigned int vid, enum macaccess_entry_type type) in ocelot_mact_learn() 118 const unsigned char mac[ETH_ALEN], unsigned int vid) in ocelot_mact_forget() 141 unsigned int vid, enum macaccess_entry_type *type) in ocelot_mact_lookup() 176 unsigned int vid, in ocelot_mact_learn_streamdata() 307 static int ocelot_vlant_set_mask(struct ocelot *ocelot, u16 vid, u32 mask) in ocelot_vlant_set_mask() 525 u16 vid; in ocelot_update_vlan_reclassify_rule() local 647 u16 vid) in ocelot_bridge_vlan_find() [all …]
|
/linux/tools/power/cpupower/debug/i386/ |
H A D | powernow-k8-decode.c | 27 static int get_fidvid(uint32_t cpu, uint32_t *fid, uint32_t *vid) in get_fidvid() 63 static uint32_t find_millivolts_from_vid(uint32_t vid) in find_millivolts_from_vid() 72 uint32_t fid, vid; in main() local
|
/linux/drivers/staging/media/tegra-video/ |
H A D | video.c | 16 struct tegra_video_device *vid; in tegra_v4l2_dev_release() local 46 struct tegra_video_device *vid; in host1x_video_probe() local 112 struct tegra_video_device *vid = dev_get_drvdata(&dev->dev); in host1x_video_remove() local
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_switchdev.c | 78 u16 vid; member 428 u16 vid = SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj)->vid; in mlxsw_sp_bridge_port_replay_switchdev_objs() local 572 u16 vid) in mlxsw_sp_port_vlan_find_by_bridge() 611 u16 vid) in mlxsw_sp_bridge_vlan_find() 624 mlxsw_sp_bridge_vlan_create(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) in mlxsw_sp_bridge_vlan_create() 648 mlxsw_sp_bridge_vlan_get(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) in mlxsw_sp_bridge_vlan_get() 831 u16 vid = bridge_vlan->vid; in mlxsw_sp_port_bridge_vlan_learning_set() local 1352 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_fid_join() local 1401 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_fid_leave() local 1413 u16 vid, bool is_pvid) in mlxsw_sp_port_pvid_determine() [all …]
|
H A D | spectrum_fid.c | 29 u16 vid; member 53 u16 vid; member 454 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_map() 462 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_unmap() 504 u16 vid = *(u16 *) arg; in mlxsw_sp_fid_8021q_setup() local 645 mlxsw_sp_fid_vid_to_fid_map(const struct mlxsw_sp_fid *fid, u16 vid, bool valid, in mlxsw_sp_fid_vid_to_fid_map() 891 u16 local_port, u16 vid, bool valid) in __mlxsw_sp_fid_port_vid_map() 966 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans() local 989 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans() local 1009 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_mode_trans() local [all …]
|
/linux/drivers/net/dsa/qca/ |
H A D | qca8k-common.c | 140 static void qca8k_fdb_write(struct qca8k_priv *priv, u16 vid, u8 port_mask, in qca8k_fdb_write() 214 u16 port_mask, u16 vid, u8 aging) in qca8k_fdb_add() 227 u16 port_mask, u16 vid) in qca8k_fdb_del() 247 const u8 *mac, u16 vid, u8 aging) in qca8k_fdb_search_and_insert() 284 const u8 *mac, u16 vid) in qca8k_fdb_search_and_del() 326 enum qca8k_vlan_cmd cmd, u16 vid) in qca8k_vlan_access() 358 static int qca8k_vlan_add(struct qca8k_priv *priv, u8 port, u16 vid, in qca8k_vlan_add() 396 static int qca8k_vlan_del(struct qca8k_priv *priv, u8 port, u16 vid) in qca8k_vlan_del() 822 u16 port_mask, u16 vid) in qca8k_port_fdb_insert() 833 const unsigned char *addr, u16 vid, in qca8k_port_fdb_add() [all …]
|
/linux/include/linux/ |
H A D | if_bridge.h | 31 __u16 vid; member 148 static inline int br_vlan_get_info(const struct net_device *dev, u16 vid, in br_vlan_get_info() 154 static inline int br_vlan_get_info_rcu(const struct net_device *dev, u16 vid, in br_vlan_get_info_rcu() 189 __u16 vid) in br_fdb_find_port() 194 static inline void br_fdb_clear_offload(const struct net_device *dev, u16 vid) in br_fdb_clear_offload()
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ale.c | 378 static int cpsw_ale_match_addr(struct cpsw_ale *ale, const u8 *addr, u16 vid) in cpsw_ale_match_addr() 399 static int cpsw_ale_match_vlan(struct cpsw_ale *ale, u16 vid) in cpsw_ale_match_vlan() 468 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid) in cpsw_ale_flush_multicast() 504 int flags, u16 vid) in cpsw_ale_set_vlan_entry_type() 515 int flags, u16 vid) in cpsw_ale_add_ucast() 541 int flags, u16 vid) in cpsw_ale_del_ucast() 556 int flags, u16 vid, int mcast_state) in cpsw_ale_add_mcast() 589 int flags, u16 vid) in cpsw_ale_del_mcast() 635 u16 vid, int untag_mask) in cpsw_ale_set_vlan_untag() 646 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port_mask, int untag, in cpsw_ale_add_vlan() [all …]
|