Searched refs:devinfo (Results 1 - 25 of 93) sorted by relevance

1234

/freebsd-9.3-release/usr.sbin/pc-sysinstall/backend-query/
H A Ddetect-laptop.sh28 if devinfo | grep -q acpi_acad0; then
/freebsd-9.3-release/lib/libdevinfo/
H A DMakefile3 LIB= devinfo
4 SRCS= devinfo.c
5 INCS= devinfo.h
6 MAN= devinfo.3
/freebsd-9.3-release/usr.sbin/devinfo/
H A DMakefile3 PROG= devinfo
4 MAN= devinfo.8
/freebsd-9.3-release/sys/dev/sound/pci/hda/
H A Dhdaa.c50 #define hdaa_lock(devinfo) snd_mtxlock((devinfo)->lock)
51 #define hdaa_unlock(devinfo) snd_mtxunlock((devinfo)->lock)
52 #define hdaa_lockassert(devinfo) snd_mtxassert((devinfo)->lock)
53 #define hdaa_lockowned(devinfo) mtx_owned((devinfo)->lock)
200 hdaa_audio_ctl_each(struct hdaa_devinfo *devinfo, int *index) argument
202 if (devinfo
211 hdaa_audio_ctl_amp_get(struct hdaa_devinfo *devinfo, nid_t nid, int dir, int index, int cnt) argument
245 struct hdaa_devinfo *devinfo = w->devinfo; local
328 struct hdaa_devinfo *devinfo; local
398 struct hdaa_devinfo *devinfo = w->devinfo; local
440 struct hdaa_devinfo *devinfo = arg; local
466 struct hdaa_devinfo *devinfo = w->devinfo; local
547 struct hdaa_devinfo *devinfo = w->devinfo; local
605 hdaa_sense_init(struct hdaa_devinfo *devinfo) argument
658 hdaa_sense_deinit(struct hdaa_devinfo *devinfo) argument
937 hdaa_local_patch(struct hdaa_devinfo *devinfo) argument
1247 hdaa_widget_get(struct hdaa_devinfo *devinfo, nid_t nid) argument
1256 hdaa_audio_ctl_amp_set_internal(struct hdaa_devinfo *devinfo, nid_t nid, int index, int lmute, int rmute, int left, int right, int dir) argument
1343 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
1707 struct hdaa_devinfo *devinfo = ch->devinfo; local
1735 struct hdaa_devinfo *devinfo = ch->devinfo; local
1784 struct hdaa_devinfo *devinfo = ch->devinfo; local
1829 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
1959 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2035 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2105 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2185 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2286 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2361 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2445 hdaa_dump_gpi(struct hdaa_devinfo *devinfo) argument
2471 hdaa_dump_gpio(struct hdaa_devinfo *devinfo) argument
2509 hdaa_dump_gpo(struct hdaa_devinfo *devinfo) argument
2526 hdaa_audio_parse(struct hdaa_devinfo *devinfo) argument
2588 hdaa_audio_postprocess(struct hdaa_devinfo *devinfo) argument
2602 hdaa_audio_ctl_parse(struct hdaa_devinfo *devinfo) argument
2764 hdaa_audio_as_parse(struct hdaa_devinfo *devinfo) argument
2922 hdaa_audio_trace_dac(struct hdaa_devinfo *devinfo, int as, int seq, nid_t nid, int dupseq, int min, int only, int depth) argument
3033 hdaa_audio_trace_adc(struct hdaa_devinfo *devinfo, int as, int seq, nid_t nid, int mixed, int min, int only, int depth, int *length, int onlylength) argument
3128 hdaa_audio_undo_trace(struct hdaa_devinfo *devinfo, int as, int seq) argument
3157 hdaa_audio_trace_as_out(struct hdaa_devinfo *devinfo, int as, int seq) argument
3227 struct hdaa_devinfo *devinfo = w1->devinfo; local
3266 struct hdaa_devinfo *devinfo = w1->devinfo; local
3303 hdaa_audio_adddac(struct hdaa_devinfo *devinfo, int asid) argument
3380 hdaa_audio_trace_as_in(struct hdaa_devinfo *devinfo, int as) argument
3436 hdaa_audio_trace_as_in_mch(struct hdaa_devinfo *devinfo, int as, int seq) argument
3494 hdaa_audio_trace_to_out(struct hdaa_devinfo *devinfo, nid_t nid, int depth) argument
3578 hdaa_audio_trace_as_extra(struct hdaa_devinfo *devinfo) argument
3674 hdaa_audio_bind_as(struct hdaa_devinfo *devinfo) argument
3731 hdaa_audio_disable_nonaudio(struct hdaa_devinfo *devinfo) argument
3755 hdaa_audio_disable_useless(struct hdaa_devinfo *devinfo) argument
3888 hdaa_audio_disable_unas(struct hdaa_devinfo *devinfo) argument
3983 hdaa_audio_disable_notselected(struct hdaa_devinfo *devinfo) argument
4017 hdaa_audio_disable_crossas(struct hdaa_devinfo *devinfo) argument
4119 hdaa_audio_ctl_source_amp(struct hdaa_devinfo *devinfo, nid_t nid, int index, int ossdev, int ctlable, int depth, int *minamp, int *maxamp) argument
4225 hdaa_audio_ctl_dest_amp(struct hdaa_devinfo *devinfo, nid_t nid, int index, int ossdev, int depth, int *minamp, int *maxamp) argument
4319 hdaa_audio_assign_names(struct hdaa_devinfo *devinfo) argument
4466 hdaa_audio_build_tree(struct hdaa_devinfo *devinfo) argument
4528 struct hdaa_devinfo *devinfo = w->devinfo; local
4553 hdaa_audio_assign_mixers(struct hdaa_devinfo *devinfo) argument
4621 hdaa_audio_prepare_pin_ctrl(struct hdaa_devinfo *devinfo) argument
4709 hdaa_audio_ctl_commit(struct hdaa_devinfo *devinfo) argument
4732 hdaa_gpio_commit(struct hdaa_devinfo *devinfo) argument
4781 hdaa_gpo_commit(struct hdaa_devinfo *devinfo) argument
4811 hdaa_audio_commit(struct hdaa_devinfo *devinfo) argument
4852 hdaa_powerup(struct hdaa_devinfo *devinfo) argument
4872 struct hdaa_devinfo *devinfo = ch->devinfo; local
5074 hdaa_prepare_pcms(struct hdaa_devinfo *devinfo) argument
5141 hdaa_create_pcms(struct hdaa_devinfo *devinfo) argument
5156 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5370 hdaa_dump_pin_configs(struct hdaa_devinfo *devinfo) argument
5400 hdaa_dump_nodes(struct hdaa_devinfo *devinfo) argument
5503 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5554 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5582 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5611 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5637 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5678 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
5743 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
5894 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
5940 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
5964 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
5998 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
6028 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
6052 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
6083 struct hdaa_devinfo *devinfo; local
6114 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6150 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6221 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6319 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6339 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6378 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6411 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6431 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6485 hdaa_chan_formula(struct hdaa_devinfo *devinfo, int asid, char *buf, int buflen) argument
6515 hdaa_chan_type(struct hdaa_devinfo *devinfo, int asid) argument
6543 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
6573 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
6640 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
[all...]
H A Dhdaa_patches.c150 id = hdaa_codec_id(w->devinfo);
151 subid = hdaa_card_id(w->devinfo);
395 device_printf(w->devinfo->dev,
405 struct hdaa_devinfo *devinfo = w->devinfo; local
413 switch (hdaa_codec_id(devinfo)) {
429 if (hda_get_vendor_id(devinfo->dev) == REALTEK_VENDORID &&
430 hdaa_codec_id(devinfo) != HDA_CODEC_ALC260)
442 if (hdaa_codec_id(devinfo) == HDA_CODEC_AD1984A &&
447 device_printf(w->devinfo
458 hdaa_patch(struct hdaa_devinfo *devinfo) argument
676 hdaa_patch_direct(struct hdaa_devinfo *devinfo) argument
[all...]
H A Dhdaa.h112 struct hdaa_devinfo *devinfo; member in struct:hdaa_widget
170 struct hdaa_devinfo *devinfo; member in struct:hdaa_pcm_devinfo
224 struct hdaa_devinfo *devinfo; member in struct:hdaa_chan
259 #define hdaa_codec_id(devinfo) \
260 (((uint32_t)hda_get_vendor_id(devinfo->dev) << 16) + \
261 hda_get_device_id(devinfo->dev))
263 #define hdaa_card_id(devinfo) \
264 (((uint32_t)hda_get_subdevice_id(devinfo->dev) << 16) + \
265 hda_get_subvendor_id(devinfo->dev))
271 void hdaa_patch(struct hdaa_devinfo *devinfo);
[all...]
/freebsd-9.3-release/sys/dev/adb/
H A Dadbvar.h51 struct adb_devinfo devinfo[16]; member in struct:adb_softc
H A Dadb_bus.c123 /* Initialize devinfo */
125 sc->devinfo[i].address = i;
126 sc->devinfo[i].default_address = 0;
146 r3 = sc->devinfo[i].register3;
157 sc->devinfo[next_free].default_address = i;
165 r3 = sc->devinfo[i].register3;
175 sc->devinfo[i].default_address = i;
176 sc->devinfo[(int)(first_relocated)].default_address = 0;
183 if (sc->devinfo[i].default_address) {
185 device_set_ivars(sc->children[i], &sc->devinfo[
[all...]
/freebsd-9.3-release/contrib/ofed/libibverbs/examples/
H A DMakefile3 all: asyncwatch devinfo device_list rc_pingpong srq_pingpong uc_pingpong ud_pingpong
6 rm asyncwatch devinfo device_list rc_pingpong srq_pingpong uc_pingpong ud_pingpong
11 devinfo:
12 gcc -o devinfo devinfo.c ${CFLAGS}
/freebsd-9.3-release/sys/dev/sound/pcm/
H A Dac97.h87 #define AC97_CREATE(dev, devinfo, cls) ac97_create(dev, devinfo, &cls ## _class)
95 struct ac97_info *ac97_create(device_t dev, void *devinfo, kobj_class_t cls);
H A Dmixer.h30 struct snd_mixer *mixer_create(device_t dev, kobj_class_t cls, void *devinfo,
33 int mixer_init(device_t dev, kobj_class_t cls, void *devinfo);
/freebsd-9.3-release/sys/dev/aic7xxx/
H A Daic7xxx.c147 struct ahc_devinfo *devinfo);
163 struct ahc_devinfo *devinfo);
165 struct ahc_devinfo *devinfo,
169 struct ahc_devinfo *devinfo,
172 struct ahc_devinfo *devinfo);
174 struct ahc_devinfo *devinfo,
177 struct ahc_devinfo *devinfo,
180 struct ahc_devinfo *devinfo,
194 struct ahc_devinfo *devinfo);
196 struct ahc_devinfo *devinfo);
421 struct ahc_devinfo devinfo; local
1056 struct ahc_devinfo devinfo; local
1192 struct ahc_devinfo devinfo; local
1219 struct ahc_devinfo devinfo; local
1410 ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
1865 ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct ahc_tmode_tstate *tstate, struct ahc_initiator_tinfo *tinfo, ahc_neg_type neg_type) argument
1908 ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct ahc_syncrate *syncrate, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) argument
2035 ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int width, u_int type, int paused) argument
2091 ahc_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument
2119 struct ahc_devinfo devinfo; local
2183 ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2233 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument
2248 ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2255 ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2289 ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2375 ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2473 ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset) argument
2496 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int bus_width) argument
2516 ahc_construct_ppr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument
2563 struct ahc_devinfo devinfo; local
2660 struct ahc_devinfo devinfo; local
3080 ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3502 ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3653 ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3818 ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, cam_status status, char *message, int verbose_level) argument
3873 ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
6057 struct ahc_devinfo devinfo; local
6199 struct ahc_devinfo devinfo; local
[all...]
H A Daic79xx.c118 struct ahd_devinfo *devinfo);
133 struct ahd_devinfo *devinfo,
137 struct ahd_devinfo *devinfo);
139 struct ahd_devinfo *devinfo,
142 struct ahd_devinfo *devinfo,
145 struct ahd_devinfo *devinfo);
147 struct ahd_devinfo *devinfo,
150 struct ahd_devinfo *devinfo,
153 struct ahd_devinfo *devinfo,
166 struct ahd_devinfo *devinfo);
1060 struct ahd_devinfo devinfo; local
1205 struct ahd_devinfo devinfo; local
1316 struct ahd_devinfo devinfo; local
1395 struct ahd_devinfo devinfo; local
1454 struct ahd_devinfo devinfo; local
1642 struct ahd_devinfo devinfo; local
2188 struct ahd_devinfo devinfo; local
2467 struct ahd_devinfo devinfo; local
2570 ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
3037 ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_tmode_tstate *tstate, struct ahd_initiator_tinfo *tinfo, ahd_neg_type neg_type) argument
3080 ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) argument
3226 ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int width, u_int type, int paused) argument
3280 ahd_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_queue_alg alg) argument
3289 ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_transinfo *tinfo) argument
3420 struct ahd_devinfo devinfo; local
3483 ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
3518 ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
3543 ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument
3558 ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
3581 ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
3706 ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
3802 ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset) argument
3825 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument
3845 ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument
3909 struct ahd_devinfo devinfo; local
4296 ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
4714 ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
4885 ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
5117 ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int lun, cam_status status, char *message, int verbose_level) argument
5184 ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
6717 struct ahd_devinfo devinfo; local
6888 struct ahd_devinfo devinfo; local
6968 struct ahd_devinfo devinfo; local
7951 struct ahd_devinfo devinfo; local
8043 struct ahd_devinfo devinfo; local
8294 struct ahd_devinfo devinfo; local
[all...]
H A Daic79xx_osm.c729 struct ahd_devinfo devinfo; local
740 ahd_compile_devinfo(&devinfo, SIM_SCSI_ID(ahd, sim),
745 tinfo = ahd_fetch_transinfo(ahd, devinfo.channel,
746 devinfo.our_scsiid,
747 devinfo.target, &tstate);
770 *discenable |= devinfo.target_mask;
772 *discenable &= ~devinfo.target_mask;
777 *tagenable |= devinfo.target_mask;
779 *tagenable &= ~devinfo.target_mask;
785 ahd_set_width(ahd, &devinfo, sp
845 struct ahd_devinfo devinfo; local
918 struct ahd_devinfo devinfo; local
1271 ahd_platform_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, int enable) argument
[all...]
H A Daic7xxx_osm.c603 struct ahc_devinfo devinfo; local
616 ahc_compile_devinfo(&devinfo, SIM_SCSI_ID(ahc, sim),
621 tinfo = ahc_fetch_transinfo(ahc, devinfo.channel,
622 devinfo.our_scsiid,
623 devinfo.target, &tstate);
653 *discenable |= devinfo.target_mask;
655 *discenable &= ~devinfo.target_mask;
660 *tagenable |= devinfo.target_mask;
662 *tagenable &= ~devinfo.target_mask;
668 ahc_set_width(ahc, &devinfo, sp
829 struct ahc_devinfo devinfo; local
902 struct ahc_devinfo devinfo; local
1333 ahc_platform_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, int enable) argument
[all...]
/freebsd-9.3-release/sys/dev/mpr/
H A Dmpr_table.h38 void mpr_describe_devinfo(uint32_t devinfo, char *string, int len);
/freebsd-9.3-release/sys/dev/mps/
H A Dmps_table.h38 void mps_describe_devinfo(uint32_t devinfo, char *string, int len);
/freebsd-9.3-release/sys/dev/sound/pci/
H A Dspicds.c44 void *devinfo; member in struct:spicds_info
67 codec->ctrl(codec->devinfo, cs, 0, cdti);
69 codec->ctrl(codec->devinfo, cs, 1, cdti);
85 codec->ctrl(codec->devinfo, 1, 1, 0);
87 codec->ctrl(codec->devinfo, 0, 1, 0);
128 codec->ctrl(codec->devinfo, 0, 1, 0);
130 codec->ctrl(codec->devinfo, 1, 1, 0);
133 codec->ctrl(codec->devinfo, 1, 1, 0);
140 spicds_create(device_t dev, void *devinfo, int num, spicds_ctrl ctrl) argument
145 device_printf(dev, "spicds_create(dev, devinfo,
[all...]
/freebsd-9.3-release/lib/libdevstat/
H A Ddevstat.h124 struct devinfo { struct
135 struct devinfo *dinfo;
/freebsd-9.3-release/usr.bin/systat/
H A Diostat.c115 cur.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
116 last.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
117 bzero(cur.dinfo, sizeof(struct devinfo));
118 bzero(last.dinfo, sizeof(struct devinfo));
133 struct devinfo *tmp_dinfo;
/freebsd-9.3-release/libexec/rpc.rstatd/
H A Drstat_proc.c316 stats.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
317 bzero(stats.dinfo, sizeof(struct devinfo));
360 stats.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
361 bzero(stats.dinfo, sizeof(struct devinfo));
/freebsd-9.3-release/usr.sbin/fwcontrol/
H A Dfwcontrol.c176 struct fw_devinfo *devinfo; local
188 devinfo = &data->dev[i];
189 fweui2eui64(&devinfo->eui, &eui);
194 (devinfo->status || i == 0) ? devinfo->dst : -1,
196 devinfo->status,
333 struct fw_devinfo *devinfo; local
345 devinfo = &data->dev[i];
346 if (!devinfo->status)
348 reg = read_write_quad(fd, devinfo
[all...]
/freebsd-9.3-release/cddl/lib/libdtrace/
H A Dio.d32 typedef struct devinfo {
/freebsd-9.3-release/sys/dev/sound/usb/
H A Duaudio_pcm.c42 ua_chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir) argument
44 return (uaudio_chan_init(devinfo, b, c, dir));
/freebsd-9.3-release/sys/dev/usb/serial/
H A Dulpt.c611 USETW(req.wLength, sizeof devinfo - 1);
612 error = usbd_do_request_flags(dev, &req, devinfo, USB_SHORT_XFER_OK,
620 /* devinfo now contains an IEEE-1284 device ID */
621 len = ((devinfo[0] & 0xff) << 8) | (devinfo[1] & 0xff);
622 if (len > sizeof devinfo - 3)
623 len = sizeof devinfo - 3;
624 devinfo[len] = 0;
626 ieee1284_print_id(devinfo + 2);

Completed in 431 milliseconds

1234