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

1234

/freebsd-10.0-release/contrib/wpa/src/ap/
H A Dvlan_util.h12 int vlan_add(const char *if_name, int vid, const char *vlan_if_name);
H A Dvlan_util.c25 * Add a vlan interface with name 'vlan_if_name', VLAN ID 'vid' and
32 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) argument
40 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, "
41 "vlan_if_name=%s)", if_name, vid, vlan_if_name);
103 if (rtnl_link_vlan_set_id(rlink, vid) < 0) {
111 vlan_if_name, vid, if_name, if_idx);
/freebsd-10.0-release/sys/dev/etherswitch/arswitch/
H A Darswitch_vlans.c53 arswitch_vlan_op(struct arswitch_softc *sc, uint32_t op, uint32_t vid, argument
70 if (vid != 0)
71 op |= ((vid & ETHERSWITCH_VID_MASK) << AR8X16_VLAN_VID_SHIFT);
92 arswitch_purge_dot1q_vlan(struct arswitch_softc *sc, int vid) argument
96 return (arswitch_vlan_op(sc, AR8X16_VLAN_OP_PURGE, vid, 0));
100 arswitch_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid) argument
106 err = arswitch_vlan_op(sc, AR8X16_VLAN_OP_GET, vid, 0);
121 arswitch_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports, int vid) argument
126 err = arswitch_vlan_op(sc, AR8X16_VLAN_OP_LOAD, vid, ports);
133 arswitch_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid) argument
148 arswitch_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid) argument
304 int err, vid; local
[all...]
H A Darswitchvar.h61 int vid[AR8X16_MAX_VLANS]; member in struct:arswitch_softc
/freebsd-10.0-release/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-10.0-release/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...]
H A Dusb_modem_test.c431 exec_host_modem_test(struct modem *p, uint16_t vid, uint16_t pid) argument
443 pdev = find_usb_device(vid, pid);
516 show_host_modem_test(uint8_t level, uint16_t vid, uint16_t pid, uint32_t duration) argument
545 (int)vid, (int)pid);
576 exec_host_modem_test(&modem, vid, pid);
579 show_host_device_selection(level + 1, &vid, &pid);
/freebsd-10.0-release/sys/ofed/include/rdma/
H A Dib_addr.h134 static inline void iboe_mac_vlan_to_ll(union ib_gid *gid, u8 *mac, u16 vid) argument
138 if (vid < 0x1000) {
139 gid->raw[12] = vid & 0xff;
140 gid->raw[11] = vid >> 8;
169 u16 vid = 0xffff; local
173 vid = rdma_vlan_dev_vlan_id(dev);
177 iboe_mac_vlan_to_ll(gid, dev_addr->src_dev_addr, vid);
302 u16 vid; local
304 vid = dgid->raw[11] << 8 | dgid->raw[12];
305 return vid <
[all...]
/freebsd-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/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)
H A Dcontrol.c305 unsigned int vid = UINT_MAX, pid = UINT_MAX; /* impossible VID:PID */ local
342 vid = strtol(optarg, NULL, 0);
352 if (vid != UINT_MAX || pid != UINT_MAX)
408 if (ddp->idVendor == vid && ddp->idProduct == pid)
/freebsd-10.0-release/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-10.0-release/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-10.0-release/sys/dev/if_ndis/
H A Dif_ndis_pci.c113 uint16_t vid, did; local
119 vid = pci_get_vendor(dev);
125 if ((t->ndis_vid == vid) && (t->ndis_did == did) &&
178 uint16_t vid, did; local
311 vid = pci_get_vendor(dev);
319 if (t->ndis_vid == vid && t->ndis_did == did) {
/freebsd-10.0-release/sys/dev/bwi/
H A Dif_bwi_pci.c81 uint16_t vid; member in struct:bwi_dev
104 uint16_t did, vid; local
107 vid = pci_get_vendor(dev);
110 if (b->did == did && b->vid == vid) {
/freebsd-10.0-release/sys/net/
H A Dif_vlan.c187 uint16_t vid);
370 vlan_gethash(struct ifvlantrunk *trunk, uint16_t vid) argument
376 LIST_FOREACH(ifv, &trunk->hash[HASH(vid, trunk->hmask)], ifv_list)
377 if (ifv->ifv_vid == vid)
401 vlan_gethash(struct ifvlantrunk *trunk, uint16_t vid) argument
404 return trunk->vlans[vid];
678 vlan_devat(struct ifnet *ifp, uint16_t vid) argument
688 ifv = vlan_gethash(trunk, vid);
804 int vid; local
823 vid
862 int vid; local
1122 uint16_t vid; local
1189 vlan_config(struct ifvlan *ifv, struct ifnet *p, uint16_t vid) argument
[all...]
/freebsd-10.0-release/usr.sbin/usbconfig/
H A Dusbconfig.c55 uint16_t vid; member in struct:options
163 uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev,
171 q.vid = vid;
186 uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev,
194 q.vid = vid;
278 " add_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> <quirk>" "\n"
279 " remove_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> <quirk>" "\n"
343 opt->vid, op
162 be_dev_remove_quirk(struct libusb20_backend *pbe, uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev, const char *str) argument
185 be_dev_add_quirk(struct libusb20_backend *pbe, uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev, const char *str) argument
[all...]
/freebsd-10.0-release/contrib/gcc/cp/
H A Dclass.c7199 vtbl_init_data vid;
7205 memset (&vid, 0, sizeof (vid));
7206 vid.binfo = binfo;
7207 vid.derived = t;
7208 vid.rtti_binfo = rtti_binfo;
7209 vid.last_init = &vid.inits;
7210 vid.primary_vtbl_p = SAME_BINFO_TYPE_P (BINFO_TYPE (binfo), t);
7211 vid
7191 vtbl_init_data vid; local
7366 build_vcall_and_vbase_vtbl_entries(tree binfo, vtbl_init_data* vid) argument
7388 build_vbase_offset_vtbl_entries(tree binfo, vtbl_init_data* vid) argument
7482 build_vcall_offset_vtbl_entries(tree binfo, vtbl_init_data* vid) argument
7520 add_vcall_offset_vtbl_entries_r(tree binfo, vtbl_init_data* vid) argument
7550 add_vcall_offset_vtbl_entries_1(tree binfo, vtbl_init_data* vid) argument
7635 add_vcall_offset(tree orig_fn, tree binfo, vtbl_init_data *vid) argument
7709 build_rtti_vtbl_entries(tree binfo, vtbl_init_data* vid) argument
[all...]

Completed in 385 milliseconds

1234