Home
last modified time | relevance | path

Searched refs:vid (Results 101 – 125 of 737) sorted by relevance

12345678910>>...30

/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dconftest.py72 vid, pid = m.groups()
73 vid = int(vid, 16)
75 params.append([module.name.replace(".ko", ""), vid, pid])
/openbmc/linux/include/linux/dsa/
H A D8021q.h25 int dsa_8021q_rx_switch_id(u16 vid);
27 int dsa_8021q_rx_source_port(u16 vid);
29 bool vid_is_dsa_8021q(u16 vid);
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-wacom1 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/speed
6 The /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/speed file
12 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/led
23 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status0_luminance
33 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status1_luminance
42 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status_led0_select
52 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status_led1_select
61 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/buttons_luminance
68 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/button<n>_rawimg
87 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_remote/unpair_remote
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_eswitch_br.h12 u16 vid; member
87 u16 vid; member
106 static inline bool ice_eswitch_br_is_vid_valid(u16 vid) in ice_eswitch_br_is_vid_valid() argument
112 return vid > 1; in ice_eswitch_br_is_vid_valid()
/openbmc/linux/net/dsa/
H A Dtag.h56 u16 vid, pvid, proto; in dsa_untag_bridge_pvid() local
76 vid = skb_vlan_tag_get_id(skb); in dsa_untag_bridge_pvid()
85 if (vid != pvid) in dsa_untag_bridge_pvid()
97 upper_dev = __vlan_find_dev_deep_rcu(br, htons(proto), vid); in dsa_untag_bridge_pvid()
110 dsa_find_designated_bridge_port_by_vid(struct net_device *master, u16 vid) in dsa_find_designated_bridge_port_by_vid() argument
139 err = br_vlan_get_info_rcu(slave, vid, &vinfo); in dsa_find_designated_bridge_port_by_vid()
H A Dslave.c43 u16 vid; member
91 u16 vid = standalone_work->vid; in dsa_slave_standalone_event_work() local
116 mdb.vid = vid; in dsa_slave_standalone_event_work()
128 mdb.vid = vid; in dsa_slave_standalone_event_work()
159 standalone_work->vid = vid; in dsa_slave_schedule_standalone_work()
672 if (vid == vlan->vid) in dsa_slave_vlan_check_for_8021q_uppers()
1762 .vid = vid, in dsa_slave_vlan_rx_add_vid()
1801 v->vid = vid; in dsa_slave_vlan_rx_add_vid()
1836 .vid = vid, in dsa_slave_vlan_rx_kill_vid()
3470 info.vid = switchdev_work->vid; in dsa_fdb_offload_notify()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.c1729 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_create()
1739 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_delete()
1752 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_port_set()
1766 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_port_vid_set()
1778 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_port_stp_set()
1794 .vid = __cpu_to_le16(vid), in prestera_hw_fdb_add()
1812 .vid = __cpu_to_le16(vid), in prestera_hw_fdb_del()
1829 .vid = __cpu_to_le16(vid), in prestera_hw_lag_fdb_add()
1847 .vid = __cpu_to_le16(vid), in prestera_hw_lag_fdb_del()
1873 .vid = __cpu_to_le16(vid), in prestera_hw_fdb_flush_vlan()
[all …]
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz9477.c120 dev->vlan_cache[vid].table[0] = vlan_table[0]; in ksz9477_set_vlan_table()
121 dev->vlan_cache[vid].table[1] = vlan_table[1]; in ksz9477_set_vlan_table()
122 dev->vlan_cache[vid].table[2] = vlan_table[2]; in ksz9477_set_vlan_table()
411 vlan_table[0] = VLAN_VALID | (vlan->vid & VLAN_FID_M); in ksz9477_port_vlan_add()
450 if (pvid == vlan->vid) in ksz9477_port_vlan_del()
476 data = vid << ALU_FID_INDEX_S; in ksz9477_fdb_add()
500 if (vid) in ksz9477_fdb_add()
502 alu_table[2] = (vid << ALU_V_FID_S); in ksz9477_fdb_add()
532 data = vid << ALU_FID_INDEX_S; in ksz9477_fdb_del()
724 if (mdb->vid) in ksz9477_mdb_add()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_pf.c216 len = vid >> 16; in fm10k_update_vlan_pf()
217 vid = (vid << 17) >> 17; in fm10k_update_vlan_pf()
224 for (reg = FM10K_VLAN_TABLE(vsi, vid / 32), bit = vid % 32; in fm10k_update_vlan_pf()
313 vid &= ~FM10K_VLAN_CLEAR; in fm10k_update_xc_addr_pf()
696 FM10K_TXQCTL_VF | vid); in fm10k_iov_assign_resources_pf()
1175 if (!vid) in fm10k_iov_select_vid()
1180 return vid; in fm10k_iov_select_vid()
1202 u32 vid; in fm10k_iov_msg_mac_vlan_pf() local
1217 vid &= ~FM10K_VLAN_CLEAR; in fm10k_iov_msg_mac_vlan_pf()
1229 if (vid >> 16) { in fm10k_iov_msg_mac_vlan_pf()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dtest_vxlan_vnifiltering.sh230 local vid=$(echo $vmap | awk -F'-' '{print ($1)}')
237 ip -netns vm-$vmid link add name $vmvethif.$vid link $vmvethif type vlan id $vid
238 ip -netns vm-$vmid addr add 10.0.$vid.$vmid/24 dev $vmvethif.$vid
239 ip -netns vm-$vmid link set $vmvethif.$vid up
241 tid=$vid
249 tid=$((vid+brid))
278 bridge -netns hv-$hvid vlan add vid $vid dev $hvvethif
279 bridge -netns hv-$hvid vlan add vid $vid pvid dev $vxlandev
284 bridge -netns hv-$hvid vlan add dev $vxlandev vid $vid tunnel_info id $tid
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_common.c748 u16 vid; in b53_configure_vlan() local
780 for (vid = def_vid; vid < dev->num_vlans; vid++) { in b53_configure_vlan()
781 v = &dev->vlans[vid]; in b53_configure_vlan()
1518 vl = &dev->vlans[vlan->vid]; in b53_vlan_add()
1522 if (vlan->vid == 0 && vlan->vid == b53_default_pvid(dev)) in b53_vlan_add()
1536 vlan->vid); in b53_vlan_add()
1560 if (pvid == vlan->vid) in b53_vlan_del()
1690 addr, vid); in b53_arl_op()
1695 addr, vid, idx); in b53_arl_op()
1700 addr, vid, idx); in b53_arl_op()
[all …]
/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/
H A Dcpsw_switchdev.rst115 [*] bridge vlan add dev br0 vid 1 pvid untagged self
134 bridge vlan add dev br0 vid 1 pvid untagged self <---- add cpu port to VLAN 1
143 bridge vlan add dev sw0p1 vid 100 pvid untagged master
144 bridge vlan add dev sw0p2 vid 100 pvid untagged master
149 bridge vlan add dev sw0p1 vid 100 master
150 bridge vlan add dev sw0p2 vid 100 master
170 bridge mdb add dev br0 port sw0p1 grp 239.1.1.1 permanent vid 100
185 bridge vlan add dev sw0p1 vid 100 pvid untagged master
186 bridge vlan add dev sw0p2 vid 100 master
189 bridge vlan add dev br0 vid 100 self
[all …]
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw.c92 __be16 proto, u16 vid);
179 int vid, int add) in cpsw_set_mc() argument
185 if (vid < 0) { in cpsw_set_mc()
189 vid = 0; in cpsw_set_mc()
193 flags = vid ? ALE_VLAN : 0; in cpsw_set_mc()
967 u16 vid = 0; in cpsw_ndo_set_mac_address() local
983 flags, vid); in cpsw_ndo_set_mac_address()
985 flags, vid); in cpsw_ndo_set_mac_address()
997 unsigned short vid) in cpsw_add_vlan_ale_entry() argument
1046 __be16 proto, u16 vid) in cpsw_ndo_vlan_rx_add_vid() argument
[all …]
H A Dcpsw_new.c125 int vid, int add) in cpsw_set_mc() argument
132 if (vid < 0) in cpsw_set_mc()
136 flags = vid ? ALE_VLAN : 0; in cpsw_set_mc()
400 unsigned short vid) in cpsw_add_vlan_ale_entry() argument
439 __be16 proto, u16 vid) in cpsw_ndo_vlan_rx_add_vid() argument
480 if (!vdev || !vid) in cpsw_restore_vlans()
984 u16 vid = 0; in cpsw_ndo_set_mac_address() local
998 flags, vid); in cpsw_ndo_set_mac_address()
1000 flags, vid); in cpsw_ndo_set_mac_address()
1012 __be16 proto, u16 vid) in cpsw_ndo_vlan_rx_kill_vid() argument
[all …]
/openbmc/linux/net/bridge/
H A Dbr_mdb.c73 u16 vid = brmctx->vlan ? brmctx->vlan->vid : 0; in br_rports_fill_info() local
89 if (vid) { in br_rports_fill_info()
121 (vid && nla_put_u16(skb, MDBA_ROUTER_PATTR_VID, vid))) { in br_rports_fill_info()
153 ip->vid = entry->vid; in __mdb_entry_to_br_ip()
253 e.vid = mp->addr.vid; in __mdb_fill_info()
565 if (vid && nla_put_u16(skb, MDBA_ROUTER_PATTR_VID, vid)) { in nlmsg_populate_rtr_fill()
596 u16 vid; in br_rtr_notify() local
1315 cfg.entry->vid = v->vid; in br_mdb_add()
1316 cfg.group.vid = v->vid; in br_mdb_add()
1393 cfg.entry->vid = v->vid; in br_mdb_del()
[all …]
/openbmc/linux/drivers/net/dsa/realtek/
H A Drealtek.h35 u16 vid; member
43 u16 vid; member
103 int (*get_vlan_4k)(struct realtek_priv *priv, u32 vid,
130 int rtl8366_set_vlan(struct realtek_priv *priv, int vid, u32 member,
133 unsigned int vid);
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dpmbus_utils_tests.cpp63 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); in TEST()
69 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); in TEST()
75 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); in TEST()
81 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); in TEST()
87 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); in TEST()
128 pmbus_utils::VoutDataFormat format = pmbus_utils::VoutDataFormat::vid; in TEST()
/openbmc/linux/drivers/rapidio/
H A Drio-driver.c30 while (id->vid || id->asm_vid) { in rio_match_device()
31 if (((id->vid == RIO_ANY_ID) || (id->vid == rdev->vid)) && in rio_match_device()
219 rdev->vid, rdev->did, rdev->asm_vid, rdev->asm_did)) in rio_uevent()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs.c221 u16 vid, struct mlx5_flow_spec *spec) in __mlx5e_add_vlan_rule() argument
264 vid); in __mlx5e_add_vlan_rule()
274 vid); in __mlx5e_add_vlan_rule()
335 if (fs->vlan->active_svlans_rule[vid]) { in mlx5e_fs_del_vlan_rule()
341 if (fs->vlan->active_cvlans_rule[vid]) { in mlx5e_fs_del_vlan_rule()
464 set_bit(vid, fs->vlan->active_cvlans); in mlx5e_vlan_rx_add_cvid()
474 struct net_device *netdev, u16 vid) in mlx5e_vlan_rx_add_svid() argument
478 set_bit(vid, fs->vlan->active_svlans); in mlx5e_vlan_rx_add_svid()
493 __be16 proto, u16 vid) in mlx5e_fs_vlan_rx_add_vid() argument
502 return mlx5e_vlan_rx_add_cvid(fs, vid); in mlx5e_fs_vlan_rx_add_vid()
[all …]
/openbmc/linux/drivers/media/test-drivers/vivid/
H A DMakefile2 vivid-objs := vivid-core.o vivid-ctrls.o vivid-vid-common.o vivid-vbi-gen.o \
3 vivid-vid-cap.o vivid-vid-out.o vivid-kthread-cap.o vivid-kthread-out.o \
/openbmc/linux/net/batman-adv/
H A Dmulticast.c1195 unsigned short vid, in batadv_mcast_forw_send_orig() argument
1210 orig_node, vid); in batadv_mcast_forw_send_orig()
1228 unsigned short vid) in batadv_mcast_forw_tt() argument
1276 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_ipv4() argument
1313 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_ipv6() argument
1351 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all() argument
1379 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_rtr4() argument
1416 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_rtr6() argument
1454 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_rtr() argument
1485 unsigned short vid, int is_routable) in batadv_mcast_forw_send() argument
[all …]
/openbmc/phosphor-ipmi-flash/tools/
H A Dpci.hpp101 static constexpr std::uint32_t vid = 0x1050; member in host_tool::NuvotonPciBridge
106 vid, did, PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, 0
141 static constexpr std::uint32_t vid = 0x1a03; member in host_tool::AspeedPciBridge
146 vid, did, PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, 0
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh186 local vid=$1; shift
203 if ! [ -z "${vid}" ]; then
204 vid="--vid=${vid}"
216 extra_args="${extra_args} --l2 --etype=0xdead ${vid}"
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_rx_filter.h41 struct ionic_rx_filter *ionic_rx_filter_by_vlan(struct ionic_lif *lif, u16 vid);
46 int ionic_lif_vlan_add(struct ionic_lif *lif, const u16 vid);
47 int ionic_lif_vlan_del(struct ionic_lif *lif, const u16 vid);
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c599 u16 vid = 0; in change_mac_addr() local
624 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in change_mac_addr()
625 } while (vid != VLAN_N_VID); in change_mac_addr()
656 u16 vid = 0; in add_mac_addr() local
671 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in add_mac_addr()
672 } while (vid != VLAN_N_VID); in add_mac_addr()
688 u16 vid = 0; in remove_mac_addr() local
707 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in remove_mac_addr()
708 } while (vid != VLAN_N_VID); in remove_mac_addr()
724 err = hinic_port_add_vlan(nic_dev, vid); in hinic_vlan_rx_add_vid()
[all …]

12345678910>>...30