/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() 191 u16 vid) in sparx5_mact_lookup() 218 const unsigned char mac[ETH_ALEN], u16 vid) in sparx5_mact_forget() 240 u16 vid, u16 port_index) in alloc_mact_entry() 257 u16 vid, u16 port_index) in find_mact_entry() 277 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 | 178 u16 vid = port->pvid; in sparx5_port_add_addr() local 319 u16 vid, bool add) in sparx5_sync_port_dev_addr() 345 u16 vid, bool add) in sparx5_sync_bridge_dev_addr() 413 u16 vid) in sparx5_handle_port_vlan_del()
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 59 u16 vid; member 67 u16 vid; member 78 prestera_bridge_vlan_create(struct prestera_bridge_port *br_port, u16 vid) in prestera_bridge_vlan_create() 101 prestera_bridge_vlan_by_vid(struct prestera_bridge_port *br_port, u16 vid) in prestera_bridge_vlan_by_vid() 114 u16 vid) in prestera_bridge_vlan_port_count() 139 prestera_port_vlan_by_vid(struct prestera_port *port, u16 vid) in prestera_port_vlan_by_vid() 152 prestera_port_vlan_create(struct prestera_port *port, u16 vid, bool untagged) in prestera_port_vlan_create() 184 const unsigned char *mac, u16 vid, bool dynamic) in prestera_fdb_add() 194 const unsigned char *mac, u16 vid) in prestera_fdb_del() 203 static int prestera_fdb_flush_port_vlan(struct prestera_port *port, u16 vid, in prestera_fdb_flush_port_vlan() [all …]
|
/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 …]
|
D | fm10k_vf.c | 167 static s32 fm10k_update_vlan_vf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_vf() 204 u16 vid; in fm10k_msg_mac_vlan_vf() local 272 const u8 *mac, u16 vid, bool add, in fm10k_update_uc_addr_vf() 316 const u8 *mac, u16 vid, bool add) in fm10k_update_mc_addr_vf()
|
D | fm10k_pf.c | 194 static s32 fm10k_update_vlan_pf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_pf() 305 const u8 *mac, u16 vid, bool add, u8 flags) in fm10k_update_xc_addr_pf() 352 const u8 *mac, u16 vid, bool add, u8 flags) in fm10k_update_uc_addr_pf() 373 const u8 *mac, u16 vid, bool add) in fm10k_update_mc_addr_pf() 623 u32 vid = hw->mac.default_vid << FM10K_TXQCTL_VID_SHIFT; in fm10k_iov_assign_resources_pf() local 1172 s32 fm10k_iov_select_vid(struct fm10k_vf_info *vf_info, u16 vid) in fm10k_iov_select_vid() 1201 u32 vid; in fm10k_iov_msg_mac_vlan_pf() local
|
/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
|
/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 343 static int cpsw_ale_match_addr(struct cpsw_ale *ale, const u8 *addr, u16 vid) in cpsw_ale_match_addr() 364 static int cpsw_ale_match_vlan(struct cpsw_ale *ale, u16 vid) in cpsw_ale_match_vlan() 433 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid) in cpsw_ale_flush_multicast() 469 int flags, u16 vid) in cpsw_ale_set_vlan_entry_type() 480 int flags, u16 vid) in cpsw_ale_add_ucast() 506 int flags, u16 vid) in cpsw_ale_del_ucast() 521 int flags, u16 vid, int mcast_state) in cpsw_ale_add_mcast() 554 int flags, u16 vid) in cpsw_ale_del_mcast() 600 u16 vid, int untag_mask) in cpsw_ale_set_vlan_untag() 611 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port_mask, int untag, in cpsw_ale_add_vlan() [all …]
|
D | cpsw.c | 179 int vid, int add) in cpsw_set_mc() 203 static int cpsw_update_vlan_mc(struct net_device *vdev, int vid, void *ctx) in cpsw_update_vlan_mc() 268 static int cpsw_purge_vlan_mc(struct net_device *vdev, int vid, void *ctx) in cpsw_purge_vlan_mc() 730 static int cpsw_restore_vlans(struct net_device *vdev, int vid, void *arg) in cpsw_restore_vlans() 969 u16 vid = 0; in cpsw_ndo_set_mac_address() local 1001 unsigned short vid) in cpsw_add_vlan_ale_entry() 1050 __be16 proto, u16 vid) in cpsw_ndo_vlan_rx_add_vid() 1088 __be16 proto, u16 vid) in cpsw_ndo_vlan_rx_kill_vid()
|
D | cpsw_new.c | 124 int vid, int add) in cpsw_set_mc() 145 static int cpsw_update_vlan_mc(struct net_device *vdev, int vid, void *ctx) in cpsw_update_vlan_mc() 210 static int cpsw_purge_vlan_mc(struct net_device *vdev, int vid, void *ctx) in cpsw_purge_vlan_mc() 399 unsigned short vid) in cpsw_add_vlan_ale_entry() 438 __be16 proto, u16 vid) in cpsw_ndo_vlan_rx_add_vid() 477 static int cpsw_restore_vlans(struct net_device *vdev, int vid, void *arg) in cpsw_restore_vlans() 985 u16 vid = 0; in cpsw_ndo_set_mac_address() local 1015 __be16 proto, u16 vid) in cpsw_ndo_vlan_rx_kill_vid()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 77 u16 vid; member 436 u16 vid) in mlxsw_sp_port_vlan_find_by_bridge() 475 u16 vid) in mlxsw_sp_bridge_vlan_find() 488 mlxsw_sp_bridge_vlan_create(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) in mlxsw_sp_bridge_vlan_create() 512 mlxsw_sp_bridge_vlan_get(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) in mlxsw_sp_bridge_vlan_get() 637 u16 vid = bridge_vlan->vid; in mlxsw_sp_port_bridge_vlan_learning_set() local 984 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_fid_join() local 1033 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_fid_leave() local 1045 u16 vid, bool is_pvid) in mlxsw_sp_port_pvid_determine() 1062 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_bridge_join() local [all …]
|
D | spectrum_fid.c | 44 u16 vid; member 350 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_map() 358 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_unmap() 405 u16 vid = *(u16 *) arg; in mlxsw_sp_fid_8021q_setup() local 442 u8 local_port, u16 vid, bool valid) in __mlxsw_sp_fid_port_vid_map() 515 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans() local 538 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans() local 560 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_mode_trans() local 573 u16 vid) in mlxsw_sp_fid_8021d_port_vid_map() 601 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_8021d_port_vid_unmap() [all …]
|
/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
|
/drivers/net/ethernet/mscc/ |
D | ocelot.c | 19 u16 vid; member 41 unsigned int vid) in ocelot_mact_select() 63 unsigned int vid, enum macaccess_entry_type type) in ocelot_mact_learn() 92 const unsigned char mac[ETH_ALEN], unsigned int vid) in ocelot_mact_forget() 152 static int ocelot_vlant_set_mask(struct ocelot *ocelot, u16 vid, u32 mask) in ocelot_vlant_set_mask() 225 static int ocelot_vlan_member_set(struct ocelot *ocelot, u32 vlan_mask, u16 vid) in ocelot_vlan_member_set() 238 static int ocelot_vlan_member_add(struct ocelot *ocelot, int port, u16 vid) in ocelot_vlan_member_add() 245 static int ocelot_vlan_member_del(struct ocelot *ocelot, int port, u16 vid) in ocelot_vlan_member_del() 288 int ocelot_vlan_prepare(struct ocelot *ocelot, int port, u16 vid, bool pvid, in ocelot_vlan_prepare() 305 int ocelot_vlan_add(struct ocelot *ocelot, int port, u16 vid, bool pvid, in ocelot_vlan_add() [all …]
|
/drivers/cpufreq/ |
D | powernow-k7.c | 61 vid:5, member 175 u8 fid, vid; in get_ranges() local 233 static void change_VID(int vid) in change_VID() 250 u8 fid, vid; in powernow_target() local 352 u8 fid, vid; in powernow_acpi_init() local
|
/drivers/usb/core/ |
D | quirks.c | 16 u16 vid; member 31 u16 vid, pid; in quirks_param_set() local 667 u16 vid = le16_to_cpu(udev->descriptor.idVendor); in usb_detect_dynamic_quirks() local
|
/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | gpio.c | 39 u8 vid = 0; in nvkm_voltgpio_get() local 55 nvkm_voltgpio_set(struct nvkm_volt *volt, u8 vid) in nvkm_voltgpio_set()
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | volt.h | 14 u8 vid; member 15 } vid[256]; member
|
/drivers/scsi/fnic/ |
D | fnic_fip.h | 30 __be16 vid; member 39 u16 vid; /* vlan ID */ member
|
/drivers/hwmon/ |
D | hwmon-vid.c | 71 int vid; in vid_from_reg() local 236 unsigned int vid, brand, __maybe_unused dummy; in get_via_model_d_vrm() local
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 188 u16 vid, struct mlx5_flow_spec *spec) in __mlx5e_add_vlan_rule() 260 enum mlx5e_vlan_rule_type rule_type, u16 vid) in mlx5e_add_vlan_rule() 280 enum mlx5e_vlan_rule_type rule_type, u16 vid) in mlx5e_del_vlan_rule() 429 static int mlx5e_vlan_rx_add_cvid(struct mlx5e_priv *priv, u16 vid) in mlx5e_vlan_rx_add_cvid() 442 static int mlx5e_vlan_rx_add_svid(struct mlx5e_priv *priv, u16 vid) in mlx5e_vlan_rx_add_svid() 460 int mlx5e_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in mlx5e_vlan_rx_add_vid() 475 int mlx5e_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in mlx5e_vlan_rx_kill_vid()
|
/drivers/net/dsa/ |
D | rtl8366.c | 47 static int rtl8366_obtain_mc(struct realtek_smi *smi, int vid, in rtl8366_obtain_mc() 136 int rtl8366_set_vlan(struct realtek_smi *smi, int vid, u32 member, in rtl8366_set_vlan() 193 unsigned int vid) in rtl8366_set_pvid()
|
D | qca8k.c | 339 qca8k_fdb_write(struct qca8k_priv *priv, u16 vid, u8 port_mask, const u8 *mac, in qca8k_fdb_write() 415 u16 vid, u8 aging) in qca8k_fdb_add() 428 qca8k_fdb_del(struct qca8k_priv *priv, const u8 *mac, u16 port_mask, u16 vid) in qca8k_fdb_del() 449 qca8k_vlan_access(struct qca8k_priv *priv, enum qca8k_vlan_cmd cmd, u16 vid) in qca8k_vlan_access() 482 qca8k_vlan_add(struct qca8k_priv *priv, u8 port, u16 vid, bool untagged) in qca8k_vlan_add() 523 qca8k_vlan_del(struct qca8k_priv *priv, u8 port, u16 vid) in qca8k_vlan_del() 1641 u16 port_mask, u16 vid) in qca8k_port_fdb_insert() 1653 const unsigned char *addr, u16 vid) in qca8k_port_fdb_add() 1663 const unsigned char *addr, u16 vid) in qca8k_port_fdb_del()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 57 static int sja1105_is_vlan_configured(struct sja1105_private *priv, u16 vid) in sja1105_is_vlan_configured() 1471 const u8 *addr, u16 vid, in sja1105et_is_fdb_entry_in_bin() 1503 const unsigned char *addr, u16 vid) in sja1105et_fdb_add() 1588 const unsigned char *addr, u16 vid) in sja1105et_fdb_del() 1623 const unsigned char *addr, u16 vid) in sja1105pqrs_fdb_add() 1714 const unsigned char *addr, u16 vid) in sja1105pqrs_fdb_del() 1751 const unsigned char *addr, u16 vid) in sja1105_fdb_add() 1759 const unsigned char *addr, u16 vid) in sja1105_fdb_del() 2393 static int sja1105_vlan_add(struct sja1105_private *priv, int port, u16 vid, in sja1105_vlan_add() 2431 static int sja1105_vlan_del(struct sja1105_private *priv, int port, u16 vid) in sja1105_vlan_del() [all …]
|