/openbmc/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() 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() 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() 214 u16 vid, in lan966x_vlan_port_add_vlan() 236 void lan966x_vlan_port_del_vlan(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan() 255 void lan966x_vlan_cpu_add_vlan(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_add_vlan() 274 void lan966x_vlan_cpu_del_vlan(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_del_vlan() [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() 205 u16 vid) in lan966x_mac_alloc_entry() 315 u16 vid) in lan966x_mac_del_entry() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A 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() 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() 292 const unsigned char *addr, u16 vid) in sparx5_add_mact_entry() 338 u16 vid) in sparx5_del_mact_entry() 363 u16 vid, u32 cfg2) in sparx5_mact_handle_entry() [all …]
|
H A 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()
|
H A 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()
|
/openbmc/linux/net/bridge/ |
H A 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 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() 974 u16 vid, u32 portid, u32 seq, in br_fdb_get() [all …]
|
H A D | br_vlan.c | 17 u16 vid = *(u16 *)arg->key; in br_vlan_cmp() local 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 815 int br_vlan_delete(struct net_bridge *br, u16 vid) in br_vlan_delete() 1449 u16 vid; in br_vlan_fill_forward_path_pvid() local 1578 u16 vid; member 1623 u16 vid = vlan_dev_priv(vlan_dev)->vlan_id; in br_vlan_set_vlan_dev_state() local [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()
|
/openbmc/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() 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 …]
|
/openbmc/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()
|
/openbmc/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
|
/openbmc/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 | bridge_loop_avoidance.c | 259 unsigned short vid) in batadv_backbone_hash_find() 567 unsigned short vid) in batadv_bla_update_own_backbone_gw() 592 unsigned short vid) in batadv_bla_answer_request() 898 unsigned short vid) in batadv_handle_request() 931 unsigned short vid) in batadv_handle_unclaim() 969 unsigned short vid) in batadv_handle_claim() 1086 unsigned short vid; in batadv_bla_process_claim() local 1733 unsigned short vid) in batadv_bla_is_backbone_gw_orig() 1776 unsigned short vid; in batadv_bla_is_backbone_gw() local 1839 unsigned short vid) in batadv_bla_loopdetect_check() [all …]
|
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() 1077 unsigned short vid; in batadv_dat_get_vid() local 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 1353 unsigned short vid; in batadv_dat_snoop_incoming_arp_reply() local 1634 unsigned short vid) in batadv_dat_put_dhcp() 1720 unsigned short vid) in batadv_dat_snoop_outgoing_dhcp_ack() 1751 unsigned short vid; in batadv_dat_snoop_incoming_dhcp_ack() local [all …]
|
H A D | send.h | 84 unsigned short vid) in batadv_send_skb_via_tt() 109 unsigned short vid) in batadv_send_skb_via_tt_4addr()
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_netdev.c | 644 u32 vid, u8 vsi, bool set) in fm10k_queue_vlan_request() 758 u16 vid = interface->vid; in fm10k_uc_vlan_unsync() local 778 u16 vid = interface->vid; in fm10k_mc_vlan_unsync() local 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() 922 u32 vid, prev_vid; in fm10k_clear_unused_vlans() local 941 u16 vid, glort = interface->glort; in __fm10k_uc_sync() local 1006 u16 vid, glort = interface->glort; in __fm10k_mc_sync() local 1087 u16 vid, glort; in fm10k_restore_rx_state() local 1353 u16 vid, glort; in fm10k_dfwd_add_station() local [all …]
|
/openbmc/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
|
/openbmc/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
|
/openbmc/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 …]
|
H A D | ice_vlan.h | 12 u16 vid; member 16 #define ICE_VLAN(tpid, vid, prio) ((struct ice_vlan){ tpid, vid, prio }) argument
|
/openbmc/u-boot/drivers/video/ |
H A D | pxa_lcd.c | 409 static int pxafb_init_mem (void *lcdbase, vidinfo_t *vid) in pxafb_init_mem() 427 static inline void pxafb_setup_gpio (vidinfo_t *vid) {} in pxafb_setup_gpio() 429 static void pxafb_setup_gpio (vidinfo_t *vid) in pxafb_setup_gpio() 492 static void pxafb_enable_controller (vidinfo_t *vid) in pxafb_enable_controller() 519 static int pxafb_init (vidinfo_t *vid) in pxafb_init()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_switchdev.c | 64 u16 vid; member 72 u16 vid; member 215 u16 vid) in prestera_bridge_vlan_port_count() 295 const unsigned char *mac, u16 vid) in prestera_fdb_del() 395 u16 vid = port_vlan->vid; in prestera_port_vlan_bridge_leave() local 423 u16 vid = port_vlan->vid; in prestera_port_vlan_destroy() local 839 u16 vid; in prestera_port_attr_stp_state_set() local 1224 u16 vid; in prestera_port_fdb_set() local 1362 u16 vid = port_vlan->vid; in prestera_port_vlan_bridge_join() local 1546 const unsigned char *addr, u16 vid) in prestera_br_mdb_entry_find() [all …]
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 26 u16 vid; member 51 unsigned int vid) in ocelot_mact_select() 176 unsigned int vid, in ocelot_mact_learn_streamdata() 490 u16 vid) in ocelot_bridge_vlan_find() 728 u16 port, vid; in ocelot_vlan_init() local 1755 u16 vid; in ocelot_port_setup_dsa_8021q_cpu() local 1773 u16 vid; in ocelot_port_teardown_dsa_8021q_cpu() local 1851 u16 vid) in ocelot_multicast_get() 1963 u16 vid = mdb->vid; in ocelot_port_mdb_add() local 2020 u16 vid = mdb->vid; in ocelot_port_mdb_del() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_fid.c | 28 u16 vid; member 52 u16 vid; member 407 u16 vid = *(u16 *) arg; in mlxsw_sp_fid_8021q_setup() local 869 u16 vid) in mlxsw_sp_fid_port_vid_list_add() 891 u16 vid) in mlxsw_sp_fid_port_vid_list_del() 941 u16 vid, bool valid) in mlxsw_sp_fid_evid_map() 966 u16 vid) in mlxsw_sp_fid_8021d_port_vid_map() 1095 u16 vid = *(u16 *) arg; in mlxsw_sp_fid_8021q_compare() local 1142 u16 vid) in mlxsw_sp_fid_rfid_port_vid_map() 1344 u16 vid) in mlxsw_sp_fid_8021q_port_vid_map() [all …]
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k-common.c | 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() 803 u16 port_mask, u16 vid) in qca8k_port_fdb_insert() 814 const unsigned char *addr, u16 vid, in qca8k_port_fdb_add() 824 const unsigned char *addr, u16 vid, in qca8k_port_fdb_del() 865 u16 vid = mdb->vid; in qca8k_port_mdb_add() local [all …]
|