Home
last modified time | relevance | path

Searched defs:vid (Results 1 – 25 of 424) sorted by relevance

12345678910>>...17

/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_vlan.c26 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 …]
Dlan966x_mac.c22 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-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_mactable.c40 u16 vid; member
61 u16 vid) in sparx5_mact_select()
81 const unsigned char mac[ETH_ALEN], u16 vid) in sparx5_mact_learn()
136 u16 *vid, u32 *pcfg2) in sparx5_mact_get()
160 unsigned char mac[ETH_ALEN], u16 *vid, u32 *pcfg2) in sparx5_mact_getnext()
190 const unsigned char mac[ETH_ALEN], u16 vid, u32 *pcfg2) in sparx5_mact_find()
219 const unsigned char mac[ETH_ALEN], u16 vid) in sparx5_mact_forget()
241 u16 vid, u16 port_index) in alloc_mact_entry()
258 u16 vid, u16 port_index) in find_mact_entry()
278 const char *mac, u16 vid, in sparx5_fdb_call_notifiers()
[all …]
Dsparx5_vlan.c10 static int sparx5_vlant_set_mask(struct sparx5 *sparx5, u16 vid) in sparx5_vlant_set_mask()
27 u16 vid; in sparx5_vlan_init() local
55 int sparx5_vlan_vid_add(struct sparx5_port *port, u16 vid, bool pvid, in sparx5_vlan_vid_add()
87 int sparx5_vlan_vid_del(struct sparx5_port *port, u16 vid) in sparx5_vlan_vid_del()
Dsparx5_switchdev.c254 u16 vid = port->pvid; in sparx5_port_add_addr() local
308 u16 vid; in sparx5_switchdev_bridge_fdb_event_work() local
436 u16 vid, in sparx5_alloc_mdb_entry()
467 u16 vid) in sparx5_free_mdb_entry()
489 u16 vid) in sparx5_mdb_get_entry()
522 u16 vid; in sparx5_handle_port_mdb_add() local
578 u16 vid; in sparx5_handle_port_mdb_del() local
646 u16 vid) in sparx5_handle_port_vlan_del()
/linux-6.12.1/net/bridge/
Dbr_fdb.c214 __u16 vid) in fdb_find_rcu()
229 __u16 vid) in br_fdb_find()
244 __u16 vid) in br_fdb_find_port()
268 __u16 vid) in br_fdb_find_rcu()
349 u16 vid = f->key.vlan_id; in fdb_delete_local() local
377 const unsigned char *addr, u16 vid) in br_fdb_find_delete_local()
392 __u16 vid, in fdb_create()
434 const unsigned char *addr, u16 vid) in fdb_add_local()
768 u16 vid, in br_fdb_delete_by_port()
873 const unsigned char *addr, u16 vid) in br_fdb_add_local()
[all …]
Dbr_vlan.c17 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 …]
Dbr_private_tunnel.h14 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-6.12.1/net/dsa/
Dtag_8021q.c69 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 …]
Dport.c38 static void dsa_port_notify_bridge_fdb_flush(const struct dsa_port *dp, u16 vid) in dsa_port_notify_bridge_fdb_flush()
68 static int dsa_port_vlan_fast_age(const struct dsa_port *dp, u16 vid) in dsa_port_vlan_fast_age()
87 int err, vid; in dsa_port_msti_fast_age() local
749 u16 vid; in dsa_port_can_apply_vlan_filtering() local
981 u16 vid) in dsa_port_fdb_add()
1004 u16 vid) in dsa_port_fdb_del()
1023 const unsigned char *addr, u16 vid, in dsa_port_host_fdb_add()
1037 const unsigned char *addr, u16 vid) in dsa_port_standalone_host_fdb_add()
1048 const unsigned char *addr, u16 vid) in dsa_port_bridge_host_fdb_add()
1074 const unsigned char *addr, u16 vid, in dsa_port_host_fdb_del()
[all …]
/linux-6.12.1/net/8021q/
Dvlan_core.c165 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-6.12.1/drivers/gpu/drm/sti/
Dsti_vid.c96 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-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c644 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-6.12.1/net/batman-adv/
Dbridge_loop_avoidance.c259 unsigned short vid) in batadv_backbone_hash_find()
341 unsigned short vid, int claimtype) in batadv_bla_send_claim()
493 unsigned short vid, bool own_backbone) in batadv_bla_get_backbone_gw()
567 unsigned short vid) in batadv_bla_update_own_backbone_gw()
592 unsigned short vid) in batadv_bla_answer_request()
687 const u8 *mac, const unsigned short vid, in batadv_bla_add_claim()
796 const u8 *mac, const unsigned short vid) in batadv_bla_del_claim()
837 u8 *backbone_addr, unsigned short vid) in batadv_handle_announce()
898 unsigned short vid) in batadv_handle_request()
931 unsigned short vid) in batadv_handle_unclaim()
[all …]
Dbridge_loop_avoidance.h63 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()
Ddistributed-arp-table.c291 __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 …]
Dmulticast_forw.c150 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()
Dtranslation-table.c127 unsigned short vid) in batadv_tt_hash_find()
172 unsigned short vid) in batadv_tt_local_hash_find()
197 unsigned short vid) in batadv_tt_global_hash_find()
298 const u8 *addr, unsigned short vid) in batadv_tt_global_hash_count()
321 unsigned short vid, int v) in batadv_tt_local_size_mod()
341 unsigned short vid) in batadv_tt_local_size_inc()
353 unsigned short vid) in batadv_tt_local_size_dec()
366 unsigned short vid, int v) in batadv_tt_global_size_mod()
393 unsigned short vid) in batadv_tt_global_size_inc()
405 unsigned short vid) in batadv_tt_global_size_dec()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_eswitch_br.c105 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-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c64 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-6.12.1/drivers/net/ethernet/mscc/
Docelot.c26 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-6.12.1/tools/power/cpupower/debug/i386/
Dpowernow-k8-decode.c27 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-6.12.1/drivers/staging/media/tegra-video/
Dvideo.c16 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-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c78 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 …]
/linux-6.12.1/drivers/net/dsa/qca/
Dqca8k-common.c140 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 …]

12345678910>>...17