Searched refs:vid (Results 1 - 25 of 124) sorted by relevance

12345

/freebsd-11-stable/sys/dev/etherswitch/arswitch/
H A Darswitch_vlans.h39 int ar8xxx_purge_dot1q_vlan(struct arswitch_softc *sc, int vid);
41 uint32_t *untagged_ports, int vid);
43 uint32_t untagged_ports, int vid);
44 int ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid);
45 int ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid);
H A Darswitch_vlans.c58 ar8xxx_vlan_op(struct arswitch_softc *sc, uint32_t op, uint32_t vid, argument
75 if (vid != 0)
76 op |= ((vid & ETHERSWITCH_VID_MASK) << AR8X16_VLAN_VID_SHIFT);
97 ar8xxx_purge_dot1q_vlan(struct arswitch_softc *sc, int vid) argument
101 return (ar8xxx_vlan_op(sc, AR8X16_VLAN_OP_PURGE, vid, 0));
106 uint32_t *untagged_ports, int vid)
112 err = ar8xxx_vlan_op(sc, AR8X16_VLAN_OP_GET, vid, 0);
129 uint32_t untagged_ports, int vid)
134 err = ar8xxx_vlan_op(sc, AR8X16_VLAN_OP_LOAD, vid, ports);
141 ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid) argument
105 ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports, uint32_t *untagged_ports, int vid) argument
128 ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports, uint32_t untagged_ports, int vid) argument
156 ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid) argument
313 int err, vid; local
[all...]
H A Darswitchvar.h73 int vid[AR8X16_MAX_VLANS]; member in struct:arswitch_softc
104 int vid);
106 uint32_t *ports, uint32_t *untagged_ports, int vid);
108 uint32_t ports, uint32_t untagged_ports, int vid);
110 uint32_t *ports, int vid);
112 uint32_t ports, int vid);
H A Darswitch_8327.c79 ar8327_vlan_op(struct arswitch_softc *sc, uint32_t op, uint32_t vid, argument
104 op |= ((vid & 0xfff) << AR8327_VTU_FUNC1_VID_S);
834 memset(sc->vid, 0, sizeof(sc->vid));
864 sc->vid[i] = i | ETHERSWITCH_VID_VALID;
909 sc->vid[0] = 1;
912 sc->hal.arswitch_vlan_set_pvid(sc, i, sc->vid[0]);
915 sc->hal.arswitch_set_dot1q_vlan(sc, ports, ports, sc->vid[0]);
916 sc->vid[0] |= ETHERSWITCH_VID_VALID;
923 ar8327_vlan_get_port(struct arswitch_softc *sc, uint32_t *ports, int vid) argument
938 ar8327_vlan_set_port(struct arswitch_softc *sc, uint32_t ports, int vid) argument
1034 ar8327_purge_dot1q_vlan(struct arswitch_softc *sc, int vid) argument
1041 ar8327_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports, uint32_t *untagged_ports, int vid) argument
1082 ar8327_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports, uint32_t untagged_ports, int vid) argument
[all...]
/freebsd-11-stable/sys/dev/syscons/rain/
H A Drain_saver.c60 static u_char *vid; variable
92 vid = (u_char *)adp->va_window;
99 bzero(vid, bpsl * scrh - i);
101 bzero(vid, banksize);
110 vid[p] = 1 + (random() % MAX);
120 temp = (vid[p] < MAX) ? 1 + vid[p] : 1;
122 vid[p + bpsl] = temp;
125 vid[p + bpsl - banksize] = temp;
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dvlan_util.h16 int vlan_add(const char *if_name, int vid, const char *vlan_if_name);
H A Dvlan_ioctl.c55 Add a vlan interface with VLAN ID 'vid' and tagged interface
62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) argument
67 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d)",
68 if_name, vid);
88 vid);
93 if_request.u.VID == vid) {
111 if_request.u.VID = vid;
H A Dvlan_util.c17 * Add a vlan interface with name 'vlan_if_name', VLAN ID 'vid' and
24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) argument
31 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, "
32 "vlan_if_name=%s)", if_name, vid, vlan_if_name);
97 err = rtnl_link_vlan_set_id(rlink, vid);
108 vlan_if_name, vid, if_name, if_idx,
H A Dvlan_full.c388 const char *br_name, int vid,
397 tagged_interface, vid);
400 vid);
408 if (!vlan_add(tagged_interface, vid, vlan_ifname))
421 struct hostapd_vlan *vlan, int vid)
431 hapd->conf->vlan_bridge, vid);
434 tagged_interface, vid);
436 ret = os_snprintf(br_name, IFNAMSIZ, "brvlan%d", vid);
446 int vid)
457 vid, hap
387 vlan_newlink_tagged(int vlan_naming, const char *tagged_interface, const char *br_name, int vid, struct hostapd_data *hapd) argument
420 vlan_bridge_name(char *br_name, struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vid) argument
445 vlan_get_bridge(const char *br_name, struct hostapd_data *hapd, int vid) argument
513 vlan_dellink_tagged(int vlan_naming, const char *tagged_interface, const char *br_name, int vid, struct hostapd_data *hapd) argument
545 vlan_put_bridge(const char *br_name, struct hostapd_data *hapd, int vid) argument
[all...]
/freebsd-11-stable/tools/tools/usbtest/
H A Dusb_control_ep_test.c78 usb_control_ep_error_test(uint16_t vid, uint16_t pid) argument
89 pdev = find_usb_device(vid, pid);
164 usb_get_string_desc_test(uint16_t vid, uint16_t pid) argument
173 pdev = find_usb_device(vid, pid);
193 "VID=0x%04x PID=0x%04x\n", vid, pid);
239 usb_port_reset_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
255 pdev = find_usb_device(vid, pid);
309 usb_set_config_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
318 pdev = find_usb_device(vid, pid);
332 "VID=0x%04x PID=0x%04x\n", vid, pi
368 usb_get_descriptor_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
381 usb_suspend_resume_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
471 usb_set_and_clear_stall_test(uint16_t vid, uint16_t pid) argument
607 usb_set_alt_interface_test(uint16_t vid, uint16_t pid) argument
[all...]
/freebsd-11-stable/sys/dev/syscons/logo/
H A Dlogo_saver.c57 static u_char *vid; variable
73 bcopy(logo_img + d, vid + p, logo_w);
77 bcopy(logo_img + d, vid + p, l);
79 bcopy(logo_img + d + l, vid, logo_w - l);
84 bcopy(logo_img + d, vid + p, logo_w);
121 vid = (u_char *)adp->va_window;
/freebsd-11-stable/sys/netgraph/
H A Dng_vlan.h67 uint16_t vlan; /* VLAN - same as vid, oldname, deprecated. */
69 uint16_t vid; /* VID - VLAN Identifier. */ member in struct:ng_vlan_filter
79 { "vid", &ng_parse_uint16_type }, \
87 { "vid", &ng_parse_uint16_type }, \
H A Dng_vlan.c262 uint16_t vid; local
279 if (vf->vid == 0 && vf->vid != vf->vlan) {
280 vf->vid = vf->vlan;
281 } else if (vf->vid != 0 && vf->vlan != 0 &&
282 vf->vid != vf->vlan) {
287 if (vf->vid & ~EVL_VLID_MASK ||
311 if (priv->vlan_hook[vf->vid] != NULL) {
318 EVL_MAKETAG(vf->vid, vf->pcp, vf->cfi)));
319 priv->vlan_hook[vf->vid]
375 vid)); local
521 uint16_t vid, eth_vtag; local
[all...]
/freebsd-11-stable/contrib/binutils/binutils/
H A Dwindmc.h56 rc_uint_type vid; member in struct:mc_node_lang
69 rc_uint_type vid; member in struct:mc_node
H A Dwindmc.c328 mc_add_node_lang (mc_node *root, const mc_keyword *lang, rc_uint_type vid) argument
337 ret->vid = vid;
349 if (h->vid > vid)
351 if (h->vid == vid)
352 fatal ("double defined message id %ld.\n", (long) vid);
396 write_header_define (FILE *fp, const unichar *sym_name, rc_uint_type vid, const unichar *typecast, mc_node_lang *nl) argument
406 fprintf (fp, "//\n// MessageId: 0x%lu\n//\n", (unsigned long) vid);
[all...]
H A Dmcparse.y62 %type<ival> id vid sefasy_def
184 cur_node->vid = ($1 & 0xffffUL) | mc_sefa_val;
190 id: MCMESSAGEID '=' vid { $$ = $3; }
195 vid: /* empty */ label
270 h = mc_add_node_lang (cur_node, $1, cur_node->vid);
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dneigh.h27 int vid; member in struct:get_neigh_handler
37 void neigh_set_vlan_id(struct get_neigh_handler *neigh_handler, uint16_t vid);
/freebsd-11-stable/sys/dev/syscons/fire/
H A Dfire_saver.c62 static u_char *vid; variable
99 bcopy(buf + y * scrw, vid + p, scrw);
101 bcopy(buf + y * scrw, vid + p, banksize - p);
103 bcopy(buf + y * scrw + (banksize - p), vid,
124 vid = (u_char *)adp->va_window;
/freebsd-11-stable/sys/x86/cpufreq/
H A Dpowernow.c148 #define WRITE_FIDVID(fid, vid, ctrl) \
150 (((ctrl) << 32) | (1ULL << 16) | ((vid) << 8) | (fid)))
213 int vid; member in struct:powernow_state
277 pn7_setfidvid(struct pn_softc *sc, int fid, int vid) argument
287 if (fid == cfid && vid == cvid)
293 ctl |= PN7_CTR_VID(vid);
301 if (vid != cvid)
328 pn8_write_fidvid(u_int fid, u_int vid, uint64_t ctrl, uint64_t *status) argument
333 WRITE_FIDVID(fid, vid, ctrl);
340 pn8_setfidvid(struct pn_softc *sc, int fid, int vid) argument
445 int fid, vid; local
607 int vid = sc->powernow_states[i].vid; local
[all...]
/freebsd-11-stable/sys/dev/syscons/dragon/
H A Ddragon_saver.c47 static u_char *vid; variable
76 vid[(x + y * SCRW) >> 3] = (0x80 >> (x & 7)); /* write new dot */
78 vid[x + y * SCRW] = val;
211 vid = (u_char *)adp->va_window;
/freebsd-11-stable/sys/dev/syscons/warp/
H A Dwarp_saver.c53 static u_char *vid; variable
81 vid[p] = 0;
92 vid[p] = i;
110 vid = (u_char *)adp->va_window;
/freebsd-11-stable/share/examples/libusb20/
H A Dbulk.c158 unsigned int vid = UINT_MAX, pid = UINT_MAX; /* impossible VID:PID */ local
177 vid = strtol(optarg, NULL, 0);
187 if (vid != UINT_MAX || pid != UINT_MAX)
237 if (ddp->idVendor == vid && ddp->idProduct == pid)
/freebsd-11-stable/sys/dev/mlx5/mlx5_fpga_tools/
H A Dmlx5fpga_tools_main.c47 static int mlx5_fpga_tools_add(struct mlx5_fpga_device *fdev, u32 vid, u16 pid);
106 static int mlx5_fpga_tools_add(struct mlx5_fpga_device *fdev, u32 vid, u16 pid) argument
/freebsd-11-stable/sys/dev/if_ndis/
H A Dif_ndis_pci.c116 uint16_t vid, did; local
122 vid = pci_get_vendor(dev);
128 if ((t->ndis_vid == vid) && (t->ndis_did == did) &&
181 uint16_t vid, did; local
314 vid = pci_get_vendor(dev);
322 if (t->ndis_vid == vid && t->ndis_did == did) {
/freebsd-11-stable/sys/dev/bwi/
H A Dif_bwi_pci.c84 uint16_t vid; member in struct:bwi_dev
107 uint16_t did, vid; local
110 vid = pci_get_vendor(dev);
113 if (b->did == did && b->vid == vid) {

Completed in 156 milliseconds

12345