Home
last modified time | relevance | path

Searched refs:vid (Results 251 - 275 of 1163) sorted by relevance

1...<<11121314151617181920>>...47

/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dfilter.h275 * @vid: Outer VLAN ID to match, or %EFX_FILTER_VID_UNSPEC
279 u16 vid, const u8 *addr) in efx_filter_set_eth_local()
281 if (vid == EFX_FILTER_VID_UNSPEC && addr == NULL) in efx_filter_set_eth_local()
284 if (vid != EFX_FILTER_VID_UNSPEC) { in efx_filter_set_eth_local()
286 spec->outer_vid = htons(vid); in efx_filter_set_eth_local()
278 efx_filter_set_eth_local(struct efx_filter_spec *spec, u16 vid, const u8 *addr) efx_filter_set_eth_local() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dfilter.h254 * @vid: Outer VLAN ID to match, or %EFX_FILTER_VID_UNSPEC
258 u16 vid, const u8 *addr) in efx_filter_set_eth_local()
260 if (vid == EFX_FILTER_VID_UNSPEC && addr == NULL) in efx_filter_set_eth_local()
263 if (vid != EFX_FILTER_VID_UNSPEC) { in efx_filter_set_eth_local()
265 spec->outer_vid = htons(vid); in efx_filter_set_eth_local()
257 efx_filter_set_eth_local(struct efx_filter_spec *spec, u16 vid, const u8 *addr) efx_filter_set_eth_local() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Denic_dev.c166 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in enic_vlan_rx_add_vid() argument
172 err = enic_add_vlan(enic, vid); in enic_vlan_rx_add_vid()
179 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in enic_vlan_rx_kill_vid() argument
185 err = enic_del_vlan(enic, vid); in enic_vlan_rx_kill_vid()
/kernel/linux/linux-6.6/net/batman-adv/
H A Dmain.h222 * batadv_print_vid() - return printable version of vid information
223 * @vid: the VLAN identifier
227 static inline int batadv_print_vid(unsigned short vid) in batadv_print_vid() argument
229 if (vid & BATADV_VLAN_HAS_TAG) in batadv_print_vid()
230 return (int)(vid & VLAN_VID_MASK); in batadv_print_vid()
380 bool batadv_vlan_ap_isola_get(struct batadv_priv *bat_priv, unsigned short vid);
/third_party/libinput/udev/
H A Dlibinput-device-group.c114 int pid, vid, dist; in wacom_handle_ekr() local
130 safe_atoi_base(vidstr, &vid, 16) && in wacom_handle_ekr()
132 vid == VENDOR_ID_WACOM && in wacom_handle_ekr()
136 *vendor_id = vid; in wacom_handle_ekr()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan.sh719 local vid=$1; shift
748 if [[ ! -z $vid ]]; then
750 bridge vlan del dev vxlan0 vid $vid
756 bridge vlan add dev vxlan0 vid $vid
762 bridge vlan add dev vxlan0 vid $vid pvid untagged
847 bridge vlan add vid 10 dev vxlan10 pvid untagged
848 bridge vlan add vid 2
[all...]
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_netlink.c39 if (v->vid == pvid) in __get_num_vlan_infos()
47 } else if ((v->vid - vid_range_end) == 1 && in __get_num_vlan_infos()
49 vid_range_end = v->vid; in __get_num_vlan_infos()
58 vid_range_start = v->vid; in __get_num_vlan_infos()
59 vid_range_end = v->vid; in __get_num_vlan_infos()
263 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
269 vinfo.vid = vid_end; in br_fill_ifvlaninfo_range()
275 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
305 if (v->vid == pvid) in br_fill_ifvlaninfo_compressed()
313 } else if ((v->vid in br_fill_ifvlaninfo_compressed()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot_net.c492 static int ocelot_vlan_vid_add(struct net_device *dev, u16 vid, bool pvid, in ocelot_vlan_vid_add() argument
501 ret = ocelot_vlan_add(ocelot, port, vid, pvid, untagged); in ocelot_vlan_vid_add()
506 ocelot_mact_learn(ocelot, PGID_CPU, dev->dev_addr, vid, in ocelot_vlan_vid_add()
512 static int ocelot_vlan_vid_del(struct net_device *dev, u16 vid) in ocelot_vlan_vid_del() argument
523 if (vid == OCELOT_STANDALONE_PVID) in ocelot_vlan_vid_del()
526 ret = ocelot_vlan_del(ocelot, port, vid); in ocelot_vlan_vid_del()
531 ocelot_mact_forget(ocelot, dev->dev_addr, vid); in ocelot_vlan_vid_del()
605 u16 vid; member
612 u16 vid; member
628 w->learn.vid, in ocelot_mact_work()
730 ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 vid, u16 flags, struct netlink_ext_ack *extack) ocelot_port_fdb_add() argument
744 ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 vid, struct netlink_ext_ack *extack) ocelot_port_fdb_del() argument
757 ocelot_port_fdb_do_dump(const unsigned char *addr, u16 vid, bool is_static, void *data) ocelot_port_fdb_do_dump() argument
823 ocelot_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) ocelot_vlan_rx_add_vid() argument
829 ocelot_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) ocelot_vlan_rx_kill_vid() argument
1074 ocelot_vlan_vid_prepare(struct net_device *dev, u16 vid, bool pvid, bool untagged, struct netlink_ext_ack *extack) ocelot_vlan_vid_prepare() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/hirschmann/
H A Dhellcreek.c150 static void hellcreek_select_vlan(struct hellcreek *hellcreek, int vid, in hellcreek_select_vlan() argument
161 val |= vid << HR_VIDCFG_VID_SHIFT; in hellcreek_select_vlan()
371 if (vlan->vid == restricted_vid) { in hellcreek_vlan_prepare()
406 static void hellcreek_apply_vlan(struct hellcreek *hellcreek, int port, u16 vid, in hellcreek_apply_vlan() argument
412 dev_dbg(hellcreek->dev, "Apply VLAN: port=%d vid=%u pvid=%d untagged=%d", in hellcreek_apply_vlan()
413 port, vid, pvid, untagged); in hellcreek_apply_vlan()
418 hellcreek_select_vlan(hellcreek, vid, pvid); in hellcreek_apply_vlan()
422 val = hellcreek->vidmbrcfg[vid]; in hellcreek_apply_vlan()
430 hellcreek->vidmbrcfg[vid] = val; in hellcreek_apply_vlan()
436 u16 vid) in hellcreek_unapply_vlan()
435 hellcreek_unapply_vlan(struct hellcreek *hellcreek, int port, u16 vid) hellcreek_unapply_vlan() argument
591 const u16 vid = hellcreek_private_vid(port); hellcreek_setup_vlan_membership() local
839 hellcreek_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) hellcreek_fdb_add() argument
885 hellcreek_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) hellcreek_fdb_del() argument
1500 u16 vid; hellcreek_port_prechangeupper() local
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/ocelot/
H A Dfelix.c68 int upstream, u16 vid) in felix_tag_8021q_vlan_add_rx()
98 outer_tagging_rule->action.vid_a_val = vid; in felix_tag_8021q_vlan_add_rx()
108 int upstream, u16 vid) in felix_tag_8021q_vlan_del_rx()
130 u16 vid) in felix_tag_8021q_vlan_add_tx()
152 untagging_rule->vlan.vid.value = vid; in felix_tag_8021q_vlan_add_tx()
153 untagging_rule->vlan.vid.mask = VLAN_VID_MASK; in felix_tag_8021q_vlan_add_tx()
196 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del_tx() argument
227 static int felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, in felix_tag_8021q_vlan_add() argument
241 err = felix_tag_8021q_vlan_add_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_add()
67 felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, int upstream, u16 vid) felix_tag_8021q_vlan_add_rx() argument
107 felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, int upstream, u16 vid) felix_tag_8021q_vlan_del_rx() argument
129 felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, u16 vid) felix_tag_8021q_vlan_add_tx() argument
259 felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) felix_tag_8021q_vlan_del() argument
783 felix_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) felix_fdb_add() argument
804 felix_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) felix_fdb_del() argument
825 felix_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag lag, const unsigned char *addr, u16 vid, struct dsa_db db) felix_lag_fdb_add() argument
838 felix_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag lag, const unsigned char *addr, u16 vid, struct dsa_db db) felix_lag_fdb_del() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan.sh734 local vid=$1; shift
763 if [[ ! -z $vid ]]; then
765 bridge vlan del dev vxlan0 vid $vid
771 bridge vlan add dev vxlan0 vid $vid
777 bridge vlan add dev vxlan0 vid $vid pvid untagged
867 bridge vlan add vid 10 dev vxlan10 pvid untagged
868 bridge vlan add vid 2
[all...]
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_netlink.c41 if (v->vid == pvid) in __get_num_vlan_infos()
49 } else if ((v->vid - vid_range_end) == 1 && in __get_num_vlan_infos()
51 vid_range_end = v->vid; in __get_num_vlan_infos()
60 vid_range_start = v->vid; in __get_num_vlan_infos()
61 vid_range_end = v->vid; in __get_num_vlan_infos()
337 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
343 vinfo.vid = vid_end; in br_fill_ifvlaninfo_range()
349 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
379 if (v->vid == pvid) in br_fill_ifvlaninfo_compressed()
387 } else if ((v->vid in br_fill_ifvlaninfo_compressed()
[all...]
H A Dbr_multicast.c60 __u16 vid,
72 __u16 vid, const unsigned char *src);
120 __be32 dst, __u16 vid) in br_mdb_ip4_get()
127 br_dst.vid = vid; in br_mdb_ip4_get()
135 __u16 vid) in br_mdb_ip6_get()
142 br_dst.vid = vid; in br_mdb_ip6_get()
149 struct sk_buff *skb, u16 vid) in br_mdb_get()
163 ip.vid in br_mdb_get()
119 br_mdb_ip4_get(struct net_bridge *br, __be32 dst, __u16 vid) br_mdb_ip4_get() argument
133 br_mdb_ip6_get(struct net_bridge *br, const struct in6_addr *dst, __u16 vid) br_mdb_ip6_get() argument
148 br_mdb_get(struct net_bridge_mcast *brmctx, struct sk_buff *skb, u16 vid) br_mdb_get() argument
239 br_multicast_port_vid_to_port_ctx(struct net_bridge_port *port, u16 vid) br_multicast_port_vid_to_port_ctx() argument
761 br_multicast_port_ngroups_dec(struct net_bridge_port *port, u16 vid) br_multicast_port_ngroups_dec() argument
1463 __u16 vid = p->key.addr.vid; br_multicast_del_port_group() local
1577 br_ip4_multicast_add_group(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, __be32 group, __u16 vid, const unsigned char *src, bool igmpv2) br_ip4_multicast_add_group() argument
1601 br_ip6_multicast_add_group(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, const struct in6_addr *group, __u16 vid, const unsigned char *src, bool mldv1) br_ip6_multicast_add_group() argument
2782 br_ip4_multicast_igmp3_report(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, struct sk_buff *skb, u16 vid) br_ip4_multicast_igmp3_report() argument
2904 br_ip6_multicast_mld2_report(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, struct sk_buff *skb, u16 vid) br_ip6_multicast_mld2_report() argument
3422 br_ip4_multicast_query(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, struct sk_buff *skb, u16 vid) br_ip4_multicast_query() argument
3503 br_ip6_multicast_query(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, struct sk_buff *skb, u16 vid) br_ip6_multicast_query() argument
3695 br_ip4_multicast_leave_group(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, __be32 group, __u16 vid, const unsigned char *src) br_ip4_multicast_leave_group() argument
3720 br_ip6_multicast_leave_group(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, const struct in6_addr *group, __u16 vid, const unsigned char *src) br_ip6_multicast_leave_group() argument
3810 br_multicast_ipv4_rcv(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, struct sk_buff *skb, u16 vid) br_multicast_ipv4_rcv() argument
3879 br_multicast_ipv6_rcv(struct net_bridge_mcast *brmctx, struct net_bridge_mcast_port *pmctx, struct sk_buff *skb, u16 vid) br_multicast_ipv6_rcv() argument
3934 br_multicast_rcv(struct net_bridge_mcast **brmctx, struct net_bridge_mcast_port **pmctx, struct net_bridge_vlan *vlan, struct sk_buff *skb, u16 vid) br_multicast_rcv() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_fip.h30 __be16 vid; member
39 u16 vid; /* vlan ID */ member
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
H A Dvideo.h24 int tegra_v4l2_nodes_setup_tpg(struct tegra_video_device *vid);
25 void tegra_v4l2_nodes_cleanup_tpg(struct tegra_video_device *vid);
/kernel/linux/linux-6.6/drivers/staging/media/tegra-video/
H A Dvideo.h23 int tegra_v4l2_nodes_setup_tpg(struct tegra_video_device *vid);
24 void tegra_v4l2_nodes_cleanup_tpg(struct tegra_video_device *vid);
/kernel/liteos_a/security/
H A DMakefile42 LOCAL_SRCS += $(wildcard vid/*.c)
43 LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/security/vid
/kernel/liteos_a/security/vid/
H A Dvid_api.h46 UINT16 GetRidByVid(UINT16 vid);
47 VOID RemoveNodeByVid(UINT16 vid);
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfnic_fip.h18 __be16 vid; member
27 u16 vid; /* vlan ID */ member
/kernel/linux/linux-5.10/drivers/scsi/qedf/
H A Dqedf_fip.c84 u16 vid = 0; in qedf_fcoe_process_vlan_resp() local
96 vid = ntohs(((struct fip_vlan_desc *)desc)->fd_vlan); in qedf_fcoe_process_vlan_resp()
110 "vid=0x%x.\n", vid); in qedf_fcoe_process_vlan_resp()
112 if (vid > 0 && qedf->vlan_id != vid) { in qedf_fcoe_process_vlan_resp()
113 qedf_set_vlan_id(qedf, vid); in qedf_fcoe_process_vlan_resp()
/kernel/linux/linux-6.6/drivers/mfd/
H A Dmt6370.c158 int *vid) in mt6370_check_vendor_info()
167 *vid = FIELD_GET(MT6370_VENID_MASK, devinfo); in mt6370_check_vendor_info()
168 switch (*vid) { in mt6370_check_vendor_info()
236 int ret, vid; in mt6370_probe() local
258 ret = mt6370_check_vendor_info(dev, regmap, &vid); in mt6370_probe()
268 switch (vid) { in mt6370_probe()
157 mt6370_check_vendor_info(struct device *dev, struct regmap *rmap, int *vid) mt6370_check_vendor_info() argument
/kernel/linux/linux-6.6/drivers/scsi/qedf/
H A Dqedf_fip.c84 u16 vid = 0; in qedf_fcoe_process_vlan_resp() local
96 vid = ntohs(((struct fip_vlan_desc *)desc)->fd_vlan); in qedf_fcoe_process_vlan_resp()
110 "vid=0x%x.\n", vid); in qedf_fcoe_process_vlan_resp()
112 if (vid > 0 && qedf->vlan_id != vid) { in qedf_fcoe_process_vlan_resp()
113 qedf_set_vlan_id(qedf, vid); in qedf_fcoe_process_vlan_resp()
/kernel/linux/linux-6.6/net/bluetooth/
H A Dhci_codec.c24 entry->vid = __le16_to_cpu(sent->vid); in hci_codec_list_add()
179 caps.vid = vnd_codecs->codec[i].vid; in hci_read_supported_codecs()
246 caps.vid = vnd_codecs->codec[i].vid; in hci_read_supported_codecs_v2()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c635 u16 vid) in qede_set_ucast_rx_vlan()
643 filter_cmd.filter.ucast.vlan = vid; in qede_set_ucast_rx_vlan()
679 int qede_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in qede_vlan_rx_add_vid() argument
685 DP_VERBOSE(edev, NETIF_MSG_IFUP, "Adding vlan 0x%04x\n", vid); in qede_vlan_rx_add_vid()
693 vlan->vid = vid; in qede_vlan_rx_add_vid()
698 if (tmp->vid == vlan->vid) { in qede_vlan_rx_add_vid()
711 vid); in qede_vlan_rx_add_vid()
712 if (vid ! in qede_vlan_rx_add_vid()
633 qede_set_ucast_rx_vlan(struct qede_dev *edev, enum qed_filter_xcast_params_type opcode, u16 vid) qede_set_ucast_rx_vlan() argument
831 qede_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) qede_vlan_rx_kill_vid() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c634 u16 vid) in qede_set_ucast_rx_vlan()
641 ucast.vlan = vid; in qede_set_ucast_rx_vlan()
677 int qede_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in qede_vlan_rx_add_vid() argument
683 DP_VERBOSE(edev, NETIF_MSG_IFUP, "Adding vlan 0x%04x\n", vid); in qede_vlan_rx_add_vid()
691 vlan->vid = vid; in qede_vlan_rx_add_vid()
696 if (tmp->vid == vlan->vid) { in qede_vlan_rx_add_vid()
709 vid); in qede_vlan_rx_add_vid()
710 if (vid ! in qede_vlan_rx_add_vid()
632 qede_set_ucast_rx_vlan(struct qede_dev *edev, enum qed_filter_xcast_params_type opcode, u16 vid) qede_set_ucast_rx_vlan() argument
829 qede_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) qede_vlan_rx_kill_vid() argument
[all...]

Completed in 24 milliseconds

1...<<11121314151617181920>>...47