/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/ |
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 …]
|
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-v6.6/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_mactable.c | 40 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 …]
|
D | sparx5_vlan.c | 10 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()
|
D | sparx5_switchdev.c | 254 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-v6.6/net/bridge/ |
D | br_fdb.c | 217 __u16 vid) in fdb_find_rcu() 232 __u16 vid) in br_fdb_find() 247 __u16 vid) in br_fdb_find_port() 271 __u16 vid) in br_fdb_find_rcu() 345 u16 vid = f->key.vlan_id; in fdb_delete_local() local 373 const unsigned char *addr, u16 vid) in br_fdb_find_delete_local() 388 __u16 vid, in fdb_create() 416 const unsigned char *addr, u16 vid) in fdb_add_local() 665 struct net_device *dev, u16 vid, in br_fdb_delete_bulk() 731 u16 vid, in br_fdb_delete_by_port() [all …]
|
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 …]
|
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-v6.6/net/dsa/ |
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() 340 u16 vid = dsa_tag_8021q_standalone_vid(dp); in dsa_tag_8021q_port_setup() local 370 u16 vid = dsa_tag_8021q_standalone_vid(dp); in dsa_tag_8021q_port_teardown() local [all …]
|
/Linux-v6.6/net/8021q/ |
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-v6.6/drivers/gpu/drm/sti/ |
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-v6.6/drivers/net/ethernet/intel/fm10k/ |
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-v6.6/drivers/net/ethernet/intel/ice/ |
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-v6.6/net/batman-adv/ |
D | bridge_loop_avoidance.c | 259 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 …]
|
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()
|
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() 1077 unsigned short vid; in batadv_dat_get_vid() local 1109 unsigned short vid) in batadv_dat_arp_create_reply() 1148 unsigned short vid; in batadv_dat_snoop_outgoing_arp_request() local 1242 unsigned short vid; in batadv_dat_snoop_incoming_arp_request() local 1305 unsigned short vid; in batadv_dat_snoop_outgoing_arp_reply() local [all …]
|
D | translation-table.c | 127 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-v6.6/drivers/net/ethernet/marvell/prestera/ |
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-v6.6/tools/power/cpupower/debug/i386/ |
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-v6.6/drivers/staging/media/tegra-video/ |
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-v6.6/drivers/net/ethernet/mscc/ |
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() 490 u16 vid) in ocelot_bridge_vlan_find() 501 static int ocelot_vlan_member_add(struct ocelot *ocelot, int port, u16 vid, in ocelot_vlan_member_add() [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_fid.c | 28 u16 vid; member 52 u16 vid; member 357 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_map() 365 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_unmap() 407 u16 vid = *(u16 *) arg; in mlxsw_sp_fid_8021q_setup() local 494 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() 740 u16 local_port, u16 vid, bool valid) in __mlxsw_sp_fid_port_vid_map() 814 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans() local 837 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans() local 857 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_mode_trans() local [all …]
|
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 …]
|
/Linux-v6.6/drivers/net/dsa/qca/ |
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() 803 u16 port_mask, u16 vid) in qca8k_port_fdb_insert() 814 const unsigned char *addr, u16 vid, in qca8k_port_fdb_add() [all …]
|
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 345 static int cpsw_ale_match_addr(struct cpsw_ale *ale, const u8 *addr, u16 vid) in cpsw_ale_match_addr() 366 static int cpsw_ale_match_vlan(struct cpsw_ale *ale, u16 vid) in cpsw_ale_match_vlan() 435 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid) in cpsw_ale_flush_multicast() 471 int flags, u16 vid) in cpsw_ale_set_vlan_entry_type() 482 int flags, u16 vid) in cpsw_ale_add_ucast() 508 int flags, u16 vid) in cpsw_ale_del_ucast() 523 int flags, u16 vid, int mcast_state) in cpsw_ale_add_mcast() 556 int flags, u16 vid) in cpsw_ale_del_mcast() 602 u16 vid, int untag_mask) in cpsw_ale_set_vlan_untag() 613 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port_mask, int untag, in cpsw_ale_add_vlan() [all …]
|