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

12345

/freebsd-12-stable/usr.sbin/devinfo/
H A DMakefile3 PROG= devinfo
4 MAN= devinfo.8
6 LIBADD= devinfo
/freebsd-12-stable/usr.sbin/pc-sysinstall/backend-query/
H A Ddetect-laptop.sh30 if devinfo | grep -q acpi_acad0; then
/freebsd-12-stable/lib/libdevinfo/
H A DMakefile4 LIB= devinfo
5 SRCS= devinfo.c
6 INCS= devinfo.h
7 MAN= devinfo.3
/freebsd-12-stable/sbin/devmatch/
H A DMakefile6 LIBADD= devinfo
/freebsd-12-stable/usr.bin/ofed/libibverbs/
H A DMakefile5 devinfo \
/freebsd-12-stable/usr.bin/ofed/libibverbs/devinfo/
H A DMakefile5 SRCS= devinfo.c
/freebsd-12-stable/sys/dev/sound/pci/hda/
H A Dhdaa.c52 #define hdaa_lock(devinfo) snd_mtxlock((devinfo)->lock)
53 #define hdaa_unlock(devinfo) snd_mtxunlock((devinfo)->lock)
54 #define hdaa_lockassert(devinfo) snd_mtxassert((devinfo)->lock)
55 #define hdaa_lockowned(devinfo) mtx_owned((devinfo)->lock)
202 hdaa_audio_ctl_each(struct hdaa_devinfo *devinfo, int *index) argument
204 if (devinfo
213 hdaa_audio_ctl_amp_get(struct hdaa_devinfo *devinfo, nid_t nid, int dir, int index, int cnt) argument
269 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
383 struct hdaa_devinfo *devinfo = w->devinfo; local
466 struct hdaa_devinfo *devinfo; local
536 struct hdaa_devinfo *devinfo = w->devinfo; local
580 struct hdaa_devinfo *devinfo = arg; local
606 struct hdaa_devinfo *devinfo = w->devinfo; local
687 struct hdaa_devinfo *devinfo = w->devinfo; local
746 hdaa_sense_init(struct hdaa_devinfo *devinfo) argument
799 hdaa_sense_deinit(struct hdaa_devinfo *devinfo) argument
1136 struct hdaa_devinfo *devinfo; local
1324 hdaa_local_patch(struct hdaa_devinfo *devinfo) argument
1641 hdaa_widget_get(struct hdaa_devinfo *devinfo, nid_t nid) argument
1650 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
1737 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2104 struct hdaa_devinfo *devinfo = ch->devinfo; local
2132 struct hdaa_devinfo *devinfo = ch->devinfo; local
2182 struct hdaa_devinfo *devinfo = ch->devinfo; local
2227 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2357 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2433 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2503 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2583 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2684 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2759 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
2843 hdaa_dump_gpi(struct hdaa_devinfo *devinfo) argument
2869 hdaa_dump_gpio(struct hdaa_devinfo *devinfo) argument
2907 hdaa_dump_gpo(struct hdaa_devinfo *devinfo) argument
2924 hdaa_audio_parse(struct hdaa_devinfo *devinfo) argument
2986 hdaa_audio_postprocess(struct hdaa_devinfo *devinfo) argument
3000 hdaa_audio_ctl_parse(struct hdaa_devinfo *devinfo) argument
3162 hdaa_audio_as_parse(struct hdaa_devinfo *devinfo) argument
3320 hdaa_audio_trace_dac(struct hdaa_devinfo *devinfo, int as, int seq, nid_t nid, int dupseq, int min, int only, int depth) argument
3431 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
3526 hdaa_audio_undo_trace(struct hdaa_devinfo *devinfo, int as, int seq) argument
3555 hdaa_audio_trace_as_out(struct hdaa_devinfo *devinfo, int as, int seq) argument
3625 struct hdaa_devinfo *devinfo = w1->devinfo; local
3664 struct hdaa_devinfo *devinfo = w1->devinfo; local
3701 hdaa_audio_adddac(struct hdaa_devinfo *devinfo, int asid) argument
3778 hdaa_audio_trace_as_in(struct hdaa_devinfo *devinfo, int as) argument
3834 hdaa_audio_trace_as_in_mch(struct hdaa_devinfo *devinfo, int as, int seq) argument
3892 hdaa_audio_trace_to_out(struct hdaa_devinfo *devinfo, nid_t nid, int depth) argument
3976 hdaa_audio_trace_as_extra(struct hdaa_devinfo *devinfo) argument
4072 hdaa_audio_bind_as(struct hdaa_devinfo *devinfo) argument
4129 hdaa_audio_disable_nonaudio(struct hdaa_devinfo *devinfo) argument
4153 hdaa_audio_disable_useless(struct hdaa_devinfo *devinfo) argument
4286 hdaa_audio_disable_unas(struct hdaa_devinfo *devinfo) argument
4381 hdaa_audio_disable_notselected(struct hdaa_devinfo *devinfo) argument
4415 hdaa_audio_disable_crossas(struct hdaa_devinfo *devinfo) argument
4517 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
4623 hdaa_audio_ctl_dest_amp(struct hdaa_devinfo *devinfo, nid_t nid, int index, int ossdev, int depth, int *minamp, int *maxamp) argument
4717 hdaa_audio_assign_names(struct hdaa_devinfo *devinfo) argument
4864 hdaa_audio_build_tree(struct hdaa_devinfo *devinfo) argument
4926 struct hdaa_devinfo *devinfo = w->devinfo; local
4951 hdaa_audio_assign_mixers(struct hdaa_devinfo *devinfo) argument
5019 hdaa_audio_prepare_pin_ctrl(struct hdaa_devinfo *devinfo) argument
5109 hdaa_audio_ctl_commit(struct hdaa_devinfo *devinfo) argument
5132 hdaa_gpio_commit(struct hdaa_devinfo *devinfo) argument
5181 hdaa_gpo_commit(struct hdaa_devinfo *devinfo) argument
5211 hdaa_audio_commit(struct hdaa_devinfo *devinfo) argument
5252 hdaa_powerup(struct hdaa_devinfo *devinfo) argument
5272 struct hdaa_devinfo *devinfo = ch->devinfo; local
5474 hdaa_prepare_pcms(struct hdaa_devinfo *devinfo) argument
5541 hdaa_create_pcms(struct hdaa_devinfo *devinfo) argument
5556 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5767 hdaa_dump_pin_configs(struct hdaa_devinfo *devinfo) argument
5802 hdaa_dump_nodes(struct hdaa_devinfo *devinfo) argument
5899 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5946 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
5985 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
6024 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
6051 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6116 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6264 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6310 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
6334 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
6368 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
6398 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
6422 struct hdaa_devinfo *devinfo = oidp->oid_arg1; local
6453 struct hdaa_devinfo *devinfo; local
6484 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6520 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6591 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6687 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6707 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6746 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6779 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6799 struct hdaa_devinfo *devinfo = device_get_softc(dev); local
6853 hdaa_chan_formula(struct hdaa_devinfo *devinfo, int asid, char *buf, int buflen) argument
6883 hdaa_chan_type(struct hdaa_devinfo *devinfo, int asid) argument
6911 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
6941 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
7008 struct hdaa_devinfo *devinfo = pdevinfo->devinfo; local
[all...]
H A Dhdaa_patches.c156 id = hdaa_codec_id(w->devinfo);
157 subid = hdaa_card_id(w->devinfo);
467 device_printf(w->devinfo->dev,
477 struct hdaa_devinfo *devinfo = w->devinfo; local
485 switch (hdaa_codec_id(devinfo)) {
501 if (hda_get_vendor_id(devinfo->dev) == REALTEK_VENDORID &&
502 hdaa_codec_id(devinfo) != HDA_CODEC_ALC260)
514 if (hdaa_codec_id(devinfo) == HDA_CODEC_AD1984A &&
519 device_printf(w->devinfo
530 hdaa_patch(struct hdaa_devinfo *devinfo) argument
766 hdaa_patch_direct(struct hdaa_devinfo *devinfo) argument
[all...]
H A Dhdaa.h114 struct hdaa_devinfo *devinfo; member in struct:hdaa_widget
172 struct hdaa_devinfo *devinfo; member in struct:hdaa_pcm_devinfo
227 struct hdaa_devinfo *devinfo; member in struct:hdaa_chan
262 #define hdaa_codec_id(devinfo) \
263 (((uint32_t)hda_get_vendor_id(devinfo->dev) << 16) + \
264 hda_get_device_id(devinfo->dev))
266 #define hdaa_card_id(devinfo) \
267 (((uint32_t)hda_get_subdevice_id(devinfo->dev) << 16) + \
268 hda_get_subvendor_id(devinfo->dev))
274 void hdaa_patch(struct hdaa_devinfo *devinfo);
[all...]
/freebsd-12-stable/sys/dev/adb/
H A Dadbvar.h53 struct adb_devinfo devinfo[16]; member in struct:adb_softc
H A Dadb_bus.c125 /* Initialize devinfo */
127 sc->devinfo[i].address = i;
128 sc->devinfo[i].default_address = 0;
148 r3 = sc->devinfo[i].register3;
159 sc->devinfo[next_free].default_address = i;
167 r3 = sc->devinfo[i].register3;
177 sc->devinfo[i].default_address = i;
178 sc->devinfo[(int)(first_relocated)].default_address = 0;
185 if (sc->devinfo[i].default_address) {
187 device_set_ivars(sc->children[i], &sc->devinfo[
[all...]
/freebsd-12-stable/stand/efi/gptboot/
H A Dproto.c55 * devinfo is always going to be for the raw device.
62 dev_info_t *devinfo = (dev_info_t *)dskp->devinfo; local
63 EFI_BLOCK_IO *dev = devinfo->dev;
71 "status: %lu\n", devinfo->dev,
82 * devinfo is always going to be for the raw device.
89 dev_info_t *devinfo = (dev_info_t *)dskp->devinfo; local
90 EFI_BLOCK_IO *dev = devinfo->dev;
101 "status: %lu\n", devinfo
116 dev_info_t *devinfo = (dev_info_t *)dskp->devinfo; local
143 dev_info_t *devinfo; local
[all...]
H A Ddrv.h34 void *devinfo; /* Really a dev_into_t *, but that's not in scope */ member in struct:dsk
/freebsd-12-stable/stand/efi/boot1/
H A Dproto.c56 dev_info_t *devinfo; local
96 devinfo = malloc(sizeof(*devinfo));
97 if (devinfo == NULL) {
98 DPRINTF("\nFailed to allocate devinfo\n");
101 devinfo->dev = blkio;
102 devinfo->devpath = devpath;
103 devinfo->devhandle = h;
104 devinfo->preferred = preferred;
105 devinfo
[all...]
H A Dufs_module.c47 static dev_info_t *devinfo; variable
56 lba += devinfo->partoff;
57 lba = lba / (devinfo->dev->Media->BlockSize / DEV_BSIZE);
60 status = devinfo->dev->ReadBlocks(devinfo->dev,
61 devinfo->dev->Media->MediaId, lba, size, buf);
65 "status: %lu\n", devinfo->dev,
66 devinfo->dev->Media->MediaId, (uintmax_t)lba, size,
86 devinfo = dev;
94 devinfo
[all...]
H A Dzfs_module.c46 dev_info_t *devinfo = priv; local
48 return (devinfo->dev->Media->BlockSize *
49 (devinfo->dev->Media->LastBlock + 1));
55 dev_info_t *devinfo; local
61 devinfo = (dev_info_t *)priv;
62 lba = off / devinfo->dev->Media->BlockSize;
63 remainder = off % devinfo->dev->Media->BlockSize;
72 size = roundup2(bytes + remainder, devinfo->dev->Media->BlockSize);
75 rb_size = devinfo->dev->Media->BlockSize;
86 status = devinfo
139 load(const char *filepath, dev_info_t *devinfo, void **bufp, size_t *bufsize) argument
[all...]
H A Dboot_module.h89 EFI_STATUS (*load)(const char *filepath, dev_info_t *devinfo,
111 extern void add_device(dev_info_t **devinfop, dev_info_t *devinfo);
/freebsd-12-stable/tools/tools/ncpus/
H A DMakefile12 LIBADD= devinfo
/freebsd-12-stable/sys/dev/sound/pcm/
H A Dac97.h89 #define AC97_CREATE(dev, devinfo, cls) ac97_create(dev, devinfo, &cls ## _class)
97 struct ac97_info *ac97_create(device_t dev, void *devinfo, kobj_class_t cls);
/freebsd-12-stable/sys/dev/aic7xxx/
H A Daic7xxx.c149 struct ahc_devinfo *devinfo);
165 struct ahc_devinfo *devinfo);
167 struct ahc_devinfo *devinfo,
171 struct ahc_devinfo *devinfo,
174 struct ahc_devinfo *devinfo);
176 struct ahc_devinfo *devinfo,
179 struct ahc_devinfo *devinfo,
182 struct ahc_devinfo *devinfo,
196 struct ahc_devinfo *devinfo);
198 struct ahc_devinfo *devinfo);
423 struct ahc_devinfo devinfo; local
1058 struct ahc_devinfo devinfo; local
1194 struct ahc_devinfo devinfo; local
1221 struct ahc_devinfo devinfo; local
1412 ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
1867 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
1910 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
2037 ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int width, u_int type, int paused) argument
2093 ahc_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument
2121 struct ahc_devinfo devinfo; local
2185 ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2235 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument
2250 ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2257 ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2291 ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2377 ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2475 ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset) argument
2498 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int bus_width) argument
2518 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
2565 struct ahc_devinfo devinfo; local
2662 struct ahc_devinfo devinfo; local
3082 ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3504 ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3655 ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3820 ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, cam_status status, char *message, int verbose_level) argument
3875 ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
6053 struct ahc_devinfo devinfo; local
6195 struct ahc_devinfo devinfo; local
[all...]
H A Daic79xx.c120 struct ahd_devinfo *devinfo);
135 struct ahd_devinfo *devinfo,
139 struct ahd_devinfo *devinfo);
141 struct ahd_devinfo *devinfo,
144 struct ahd_devinfo *devinfo,
147 struct ahd_devinfo *devinfo);
149 struct ahd_devinfo *devinfo,
152 struct ahd_devinfo *devinfo,
155 struct ahd_devinfo *devinfo,
168 struct ahd_devinfo *devinfo);
1062 struct ahd_devinfo devinfo; local
1204 struct ahd_devinfo devinfo; local
1315 struct ahd_devinfo devinfo; local
1394 struct ahd_devinfo devinfo; local
1453 struct ahd_devinfo devinfo; local
1641 struct ahd_devinfo devinfo; local
2186 struct ahd_devinfo devinfo; local
2465 struct ahd_devinfo devinfo; local
2568 ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
3033 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
3076 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
3222 ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int width, u_int type, int paused) argument
3276 ahd_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_queue_alg alg) argument
3285 ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_transinfo *tinfo) argument
3416 struct ahd_devinfo devinfo; local
3478 ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
3513 ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
3538 ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument
3553 ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
3576 ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
3701 ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
3797 ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset) argument
3820 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument
3840 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
3904 struct ahd_devinfo devinfo; local
4291 ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
4709 ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
4880 ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument
5112 ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int lun, cam_status status, char *message, int verbose_level) argument
5179 ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
6710 struct ahd_devinfo devinfo; local
6881 struct ahd_devinfo devinfo; local
6961 struct ahd_devinfo devinfo; local
7944 struct ahd_devinfo devinfo; local
8036 struct ahd_devinfo devinfo; local
8287 struct ahd_devinfo devinfo; local
[all...]
/freebsd-12-stable/sys/dev/sound/pci/
H A Dspicds.c46 void *devinfo; member in struct:spicds_info
69 codec->ctrl(codec->devinfo, cs, 0, cdti);
71 codec->ctrl(codec->devinfo, cs, 1, cdti);
87 codec->ctrl(codec->devinfo, 1, 1, 0);
89 codec->ctrl(codec->devinfo, 0, 1, 0);
130 codec->ctrl(codec->devinfo, 0, 1, 0);
132 codec->ctrl(codec->devinfo, 1, 1, 0);
135 codec->ctrl(codec->devinfo, 1, 1, 0);
142 spicds_create(device_t dev, void *devinfo, int num, spicds_ctrl ctrl) argument
147 device_printf(dev, "spicds_create(dev, devinfo,
[all...]
/freebsd-12-stable/sys/dev/pwm/
H A Dofw_pwmbus.c48 struct ofw_bus_devinfo devinfo; member in struct:ofw_pwmbus_ivars
75 ivars->devinfo.obd_node = -1;
88 ofw_bus_gen_destroy_devinfo(&ivars->devinfo);
99 return (&ivars->devinfo);
162 /* Set up the standard ofw devinfo. */
163 if (ofw_bus_gen_setup_devinfo(&ivars->devinfo, node) != 0) {
/freebsd-12-stable/sys/dev/mpr/
H A Dmpr_table.h38 void mpr_describe_devinfo(uint32_t devinfo, char *string, int len);
/freebsd-12-stable/sys/dev/mps/
H A Dmps_table.h40 void mps_describe_devinfo(uint32_t devinfo, char *string, int len);

Completed in 723 milliseconds

12345