Symbol: devinfo
lib/libdevstat/devstat.c
339
struct devinfo *dinfo;
lib/libdevstat/devstat.h
141
struct devinfo *dinfo;
lib/libusb/libusb20_ugen20.c
137
struct usb_device_info devinfo;
lib/libusb/libusb20_ugen20.c
176
if (ioctl(f, IOUSB(USB_GET_DEVICEINFO), &devinfo)) {
lib/libusb/libusb20_ugen20.c
180
switch (devinfo.udi_mode) {
lib/libusb/libusb20_ugen20.c
189
switch (devinfo.udi_speed) {
lib/libusb/libusb20_ugen20.c
212
pdev->parent_address = devinfo.udi_hubindex;
lib/libusb/libusb20_ugen20.c
213
pdev->parent_port = devinfo.udi_hubport;
lib/libusb/libusb20_ugen20.c
219
pdev->device_address, devinfo.udi_vendor,
lib/libusb/libusb20_ugen20.c
220
devinfo.udi_product, pdev->bus_number);
libexec/rpc.rstatd/rstat_proc.c
308
stats.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
libexec/rpc.rstatd/rstat_proc.c
309
bzero(stats.dinfo, sizeof(struct devinfo));
libexec/rpc.rstatd/rstat_proc.c
352
stats.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
libexec/rpc.rstatd/rstat_proc.c
353
bzero(stats.dinfo, sizeof(struct devinfo));
stand/efi/boot1/boot1.c
278
add_device(dev_info_t **devinfop, dev_info_t *devinfo)
stand/efi/boot1/boot1.c
283
*devinfop = devinfo;
stand/efi/boot1/boot1.c
290
dev->next = devinfo;
stand/efi/boot1/boot_module.h
112
extern void add_device(dev_info_t **devinfop, dev_info_t *devinfo);
stand/efi/boot1/boot_module.h
87
EFI_STATUS (*load)(const char *filepath, dev_info_t *devinfo,
stand/efi/boot1/proto.c
102
devinfo->dev = blkio;
stand/efi/boot1/proto.c
103
devinfo->devpath = devpath;
stand/efi/boot1/proto.c
104
devinfo->devhandle = h;
stand/efi/boot1/proto.c
105
devinfo->preferred = preferred;
stand/efi/boot1/proto.c
106
devinfo->next = NULL;
stand/efi/boot1/proto.c
109
devinfo->devdata = NULL;
stand/efi/boot1/proto.c
111
status = boot_modules[i]->probe(devinfo);
stand/efi/boot1/proto.c
115
free(devinfo);
stand/efi/boot1/proto.c
57
dev_info_t *devinfo;
stand/efi/boot1/proto.c
97
devinfo = malloc(sizeof(*devinfo));
stand/efi/boot1/proto.c
98
if (devinfo == NULL) {
stand/efi/boot1/ufs_module.c
113
bs = devinfo->dev->Media->BlockSize;
stand/efi/boot1/ufs_module.c
121
devinfo->partoff = dl->d_partitions[0].p_offset;
stand/efi/boot1/ufs_module.c
45
static dev_info_t *devinfo;
stand/efi/boot1/ufs_module.c
54
lba += devinfo->partoff;
stand/efi/boot1/ufs_module.c
55
lba = lba / (devinfo->dev->Media->BlockSize / DEV_BSIZE);
stand/efi/boot1/ufs_module.c
58
status = devinfo->dev->ReadBlocks(devinfo->dev,
stand/efi/boot1/ufs_module.c
59
devinfo->dev->Media->MediaId, lba, size, buf);
stand/efi/boot1/ufs_module.c
63
"status: %lu\n", devinfo->dev,
stand/efi/boot1/ufs_module.c
64
devinfo->dev->Media->MediaId, (uintmax_t)lba, size,
stand/efi/boot1/ufs_module.c
84
devinfo = dev;
stand/efi/boot1/ufs_module.c
92
devinfo->partoff = 0;
stand/efi/boot1/zfs_module.c
107
" rb_size: %zu, status: %lu\n", devinfo->dev,
stand/efi/boot1/zfs_module.c
108
devinfo->dev->Media->MediaId, (uintmax_t)lba, bytes, rb_size,
stand/efi/boot1/zfs_module.c
139
load(const char *filepath, dev_info_t *devinfo, void **bufp, size_t *bufsize)
stand/efi/boot1/zfs_module.c
149
spa = devinfo->devdata;
stand/efi/boot1/zfs_module.c
153
CHAR16 *text = efi_devpath_name(devinfo->devpath);
stand/efi/boot1/zfs_module.c
46
dev_info_t *devinfo = priv;
stand/efi/boot1/zfs_module.c
48
return (devinfo->dev->Media->BlockSize *
stand/efi/boot1/zfs_module.c
49
(devinfo->dev->Media->LastBlock + 1));
stand/efi/boot1/zfs_module.c
55
dev_info_t *devinfo;
stand/efi/boot1/zfs_module.c
61
devinfo = (dev_info_t *)priv;
stand/efi/boot1/zfs_module.c
62
lba = off / devinfo->dev->Media->BlockSize;
stand/efi/boot1/zfs_module.c
63
remainder = off % devinfo->dev->Media->BlockSize;
stand/efi/boot1/zfs_module.c
72
size = roundup2(bytes + remainder, devinfo->dev->Media->BlockSize);
stand/efi/boot1/zfs_module.c
75
rb_size = devinfo->dev->Media->BlockSize;
stand/efi/boot1/zfs_module.c
86
status = devinfo->dev->ReadBlocks(devinfo->dev,
stand/efi/boot1/zfs_module.c
87
devinfo->dev->Media->MediaId, lba, rb_size, rb_buf);
stand/efi/gptboot/drv.h
32
void *devinfo; /* Really a dev_into_t *, but that's not in scope */
stand/efi/gptboot/proto.c
100
"status: %lu\n", devinfo->dev,
stand/efi/gptboot/proto.c
115
dev_info_t *devinfo = (dev_info_t *)dskp->devinfo;
stand/efi/gptboot/proto.c
116
EFI_BLOCK_IO *dev = devinfo->dev;
stand/efi/gptboot/proto.c
142
dev_info_t *devinfo;
stand/efi/gptboot/proto.c
176
devinfo = malloc(sizeof(*devinfo));
stand/efi/gptboot/proto.c
177
if (devinfo == NULL) {
stand/efi/gptboot/proto.c
181
devinfo->dev = blkio;
stand/efi/gptboot/proto.c
182
devinfo->devpath = devpath;
stand/efi/gptboot/proto.c
183
devinfo->devhandle = h;
stand/efi/gptboot/proto.c
184
devinfo->preferred = 1;
stand/efi/gptboot/proto.c
185
devinfo->next = NULL;
stand/efi/gptboot/proto.c
186
devinfo->devdata = NULL;
stand/efi/gptboot/proto.c
189
add_device(&devices, devinfo);
stand/efi/gptboot/proto.c
197
raw_device = devinfo;
stand/efi/gptboot/proto.c
238
dsk.devinfo = raw_device;
stand/efi/gptboot/proto.c
239
if (dsk.devinfo == NULL) {
stand/efi/gptboot/proto.c
61
dev_info_t *devinfo = (dev_info_t *)dskp->devinfo;
stand/efi/gptboot/proto.c
62
EFI_BLOCK_IO *dev = devinfo->dev;
stand/efi/gptboot/proto.c
70
"status: %lu\n", devinfo->dev,
stand/efi/gptboot/proto.c
88
dev_info_t *devinfo = (dev_info_t *)dskp->devinfo;
stand/efi/gptboot/proto.c
89
EFI_BLOCK_IO *dev = devinfo->dev;
stand/uboot/main.c
577
COMMAND_SET(devinfo, "devinfo", "show U-Boot devices", command_devinfo);
sys/arm/allwinner/a10_codec.c
806
a10codec_chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/arm/allwinner/a10_codec.c
809
struct a10codec_info *sc = devinfo;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
747
bcmchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/arm/broadcom/bcm2835/bcm2835_audio.c
749
struct bcm2835_audio_info *sc = devinfo;
sys/arm/freescale/imx/imx6_ssi.c
283
ssichan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/arm/freescale/imx/imx6_ssi.c
290
scp = (struct sc_pcminfo *)devinfo;
sys/arm/freescale/vybrid/vf_sai.c
245
saichan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/arm/freescale/vybrid/vf_sai.c
252
scp = (struct sc_pcminfo *)devinfo;
sys/compat/linuxkpi/common/src/linux_acpi.c
221
ACPI_DEVICE_INFO *devinfo;
sys/compat/linuxkpi/common/src/linux_acpi.c
235
if (ACPI_FAILURE(AcpiGetObjectInfo(handle, &devinfo)))
sys/compat/linuxkpi/common/src/linux_acpi.c
238
if ((devinfo->Valid & ACPI_VALID_HID) != 0 &&
sys/compat/linuxkpi/common/src/linux_acpi.c
239
strcmp(match->hid, devinfo->HardwareId.String) == 0) {
sys/compat/linuxkpi/common/src/linux_acpi.c
241
} else if ((devinfo->Valid & ACPI_VALID_CID) != 0) {
sys/compat/linuxkpi/common/src/linux_acpi.c
242
for (i = 0; i < devinfo->CompatibleIdList.Count; i++) {
sys/compat/linuxkpi/common/src/linux_acpi.c
244
devinfo->CompatibleIdList.Ids[i].String) == 0) {
sys/compat/linuxkpi/common/src/linux_acpi.c
251
((devinfo->Valid & ACPI_VALID_UID) == 0 ||
sys/compat/linuxkpi/common/src/linux_acpi.c
252
strcmp(match->uid, devinfo->UniqueId.String) != 0))
sys/compat/linuxkpi/common/src/linux_acpi.c
255
AcpiOsFree(devinfo);
sys/dev/acpica/acpi.c
1860
ACPI_DEVICE_INFO *devinfo;
sys/dev/acpica/acpi.c
1868
ACPI_FAILURE(AcpiGetObjectInfo(h, &devinfo)))
sys/dev/acpica/acpi.c
1871
pnpid = (devinfo->Valid & ACPI_VALID_HID) != 0 &&
sys/dev/acpica/acpi.c
1872
devinfo->HardwareId.Length >= ACPI_EISAID_STRING_SIZE ?
sys/dev/acpica/acpi.c
1873
PNP_EISAID(devinfo->HardwareId.String) : 0;
sys/dev/acpica/acpi.c
1874
AcpiOsFree(devinfo);
sys/dev/acpica/acpi.c
1882
ACPI_DEVICE_INFO *devinfo;
sys/dev/acpica/acpi.c
1894
ACPI_FAILURE(AcpiGetObjectInfo(h, &devinfo)))
sys/dev/acpica/acpi.c
1897
if ((devinfo->Valid & ACPI_VALID_CID) == 0) {
sys/dev/acpica/acpi.c
1898
AcpiOsFree(devinfo);
sys/dev/acpica/acpi.c
1902
if (devinfo->CompatibleIdList.Count < count)
sys/dev/acpica/acpi.c
1903
count = devinfo->CompatibleIdList.Count;
sys/dev/acpica/acpi.c
1904
ids = devinfo->CompatibleIdList.Ids;
sys/dev/acpica/acpi.c
1911
AcpiOsFree(devinfo);
sys/dev/acpica/acpi.c
2484
ACPI_DEVICE_INFO *devinfo;
sys/dev/acpica/acpi.c
2591
if (ACPI_SUCCESS(AcpiGetObjectInfo(handle, &devinfo))) {
sys/dev/acpica/acpi.c
2592
if ((devinfo->Valid & ACPI_VALID_CLS) != 0 &&
sys/dev/acpica/acpi.c
2593
devinfo->ClassCode.Length >= ACPI_PCICLS_STRING_SIZE) {
sys/dev/acpica/acpi.c
2594
ad->ad_cls_class = strtoul(devinfo->ClassCode.String,
sys/dev/acpica/acpi.c
2597
AcpiOsFree(devinfo);
sys/dev/acpica/acpi.c
2789
ACPI_DEVICE_INFO *devinfo;
sys/dev/acpica/acpi.c
2793
ACPI_FAILURE(AcpiGetObjectInfo(h, &devinfo)))
sys/dev/acpica/acpi.c
2797
if ((devinfo->Valid & ACPI_VALID_HID) != 0)
sys/dev/acpica/acpi.c
2799
else if ((devinfo->Valid & ACPI_VALID_CID) != 0)
sys/dev/acpica/acpi.c
2800
if (devinfo->CompatibleIdList.Count > 0)
sys/dev/acpica/acpi.c
2803
AcpiOsFree(devinfo);
sys/dev/acpica/acpi.c
2816
ACPI_DEVICE_INFO *devinfo;
sys/dev/acpica/acpi.c
2821
ACPI_FAILURE(AcpiGetObjectInfo(h, &devinfo)))
sys/dev/acpica/acpi.c
2825
if ((devinfo->Valid & ACPI_VALID_HID) != 0 &&
sys/dev/acpica/acpi.c
2826
strcmp(hid, devinfo->HardwareId.String) == 0)
sys/dev/acpica/acpi.c
2828
else if ((devinfo->Valid & ACPI_VALID_CID) != 0)
sys/dev/acpica/acpi.c
2829
for (i = 0; i < devinfo->CompatibleIdList.Count; i++) {
sys/dev/acpica/acpi.c
2830
if (strcmp(hid, devinfo->CompatibleIdList.Ids[i].String) == 0) {
sys/dev/acpica/acpi.c
2836
AcpiOsFree(devinfo);
sys/dev/acpica/acpi_pcib_acpi.c
154
ACPI_DEVICE_INFO *devinfo;
sys/dev/acpica/acpi_pcib_acpi.c
159
ACPI_FAILURE(AcpiGetObjectInfo(h, &devinfo)))
sys/dev/acpica/acpi_pcib_acpi.c
161
root = (devinfo->Flags & ACPI_PCI_ROOT_BRIDGE) != 0;
sys/dev/acpica/acpi_pcib_acpi.c
162
AcpiOsFree(devinfo);
sys/dev/acpica/acpi_resource.c
615
ACPI_DEVICE_INFO *devinfo;
sys/dev/acpica/acpi_resource.c
638
if (ACPI_SUCCESS(AcpiGetObjectInfo(ad->ad_handle, &devinfo))) {
sys/dev/acpica/acpi_resource.c
639
if ((devinfo->Flags & ACPI_PCI_ROOT_BRIDGE) != 0) {
sys/dev/acpica/acpi_resource.c
646
AcpiOsFree(devinfo);
sys/dev/acpica/acpi_resource.c
650
AcpiOsFree(devinfo);
sys/dev/adb/adb_bus.c
121
sc->devinfo[i].address = i;
sys/dev/adb/adb_bus.c
122
sc->devinfo[i].default_address = 0;
sys/dev/adb/adb_bus.c
142
r3 = sc->devinfo[i].register3;
sys/dev/adb/adb_bus.c
153
sc->devinfo[next_free].default_address = i;
sys/dev/adb/adb_bus.c
161
r3 = sc->devinfo[i].register3;
sys/dev/adb/adb_bus.c
171
sc->devinfo[i].default_address = i;
sys/dev/adb/adb_bus.c
172
sc->devinfo[(int)(first_relocated)].default_address = 0;
sys/dev/adb/adb_bus.c
179
if (sc->devinfo[i].default_address) {
sys/dev/adb/adb_bus.c
181
device_set_ivars(sc->children[i], &sc->devinfo[i]);
sys/dev/adb/adb_bus.c
211
memcpy(&sc->devinfo[addr].register3,data,2);
sys/dev/adb/adb_bus.c
212
sc->devinfo[addr].handler_id = data[1];
sys/dev/adb/adbvar.h
50
struct adb_devinfo devinfo[16];
sys/dev/aic7xxx/aic79xx.c
1049
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
1075
ahd_compile_devinfo(&devinfo, SCB_GET_OUR_ID(scb),
sys/dev/aic7xxx/aic79xx.c
1081
devinfo.channel,
sys/dev/aic7xxx/aic79xx.c
1082
devinfo.our_scsiid,
sys/dev/aic7xxx/aic79xx.c
1083
devinfo.target,
sys/dev/aic7xxx/aic79xx.c
1085
ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic79xx.c
1087
ahd_set_syncrate(ahd, &devinfo, /*period*/0,
sys/dev/aic7xxx/aic79xx.c
112
struct ahd_devinfo *devinfo);
sys/dev/aic7xxx/aic79xx.c
1191
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
1204
ahd_fetch_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
1228
if (devinfo.role == ROLE_INITIATOR) {
sys/dev/aic7xxx/aic79xx.c
1231
&devinfo,
sys/dev/aic7xxx/aic79xx.c
1248
&devinfo,
sys/dev/aic7xxx/aic79xx.c
127
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
1302
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
1304
ahd_fetch_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
1305
ahd_handle_ign_wide_residue(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
131
struct ahd_devinfo *devinfo);
sys/dev/aic7xxx/aic79xx.c
133
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
136
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
1381
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
1385
ahd_fetch_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
1387
ahd_name(ahd), devinfo.channel, devinfo.target,
sys/dev/aic7xxx/aic79xx.c
1388
devinfo.lun);
sys/dev/aic7xxx/aic79xx.c
139
struct ahd_devinfo *devinfo);
sys/dev/aic7xxx/aic79xx.c
141
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
144
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
1440
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
1442
ahd_scb_devinfo(ahd, &devinfo, scb);
sys/dev/aic7xxx/aic79xx.c
1444
ahd_handle_devreset(ahd, &devinfo, lun,
sys/dev/aic7xxx/aic79xx.c
147
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
160
struct ahd_devinfo *devinfo);
sys/dev/aic7xxx/aic79xx.c
162
struct ahd_devinfo *devinfo);
sys/dev/aic7xxx/aic79xx.c
1624
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
1632
ahd_scb_devinfo(ahd, &devinfo, scb);
sys/dev/aic7xxx/aic79xx.c
164
struct ahd_devinfo *devinfo);
sys/dev/aic7xxx/aic79xx.c
1642
ahd_handle_devreset(ahd, &devinfo,
sys/dev/aic7xxx/aic79xx.c
167
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
172
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
2166
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
2187
ahd_compile_devinfo(&devinfo, initiator_role_id,
sys/dev/aic7xxx/aic79xx.c
2208
ahd_print_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
2257
ahd_handle_devreset(ahd, &devinfo, CAM_LUN_WILDCARD,
sys/dev/aic7xxx/aic79xx.c
2280
tinfo = ahd_fetch_transinfo(ahd, devinfo.channel,
sys/dev/aic7xxx/aic79xx.c
2281
devinfo.our_scsiid,
sys/dev/aic7xxx/aic79xx.c
2282
devinfo.target, &tstate);
sys/dev/aic7xxx/aic79xx.c
2284
ahd_set_width(ahd, &devinfo,
sys/dev/aic7xxx/aic79xx.c
2288
ahd_set_syncrate(ahd, &devinfo,
sys/dev/aic7xxx/aic79xx.c
2321
ahd_set_width(ahd, &devinfo,
sys/dev/aic7xxx/aic79xx.c
2343
ahd_set_syncrate(ahd, &devinfo,
sys/dev/aic7xxx/aic79xx.c
2431
ahd_force_renegotiation(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
2440
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
2448
ahd_fetch_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
2460
ahd_print_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
2470
ahd_print_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
2522
ahd_print_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
2542
ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
2549
ahd_print_devinfo(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
2554
devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
2555
devinfo->our_scsiid,
sys/dev/aic7xxx/aic79xx.c
2556
devinfo->target,
sys/dev/aic7xxx/aic79xx.c
2558
ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/aic7xxx/aic79xx.c
3006
ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3033
tstate->auto_negotiate |= devinfo->target_mask;
sys/dev/aic7xxx/aic79xx.c
3035
tstate->auto_negotiate &= ~devinfo->target_mask;
sys/dev/aic7xxx/aic79xx.c
3049
ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3069
tinfo = ahd_fetch_transinfo(ahd, devinfo->channel, devinfo->our_scsiid,
sys/dev/aic7xxx/aic79xx.c
3070
devinfo->target, &tstate);
sys/dev/aic7xxx/aic79xx.c
3098
ahd_send_async(ahd, devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic79xx.c
3106
ahd_name(ahd), devinfo->target,
sys/dev/aic7xxx/aic79xx.c
3136
ahd_name(ahd), devinfo->target,
sys/dev/aic7xxx/aic79xx.c
3153
ahd_update_neg_table(ahd, devinfo, &tinfo->curr);
sys/dev/aic7xxx/aic79xx.c
3161
ahd_print_devinfo(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
3178
update_needed += ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/aic7xxx/aic79xx.c
3194
ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3205
tinfo = ahd_fetch_transinfo(ahd, devinfo->channel, devinfo->our_scsiid,
sys/dev/aic7xxx/aic79xx.c
3206
devinfo->target, &tstate);
sys/dev/aic7xxx/aic79xx.c
3219
ahd_send_async(ahd, devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic79xx.c
3223
ahd_name(ahd), devinfo->target,
sys/dev/aic7xxx/aic79xx.c
3231
ahd_update_neg_table(ahd, devinfo, &tinfo->curr);
sys/dev/aic7xxx/aic79xx.c
3236
update_needed += ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/aic7xxx/aic79xx.c
3247
ahd_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3250
ahd_platform_set_tags(ahd, devinfo, alg);
sys/dev/aic7xxx/aic79xx.c
3251
ahd_send_async(ahd, devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic79xx.c
3252
devinfo->lun, AC_TRANSFER_NEG, &alg);
sys/dev/aic7xxx/aic79xx.c
3256
ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3271
ahd_outb(ahd, NEGOADDR, devinfo->target);
sys/dev/aic7xxx/aic79xx.c
3386
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
3389
ahd_scb_devinfo(ahd, &devinfo, pending_scb);
sys/dev/aic7xxx/aic79xx.c
3390
ahd_fetch_transinfo(ahd, devinfo.channel,
sys/dev/aic7xxx/aic79xx.c
3391
devinfo.our_scsiid,
sys/dev/aic7xxx/aic79xx.c
3392
devinfo.target, &tstate);
sys/dev/aic7xxx/aic79xx.c
3393
if ((tstate->auto_negotiate & devinfo.target_mask) == 0
sys/dev/aic7xxx/aic79xx.c
3448
ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
3473
ahd_compile_devinfo(devinfo,
sys/dev/aic7xxx/aic79xx.c
3483
ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
3486
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
3508
ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target,
sys/dev/aic7xxx/aic79xx.c
3511
devinfo->our_scsiid = our_id;
sys/dev/aic7xxx/aic79xx.c
3512
devinfo->target = target;
sys/dev/aic7xxx/aic79xx.c
3513
devinfo->lun = lun;
sys/dev/aic7xxx/aic79xx.c
3514
devinfo->target_offset = target;
sys/dev/aic7xxx/aic79xx.c
3515
devinfo->channel = channel;
sys/dev/aic7xxx/aic79xx.c
3516
devinfo->role = role;
sys/dev/aic7xxx/aic79xx.c
3518
devinfo->target_offset += 8;
sys/dev/aic7xxx/aic79xx.c
3519
devinfo->target_mask = (0x01 << devinfo->target_offset);
sys/dev/aic7xxx/aic79xx.c
3523
ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3533
ahd_compile_devinfo(devinfo, our_id, SCB_GET_TARGET(ahd, scb),
sys/dev/aic7xxx/aic79xx.c
3545
ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3632
ahd_build_transfer_msg(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
3645
devinfo->target_mask);
sys/dev/aic7xxx/aic79xx.c
3669
ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
3685
tinfo = ahd_fetch_transinfo(ahd, devinfo->channel, devinfo->our_scsiid,
sys/dev/aic7xxx/aic79xx.c
3686
devinfo->target, &tstate);
sys/dev/aic7xxx/aic79xx.c
3697
if (devinfo->role == ROLE_TARGET)
sys/dev/aic7xxx/aic79xx.c
3700
&ppr_options, devinfo->role);
sys/dev/aic7xxx/aic79xx.c
3726
ahd_print_devinfo(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
3731
if (devinfo->role == ROLE_TARGET)
sys/dev/aic7xxx/aic79xx.c
3747
devinfo->role);
sys/dev/aic7xxx/aic79xx.c
3749
ahd_construct_ppr(ahd, devinfo, period, offset,
sys/dev/aic7xxx/aic79xx.c
3752
ahd_construct_sdtr(ahd, devinfo, period, offset);
sys/dev/aic7xxx/aic79xx.c
3755
ahd_construct_wdtr(ahd, devinfo, tinfo->goal.width);
sys/dev/aic7xxx/aic79xx.c
3764
ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3777
ahd_name(ahd), devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic79xx.c
3778
devinfo->lun, period, offset);
sys/dev/aic7xxx/aic79xx.c
3787
ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3797
ahd_name(ahd), devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic79xx.c
3798
devinfo->lun, bus_width);
sys/dev/aic7xxx/aic79xx.c
3807
ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3832
devinfo->channel, devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic79xx.c
3871
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
3875
ahd_fetch_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
3896
ahd_print_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
3986
ahd_print_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
4019
message_done = ahd_parse_msg(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
4036
ahd_print_devinfo(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
4134
msgdone = ahd_parse_msg(ahd, &devinfo);
sys/dev/aic7xxx/aic79xx.c
4255
ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
4266
tinfo = ahd_fetch_transinfo(ahd, devinfo->channel, devinfo->our_scsiid,
sys/dev/aic7xxx/aic79xx.c
4267
devinfo->target, &tstate);
sys/dev/aic7xxx/aic79xx.c
4293
response = ahd_handle_msg_reject(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
4330
&ppr_options, devinfo->role);
sys/dev/aic7xxx/aic79xx.c
4332
tinfo->curr.width, devinfo->role);
sys/dev/aic7xxx/aic79xx.c
4337
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4338
devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic79xx.c
4342
ahd_set_syncrate(ahd, devinfo, period,
sys/dev/aic7xxx/aic79xx.c
4363
&& devinfo->role == ROLE_INITIATOR) {
sys/dev/aic7xxx/aic79xx.c
4366
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4367
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4371
ahd_construct_sdtr(ahd, devinfo,
sys/dev/aic7xxx/aic79xx.c
4404
devinfo->role);
sys/dev/aic7xxx/aic79xx.c
4408
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4409
devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic79xx.c
4424
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4425
devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic79xx.c
4434
&& devinfo->role == ROLE_INITIATOR) {
sys/dev/aic7xxx/aic79xx.c
4437
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4438
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4442
ahd_construct_wdtr(ahd, devinfo, bus_width);
sys/dev/aic7xxx/aic79xx.c
4456
ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/aic7xxx/aic79xx.c
4458
ahd_set_width(ahd, devinfo, bus_width,
sys/dev/aic7xxx/aic79xx.c
4467
ahd_build_transfer_msg(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
4523
devinfo->role);
sys/dev/aic7xxx/aic79xx.c
4525
&ppr_options, devinfo->role);
sys/dev/aic7xxx/aic79xx.c
4527
bus_width, devinfo->role);
sys/dev/aic7xxx/aic79xx.c
4545
if (devinfo->role != ROLE_TARGET)
sys/dev/aic7xxx/aic79xx.c
4548
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4549
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4553
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4554
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4557
ahd_construct_ppr(ahd, devinfo, period, offset,
sys/dev/aic7xxx/aic79xx.c
4567
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4568
devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic79xx.c
4573
ahd_set_width(ahd, devinfo, bus_width,
sys/dev/aic7xxx/aic79xx.c
4576
ahd_set_syncrate(ahd, devinfo, period,
sys/dev/aic7xxx/aic79xx.c
4593
ahd_handle_devreset(ahd, devinfo, CAM_LUN_WILDCARD,
sys/dev/aic7xxx/aic79xx.c
4607
if (devinfo->role != ROLE_TARGET) {
sys/dev/aic7xxx/aic79xx.c
4614
ahd_abort_scbs(ahd, devinfo->target, devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4615
devinfo->lun, tag, ROLE_TARGET,
sys/dev/aic7xxx/aic79xx.c
4618
tstate = ahd->enabled_targets[devinfo->our_scsiid];
sys/dev/aic7xxx/aic79xx.c
4622
lstate = tstate->enabled_luns[devinfo->lun];
sys/dev/aic7xxx/aic79xx.c
4625
devinfo->our_scsiid,
sys/dev/aic7xxx/aic79xx.c
4672
ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
4689
tinfo = ahd_fetch_transinfo(ahd, devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4690
devinfo->our_scsiid,
sys/dev/aic7xxx/aic79xx.c
4691
devinfo->target, &tstate);
sys/dev/aic7xxx/aic79xx.c
4706
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4707
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4721
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4722
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4730
ahd_build_transfer_msg(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
4737
devinfo->channel, devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4738
ahd_set_width(ahd, devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic79xx.c
4752
ahd_build_transfer_msg(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
4758
ahd_set_syncrate(ahd, devinfo, /*period*/0,
sys/dev/aic7xxx/aic79xx.c
4764
ahd_name(ahd), devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
4765
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4775
devinfo->channel, devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic79xx.c
4776
ahd_set_tags(ahd, devinfo, AHD_QUEUE_NONE);
sys/dev/aic7xxx/aic79xx.c
4781
ahd_name(ahd), devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic79xx.c
4782
devinfo->lun, tag_type == MSG_ORDERED_TASK
sys/dev/aic7xxx/aic79xx.c
4784
ahd_set_tags(ahd, devinfo, AHD_QUEUE_BASIC);
sys/dev/aic7xxx/aic79xx.c
4799
ahd_busy_tcl(ahd, BUILD_TCL(scb->hscb->scsiid, devinfo->lun),
sys/dev/aic7xxx/aic79xx.c
4820
ahd_force_renegotiation(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
4823
ahd_build_transfer_msg(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
4831
ahd_name(ahd), devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic79xx.c
4841
ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
5061
ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
5070
found = ahd_abort_scbs(ahd, devinfo->target, devinfo->channel,
sys/dev/aic7xxx/aic79xx.c
5071
lun, SCB_LIST_NULL, devinfo->role,
sys/dev/aic7xxx/aic79xx.c
5079
tstate = ahd->enabled_targets[devinfo->our_scsiid];
sys/dev/aic7xxx/aic79xx.c
5098
ahd_queue_lstate_event(ahd, lstate, devinfo->our_scsiid,
sys/dev/aic7xxx/aic79xx.c
5108
ahd_set_width(ahd, devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic79xx.c
5110
ahd_set_syncrate(ahd, devinfo, /*period*/0, /*offset*/0,
sys/dev/aic7xxx/aic79xx.c
5115
ahd_send_async(ahd, devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic79xx.c
5122
message, devinfo->channel, devinfo->target, found);
sys/dev/aic7xxx/aic79xx.c
5128
ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
5141
ahd_build_transfer_msg(ahd, devinfo);
sys/dev/aic7xxx/aic79xx.c
6648
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
6654
ahd_compile_devinfo(&devinfo, ahd->our_id,
sys/dev/aic7xxx/aic79xx.c
6657
ahd_update_neg_table(ahd, &devinfo, &tinfo->curr);
sys/dev/aic7xxx/aic79xx.c
6819
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
6861
ahd_compile_devinfo(&devinfo, ahd->our_id,
sys/dev/aic7xxx/aic79xx.c
6865
ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic79xx.c
6867
ahd_set_syncrate(ahd, &devinfo, /*period*/0, /*offset*/0,
sys/dev/aic7xxx/aic79xx.c
6899
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
6976
ahd_compile_devinfo(&devinfo, ahd->our_id,
sys/dev/aic7xxx/aic79xx.c
6979
ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic79xx.c
6981
ahd_set_syncrate(ahd, &devinfo, /*period*/0, /*offset*/0,
sys/dev/aic7xxx/aic79xx.c
7877
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
7887
ahd_compile_devinfo(&devinfo,
sys/dev/aic7xxx/aic79xx.c
7968
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
7970
ahd_compile_devinfo(&devinfo, target, initiator,
sys/dev/aic7xxx/aic79xx.c
7973
ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic79xx.c
7975
ahd_set_syncrate(ahd, &devinfo, /*period*/0,
sys/dev/aic7xxx/aic79xx.c
8009
ahd_send_async(ahd, devinfo.channel, CAM_TARGET_WILDCARD,
sys/dev/aic7xxx/aic79xx.c
8217
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx.c
8234
ahd_compile_devinfo(&devinfo, SCB_GET_OUR_ID(scb),
sys/dev/aic7xxx/aic79xx.c
8240
devinfo.channel,
sys/dev/aic7xxx/aic79xx.c
8241
devinfo.our_scsiid,
sys/dev/aic7xxx/aic79xx.c
8242
devinfo.target,
sys/dev/aic7xxx/aic79xx.c
8289
ahd_update_neg_request(ahd, &devinfo,
sys/dev/aic7xxx/aic79xx.c
8293
if (tstate->auto_negotiate & devinfo.target_mask) {
sys/dev/aic7xxx/aic79xx.h
1489
void ahd_compile_devinfo(struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.h
1519
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.h
1522
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.h
1533
struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.h
1575
struct ahd_devinfo *devinfo);
sys/dev/aic7xxx/aic79xx_osm.c
1267
struct ahd_devinfo *devinfo, int enable)
sys/dev/aic7xxx/aic79xx_osm.c
734
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx_osm.c
745
ahd_compile_devinfo(&devinfo, SIM_SCSI_ID(ahd, sim),
sys/dev/aic7xxx/aic79xx_osm.c
750
tinfo = ahd_fetch_transinfo(ahd, devinfo.channel,
sys/dev/aic7xxx/aic79xx_osm.c
751
devinfo.our_scsiid,
sys/dev/aic7xxx/aic79xx_osm.c
752
devinfo.target, &tstate);
sys/dev/aic7xxx/aic79xx_osm.c
775
*discenable |= devinfo.target_mask;
sys/dev/aic7xxx/aic79xx_osm.c
777
*discenable &= ~devinfo.target_mask;
sys/dev/aic7xxx/aic79xx_osm.c
782
*tagenable |= devinfo.target_mask;
sys/dev/aic7xxx/aic79xx_osm.c
784
*tagenable &= ~devinfo.target_mask;
sys/dev/aic7xxx/aic79xx_osm.c
790
ahd_set_width(ahd, &devinfo, spi->bus_width,
sys/dev/aic7xxx/aic79xx_osm.c
824
if ((*discenable & devinfo.target_mask) == 0)
sys/dev/aic7xxx/aic79xx_osm.c
839
ahd_set_syncrate(ahd, &devinfo, spi->sync_period,
sys/dev/aic7xxx/aic79xx_osm.c
850
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx_osm.c
859
ahd_compile_devinfo(&devinfo, our_id,
sys/dev/aic7xxx/aic79xx_osm.c
863
targ_info = ahd_fetch_transinfo(ahd, devinfo.channel,
sys/dev/aic7xxx/aic79xx_osm.c
864
devinfo.our_scsiid,
sys/dev/aic7xxx/aic79xx_osm.c
865
devinfo.target, &tstate);
sys/dev/aic7xxx/aic79xx_osm.c
875
if ((ahd->user_discenable & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic79xx_osm.c
878
if ((ahd->user_tagenable & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic79xx_osm.c
881
if ((tstate->discenable & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic79xx_osm.c
884
if ((tstate->tagenable & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic79xx_osm.c
923
struct ahd_devinfo devinfo;
sys/dev/aic7xxx/aic79xx_osm.c
925
ahd_compile_devinfo(&devinfo, SIM_SCSI_ID(ahd, sim),
sys/dev/aic7xxx/aic79xx_osm.c
935
ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic79xx_osm.c
937
ahd_set_syncrate(ahd, &devinfo, /*period*/0, /*offset*/0,
sys/dev/aic7xxx/aic7xxx.c
1047
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
1144
ahc_fetch_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
1145
ahc_force_renegotiation(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
1183
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
1191
ahc_scb_devinfo(ahc, &devinfo, scb);
sys/dev/aic7xxx/aic7xxx.c
1201
ahc_handle_devreset(ahc, &devinfo,
sys/dev/aic7xxx/aic7xxx.c
1210
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
1249
ahc_compile_devinfo(&devinfo, initiator_role_id,
sys/dev/aic7xxx/aic7xxx.c
1286
ahc_compile_devinfo(&devinfo,
sys/dev/aic7xxx/aic7xxx.c
1292
ahc_handle_devreset(ahc, &devinfo,
sys/dev/aic7xxx/aic7xxx.c
1307
devinfo.channel,
sys/dev/aic7xxx/aic7xxx.c
1308
devinfo.our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
1309
devinfo.target,
sys/dev/aic7xxx/aic7xxx.c
1322
ahc_set_width(ahc, &devinfo,
sys/dev/aic7xxx/aic7xxx.c
1334
ahc_set_syncrate(ahc, &devinfo,
sys/dev/aic7xxx/aic7xxx.c
1377
ahc_force_renegotiation(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
1399
ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/aic7xxx/aic7xxx.c
1405
devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
1406
devinfo->our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
1407
devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
1409
ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/aic7xxx/aic7xxx.c
141
struct ahc_devinfo *devinfo);
sys/dev/aic7xxx/aic7xxx.c
157
struct ahc_devinfo *devinfo);
sys/dev/aic7xxx/aic7xxx.c
159
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
163
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
166
struct ahc_devinfo *devinfo);
sys/dev/aic7xxx/aic7xxx.c
168
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
171
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
174
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
1851
ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
1878
tstate->auto_negotiate |= devinfo->target_mask;
sys/dev/aic7xxx/aic7xxx.c
188
struct ahc_devinfo *devinfo);
sys/dev/aic7xxx/aic7xxx.c
1880
tstate->auto_negotiate &= ~devinfo->target_mask;
sys/dev/aic7xxx/aic7xxx.c
1894
ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
190
struct ahc_devinfo *devinfo);
sys/dev/aic7xxx/aic7xxx.c
1914
tinfo = ahc_fetch_transinfo(ahc, devinfo->channel, devinfo->our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
1915
devinfo->target, &tstate);
sys/dev/aic7xxx/aic7xxx.c
192
struct ahc_devinfo *devinfo);
sys/dev/aic7xxx/aic7xxx.c
195
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
1956
tstate->ultraenb &= ~devinfo->target_mask;
sys/dev/aic7xxx/aic7xxx.c
1960
devinfo->target_mask;
sys/dev/aic7xxx/aic7xxx.c
1970
if (tstate->ultraenb & devinfo->target_mask)
sys/dev/aic7xxx/aic7xxx.c
1986
ahc_send_async(ahc, devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
1992
devinfo->target, syncrate->rate,
sys/dev/aic7xxx/aic7xxx.c
1998
ahc_name(ahc), devinfo->target);
sys/dev/aic7xxx/aic7xxx.c
200
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
2003
update_needed += ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/aic7xxx/aic7xxx.c
2019
ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
2030
tinfo = ahc_fetch_transinfo(ahc, devinfo->channel, devinfo->our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
2031
devinfo->target, &tstate);
sys/dev/aic7xxx/aic7xxx.c
2056
ahc_send_async(ahc, devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
2060
ahc_name(ahc), devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
2065
update_needed += ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/aic7xxx/aic7xxx.c
2075
ahc_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
2078
ahc_platform_set_tags(ahc, devinfo, alg);
sys/dev/aic7xxx/aic7xxx.c
2079
ahc_send_async(ahc, devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
2080
devinfo->lun, AC_TRANSFER_NEG, &alg);
sys/dev/aic7xxx/aic7xxx.c
2103
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
2108
ahc_scb_devinfo(ahc, &devinfo, pending_scb);
sys/dev/aic7xxx/aic7xxx.c
2109
tinfo = ahc_fetch_transinfo(ahc, devinfo.channel,
sys/dev/aic7xxx/aic7xxx.c
2110
devinfo.our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
2111
devinfo.target, &tstate);
sys/dev/aic7xxx/aic7xxx.c
2114
if ((tstate->ultraenb & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic7xxx.c
2118
if ((tstate->auto_negotiate & devinfo.target_mask) == 0
sys/dev/aic7xxx/aic7xxx.c
2167
ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/aic7xxx/aic7xxx.c
2190
ahc_compile_devinfo(devinfo,
sys/dev/aic7xxx/aic7xxx.c
2217
ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target,
sys/dev/aic7xxx/aic7xxx.c
2220
devinfo->our_scsiid = our_id;
sys/dev/aic7xxx/aic7xxx.c
2221
devinfo->target = target;
sys/dev/aic7xxx/aic7xxx.c
2222
devinfo->lun = lun;
sys/dev/aic7xxx/aic7xxx.c
2223
devinfo->target_offset = target;
sys/dev/aic7xxx/aic7xxx.c
2224
devinfo->channel = channel;
sys/dev/aic7xxx/aic7xxx.c
2225
devinfo->role = role;
sys/dev/aic7xxx/aic7xxx.c
2227
devinfo->target_offset += 8;
sys/dev/aic7xxx/aic7xxx.c
2228
devinfo->target_mask = (0x01 << devinfo->target_offset);
sys/dev/aic7xxx/aic7xxx.c
2232
ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/aic7xxx/aic7xxx.c
2234
printf("%s:%c:%d:%d: ", ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
2235
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
2239
ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
2249
ahc_compile_devinfo(devinfo, our_id, SCB_GET_TARGET(ahc, scb),
sys/dev/aic7xxx/aic7xxx.c
2272
ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
2332
ahc_build_transfer_msg(ahc, devinfo);
sys/dev/aic7xxx/aic7xxx.c
2337
devinfo->target_mask);
sys/dev/aic7xxx/aic7xxx.c
2358
ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/aic7xxx/aic7xxx.c
2375
tinfo = ahc_fetch_transinfo(ahc, devinfo->channel, devinfo->our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
2376
devinfo->target, &tstate);
sys/dev/aic7xxx/aic7xxx.c
2387
if (devinfo->role == ROLE_TARGET)
sys/dev/aic7xxx/aic7xxx.c
2390
&ppr_options, devinfo->role);
sys/dev/aic7xxx/aic7xxx.c
2416
ahc_print_devinfo(ahc, devinfo);
sys/dev/aic7xxx/aic7xxx.c
2422
if (devinfo->role == ROLE_TARGET)
sys/dev/aic7xxx/aic7xxx.c
2438
devinfo->role);
sys/dev/aic7xxx/aic7xxx.c
2440
ahc_construct_ppr(ahc, devinfo, period, offset,
sys/dev/aic7xxx/aic7xxx.c
2443
ahc_construct_sdtr(ahc, devinfo, period, offset);
sys/dev/aic7xxx/aic7xxx.c
2446
ahc_construct_wdtr(ahc, devinfo, tinfo->goal.width);
sys/dev/aic7xxx/aic7xxx.c
2455
ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
2468
ahc_name(ahc), devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
2469
devinfo->lun, period, offset);
sys/dev/aic7xxx/aic7xxx.c
2478
ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
2488
ahc_name(ahc), devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
2489
devinfo->lun, bus_width);
sys/dev/aic7xxx/aic7xxx.c
2498
ahc_construct_ppr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
2516
devinfo->channel, devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic7xxx.c
2545
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
2553
ahc_fetch_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2565
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2574
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2621
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2641
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
2645
ahc_fetch_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2662
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2740
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2773
message_done = ahc_parse_msg(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2790
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2817
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2901
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2925
msgdone = ahc_parse_msg(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
2952
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
3058
ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/aic7xxx/aic7xxx.c
3070
tinfo = ahc_fetch_transinfo(ahc, devinfo->channel, devinfo->our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
3071
devinfo->target, &tstate);
sys/dev/aic7xxx/aic7xxx.c
3098
response = ahc_handle_msg_reject(ahc, devinfo);
sys/dev/aic7xxx/aic7xxx.c
3137
devinfo->role);
sys/dev/aic7xxx/aic7xxx.c
3140
devinfo->role);
sys/dev/aic7xxx/aic7xxx.c
3145
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3146
devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic7xxx.c
3150
ahc_set_syncrate(ahc, devinfo,
sys/dev/aic7xxx/aic7xxx.c
3172
&& devinfo->role == ROLE_INITIATOR) {
sys/dev/aic7xxx/aic7xxx.c
3175
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3176
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
3180
ahc_construct_sdtr(ahc, devinfo,
sys/dev/aic7xxx/aic7xxx.c
3213
devinfo->role);
sys/dev/aic7xxx/aic7xxx.c
3217
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3218
devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic7xxx.c
3233
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3234
devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic7xxx.c
3243
&& devinfo->role == ROLE_INITIATOR) {
sys/dev/aic7xxx/aic7xxx.c
3246
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3247
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
3251
ahc_construct_wdtr(ahc, devinfo, bus_width);
sys/dev/aic7xxx/aic7xxx.c
3265
ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/aic7xxx/aic7xxx.c
3267
ahc_set_width(ahc, devinfo, bus_width,
sys/dev/aic7xxx/aic7xxx.c
3276
ahc_build_transfer_msg(ahc, devinfo);
sys/dev/aic7xxx/aic7xxx.c
3335
devinfo->role);
sys/dev/aic7xxx/aic7xxx.c
3338
devinfo->role);
sys/dev/aic7xxx/aic7xxx.c
3341
devinfo->role);
sys/dev/aic7xxx/aic7xxx.c
3360
if (devinfo->role != ROLE_TARGET)
sys/dev/aic7xxx/aic7xxx.c
3363
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3364
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
3368
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3369
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
3372
ahc_construct_ppr(ahc, devinfo, period, offset,
sys/dev/aic7xxx/aic7xxx.c
3382
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3383
devinfo->target, devinfo->lun,
sys/dev/aic7xxx/aic7xxx.c
3388
ahc_set_width(ahc, devinfo, bus_width,
sys/dev/aic7xxx/aic7xxx.c
3391
ahc_set_syncrate(ahc, devinfo,
sys/dev/aic7xxx/aic7xxx.c
3408
ahc_handle_devreset(ahc, devinfo,
sys/dev/aic7xxx/aic7xxx.c
3422
if (devinfo->role != ROLE_TARGET) {
sys/dev/aic7xxx/aic7xxx.c
3429
ahc_abort_scbs(ahc, devinfo->target, devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3430
devinfo->lun, tag, ROLE_TARGET,
sys/dev/aic7xxx/aic7xxx.c
3433
tstate = ahc->enabled_targets[devinfo->our_scsiid];
sys/dev/aic7xxx/aic7xxx.c
3437
lstate = tstate->enabled_luns[devinfo->lun];
sys/dev/aic7xxx/aic7xxx.c
3440
devinfo->our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
3479
ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/aic7xxx/aic7xxx.c
3496
tinfo = ahc_fetch_transinfo(ahc, devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3497
devinfo->our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
3498
devinfo->target, &tstate);
sys/dev/aic7xxx/aic7xxx.c
3510
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3511
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
3518
ahc_build_transfer_msg(ahc, devinfo);
sys/dev/aic7xxx/aic7xxx.c
3525
devinfo->channel, devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
3526
ahc_set_width(ahc, devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic7xxx.c
3540
ahc_build_transfer_msg(ahc, devinfo);
sys/dev/aic7xxx/aic7xxx.c
3546
ahc_set_syncrate(ahc, devinfo, /*syncrate*/NULL, /*period*/0,
sys/dev/aic7xxx/aic7xxx.c
3552
ahc_name(ahc), devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3553
devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
3563
devinfo->channel, devinfo->target, devinfo->lun);
sys/dev/aic7xxx/aic7xxx.c
3564
ahc_set_tags(ahc, devinfo, AHC_QUEUE_NONE);
sys/dev/aic7xxx/aic7xxx.c
3569
ahc_name(ahc), devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
3570
devinfo->lun, tag_type == MSG_ORDERED_TASK
sys/dev/aic7xxx/aic7xxx.c
3572
ahc_set_tags(ahc, devinfo, AHC_QUEUE_BASIC);
sys/dev/aic7xxx/aic7xxx.c
3596
&(ahc->untagged_queues[devinfo->target_offset]);
sys/dev/aic7xxx/aic7xxx.c
3600
ahc_busy_tcl(ahc, BUILD_TCL(scb->hscb->scsiid, devinfo->lun),
sys/dev/aic7xxx/aic7xxx.c
3618
ahc_name(ahc), devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
3628
ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/aic7xxx/aic7xxx.c
3785
ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
3794
found = ahc_abort_scbs(ahc, devinfo->target, devinfo->channel,
sys/dev/aic7xxx/aic7xxx.c
3795
CAM_LUN_WILDCARD, SCB_LIST_NULL, devinfo->role,
sys/dev/aic7xxx/aic7xxx.c
3803
tstate = ahc->enabled_targets[devinfo->our_scsiid];
sys/dev/aic7xxx/aic7xxx.c
3812
ahc_queue_lstate_event(ahc, lstate, devinfo->our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
3822
ahc_set_width(ahc, devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic7xxx.c
3824
ahc_set_syncrate(ahc, devinfo, /*syncrate*/NULL,
sys/dev/aic7xxx/aic7xxx.c
3829
ahc_send_async(ahc, devinfo->channel, devinfo->target,
sys/dev/aic7xxx/aic7xxx.c
3835
message, devinfo->channel, devinfo->target, found);
sys/dev/aic7xxx/aic7xxx.c
3840
ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.c
3853
ahc_build_transfer_msg(ahc, devinfo);
sys/dev/aic7xxx/aic7xxx.c
414
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
416
ahc_fetch_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
450
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
502
devinfo.channel,
sys/dev/aic7xxx/aic7xxx.c
503
devinfo.our_scsiid,
sys/dev/aic7xxx/aic7xxx.c
504
devinfo.target,
sys/dev/aic7xxx/aic7xxx.c
556
ahc_update_neg_request(ahc, &devinfo,
sys/dev/aic7xxx/aic7xxx.c
560
if (tstate->auto_negotiate & devinfo.target_mask) {
sys/dev/aic7xxx/aic7xxx.c
599
ahc_name(ahc), devinfo.channel, devinfo.target);
sys/dev/aic7xxx/aic7xxx.c
6004
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
6015
ahc_compile_devinfo(&devinfo,
sys/dev/aic7xxx/aic7xxx.c
6135
ahc_send_async(ahc, devinfo.channel, CAM_TARGET_WILDCARD,
sys/dev/aic7xxx/aic7xxx.c
6145
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx.c
6147
ahc_compile_devinfo(&devinfo, target, initiator,
sys/dev/aic7xxx/aic7xxx.c
6150
ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic7xxx.c
6152
ahc_set_syncrate(ahc, &devinfo, /*syncrate*/NULL,
sys/dev/aic7xxx/aic7xxx.c
634
ahc_name(ahc), devinfo.channel, devinfo.target, rejbyte);
sys/dev/aic7xxx/aic7xxx.c
643
ahc_handle_ign_wide_residue(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
655
ahc_name(ahc), devinfo.channel, devinfo.target,
sys/dev/aic7xxx/aic7xxx.c
666
ahc_name(ahc), devinfo.channel, devinfo.target,
sys/dev/aic7xxx/aic7xxx.c
706
if (devinfo.role == ROLE_INITIATOR) {
sys/dev/aic7xxx/aic7xxx.c
713
&devinfo,
sys/dev/aic7xxx/aic7xxx.c
730
&devinfo,
sys/dev/aic7xxx/aic7xxx.c
791
ahc_print_devinfo(ahc, &devinfo);
sys/dev/aic7xxx/aic7xxx.c
799
ahc_reset_channel(ahc, devinfo.channel,
sys/dev/aic7xxx/aic7xxx.c
886
ahc_name(ahc), devinfo.channel, devinfo.target,
sys/dev/aic7xxx/aic7xxx.c
887
devinfo.lun);
sys/dev/aic7xxx/aic7xxx.h
1276
void ahc_compile_devinfo(struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.h
1309
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.h
1312
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx.h
1324
struct ahc_devinfo *devinfo,
sys/dev/aic7xxx/aic7xxx_osm.c
1327
struct ahc_devinfo *devinfo, int enable)
sys/dev/aic7xxx/aic7xxx_osm.c
606
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx_osm.c
619
ahc_compile_devinfo(&devinfo, SIM_SCSI_ID(ahc, sim),
sys/dev/aic7xxx/aic7xxx_osm.c
624
tinfo = ahc_fetch_transinfo(ahc, devinfo.channel,
sys/dev/aic7xxx/aic7xxx_osm.c
625
devinfo.our_scsiid,
sys/dev/aic7xxx/aic7xxx_osm.c
626
devinfo.target, &tstate);
sys/dev/aic7xxx/aic7xxx_osm.c
656
*discenable |= devinfo.target_mask;
sys/dev/aic7xxx/aic7xxx_osm.c
658
*discenable &= ~devinfo.target_mask;
sys/dev/aic7xxx/aic7xxx_osm.c
663
*tagenable |= devinfo.target_mask;
sys/dev/aic7xxx/aic7xxx_osm.c
665
*tagenable &= ~devinfo.target_mask;
sys/dev/aic7xxx/aic7xxx_osm.c
671
ahc_set_width(ahc, &devinfo, spi->bus_width,
sys/dev/aic7xxx/aic7xxx_osm.c
724
ahc_set_syncrate(ahc, &devinfo, syncrate,
sys/dev/aic7xxx/aic7xxx_osm.c
831
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx_osm.c
840
ahc_compile_devinfo(&devinfo, our_id,
sys/dev/aic7xxx/aic7xxx_osm.c
844
targ_info = ahc_fetch_transinfo(ahc, devinfo.channel,
sys/dev/aic7xxx/aic7xxx_osm.c
845
devinfo.our_scsiid,
sys/dev/aic7xxx/aic7xxx_osm.c
846
devinfo.target, &tstate);
sys/dev/aic7xxx/aic7xxx_osm.c
856
if ((ahc->user_discenable & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic7xxx_osm.c
859
if ((ahc->user_tagenable & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic7xxx_osm.c
862
if ((tstate->discenable & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic7xxx_osm.c
865
if ((tstate->tagenable & devinfo.target_mask) != 0)
sys/dev/aic7xxx/aic7xxx_osm.c
904
struct ahc_devinfo devinfo;
sys/dev/aic7xxx/aic7xxx_osm.c
906
ahc_compile_devinfo(&devinfo, SIM_SCSI_ID(ahc, sim),
sys/dev/aic7xxx/aic7xxx_osm.c
916
ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT,
sys/dev/aic7xxx/aic7xxx_osm.c
918
ahc_set_syncrate(ahc, &devinfo, /*syncrate*/NULL,
sys/dev/bxe/bxe.c
10048
uint32_t vn_cfg = sc->devinfo.mf_info.mf_config[vn];
sys/dev/bxe/bxe.c
10360
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
10430
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
10458
sc->devinfo.chip_id,
sys/dev/bxe/bxe.c
10459
sc->devinfo.shmem_base,
sys/dev/bxe/bxe.c
10460
sc->devinfo.shmem2_base,
sys/dev/bxe/bxe.c
10551
start_params->mf_mode = sc->devinfo.mf_info.mf_mode;
sys/dev/bxe/bxe.c
10573
if (!(sc->devinfo.pcie_cap_flags & BXE_PM_CAPABLE_FLAG)) {
sys/dev/bxe/bxe.c
10579
(sc->devinfo.pcie_pm_cap_reg + PCIR_POWER_STATUS),
sys/dev/bxe/bxe.c
10585
(sc->devinfo.pcie_pm_cap_reg + PCIR_POWER_STATUS),
sys/dev/bxe/bxe.c
10611
(sc->devinfo.pcie_pm_cap_reg + PCIR_POWER_STATUS),
sys/dev/bxe/bxe.c
10834
sc->devinfo.shmem_base =
sys/dev/bxe/bxe.c
10838
if (sc->devinfo.shmem_base) {
sys/dev/bxe/bxe.c
11371
sc->devinfo.mf_info.afex_def_vlan_tag;
sys/dev/bxe/bxe.c
11718
bxe_extract_max_cfg(sc, sc->devinfo.mf_info.mf_config[SC_VN(sc)]);
sys/dev/bxe/bxe.c
12692
sc->devinfo.mf_info.afex_def_vlan_tag = -1;
sys/dev/bxe/bxe.c
1283
if ((offset + buf_size) > sc->devinfo.flash_size) {
sys/dev/bxe/bxe.c
1286
offset, buf_size, sc->devinfo.flash_size);
sys/dev/bxe/bxe.c
13141
if (sc->devinfo.shmem2_base != 0) {
sys/dev/bxe/bxe.c
13197
sc->devinfo.pcie_cap_flags |= BXE_PM_CAPABLE_FLAG;
sys/dev/bxe/bxe.c
13198
sc->devinfo.pcie_pm_cap_reg = (uint16_t)reg;
sys/dev/bxe/bxe.c
13207
sc->devinfo.pcie_link_speed =
sys/dev/bxe/bxe.c
13211
sc->devinfo.pcie_link_width =
sys/dev/bxe/bxe.c
13213
if (sc->devinfo.pcie_link_speed > 1) {
sys/dev/bxe/bxe.c
13214
sc->devinfo.pcie_link_width =
sys/dev/bxe/bxe.c
13218
sc->devinfo.pcie_link_speed =
sys/dev/bxe/bxe.c
13220
sc->devinfo.pcie_link_width =
sys/dev/bxe/bxe.c
13225
sc->devinfo.pcie_link_speed, sc->devinfo.pcie_link_width);
sys/dev/bxe/bxe.c
13227
sc->devinfo.pcie_cap_flags |= BXE_PCIE_CAPABLE_FLAG;
sys/dev/bxe/bxe.c
13228
sc->devinfo.pcie_pcie_cap_reg = (uint16_t)reg;
sys/dev/bxe/bxe.c
13235
sc->devinfo.pcie_cap_flags |= BXE_MSI_CAPABLE_FLAG;
sys/dev/bxe/bxe.c
13236
sc->devinfo.pcie_msi_cap_reg = (uint16_t)reg;
sys/dev/bxe/bxe.c
13245
sc->devinfo.pcie_cap_flags |= BXE_MSIX_CAPABLE_FLAG;
sys/dev/bxe/bxe.c
13246
sc->devinfo.pcie_msix_cap_reg = (uint16_t)reg;
sys/dev/bxe/bxe.c
13254
struct bxe_mf_info *mf_info = &sc->devinfo.mf_info;
sys/dev/bxe/bxe.c
13312
struct bxe_mf_info *mf_info = &sc->devinfo.mf_info;
sys/dev/bxe/bxe.c
13335
struct bxe_mf_info *mf_info = &sc->devinfo.mf_info;
sys/dev/bxe/bxe.c
13381
struct bxe_mf_info *mf_info = &sc->devinfo.mf_info;
sys/dev/bxe/bxe.c
13481
struct bxe_mf_info *mf_info = &sc->devinfo.mf_info;
sys/dev/bxe/bxe.c
13495
if (sc->devinfo.mf_cfg_base == SHMEM_MF_CFG_ADDR_NONE) {
sys/dev/bxe/bxe.c
13650
sc->devinfo.hw_config =
sys/dev/bxe/bxe.c
13652
sc->devinfo.hw_config2 =
sys/dev/bxe/bxe.c
13656
((sc->devinfo.hw_config & SHARED_HW_CFG_LED_MODE_MASK) >>
sys/dev/bxe/bxe.c
1388
if ((offset + buf_size) > sc->devinfo.flash_size) {
sys/dev/bxe/bxe.c
1391
offset, buf_size, sc->devinfo.flash_size);
sys/dev/bxe/bxe.c
13971
sc->devinfo.vendor_id = pci_get_vendor(sc->dev);
sys/dev/bxe/bxe.c
13972
sc->devinfo.device_id = pci_get_device(sc->dev);
sys/dev/bxe/bxe.c
13973
sc->devinfo.subvendor_id = pci_get_subvendor(sc->dev);
sys/dev/bxe/bxe.c
13974
sc->devinfo.subdevice_id = pci_get_subdevice(sc->dev);
sys/dev/bxe/bxe.c
13977
sc->devinfo.chip_id =
sys/dev/bxe/bxe.c
13987
sc->devinfo.chip_id = ((CHIP_NUM_57811 << 16) |
sys/dev/bxe/bxe.c
13988
(sc->devinfo.chip_id & 0x0000ffff));
sys/dev/bxe/bxe.c
13990
sc->devinfo.chip_id = ((CHIP_NUM_57811_MF << 16) |
sys/dev/bxe/bxe.c
13991
(sc->devinfo.chip_id & 0x0000ffff));
sys/dev/bxe/bxe.c
13993
sc->devinfo.chip_id |= 0x1;
sys/dev/bxe/bxe.c
13998
sc->devinfo.chip_id,
sys/dev/bxe/bxe.c
13999
((sc->devinfo.chip_id >> 16) & 0xffff),
sys/dev/bxe/bxe.c
14000
((sc->devinfo.chip_id >> 12) & 0xf),
sys/dev/bxe/bxe.c
14001
((sc->devinfo.chip_id >> 4) & 0xff),
sys/dev/bxe/bxe.c
14002
((sc->devinfo.chip_id >> 0) & 0xf));
sys/dev/bxe/bxe.c
14005
if ((sc->devinfo.chip_id & 0x1) ||
sys/dev/bxe/bxe.c
14016
sc->devinfo.chip_port_mode = CHIP_PORT_MODE_NONE; /* E1 & E1h*/
sys/dev/bxe/bxe.c
14030
sc->devinfo.chip_port_mode =
sys/dev/bxe/bxe.c
14040
sc->devinfo.shmem_base =
sys/dev/bxe/bxe.c
14043
sc->devinfo.shmem2_base =
sys/dev/bxe/bxe.c
14048
sc->devinfo.shmem_base, sc->devinfo.shmem2_base);
sys/dev/bxe/bxe.c
14050
if (!sc->devinfo.shmem_base) {
sys/dev/bxe/bxe.c
14067
sc->devinfo.bc_ver = SHMEM_RD(sc, dev_info.bc_rev);
sys/dev/bxe/bxe.c
14068
snprintf(sc->devinfo.bc_ver_str,
sys/dev/bxe/bxe.c
14069
sizeof(sc->devinfo.bc_ver_str),
sys/dev/bxe/bxe.c
14071
((sc->devinfo.bc_ver >> 24) & 0xff),
sys/dev/bxe/bxe.c
14072
((sc->devinfo.bc_ver >> 16) & 0xff),
sys/dev/bxe/bxe.c
14073
((sc->devinfo.bc_ver >> 8) & 0xff));
sys/dev/bxe/bxe.c
14074
BLOGD(sc, DBG_LOAD, "Bootcode version: %s\n", sc->devinfo.bc_ver_str);
sys/dev/bxe/bxe.c
14077
sc->devinfo.mf_cfg_base = bxe_get_shmem_mf_cfg_base(sc);
sys/dev/bxe/bxe.c
14078
BLOGD(sc, DBG_LOAD, "mf_cfg_base=0x08%x \n", sc->devinfo.mf_cfg_base);
sys/dev/bxe/bxe.c
14106
sc->devinfo.flash_size =
sys/dev/bxe/bxe.c
14108
BLOGD(sc, DBG_LOAD, "nvram flash size: %d\n", sc->devinfo.flash_size);
sys/dev/bxe/bxe.c
14118
if (sc->devinfo.pcie_msix_cap_reg != 0) {
sys/dev/bxe/bxe.c
14120
(sc->devinfo.pcie_msix_cap_reg +
sys/dev/bxe/bxe.c
14132
sc->devinfo.int_block = INT_BLOCK_HC;
sys/dev/bxe/bxe.c
14136
sc->devinfo.int_block = INT_BLOCK_IGU;
sys/dev/bxe/bxe.c
14166
sc->devinfo.int_block |= INT_BLOCK_MODE_BW_COMP;
sys/dev/bxe/bxe.c
1452
if ((offset + buf_size) > sc->devinfo.flash_size) {
sys/dev/bxe/bxe.c
1455
offset, buf_size, sc->devinfo.flash_size);
sys/dev/bxe/bxe.c
14593
switch (sc->devinfo.mf_info.mf_mode) {
sys/dev/bxe/bxe.c
15391
if (sc->devinfo.bc_ver < REQ_BC_VER_4_INITIATE_FLR) {
sys/dev/bxe/bxe.c
15393
sc->devinfo.bc_ver);
sys/dev/bxe/bxe.c
16005
((sc->devinfo.mf_info.mf_mode == SINGLE_FUNCTION) ? "Single" :
sys/dev/bxe/bxe.c
16006
(sc->devinfo.mf_info.mf_mode == MULTI_FUNCTION_SD) ? "MF-SD" :
sys/dev/bxe/bxe.c
16007
(sc->devinfo.mf_info.mf_mode == MULTI_FUNCTION_SI) ? "MF-SI" :
sys/dev/bxe/bxe.c
16008
(sc->devinfo.mf_info.mf_mode == MULTI_FUNCTION_AFEX) ? "MF-AFEX" :
sys/dev/bxe/bxe.c
16011
CTLFLAG_RD, &sc->devinfo.mf_info.vnics_per_port, 0,
sys/dev/bxe/bxe.c
16015
((sc->devinfo.pcie_link_speed == 1) ? "2.5GT/s" :
sys/dev/bxe/bxe.c
16016
(sc->devinfo.pcie_link_speed == 2) ? "5.0GT/s" :
sys/dev/bxe/bxe.c
16017
(sc->devinfo.pcie_link_speed == 4) ? "8.0GT/s" :
sys/dev/bxe/bxe.c
16019
sc->devinfo.pcie_link_width);
sys/dev/bxe/bxe.c
16024
CTLFLAG_RD, sc->devinfo.bc_ver_str, 0,
sys/dev/bxe/bxe.c
16598
shmem_base[0] = sc->devinfo.shmem_base;
sys/dev/bxe/bxe.c
16599
shmem2_base[0] = sc->devinfo.shmem2_base;
sys/dev/bxe/bxe.c
16608
sc->devinfo.chip_id, 0);
sys/dev/bxe/bxe.c
16887
sc->devinfo.shmem_base,
sys/dev/bxe/bxe.c
16888
sc->devinfo.shmem2_base,
sys/dev/bxe/bxe.c
17265
REG_WR(sc, PRS_REG_E1HOV_MODE, sc->devinfo.mf_info.path_has_ovlan);
sys/dev/bxe/bxe.c
17285
sc->devinfo.mf_info.path_has_ovlan ? 7 : 6);
sys/dev/bxe/bxe.c
17334
sc->devinfo.mf_info.path_has_ovlan ? 7 : 6);
sys/dev/bxe/bxe.c
17586
(sc->devinfo.mf_info.path_has_ovlan ? 7 : 6));
sys/dev/bxe/bxe.c
17679
switch (sc->devinfo.mf_info.mf_mode) {
sys/dev/bxe/bxe.c
18094
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
18211
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
18481
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
19313
sc->devinfo.bc_ver_str);
sys/dev/bxe/bxe.c
19316
drv_infop->eeprom_dump_len = sc->devinfo.flash_size;
sys/dev/bxe/bxe.c
6901
sc->devinfo.mf_info.mf_config[vn] =
sys/dev/bxe/bxe.c
6905
if (sc->devinfo.mf_info.mf_config[SC_VN(sc)] &
sys/dev/bxe/bxe.c
7145
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
7153
(sc->devinfo.int_block == INT_BLOCK_HC) ? "HC" : "IGU", reg_addr);
sys/dev/bxe/bxe.c
7162
if (sc->devinfo.int_block != INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
7753
if (sc->devinfo.mf_info.mf_config[SC_VN(sc)] & FUNC_MF_CFG_FUNC_DISABLED) {
sys/dev/bxe/bxe.c
7799
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
7924
sc->devinfo.mf_info.mf_config[SC_VN(sc)] =
sys/dev/bxe/bxe.c
8257
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
8267
(sc->devinfo.int_block == INT_BLOCK_HC) ? "HC" : "IGU", reg_addr);
sys/dev/bxe/bxe.c
8928
if (sc->devinfo.pcie_cap_flags & BXE_MSIX_CAPABLE_FLAG) {
sys/dev/bxe/bxe.c
8932
if (sc->devinfo.pcie_cap_flags & BXE_MSI_CAPABLE_FLAG) {
sys/dev/bxe/bxe.c
8945
if (((sc->devinfo.pcie_cap_flags & BXE_MSIX_CAPABLE_FLAG) == 0) ||
sys/dev/bxe/bxe.c
9014
if (((sc->devinfo.pcie_cap_flags & BXE_MSI_CAPABLE_FLAG) == 0) ||
sys/dev/bxe/bxe.c
9828
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe.c
9997
vn_cfg = sc->devinfo.mf_info.mf_config[vn];
sys/dev/bxe/bxe.h
1030
#define IS_MULTI_VNIC(sc) ((sc)->devinfo.mf_info.multi_vnics_mode)
sys/dev/bxe/bxe.h
1031
#define VNICS_PER_PORT(sc) ((sc)->devinfo.mf_info.vnics_per_port)
sys/dev/bxe/bxe.h
1033
((sc)->devinfo.mf_info.vnics_per_port * \
sys/dev/bxe/bxe.h
1042
#define OVLAN(sc) ((sc)->devinfo.mf_info.ext_id)
sys/dev/bxe/bxe.h
1043
#define VIF_ID(sc) ((sc)->devinfo.mf_info.ext_id)
sys/dev/bxe/bxe.h
1046
#define NIV_DEFAULT_VLAN(sc) ((sc)->devinfo.mf_info.default_vlan)
sys/dev/bxe/bxe.h
1049
#define NIV_ALLOWED_PRIORITIES(sc) ((sc)->devinfo.mf_info.niv_allowed_priorities)
sys/dev/bxe/bxe.h
1052
#define NIV_DEFAULT_COS(sc) ((sc)->devinfo.mf_info.niv_default_cos)
sys/dev/bxe/bxe.h
1057
#define AFEX_VLAN_MODE(sc) ((sc)->devinfo.mf_info.afex_vlan_mode)
sys/dev/bxe/bxe.h
1067
((sc)->devinfo.mf_info.mf_mode != 0))
sys/dev/bxe/bxe.h
1070
((sc)->devinfo.mf_info.mf_mode == MULTI_FUNCTION_SD))
sys/dev/bxe/bxe.h
1073
((sc)->devinfo.mf_info.mf_mode == MULTI_FUNCTION_SI))
sys/dev/bxe/bxe.h
1076
((sc)->devinfo.mf_info.mf_mode == MULTI_FUNCTION_AFEX))
sys/dev/bxe/bxe.h
1103
#define CHIP_ID(sc) ((sc)->devinfo.chip_id & 0xffff0000)
sys/dev/bxe/bxe.h
1104
#define CHIP_NUM(sc) ((sc)->devinfo.chip_id >> 16)
sys/dev/bxe/bxe.h
1130
#define CHIP_REV(sc) ((sc)->devinfo.chip_id & CHIP_REV_MASK)
sys/dev/bxe/bxe.h
1145
#define CHIP_METAL(sc) ((sc->devinfo.chip_id) & 0x00000ff0)
sys/dev/bxe/bxe.h
1146
#define CHIP_BOND_ID(sc) ((sc->devinfo.chip_id) & 0x0000000f)
sys/dev/bxe/bxe.h
1228
#define CHIP_PORT_MODE(sc) ((sc)->devinfo.chip_port_mode)
sys/dev/bxe/bxe.h
1238
!((sc)->devinfo.int_block & INT_BLOCK_MODE_BW_COMP))
sys/dev/bxe/bxe.h
1393
struct bxe_devinfo devinfo;
sys/dev/bxe/bxe.h
1915
(sc->devinfo.shmem_base + offsetof(struct shmem_region, field))
sys/dev/bxe/bxe.h
1921
(sc->devinfo.shmem2_base + offsetof(struct shmem2_region, field))
sys/dev/bxe/bxe.h
1923
(sc->devinfo.shmem2_base && (REG_RD(sc, SHMEM2_ADDR(sc, size)) > \
sys/dev/bxe/bxe.h
1929
(sc->devinfo.mf_cfg_base + offsetof(struct mf_cfg, field))
sys/dev/bxe/bxe.h
2357
if (sc->devinfo.int_block == INT_BLOCK_HC)
sys/dev/bxe/bxe.h
2402
if (sc->devinfo.int_block == INT_BLOCK_HC) {
sys/dev/bxe/bxe_stats.c
264
if (sc->devinfo.bc_ver <= 0x06001400) {
sys/dev/bxe/bxe_stats.c
79
if (sc->devinfo.bc_ver >= REQ_BC_VER_4_PFC_STATS_SUPPORTED) {
sys/dev/firewire/fwdev.c
548
struct fw_devinfo *devinfo;
sys/dev/firewire/fwdev.c
758
devinfo = &fwdevlst->dev[0];
sys/dev/firewire/fwdev.c
759
devinfo->dst = fc->nodeid;
sys/dev/firewire/fwdev.c
760
devinfo->status = 0; /* XXX */
sys/dev/firewire/fwdev.c
761
devinfo->eui.hi = fc->eui.hi;
sys/dev/firewire/fwdev.c
762
devinfo->eui.lo = fc->eui.lo;
sys/dev/firewire/fwdev.c
765
devinfo = &fwdevlst->dev[len++];
sys/dev/firewire/fwdev.c
766
devinfo->dst = fwdev->dst;
sys/dev/firewire/fwdev.c
767
devinfo->status =
sys/dev/firewire/fwdev.c
769
devinfo->eui.hi = fwdev->eui.hi;
sys/dev/firewire/fwdev.c
770
devinfo->eui.lo = fwdev->eui.lo;
sys/dev/hid/hidbus.c
344
struct hid_device_info *devinfo = device_get_ivars(dev);
sys/dev/hid/hidbus.c
358
d_len = devinfo->rdescsize;
sys/dev/hid/hidbus.c
371
sc->nowrite = hid_test_quirk(devinfo, HQ_NOWRITE);
sys/dev/hid/hidbus.c
507
struct hid_device_info *devinfo = device_get_ivars(bus);
sys/dev/hid/hidbus.c
512
devinfo->idBus, devinfo->idVendor, devinfo->idProduct,
sys/dev/hid/hidbus.c
513
devinfo->idVersion, devinfo->idPnP[0] == '\0' ? "" : " _HID=",
sys/dev/hid/hidbus.c
514
devinfo->idPnP[0] == '\0' ? "" : devinfo->idPnP);
sys/dev/hid/hidbus.c
523
struct hid_device_info *devinfo = device_get_ivars(bus);
sys/dev/hid/hidbus.c
527
if (suffix != NULL && strcasestr(devinfo->name, suffix) == NULL &&
sys/dev/hid/hidbus.c
529
device_set_descf(child, "%s %s", devinfo->name, suffix);
sys/dev/hid/hidbus.c
531
device_set_desc(child, devinfo->name);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
1007
for (i=0; i<devinfo.u.array.nDisk; i++)
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
1008
if (DEVICEID_VALID(devinfo.u.array.Members[i]))
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
1009
__hpt_stop_tasks(vbus_ext, devinfo.u.array.Members[i]);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
982
LOGICAL_DEVICE_INFO_V3 devinfo;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
986
if (hpt_get_device_info_v3(id, &devinfo))
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
989
if (devinfo.Type!=LDT_ARRAY)
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
992
if (devinfo.u.array.Flags & ARRAY_FLAG_REBUILDING)
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
994
else if (devinfo.u.array.Flags & ARRAY_FLAG_VERIFYING)
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
996
else if (devinfo.u.array.Flags & ARRAY_FLAG_INITIALIZING)
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
998
else if (devinfo.u.array.Flags & ARRAY_FLAG_TRANSFORMING)
sys/dev/hptnr/hptnr_osm_bsd.c
1269
LOGICAL_DEVICE_INFO_V3 devinfo;
sys/dev/hptnr/hptnr_osm_bsd.c
1273
if (hpt_get_device_info_v3(id, &devinfo))
sys/dev/hptnr/hptnr_osm_bsd.c
1276
if (devinfo.Type!=LDT_ARRAY)
sys/dev/hptnr/hptnr_osm_bsd.c
1279
if (devinfo.u.array.Flags & ARRAY_FLAG_REBUILDING)
sys/dev/hptnr/hptnr_osm_bsd.c
1281
else if (devinfo.u.array.Flags & ARRAY_FLAG_VERIFYING)
sys/dev/hptnr/hptnr_osm_bsd.c
1283
else if (devinfo.u.array.Flags & ARRAY_FLAG_INITIALIZING)
sys/dev/hptnr/hptnr_osm_bsd.c
1285
else if (devinfo.u.array.Flags & ARRAY_FLAG_TRANSFORMING)
sys/dev/hptnr/hptnr_osm_bsd.c
1294
for (i=0; i<devinfo.u.array.nDisk; i++)
sys/dev/hptnr/hptnr_osm_bsd.c
1295
if (DEVICEID_VALID(devinfo.u.array.Members[i]))
sys/dev/hptnr/hptnr_osm_bsd.c
1296
__hpt_stop_tasks(vbus_ext, devinfo.u.array.Members[i]);
sys/dev/hptrr/hptrr_osm_bsd.c
913
LOGICAL_DEVICE_INFO_V3 devinfo;
sys/dev/hptrr/hptrr_osm_bsd.c
917
if (hpt_get_device_info_v3(id, &devinfo))
sys/dev/hptrr/hptrr_osm_bsd.c
920
if (devinfo.Type!=LDT_ARRAY)
sys/dev/hptrr/hptrr_osm_bsd.c
923
if (devinfo.u.array.Flags & ARRAY_FLAG_REBUILDING)
sys/dev/hptrr/hptrr_osm_bsd.c
925
else if (devinfo.u.array.Flags & ARRAY_FLAG_VERIFYING)
sys/dev/hptrr/hptrr_osm_bsd.c
927
else if (devinfo.u.array.Flags & ARRAY_FLAG_INITIALIZING)
sys/dev/hptrr/hptrr_osm_bsd.c
929
else if (devinfo.u.array.Flags & ARRAY_FLAG_TRANSFORMING)
sys/dev/hptrr/hptrr_osm_bsd.c
938
for (i=0; i<devinfo.u.array.nDisk; i++)
sys/dev/hptrr/hptrr_osm_bsd.c
939
if (DEVICEID_VALID(devinfo.u.array.Members[i]))
sys/dev/hptrr/hptrr_osm_bsd.c
940
__hpt_stop_tasks(vbus_ext, devinfo.u.array.Members[i]);
sys/dev/hyperv/input/hv_hid.c
128
sh_devinfo devinfo;
sys/dev/hyperv/input/hv_hid.c
268
const sh_devinfo *devinfo;
sys/dev/hyperv/input/hv_hid.c
292
devinfo = &msg->dresp.devinfo;
sys/dev/hyperv/input/hv_hid.c
303
hdi->idVendor = le16toh(devinfo->vendor);
sys/dev/hyperv/input/hv_hid.c
304
hdi->idProduct = le16toh(devinfo->product);
sys/dev/hyperv/input/hv_hid.c
305
hdi->idVersion = le16toh(devinfo->version);
sys/dev/mpi3mr/mpi3mr.c
4921
if (cm->targ->devinfo == 0)
sys/dev/mpi3mr/mpi3mr_cam.c
1037
if (targ->devinfo == 0)
sys/dev/mpi3mr/mpi3mr_cam.h
114
uint32_t devinfo;
sys/dev/mpr/mpr_sas.c
1911
if (targ->devinfo == 0)
sys/dev/mpr/mpr_sas.c
2734
if (cm->cm_targ->devinfo == 0)
sys/dev/mpr/mpr_sas.c
3120
if ((targ->devinfo & MPI2_SAS_DEVICE_INFO_SMP_TARGET) != 0)
sys/dev/mpr/mpr_sas.c
3172
if ((parent_target->devinfo &
sys/dev/mpr/mpr_sas.c
403
targ->devinfo = 0x0;
sys/dev/mpr/mpr_sas.c
704
targ->devinfo = 0x0;
sys/dev/mpr/mpr_sas.h
47
uint32_t devinfo;
sys/dev/mpr/mpr_sas_lsi.c
1132
Mpi2SataPassthroughReply_t *mpi_reply, char *id_buffer, int sz, u32 devinfo)
sys/dev/mpr/mpr_sas_lsi.c
1158
mpi_request->CommandFIS[2] = (devinfo &
sys/dev/mpr/mpr_sas_lsi.c
123
u32 devinfo);
sys/dev/mpr/mpr_sas_lsi.c
1331
targ->devinfo = device_info;
sys/dev/mpr/mpr_sas_lsi.c
1372
mpr_describe_devinfo(targ->devinfo, devstring, 80);
sys/dev/mpr/mpr_sas_lsi.c
941
targ->devinfo = device_info;
sys/dev/mpr/mpr_sas_lsi.c
983
mpr_describe_devinfo(targ->devinfo, devstring, 80);
sys/dev/mpr/mpr_table.c
260
mpr_describe_devinfo(uint32_t devinfo, char *string, int len)
sys/dev/mpr/mpr_table.c
262
snprintf(string, len, "%b,%s", devinfo,
sys/dev/mpr/mpr_table.c
266
mpr_describe_table(mpr_sasdev0_devtype, devinfo & 0x03));
sys/dev/mpr/mpr_table.h
36
void mpr_describe_devinfo(uint32_t devinfo, char *string, int len);
sys/dev/mps/mps_sas.c
1682
if (targ->devinfo == 0)
sys/dev/mps/mps_sas.c
2280
if (cm->cm_targ->devinfo == 0)
sys/dev/mps/mps_sas.c
2933
if ((targ->devinfo & MPI2_SAS_DEVICE_INFO_SMP_TARGET) != 0)
sys/dev/mps/mps_sas.c
2987
if ((parent_target->devinfo &
sys/dev/mps/mps_sas.c
391
targ->devinfo = 0x0;
sys/dev/mps/mps_sas.c
662
targ->devinfo = 0x0;
sys/dev/mps/mps_sas.h
45
uint32_t devinfo;
sys/dev/mps/mps_sas_lsi.c
121
u32 devinfo);
sys/dev/mps/mps_sas_lsi.c
737
targ->devinfo = device_info;
sys/dev/mps/mps_sas_lsi.c
763
mps_describe_devinfo(targ->devinfo, devstring, 80);
sys/dev/mps/mps_sas_lsi.c
907
Mpi2SataPassthroughReply_t *mpi_reply, char *id_buffer, int sz, u32 devinfo)
sys/dev/mps/mps_sas_lsi.c
933
mpi_request->CommandFIS[2] = (devinfo &
sys/dev/mps/mps_table.c
239
mps_describe_devinfo(uint32_t devinfo, char *string, int len)
sys/dev/mps/mps_table.c
241
snprintf(string, len, "%b,%s", devinfo,
sys/dev/mps/mps_table.c
245
mps_describe_table(mps_sasdev0_devtype, devinfo & 0x03));
sys/dev/mps/mps_table.h
38
void mps_describe_devinfo(uint32_t devinfo, char *string, int len);
sys/dev/mpt/mpt_cam.c
801
mptsas_set_sata_wc(struct mpt_softc *mpt, struct mptsas_devinfo *devinfo,
sys/dev/mpt/mpt_cam.c
815
pass->TargetID = devinfo->target_id;
sys/dev/mpt/mpt_cam.c
816
pass->Bus = devinfo->bus;
sys/dev/oce/oce_user.h
114
int (*announce)(struct oce_dev_info *devinfo);
sys/dev/pci/controller/pci_n1sdp.c
164
ACPI_DEVICE_INFO *devinfo;
sys/dev/pci/controller/pci_n1sdp.c
171
ACPI_FAILURE(AcpiGetObjectInfo(h, &devinfo)))
sys/dev/pci/controller/pci_n1sdp.c
174
root = (devinfo->Flags & ACPI_PCI_ROOT_BRIDGE) != 0;
sys/dev/pci/controller/pci_n1sdp.c
175
AcpiOsFree(devinfo);
sys/dev/pci/pci_host_generic_acpi.c
116
ACPI_DEVICE_INFO *devinfo;
sys/dev/pci/pci_host_generic_acpi.c
121
ACPI_FAILURE(AcpiGetObjectInfo(h, &devinfo)))
sys/dev/pci/pci_host_generic_acpi.c
123
root = (devinfo->Flags & ACPI_PCI_ROOT_BRIDGE) != 0;
sys/dev/pci/pci_host_generic_acpi.c
124
AcpiOsFree(devinfo);
sys/dev/pci/pci_host_generic_den0115.c
60
ACPI_DEVICE_INFO *devinfo;
sys/dev/pci/pci_host_generic_den0115.c
66
ACPI_FAILURE(AcpiGetObjectInfo(h, &devinfo)))
sys/dev/pci/pci_host_generic_den0115.c
68
root = (devinfo->Flags & ACPI_PCI_ROOT_BRIDGE) != 0;
sys/dev/pci/pci_host_generic_den0115.c
69
AcpiOsFree(devinfo);
sys/dev/pwm/ofw_pwmbus.c
161
if (ofw_bus_gen_setup_devinfo(&ivars->devinfo, node) != 0) {
sys/dev/pwm/ofw_pwmbus.c
45
struct ofw_bus_devinfo devinfo;
sys/dev/pwm/ofw_pwmbus.c
72
ivars->devinfo.obd_node = -1;
sys/dev/pwm/ofw_pwmbus.c
85
ofw_bus_gen_destroy_devinfo(&ivars->devinfo);
sys/dev/pwm/ofw_pwmbus.c
96
return (&ivars->devinfo);
sys/dev/sound/dummy.c
141
dummy_chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/dummy.c
149
sc = devinfo;
sys/dev/sound/fdt/audio_soc.c
205
audio_soc_chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/fdt/audio_soc.c
211
ausoc_chan = devinfo;
sys/dev/sound/fdt/audio_soc.c
223
return (devinfo);
sys/dev/sound/macio/aoa.c
221
aoa_chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/macio/aoa.c
224
struct aoa_softc *sc = devinfo;
sys/dev/sound/pci/als4000.c
205
alschan_init(kobj_t obj, void *devinfo,
sys/dev/sound/pci/als4000.c
208
struct sc_info *sc = devinfo;
sys/dev/sound/pci/atiixp.c
376
atiixp_rdcd(kobj_t obj, void *devinfo, int reg)
sys/dev/sound/pci/atiixp.c
378
struct atiixp_info *sc = devinfo;
sys/dev/sound/pci/atiixp.c
408
atiixp_wrcd(kobj_t obj, void *devinfo, int reg, uint32_t data)
sys/dev/sound/pci/atiixp.c
410
struct atiixp_info *sc = devinfo;
sys/dev/sound/pci/atiixp.c
435
atiixp_chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/atiixp.c
438
struct atiixp_info *sc = devinfo;
sys/dev/sound/pci/cmi.c
345
cmichan_init(kobj_t obj, void *devinfo,
sys/dev/sound/pci/cmi.c
348
struct sc_info *sc = devinfo;
sys/dev/sound/pci/cs4281.c
255
cs4281_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/cs4281.c
257
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/cs4281.c
287
cs4281_wrcd(kobj_t obj, void *devinfo, int regno, u_int32_t data)
sys/dev/sound/pci/cs4281.c
289
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/cs4281.c
316
cs4281chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/cs4281.c
318
struct sc_info *sc = devinfo;
sys/dev/sound/pci/csapcm.c
140
csa_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/csapcm.c
143
struct csa_info *csa = (struct csa_info *)devinfo;
sys/dev/sound/pci/csapcm.c
154
csa_wrcd(kobj_t obj, void *devinfo, int regno, u_int32_t data)
sys/dev/sound/pci/csapcm.c
156
struct csa_info *csa = (struct csa_info *)devinfo;
sys/dev/sound/pci/csapcm.c
530
csachan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/csapcm.c
532
struct csa_info *csa = devinfo;
sys/dev/sound/pci/emu10k1.c
378
emu_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/emu10k1.c
380
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/emu10k1.c
387
emu_wrcd(kobj_t obj, void *devinfo, int regno, u_int32_t data)
sys/dev/sound/pci/emu10k1.c
389
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/emu10k1.c
808
emupchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/emu10k1.c
811
struct sc_info *sc = devinfo;
sys/dev/sound/pci/emu10k1.c
943
emurchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/emu10k1.c
946
struct sc_info *sc = devinfo;
sys/dev/sound/pci/emu10kx-pcm.c
1039
emufxrchan_init(kobj_t obj __unused, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir __unused)
sys/dev/sound/pci/emu10kx-pcm.c
1041
struct emu_pcm_info *sc = devinfo;
sys/dev/sound/pci/emu10kx-pcm.c
629
emu_erdcd(kobj_t obj __unused, void *devinfo, int regno)
sys/dev/sound/pci/emu10kx-pcm.c
631
struct emu_pcm_info *sc = (struct emu_pcm_info *)devinfo;
sys/dev/sound/pci/emu10kx-pcm.c
637
emu_ewrcd(kobj_t obj __unused, void *devinfo, int regno, uint32_t data)
sys/dev/sound/pci/emu10kx-pcm.c
639
struct emu_pcm_info *sc = (struct emu_pcm_info *)devinfo;
sys/dev/sound/pci/emu10kx-pcm.c
654
emu_rdcd(kobj_t obj __unused, void *devinfo, int regno)
sys/dev/sound/pci/emu10kx-pcm.c
657
struct emu_pcm_info *sc = (struct emu_pcm_info *)devinfo;
sys/dev/sound/pci/emu10kx-pcm.c
666
emu_wrcd(kobj_t obj __unused, void *devinfo, int regno, uint32_t data)
sys/dev/sound/pci/emu10kx-pcm.c
668
struct emu_pcm_info *sc = (struct emu_pcm_info *)devinfo;
sys/dev/sound/pci/emu10kx-pcm.c
706
emupchan_init(kobj_t obj __unused, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir __unused)
sys/dev/sound/pci/emu10kx-pcm.c
708
struct emu_pcm_info *sc = devinfo;
sys/dev/sound/pci/emu10kx-pcm.c
858
emurchan_init(kobj_t obj __unused, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir __unused)
sys/dev/sound/pci/emu10kx-pcm.c
860
struct emu_pcm_info *sc = devinfo;
sys/dev/sound/pci/envy24.c
1561
envy24chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/envy24.c
1563
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/envy24.c
689
envy24_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/envy24.c
691
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/envy24.c
714
envy24_wrcd(kobj_t obj, void *devinfo, int regno, u_int16_t data)
sys/dev/sound/pci/envy24.c
716
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/envy24.c
97
void *(*create)(device_t dev, void *devinfo, int dir, int num);
sys/dev/sound/pci/envy24ht.c
106
void *(*create)(device_t dev, void *devinfo, int dir, int num);
sys/dev/sound/pci/envy24ht.c
1470
envy24htchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/envy24ht.c
1472
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/envy24ht.c
768
envy24ht_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/envy24ht.c
770
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/envy24ht.c
793
envy24ht_wrcd(kobj_t obj, void *devinfo, int regno, u_int16_t data)
sys/dev/sound/pci/envy24ht.c
795
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/es137x.c
1522
es = d->devinfo;
sys/dev/sound/pci/es137x.c
442
eschan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/es137x.c
445
struct es_info *es = devinfo;
sys/dev/sound/pci/fm801.c
209
fm801_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/fm801.c
211
struct fm801_info *fm801 = (struct fm801_info *)devinfo;
sys/dev/sound/pci/fm801.c
239
fm801_wrcd(kobj_t obj, void *devinfo, int regno, u_int32_t data)
sys/dev/sound/pci/fm801.c
241
struct fm801_info *fm801 = (struct fm801_info *)devinfo;
sys/dev/sound/pci/fm801.c
329
fm801ch_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/fm801.c
331
struct fm801_info *fm801 = (struct fm801_info *)devinfo;
sys/dev/sound/pci/hda/hdaa.c
1159
struct hdaa_devinfo *devinfo;
sys/dev/sound/pci/hda/hdaa.c
1166
devinfo = w->devinfo;
sys/dev/sound/pci/hda/hdaa.c
1232
cw = hdaa_widget_get(devinfo, w->conns[j]);
sys/dev/sound/pci/hda/hdaa.c
1349
hdaa_local_patch(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
1356
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
1357
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
1364
if (resource_string_value(device_get_name(devinfo->dev),
sys/dev/sound/pci/hda/hdaa.c
1365
device_get_unit(devinfo->dev), "config", &res) == 0) {
sys/dev/sound/pci/hda/hdaa.c
1368
devinfo->quirks |= quirks_on;
sys/dev/sound/pci/hda/hdaa.c
1369
devinfo->quirks &= ~quirks_off;
sys/dev/sound/pci/hda/hdaa.c
1371
if (devinfo->newquirks == -1)
sys/dev/sound/pci/hda/hdaa.c
1372
devinfo->newquirks = devinfo->quirks;
sys/dev/sound/pci/hda/hdaa.c
1374
devinfo->quirks = devinfo->newquirks;
sys/dev/sound/pci/hda/hdaa.c
1376
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1377
"Config options: 0x%08x\n", devinfo->quirks);
sys/dev/sound/pci/hda/hdaa.c
1380
if (resource_string_value(device_get_name(devinfo->dev),
sys/dev/sound/pci/hda/hdaa.c
1381
device_get_unit(devinfo->dev), "gpio_config", &res) == 0) {
sys/dev/sound/pci/hda/hdaa.c
1383
devinfo->gpio = strtol(res + 2, NULL, 16);
sys/dev/sound/pci/hda/hdaa.c
1385
devinfo->gpio = hdaa_gpio_patch(devinfo->gpio, res);
sys/dev/sound/pci/hda/hdaa.c
1388
if (devinfo->newgpio == -1)
sys/dev/sound/pci/hda/hdaa.c
1389
devinfo->newgpio = devinfo->gpio;
sys/dev/sound/pci/hda/hdaa.c
1391
devinfo->gpio = devinfo->newgpio;
sys/dev/sound/pci/hda/hdaa.c
1392
if (devinfo->newgpo == -1)
sys/dev/sound/pci/hda/hdaa.c
1393
devinfo->newgpo = devinfo->gpo;
sys/dev/sound/pci/hda/hdaa.c
1395
devinfo->gpo = devinfo->newgpo;
sys/dev/sound/pci/hda/hdaa.c
1397
device_printf(devinfo->dev, "GPIO config options:");
sys/dev/sound/pci/hda/hdaa.c
1399
x = (devinfo->gpio & HDAA_GPIO_MASK(i)) >> HDAA_GPIO_SHIFT(i);
sys/dev/sound/pci/hda/hdaa.c
1417
res = hda_command(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1436
res = hda_command(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1442
device_printf(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1451
if (cnid < w->devinfo->startnode ||
sys/dev/sound/pci/hda/hdaa.c
1452
cnid >= w->devinfo->endnode) {
sys/dev/sound/pci/hda/hdaa.c
1454
device_printf(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1464
device_printf(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1475
device_printf(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1495
device_t dev = w->devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
1514
w->devinfo->outamp_cap;
sys/dev/sound/pci/hda/hdaa.c
1526
w->devinfo->inamp_cap;
sys/dev/sound/pci/hda/hdaa.c
1537
w->devinfo->supp_stream_formats;
sys/dev/sound/pci/hda/hdaa.c
1542
w->devinfo->supp_pcm_size_rate;
sys/dev/sound/pci/hda/hdaa.c
1545
w->devinfo->supp_stream_formats;
sys/dev/sound/pci/hda/hdaa.c
1547
w->devinfo->supp_pcm_size_rate;
sys/dev/sound/pci/hda/hdaa.c
1578
hdaa_unlock(w->devinfo);
sys/dev/sound/pci/hda/hdaa.c
1598
hdaa_lock(w->devinfo);
sys/dev/sound/pci/hda/hdaa.c
1666
hdaa_widget_get(struct hdaa_devinfo *devinfo, nid_t nid)
sys/dev/sound/pci/hda/hdaa.c
1668
if (devinfo == NULL || devinfo->widget == NULL ||
sys/dev/sound/pci/hda/hdaa.c
1669
nid < devinfo->startnode || nid >= devinfo->endnode)
sys/dev/sound/pci/hda/hdaa.c
1671
return (&devinfo->widget[nid - devinfo->startnode]);
sys/dev/sound/pci/hda/hdaa.c
1675
hdaa_audio_ctl_amp_set_internal(struct hdaa_devinfo *devinfo, nid_t nid,
sys/dev/sound/pci/hda/hdaa.c
1682
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1689
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1697
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1731
hdaa_audio_ctl_amp_set_internal(ctl->widget->devinfo, nid, ctl->index,
sys/dev/sound/pci/hda/hdaa.c
1734
hdaa_audio_ctl_amp_set_internal(ctl->widget->devinfo, nid, ctl->index,
sys/dev/sound/pci/hda/hdaa.c
1744
device_printf(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1747
hda_command(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1762
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
1764
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
1765
if (devinfo->quirks & HDAA_QUIRK_FIXEDRATE) {
sys/dev/sound/pci/hda/hdaa.c
1775
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
1777
if (sndbuf_alloc(ch->b, bus_get_dma_tag(devinfo->dev),
sys/dev/sound/pci/hda/hdaa.c
1778
hda_get_dma_nocache(devinfo->dev) ? BUS_DMA_NOCACHE :
sys/dev/sound/pci/hda/hdaa.c
1870
struct hdaa_audio_as *as = &ch->devinfo->as[ch->as];
sys/dev/sound/pci/hda/hdaa.c
1916
w = hdaa_widget_get(ch->devinfo, ch->io[i]);
sys/dev/sound/pci/hda/hdaa.c
1935
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1938
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1941
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1944
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1950
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1965
wp = hdaa_widget_get(ch->devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
1974
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
199
hdaa_audio_ctl_each(struct hdaa_devinfo *devinfo, int *index)
sys/dev/sound/pci/hda/hdaa.c
1990
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1996
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
1998
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2002
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2005
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2009
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
201
if (devinfo == NULL ||
sys/dev/sound/pci/hda/hdaa.c
2013
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2015
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2017
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
202
index == NULL || devinfo->ctl == NULL ||
sys/dev/sound/pci/hda/hdaa.c
2020
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2022
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2024
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2029
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
203
devinfo->ctlcnt < 1 ||
sys/dev/sound/pci/hda/hdaa.c
2032
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2034
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2036
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2038
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
204
*index < 0 || *index >= devinfo->ctlcnt)
sys/dev/sound/pci/hda/hdaa.c
2043
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2045
hda_command(ch->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
206
return (&devinfo->ctl[(*index)++]);
sys/dev/sound/pci/hda/hdaa.c
210
hdaa_audio_ctl_amp_get(struct hdaa_devinfo *devinfo, nid_t nid, int dir,
sys/dev/sound/pci/hda/hdaa.c
2107
device_printf(ch->devinfo->dev, "%s: failed blksz=%u blkcnt=%u\n",
sys/dev/sound/pci/hda/hdaa.c
2129
struct hdaa_devinfo *devinfo = ch->devinfo;
sys/dev/sound/pci/hda/hdaa.c
2136
HDAC_STREAM_STOP(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2139
w = hdaa_widget_get(ch->devinfo, ch->io[i]);
sys/dev/sound/pci/hda/hdaa.c
2143
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2146
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2150
HDAC_STREAM_FREE(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2157
struct hdaa_devinfo *devinfo = ch->devinfo;
sys/dev/sound/pci/hda/hdaa.c
216
if (devinfo == NULL || devinfo->ctl == NULL)
sys/dev/sound/pci/hda/hdaa.c
2162
hda_get_stripes_mask(devinfo->dev)) - 1;
sys/dev/sound/pci/hda/hdaa.c
2163
ch->sid = HDAC_STREAM_ALLOC(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2168
HDAC_STREAM_RESET(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2170
HDAC_STREAM_START(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2186
hdaa_lock(ch->devinfo);
sys/dev/sound/pci/hda/hdaa.c
2198
hdaa_unlock(ch->devinfo);
sys/dev/sound/pci/hda/hdaa.c
220
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
2207
struct hdaa_devinfo *devinfo = ch->devinfo;
sys/dev/sound/pci/hda/hdaa.c
2210
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2215
device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2218
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2252
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
2257
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2270
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
2271
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
2284
(devinfo->quirks & HDAA_QUIRK_SOFTPCMVOL) ||
sys/dev/sound/pci/hda/hdaa.c
2313
if (devinfo->as[pdevinfo->recas].dacs[0][i] < 0)
sys/dev/sound/pci/hda/hdaa.c
2315
w = hdaa_widget_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
2316
devinfo->as[pdevinfo->recas].dacs[0][i]);
sys/dev/sound/pci/hda/hdaa.c
2322
cw = hdaa_widget_get(devinfo, w->conns[j]);
sys/dev/sound/pci/hda/hdaa.c
2340
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2382
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
2390
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
2407
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid, HDAA_CTL_IN,
sys/dev/sound/pci/hda/hdaa.c
2433
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid, HDAA_CTL_OUT, -1, 1);
sys/dev/sound/pci/hda/hdaa.c
2437
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
2438
wc = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
2458
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
2459
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
2467
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
2475
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
2476
wc = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
2495
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
2513
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
2528
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
2547
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
2548
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
2567
devinfo->as[w->bindas].dir == HDAA_CTL_OUT) {
sys/dev/sound/pci/hda/hdaa.c
2577
cw = hdaa_widget_get(devinfo, w->conns[j]);
sys/dev/sound/pci/hda/hdaa.c
2583
devinfo->as[cw->bindas].dir != HDAA_CTL_IN)
sys/dev/sound/pci/hda/hdaa.c
2608
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
2612
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2622
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
2623
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
2631
if (i >= devinfo->endnode) {
sys/dev/sound/pci/hda/hdaa.c
2632
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2644
if (devinfo->quirks & HDAA_QUIRK_EAPDINV)
sys/dev/sound/pci/hda/hdaa.c
2646
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2649
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2656
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
266
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
267
struct hdaa_chan *ch = &devinfo->chans[as->chans[0]];
sys/dev/sound/pci/hda/hdaa.c
2709
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
2719
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
2726
cw = hdaa_widget_get(devinfo, w->conns[i]);
sys/dev/sound/pci/hda/hdaa.c
2740
ctl = hdaa_audio_ctl_amp_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
2784
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
279
w = hdaa_widget_get(devinfo, as->pins[i]);
sys/dev/sound/pci/hda/hdaa.c
2792
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2794
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2797
as = &devinfo->as[pdevinfo->recas];
sys/dev/sound/pci/hda/hdaa.c
2801
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2807
ch = &devinfo->chans[as->chans[j]];
sys/dev/sound/pci/hda/hdaa.c
2809
w = hdaa_widget_get(devinfo, ch->io[i]);
sys/dev/sound/pci/hda/hdaa.c
2825
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
2855
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2868
hdaa_dump_gpi(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
2870
device_t dev = devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
2874
if (HDA_PARAM_GPIO_COUNT_NUM_GPI(devinfo->gpio_cap) > 0) {
sys/dev/sound/pci/hda/hdaa.c
2876
HDA_CMD_GET_GPI_DATA(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2878
HDA_CMD_GET_GPI_WAKE_ENABLE_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2880
HDA_CMD_GET_GPI_UNSOLICITED_ENABLE_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2882
HDA_CMD_GET_GPI_STICKY_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2883
for (i = 0; i < HDA_PARAM_GPIO_COUNT_NUM_GPI(devinfo->gpio_cap); i++) {
sys/dev/sound/pci/hda/hdaa.c
2894
hdaa_dump_gpio(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
2896
device_t dev = devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
2900
if (HDA_PARAM_GPIO_COUNT_NUM_GPIO(devinfo->gpio_cap) > 0) {
sys/dev/sound/pci/hda/hdaa.c
2902
HDA_CMD_GET_GPIO_DATA(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2904
HDA_CMD_GET_GPIO_ENABLE_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2906
HDA_CMD_GET_GPIO_DIRECTION(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2908
HDA_CMD_GET_GPIO_WAKE_ENABLE_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2910
HDA_CMD_GET_GPIO_UNSOLICITED_ENABLE_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2912
HDA_CMD_GET_GPIO_STICKY_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2913
for (i = 0; i < HDA_PARAM_GPIO_COUNT_NUM_GPIO(devinfo->gpio_cap); i++) {
sys/dev/sound/pci/hda/hdaa.c
2932
hdaa_dump_gpo(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
2934
device_t dev = devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
2938
if (HDA_PARAM_GPIO_COUNT_NUM_GPO(devinfo->gpio_cap) > 0) {
sys/dev/sound/pci/hda/hdaa.c
2940
HDA_CMD_GET_GPO_DATA(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
2941
for (i = 0; i < HDA_PARAM_GPIO_COUNT_NUM_GPO(devinfo->gpio_cap); i++) {
sys/dev/sound/pci/hda/hdaa.c
2949
hdaa_audio_parse(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
2956
nid = devinfo->nid;
sys/dev/sound/pci/hda/hdaa.c
2958
res = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2960
devinfo->gpio_cap = res;
sys/dev/sound/pci/hda/hdaa.c
2963
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2966
HDA_PARAM_GPIO_COUNT_NUM_GPIO(devinfo->gpio_cap),
sys/dev/sound/pci/hda/hdaa.c
2967
HDA_PARAM_GPIO_COUNT_NUM_GPO(devinfo->gpio_cap),
sys/dev/sound/pci/hda/hdaa.c
2968
HDA_PARAM_GPIO_COUNT_NUM_GPI(devinfo->gpio_cap),
sys/dev/sound/pci/hda/hdaa.c
2969
HDA_PARAM_GPIO_COUNT_GPI_WAKE(devinfo->gpio_cap),
sys/dev/sound/pci/hda/hdaa.c
2970
HDA_PARAM_GPIO_COUNT_GPI_UNSOL(devinfo->gpio_cap));
sys/dev/sound/pci/hda/hdaa.c
2971
hdaa_dump_gpi(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2972
hdaa_dump_gpio(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2973
hdaa_dump_gpo(devinfo);
sys/dev/sound/pci/hda/hdaa.c
2976
res = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2978
devinfo->supp_stream_formats = res;
sys/dev/sound/pci/hda/hdaa.c
2980
res = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2982
devinfo->supp_pcm_size_rate = res;
sys/dev/sound/pci/hda/hdaa.c
2984
res = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2986
devinfo->outamp_cap = res;
sys/dev/sound/pci/hda/hdaa.c
2988
res = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2990
devinfo->inamp_cap = res;
sys/dev/sound/pci/hda/hdaa.c
2992
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
2993
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
2995
device_printf(devinfo->dev, "Ghost widget! nid=%d!\n", i);
sys/dev/sound/pci/hda/hdaa.c
2997
w->devinfo = devinfo;
sys/dev/sound/pci/hda/hdaa.c
3011
hdaa_audio_postprocess(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
3016
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
3017
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
3025
hdaa_audio_ctl_parse(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
3034
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
3035
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
3045
cw = hdaa_widget_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
3058
devinfo->ctlcnt = max;
sys/dev/sound/pci/hda/hdaa.c
3067
device_printf(devinfo->dev, "unable to allocate ctls!\n");
sys/dev/sound/pci/hda/hdaa.c
3068
devinfo->ctlcnt = 0;
sys/dev/sound/pci/hda/hdaa.c
3073
for (i = devinfo->startnode; cnt < max && i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
3075
device_printf(devinfo->dev, "%s: Ctl overflow!\n",
sys/dev/sound/pci/hda/hdaa.c
3079
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
3133
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3138
cw = hdaa_widget_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
3158
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3182
devinfo->ctl = ctls;
sys/dev/sound/pci/hda/hdaa.c
3186
hdaa_audio_as_parse(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
3195
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
3196
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
3210
devinfo->ascnt = max;
sys/dev/sound/pci/hda/hdaa.c
3219
device_printf(devinfo->dev, "unable to allocate assocs!\n");
sys/dev/sound/pci/hda/hdaa.c
3220
devinfo->ascnt = 0;
sys/dev/sound/pci/hda/hdaa.c
3236
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
3237
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
3271
device_printf(devinfo->dev, "%s: Duplicate pin %d (%d) "
sys/dev/sound/pci/hda/hdaa.c
3277
device_printf(devinfo->dev, "%s: Pin %d has wrong "
sys/dev/sound/pci/hda/hdaa.c
3319
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3322
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3329
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3336
devinfo->as = as;
sys/dev/sound/pci/hda/hdaa.c
3343
hdaa_audio_trace_dac(struct hdaa_devinfo *devinfo, int as, int seq, nid_t nid,
sys/dev/sound/pci/hda/hdaa.c
3352
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
3357
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3366
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3377
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3389
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3406
devinfo->as[as].dacs[0][dupseq]))
sys/dev/sound/pci/hda/hdaa.c
3420
if ((ret = hdaa_audio_trace_dac(devinfo, as, seq,
sys/dev/sound/pci/hda/hdaa.c
3442
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3454
hdaa_audio_trace_adc(struct hdaa_devinfo *devinfo, int as, int seq, nid_t nid,
sys/dev/sound/pci/hda/hdaa.c
3463
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
3467
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3474
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3482
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3502
for (j = devinfo->startnode; j < devinfo->endnode; j++) {
sys/dev/sound/pci/hda/hdaa.c
3503
wc = hdaa_widget_get(devinfo, j);
sys/dev/sound/pci/hda/hdaa.c
3512
if ((ret = hdaa_audio_trace_adc(devinfo, as, seq,
sys/dev/sound/pci/hda/hdaa.c
3538
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3549
hdaa_audio_undo_trace(struct hdaa_devinfo *devinfo, int as, int seq)
sys/dev/sound/pci/hda/hdaa.c
3554
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
3555
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
3578
hdaa_audio_trace_as_out(struct hdaa_devinfo *devinfo, int as, int seq)
sys/dev/sound/pci/hda/hdaa.c
3580
struct hdaa_audio_as *ases = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
3595
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3603
res = hdaa_audio_trace_dac(devinfo, as, i,
sys/dev/sound/pci/hda/hdaa.c
3608
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3619
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3629
hdaa_audio_trace_dac(devinfo, as, i,
sys/dev/sound/pci/hda/hdaa.c
3633
if (hdaa_audio_trace_as_out(devinfo, as, i + 1))
sys/dev/sound/pci/hda/hdaa.c
3636
hdaa_audio_undo_trace(devinfo, as, i);
sys/dev/sound/pci/hda/hdaa.c
3648
struct hdaa_devinfo *devinfo = w1->devinfo;
sys/dev/sound/pci/hda/hdaa.c
3654
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
3655
w3 = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
3687
struct hdaa_devinfo *devinfo = w1->devinfo;
sys/dev/sound/pci/hda/hdaa.c
3697
w3 = hdaa_widget_get(devinfo, w1->conns[0]);
sys/dev/sound/pci/hda/hdaa.c
3700
w4 = hdaa_widget_get(devinfo, w2->conns[0]);
sys/dev/sound/pci/hda/hdaa.c
3724
hdaa_audio_adddac(struct hdaa_devinfo *devinfo, int asid)
sys/dev/sound/pci/hda/hdaa.c
3726
struct hdaa_audio_as *as = &devinfo->as[asid];
sys/dev/sound/pci/hda/hdaa.c
3732
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3750
w1 = hdaa_widget_get(devinfo, nid1);
sys/dev/sound/pci/hda/hdaa.c
3752
for (nid2 = devinfo->startnode; nid2 < devinfo->endnode; nid2++) {
sys/dev/sound/pci/hda/hdaa.c
3753
w2 = hdaa_widget_get(devinfo, nid2);
sys/dev/sound/pci/hda/hdaa.c
3770
if (nid2 >= devinfo->endnode)
sys/dev/sound/pci/hda/hdaa.c
3776
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3779
w1 = hdaa_widget_get(devinfo, w1->conns[0]);
sys/dev/sound/pci/hda/hdaa.c
3780
w2 = hdaa_widget_get(devinfo, w2->conns[0]);
sys/dev/sound/pci/hda/hdaa.c
3785
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3801
hdaa_audio_trace_as_in(struct hdaa_devinfo *devinfo, int as)
sys/dev/sound/pci/hda/hdaa.c
3803
struct hdaa_audio_as *ases = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
3807
for (j = devinfo->startnode; j < devinfo->endnode; j++) {
sys/dev/sound/pci/hda/hdaa.c
3808
w = hdaa_widget_get(devinfo, j);
sys/dev/sound/pci/hda/hdaa.c
381
struct hdaa_devinfo *devinfo = w->devinfo;
sys/dev/sound/pci/hda/hdaa.c
382
struct hdaa_audio_as *as = &devinfo->as[w->bindas];
sys/dev/sound/pci/hda/hdaa.c
3822
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3827
if (hdaa_audio_trace_adc(devinfo, as, i,
sys/dev/sound/pci/hda/hdaa.c
3831
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3835
hdaa_audio_undo_trace(devinfo, as, -1);
sys/dev/sound/pci/hda/hdaa.c
3841
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3857
hdaa_audio_trace_as_in_mch(struct hdaa_devinfo *devinfo, int as, int seq)
sys/dev/sound/pci/hda/hdaa.c
3859
struct hdaa_audio_as *ases = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
3873
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3879
res = hdaa_audio_trace_adc(devinfo, as, i,
sys/dev/sound/pci/hda/hdaa.c
3884
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3893
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3898
hdaa_audio_trace_adc(devinfo, as, i,
sys/dev/sound/pci/hda/hdaa.c
390
as->pdevinfo->dev : devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3902
if (hdaa_audio_trace_as_in_mch(devinfo, as, i + 1))
sys/dev/sound/pci/hda/hdaa.c
3905
hdaa_audio_undo_trace(devinfo, as, i);
sys/dev/sound/pci/hda/hdaa.c
3915
hdaa_audio_trace_to_out(struct hdaa_devinfo *devinfo, nid_t nid, int depth)
sys/dev/sound/pci/hda/hdaa.c
3917
struct hdaa_audio_as *ases = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
3924
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
3928
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3936
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3945
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
395
ctl = hdaa_audio_ctl_amp_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
3964
for (j = devinfo->startnode; j < devinfo->endnode; j++) {
sys/dev/sound/pci/hda/hdaa.c
3965
wc = hdaa_widget_get(devinfo, j);
sys/dev/sound/pci/hda/hdaa.c
3973
if (hdaa_audio_trace_to_out(devinfo,
sys/dev/sound/pci/hda/hdaa.c
3988
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
3999
hdaa_audio_trace_as_extra(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4001
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4009
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4012
for (j = devinfo->startnode; j < devinfo->endnode; j++) {
sys/dev/sound/pci/hda/hdaa.c
4013
w = hdaa_widget_get(devinfo, j);
sys/dev/sound/pci/hda/hdaa.c
4021
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4025
if (hdaa_audio_trace_to_out(devinfo, w->nid, 0)) {
sys/dev/sound/pci/hda/hdaa.c
4027
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4039
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4042
for (j = devinfo->startnode; j < devinfo->endnode; j++) {
sys/dev/sound/pci/hda/hdaa.c
4043
w = hdaa_widget_get(devinfo, j);
sys/dev/sound/pci/hda/hdaa.c
4051
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4055
if (hdaa_audio_trace_to_out(devinfo, w->nid, 0)) {
sys/dev/sound/pci/hda/hdaa.c
4057
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4066
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4069
for (j = devinfo->startnode; j < devinfo->endnode; j++) {
sys/dev/sound/pci/hda/hdaa.c
4070
w = hdaa_widget_get(devinfo, j);
sys/dev/sound/pci/hda/hdaa.c
4076
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4080
if (hdaa_audio_trace_to_out(devinfo, w->nid, 0)) {
sys/dev/sound/pci/hda/hdaa.c
4082
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4095
hdaa_audio_bind_as(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4097
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4100
for (j = 0; j < devinfo->ascnt; j++) {
sys/dev/sound/pci/hda/hdaa.c
4104
if (devinfo->num_chans == 0) {
sys/dev/sound/pci/hda/hdaa.c
4105
devinfo->chans = malloc(sizeof(struct hdaa_chan) * cnt,
sys/dev/sound/pci/hda/hdaa.c
4107
if (devinfo->chans == NULL) {
sys/dev/sound/pci/hda/hdaa.c
4108
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4113
devinfo->chans = (struct hdaa_chan *)realloc(devinfo->chans,
sys/dev/sound/pci/hda/hdaa.c
4114
sizeof(struct hdaa_chan) * (devinfo->num_chans + cnt),
sys/dev/sound/pci/hda/hdaa.c
4116
if (devinfo->chans == NULL) {
sys/dev/sound/pci/hda/hdaa.c
4117
devinfo->num_chans = 0;
sys/dev/sound/pci/hda/hdaa.c
4118
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4123
for (j = 0; j < devinfo->num_chans; j++)
sys/dev/sound/pci/hda/hdaa.c
4124
devinfo->chans[j].caps.fmtlist = devinfo->chans[j].fmtlist;
sys/dev/sound/pci/hda/hdaa.c
4126
free = devinfo->num_chans;
sys/dev/sound/pci/hda/hdaa.c
4127
devinfo->num_chans += cnt;
sys/dev/sound/pci/hda/hdaa.c
4130
devinfo->chans[j].devinfo = devinfo;
sys/dev/sound/pci/hda/hdaa.c
4131
devinfo->chans[j].as = -1;
sys/dev/sound/pci/hda/hdaa.c
4135
for (j = 0; j < devinfo->ascnt; j++) {
sys/dev/sound/pci/hda/hdaa.c
4139
devinfo->chans[free].as = j;
sys/dev/sound/pci/hda/hdaa.c
4140
devinfo->chans[free].asindex = i;
sys/dev/sound/pci/hda/hdaa.c
4141
devinfo->chans[free].dir =
sys/dev/sound/pci/hda/hdaa.c
4143
hdaa_pcmchannel_setup(&devinfo->chans[free]);
sys/dev/sound/pci/hda/hdaa.c
4151
hdaa_audio_disable_nonaudio(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4157
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4158
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
416
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4165
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4175
hdaa_audio_disable_useless(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4182
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4183
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4192
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4201
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4213
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
4228
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4238
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4239
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4245
cw = hdaa_widget_get(devinfo, w->conns[j]);
sys/dev/sound/pci/hda/hdaa.c
4249
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
425
ctl = hdaa_audio_ctl_amp_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
4272
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4282
for (k = devinfo->startnode; k < devinfo->endnode; k++) {
sys/dev/sound/pci/hda/hdaa.c
4283
cw = hdaa_widget_get(devinfo, k);
sys/dev/sound/pci/hda/hdaa.c
4297
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4308
hdaa_audio_disable_unas(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4310
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4316
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4317
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4323
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4331
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4332
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4345
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4351
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
4361
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
4370
for (k = devinfo->startnode; k < devinfo->endnode; k++) {
sys/dev/sound/pci/hda/hdaa.c
4371
cw = hdaa_widget_get(devinfo, k);
sys/dev/sound/pci/hda/hdaa.c
4378
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4386
ctl = hdaa_audio_ctl_amp_get(devinfo, k,
sys/dev/sound/pci/hda/hdaa.c
439
w1 = hdaa_widget_get(devinfo, as->pins[j]);
sys/dev/sound/pci/hda/hdaa.c
4403
hdaa_audio_disable_notselected(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4405
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4410
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4411
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4427
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4437
hdaa_audio_disable_crossas(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4439
struct hdaa_audio_as *ases = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4446
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4447
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4460
cw = hdaa_widget_get(devinfo, w->conns[j]);
sys/dev/sound/pci/hda/hdaa.c
4482
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
449
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4491
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
4524
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4539
hdaa_audio_ctl_source_amp(struct hdaa_devinfo *devinfo, nid_t nid, int index,
sys/dev/sound/pci/hda/hdaa.c
4549
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
4566
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid, HDAA_CTL_IN,
sys/dev/sound/pci/hda/hdaa.c
4601
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid, HDAA_CTL_OUT, -1, 1);
sys/dev/sound/pci/hda/hdaa.c
4613
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4614
wc = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4620
found += hdaa_audio_ctl_source_amp(devinfo,
sys/dev/sound/pci/hda/hdaa.c
464
struct hdaa_devinfo *devinfo;
sys/dev/sound/pci/hda/hdaa.c
4645
hdaa_audio_ctl_dest_amp(struct hdaa_devinfo *devinfo, nid_t nid, int index,
sys/dev/sound/pci/hda/hdaa.c
4648
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4656
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
4664
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4665
wc = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4684
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
4708
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
4718
found += hdaa_audio_ctl_dest_amp(devinfo, w->conns[i], -1, ossdev,
sys/dev/sound/pci/hda/hdaa.c
4739
hdaa_audio_assign_names(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4741
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4762
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4763
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
481
devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
4820
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4821
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4861
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4862
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
487
w1 = hdaa_widget_get(devinfo, as->pins[i]);
sys/dev/sound/pci/hda/hdaa.c
4886
hdaa_audio_build_tree(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4888
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4892
for (j = 0; j < devinfo->ascnt; j++) {
sys/dev/sound/pci/hda/hdaa.c
4896
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4901
res = hdaa_audio_trace_as_out(devinfo, j, 0);
sys/dev/sound/pci/hda/hdaa.c
4910
res = hdaa_audio_trace_as_in(devinfo, j);
sys/dev/sound/pci/hda/hdaa.c
4912
res = hdaa_audio_trace_as_in_mch(devinfo, j, 0);
sys/dev/sound/pci/hda/hdaa.c
4915
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4921
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
4930
for (j = 0; j < devinfo->ascnt; j++) {
sys/dev/sound/pci/hda/hdaa.c
4933
hdaa_audio_adddac(devinfo, j);
sys/dev/sound/pci/hda/hdaa.c
4937
hdaa_audio_trace_as_extra(devinfo);
sys/dev/sound/pci/hda/hdaa.c
4948
struct hdaa_devinfo *devinfo = w->devinfo;
sys/dev/sound/pci/hda/hdaa.c
4952
pdevinfo = devinfo->as[w->bindas].pdevinfo;
sys/dev/sound/pci/hda/hdaa.c
4954
pdevinfo = &devinfo->devs[0];
sys/dev/sound/pci/hda/hdaa.c
4973
hdaa_audio_assign_mixers(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
4975
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
4980
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
4981
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
4991
found = hdaa_audio_ctl_source_amp(devinfo, w->nid, -1,
sys/dev/sound/pci/hda/hdaa.c
4995
found = hdaa_audio_ctl_dest_amp(devinfo, w->nid, -1,
sys/dev/sound/pci/hda/hdaa.c
50
#define hdaa_lock(devinfo) mtx_lock((devinfo)->lock)
sys/dev/sound/pci/hda/hdaa.c
5000
found = hdaa_audio_ctl_dest_amp(devinfo, w->nid, -1,
sys/dev/sound/pci/hda/hdaa.c
5006
found = hdaa_audio_ctl_source_amp(devinfo, w->nid, -1,
sys/dev/sound/pci/hda/hdaa.c
5011
found += hdaa_audio_ctl_dest_amp(devinfo, w->nid, -1,
sys/dev/sound/pci/hda/hdaa.c
5021
cw = hdaa_widget_get(devinfo, w->conns[j]);
sys/dev/sound/pci/hda/hdaa.c
5030
found = hdaa_audio_ctl_dest_amp(devinfo,
sys/dev/sound/pci/hda/hdaa.c
5041
hdaa_audio_prepare_pin_ctrl(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5043
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
5048
for (i = 0; i < devinfo->nodecnt; i++) {
sys/dev/sound/pci/hda/hdaa.c
5049
w = &devinfo->widget[i];
sys/dev/sound/pci/hda/hdaa.c
5059
if (devinfo->init_clear) {
sys/dev/sound/pci/hda/hdaa.c
5083
if ((devinfo->quirks & HDAA_QUIRK_IVREF100) &&
sys/dev/sound/pci/hda/hdaa.c
5088
else if ((devinfo->quirks & HDAA_QUIRK_IVREF80) &&
sys/dev/sound/pci/hda/hdaa.c
5093
else if ((devinfo->quirks & HDAA_QUIRK_IVREF50) &&
sys/dev/sound/pci/hda/hdaa.c
51
#define hdaa_unlock(devinfo) mtx_unlock((devinfo)->lock)
sys/dev/sound/pci/hda/hdaa.c
5111
if ((devinfo->quirks & HDAA_QUIRK_OVREF100) &&
sys/dev/sound/pci/hda/hdaa.c
5116
else if ((devinfo->quirks & HDAA_QUIRK_OVREF80) &&
sys/dev/sound/pci/hda/hdaa.c
5121
else if ((devinfo->quirks & HDAA_QUIRK_OVREF50) &&
sys/dev/sound/pci/hda/hdaa.c
5131
hdaa_audio_ctl_commit(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5137
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
5154
hdaa_gpio_commit(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5159
numgpio = HDA_PARAM_GPIO_COUNT_NUM_GPIO(devinfo->gpio_cap);
sys/dev/sound/pci/hda/hdaa.c
5160
if (devinfo->gpio != 0 && numgpio != 0) {
sys/dev/sound/pci/hda/hdaa.c
5161
gdata = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5162
HDA_CMD_GET_GPIO_DATA(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
5163
gmask = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5164
HDA_CMD_GET_GPIO_ENABLE_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
5165
gdir = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5166
HDA_CMD_GET_GPIO_DIRECTION(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
5168
if ((devinfo->gpio & HDAA_GPIO_MASK(i)) ==
sys/dev/sound/pci/hda/hdaa.c
5173
} else if ((devinfo->gpio & HDAA_GPIO_MASK(i)) ==
sys/dev/sound/pci/hda/hdaa.c
5178
} else if ((devinfo->gpio & HDAA_GPIO_MASK(i)) ==
sys/dev/sound/pci/hda/hdaa.c
5181
} else if ((devinfo->gpio & HDAA_GPIO_MASK(i)) ==
sys/dev/sound/pci/hda/hdaa.c
5188
device_printf(devinfo->dev, "GPIO commit\n");
sys/dev/sound/pci/hda/hdaa.c
5190
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5191
HDA_CMD_SET_GPIO_ENABLE_MASK(0, devinfo->nid, gmask));
sys/dev/sound/pci/hda/hdaa.c
5192
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5193
HDA_CMD_SET_GPIO_DIRECTION(0, devinfo->nid, gdir));
sys/dev/sound/pci/hda/hdaa.c
5194
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5195
HDA_CMD_SET_GPIO_DATA(0, devinfo->nid, gdata));
sys/dev/sound/pci/hda/hdaa.c
5197
hdaa_dump_gpio(devinfo);
sys/dev/sound/pci/hda/hdaa.c
52
#define hdaa_lockassert(devinfo) mtx_assert((devinfo)->lock, MA_OWNED)
sys/dev/sound/pci/hda/hdaa.c
5203
hdaa_gpo_commit(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5208
numgpo = HDA_PARAM_GPIO_COUNT_NUM_GPO(devinfo->gpio_cap);
sys/dev/sound/pci/hda/hdaa.c
5209
if (devinfo->gpo != 0 && numgpo != 0) {
sys/dev/sound/pci/hda/hdaa.c
5210
gdata = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5211
HDA_CMD_GET_GPO_DATA(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
5213
if ((devinfo->gpio & HDAA_GPIO_MASK(i)) ==
sys/dev/sound/pci/hda/hdaa.c
5216
} else if ((devinfo->gpio & HDAA_GPIO_MASK(i)) ==
sys/dev/sound/pci/hda/hdaa.c
5222
device_printf(devinfo->dev, "GPO commit\n");
sys/dev/sound/pci/hda/hdaa.c
5224
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5225
HDA_CMD_SET_GPO_DATA(0, devinfo->nid, gdata));
sys/dev/sound/pci/hda/hdaa.c
5227
hdaa_dump_gpo(devinfo);
sys/dev/sound/pci/hda/hdaa.c
523
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
5233
hdaa_audio_commit(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5239
hdaa_audio_ctl_commit(devinfo);
sys/dev/sound/pci/hda/hdaa.c
5242
for (i = 0; i < devinfo->nodecnt; i++) {
sys/dev/sound/pci/hda/hdaa.c
5243
w = &devinfo->widget[i];
sys/dev/sound/pci/hda/hdaa.c
525
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
5252
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5260
if (devinfo->quirks &
sys/dev/sound/pci/hda/hdaa.c
5263
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5269
hdaa_gpio_commit(devinfo);
sys/dev/sound/pci/hda/hdaa.c
5270
hdaa_gpo_commit(devinfo);
sys/dev/sound/pci/hda/hdaa.c
5274
hdaa_powerup(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5278
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5280
devinfo->nid, HDA_CMD_POWER_STATE_D0));
sys/dev/sound/pci/hda/hdaa.c
5283
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
5284
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5294
struct hdaa_devinfo *devinfo = ch->devinfo;
sys/dev/sound/pci/hda/hdaa.c
5295
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
5313
fmtcap = devinfo->supp_stream_formats;
sys/dev/sound/pci/hda/hdaa.c
5314
pcmcap = devinfo->supp_pcm_size_rate;
sys/dev/sound/pci/hda/hdaa.c
5331
w = hdaa_widget_get(devinfo, as[ch->as].dacs[ch->asindex][i]);
sys/dev/sound/pci/hda/hdaa.c
534
struct hdaa_devinfo *devinfo = w->devinfo;
sys/dev/sound/pci/hda/hdaa.c
5393
if (!(devinfo->quirks & HDAA_QUIRK_FORCESTEREO)) {
sys/dev/sound/pci/hda/hdaa.c
549
res = hda_command(devinfo->dev, HDA_CMD_GET_PIN_SENSE(0, w->nid));
sys/dev/sound/pci/hda/hdaa.c
5495
hdaa_prepare_pcms(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5497
struct hdaa_audio_as *as = devinfo->as;
sys/dev/sound/pci/hda/hdaa.c
5500
for (i = 0; i < devinfo->ascnt; i++) {
sys/dev/sound/pci/hda/hdaa.c
551
if (devinfo->quirks & HDAA_QUIRK_SENSEINV)
sys/dev/sound/pci/hda/hdaa.c
5515
devinfo->num_devs =
sys/dev/sound/pci/hda/hdaa.c
5517
devinfo->devs = malloc(devinfo->num_devs *
sys/dev/sound/pci/hda/hdaa.c
5519
if (devinfo->devs == NULL) {
sys/dev/sound/pci/hda/hdaa.c
5520
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5524
for (i = 0; i < devinfo->num_devs; i++) {
sys/dev/sound/pci/hda/hdaa.c
5525
devinfo->devs[i].index = i;
sys/dev/sound/pci/hda/hdaa.c
5526
devinfo->devs[i].devinfo = devinfo;
sys/dev/sound/pci/hda/hdaa.c
5527
devinfo->devs[i].playas = -1;
sys/dev/sound/pci/hda/hdaa.c
5528
devinfo->devs[i].recas = -1;
sys/dev/sound/pci/hda/hdaa.c
5529
devinfo->devs[i].digital = 255;
sys/dev/sound/pci/hda/hdaa.c
5531
for (i = 0; i < devinfo->ascnt; i++) {
sys/dev/sound/pci/hda/hdaa.c
5534
for (j = 0; j < devinfo->num_devs; j++) {
sys/dev/sound/pci/hda/hdaa.c
5535
if (devinfo->devs[j].digital != 255 &&
sys/dev/sound/pci/hda/hdaa.c
5536
(!devinfo->devs[j].digital) !=
sys/dev/sound/pci/hda/hdaa.c
5540
if (devinfo->devs[j].recas >= 0)
sys/dev/sound/pci/hda/hdaa.c
5542
devinfo->devs[j].recas = i;
sys/dev/sound/pci/hda/hdaa.c
5544
if (devinfo->devs[j].playas >= 0)
sys/dev/sound/pci/hda/hdaa.c
5546
devinfo->devs[j].playas = i;
sys/dev/sound/pci/hda/hdaa.c
5548
as[i].pdevinfo = &devinfo->devs[j];
sys/dev/sound/pci/hda/hdaa.c
5550
devinfo->chans[as[i].chans[k]].pdevinfo =
sys/dev/sound/pci/hda/hdaa.c
5551
&devinfo->devs[j];
sys/dev/sound/pci/hda/hdaa.c
5553
devinfo->devs[j].digital = as[i].digital;
sys/dev/sound/pci/hda/hdaa.c
5560
hdaa_create_pcms(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5564
for (i = 0; i < devinfo->num_devs; i++) {
sys/dev/sound/pci/hda/hdaa.c
5565
struct hdaa_pcm_devinfo *pdevinfo = &devinfo->devs[i];
sys/dev/sound/pci/hda/hdaa.c
5567
pdevinfo->dev = device_add_child(devinfo->dev, "pcm", DEVICE_UNIT_ANY);
sys/dev/sound/pci/hda/hdaa.c
5575
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
558
as = &devinfo->as[w->bindas];
sys/dev/sound/pci/hda/hdaa.c
5592
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
568
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5705
device_printf(w->devinfo->dev, " Pin cap: 0x%08x", pincap);
sys/dev/sound/pci/hda/hdaa.c
574
for (i = 0, active = false; i < devinfo->num_devs; i++) {
sys/dev/sound/pci/hda/hdaa.c
5743
device_printf(w->devinfo->dev, " Pin config: 0x%08x\n",
sys/dev/sound/pci/hda/hdaa.c
5745
device_printf(w->devinfo->dev, " Pin control: 0x%08x", w->wclass.pin.ctrl);
sys/dev/sound/pci/hda/hdaa.c
575
if (device_get_unit(devinfo->devs[i].dev) == snd_unit) {
sys/dev/sound/pci/hda/hdaa.c
5771
device_printf(w->devinfo->dev, "%2d %08x %-2d %-2d "
sys/dev/sound/pci/hda/hdaa.c
5786
hdaa_dump_pin_configs(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5791
device_printf(devinfo->dev, "nid 0x as seq "
sys/dev/sound/pci/hda/hdaa.c
5793
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
5794
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
5821
hdaa_dump_nodes(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
5827
device_printf(devinfo->dev, "\n");
sys/dev/sound/pci/hda/hdaa.c
5828
device_printf(devinfo->dev, "Default parameters:\n");
sys/dev/sound/pci/hda/hdaa.c
5829
hdaa_dump_audio_formats(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
583
for (i = 0; i < devinfo->ascnt; i++) {
sys/dev/sound/pci/hda/hdaa.c
5830
devinfo->supp_stream_formats,
sys/dev/sound/pci/hda/hdaa.c
5831
devinfo->supp_pcm_size_rate);
sys/dev/sound/pci/hda/hdaa.c
5832
hdaa_dump_amp(devinfo->dev, devinfo->inamp_cap, " Input");
sys/dev/sound/pci/hda/hdaa.c
5833
hdaa_dump_amp(devinfo->dev, devinfo->outamp_cap, "Output");
sys/dev/sound/pci/hda/hdaa.c
5834
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
5835
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
5837
device_printf(devinfo->dev, "Ghost widget nid=%d\n", i);
sys/dev/sound/pci/hda/hdaa.c
584
asp = &devinfo->as[i];
sys/dev/sound/pci/hda/hdaa.c
5840
device_printf(devinfo->dev, "\n");
sys/dev/sound/pci/hda/hdaa.c
5841
device_printf(devinfo->dev, " nid: %d%s\n", w->nid,
sys/dev/sound/pci/hda/hdaa.c
5843
device_printf(devinfo->dev, " Name: %s\n", w->name);
sys/dev/sound/pci/hda/hdaa.c
5844
device_printf(devinfo->dev, " Widget cap: 0x%08x",
sys/dev/sound/pci/hda/hdaa.c
5868
device_printf(devinfo->dev, " Association: %d (0x%04x)\n",
sys/dev/sound/pci/hda/hdaa.c
5872
device_printf(devinfo->dev, " OSS: %s",
sys/dev/sound/pci/hda/hdaa.c
5880
hdaa_dump_audio_formats(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
5887
device_printf(devinfo->dev, " EAPD: 0x%08x\n",
sys/dev/sound/pci/hda/hdaa.c
5891
hdaa_dump_amp(devinfo->dev, w->param.outamp_cap, "Output");
sys/dev/sound/pci/hda/hdaa.c
5894
hdaa_dump_amp(devinfo->dev, w->param.inamp_cap, " Input");
sys/dev/sound/pci/hda/hdaa.c
5896
device_printf(devinfo->dev, " Connections: %d\n", w->nconns);
sys/dev/sound/pci/hda/hdaa.c
5898
cw = hdaa_widget_get(devinfo, w->conns[j]);
sys/dev/sound/pci/hda/hdaa.c
5899
device_printf(devinfo->dev, " + %s<- nid=%d [%s]",
sys/dev/sound/pci/hda/hdaa.c
5918
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
5926
w = hdaa_widget_get(devinfo, nid);
sys/dev/sound/pci/hda/hdaa.c
5954
cw = hdaa_widget_get(devinfo, w->conns[i]);
sys/dev/sound/pci/hda/hdaa.c
5965
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
5976
chid = devinfo->as[pdevinfo->playas].chans[0];
sys/dev/sound/pci/hda/hdaa.c
5978
devinfo->chans[chid].supp_stream_formats,
sys/dev/sound/pci/hda/hdaa.c
5979
devinfo->chans[chid].supp_pcm_size_rate);
sys/dev/sound/pci/hda/hdaa.c
5980
for (i = 0; i < devinfo->as[pdevinfo->playas].num_chans; i++) {
sys/dev/sound/pci/hda/hdaa.c
5981
chid = devinfo->as[pdevinfo->playas].chans[i];
sys/dev/sound/pci/hda/hdaa.c
5983
for (nids = devinfo->chans[chid].io; *nids != -1; nids++)
sys/dev/sound/pci/hda/hdaa.c
5988
as = &devinfo->as[pdevinfo->playas];
sys/dev/sound/pci/hda/hdaa.c
5992
w = hdaa_widget_get(devinfo, as->pins[i]);
sys/dev/sound/pci/hda/hdaa.c
6004
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
6014
chid = devinfo->as[pdevinfo->recas].chans[0];
sys/dev/sound/pci/hda/hdaa.c
6016
devinfo->chans[chid].supp_stream_formats,
sys/dev/sound/pci/hda/hdaa.c
6017
devinfo->chans[chid].supp_pcm_size_rate);
sys/dev/sound/pci/hda/hdaa.c
6018
for (i = 0; i < devinfo->as[pdevinfo->recas].num_chans; i++) {
sys/dev/sound/pci/hda/hdaa.c
6019
chid = devinfo->as[pdevinfo->recas].chans[i];
sys/dev/sound/pci/hda/hdaa.c
6021
for (nids = devinfo->chans[chid].io; *nids != -1; nids++)
sys/dev/sound/pci/hda/hdaa.c
6026
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
6027
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
6043
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
6048
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
6049
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
605
struct hdaa_devinfo *devinfo = arg;
sys/dev/sound/pci/hda/hdaa.c
6070
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6078
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
6079
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
609
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
610
if (devinfo->poll_ival == 0) {
sys/dev/sound/pci/hda/hdaa.c
611
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6122
HDA_PARAM_GPIO_COUNT_NUM_GPIO(devinfo->gpio_cap),
sys/dev/sound/pci/hda/hdaa.c
6123
HDA_PARAM_GPIO_COUNT_NUM_GPO(devinfo->gpio_cap),
sys/dev/sound/pci/hda/hdaa.c
6124
HDA_PARAM_GPIO_COUNT_NUM_GPI(devinfo->gpio_cap),
sys/dev/sound/pci/hda/hdaa.c
6125
HDA_PARAM_GPIO_COUNT_GPI_WAKE(devinfo->gpio_cap),
sys/dev/sound/pci/hda/hdaa.c
6126
HDA_PARAM_GPIO_COUNT_GPI_UNSOL(devinfo->gpio_cap));
sys/dev/sound/pci/hda/hdaa.c
6127
hdaa_dump_gpi(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6128
hdaa_dump_gpio(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6129
hdaa_dump_gpo(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6135
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
614
for (i = 0; i < devinfo->ascnt; i++) {
sys/dev/sound/pci/hda/hdaa.c
6142
hdaa_patch(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6146
hdaa_local_patch(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6147
hdaa_audio_postprocess(devinfo);
sys/dev/sound/pci/hda/hdaa.c
615
if (devinfo->as[i].hpredir < 0)
sys/dev/sound/pci/hda/hdaa.c
6151
hdaa_audio_ctl_parse(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6155
hdaa_audio_disable_nonaudio(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6159
hdaa_audio_disable_useless(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6162
hdaa_dump_pin_configs(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6167
hdaa_audio_as_parse(devinfo);
sys/dev/sound/pci/hda/hdaa.c
617
w = hdaa_widget_get(devinfo, devinfo->as[i].pins[15]);
sys/dev/sound/pci/hda/hdaa.c
6171
hdaa_audio_build_tree(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6176
hdaa_audio_disable_unas(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6181
hdaa_audio_disable_notselected(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6185
hdaa_audio_disable_useless(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6190
hdaa_audio_disable_crossas(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6194
hdaa_audio_disable_useless(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6198
hdaa_audio_bind_as(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6202
hdaa_audio_assign_names(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6206
hdaa_prepare_pcms(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6210
hdaa_audio_assign_mixers(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6214
hdaa_audio_prepare_pin_ctrl(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6218
hdaa_audio_commit(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6222
hdaa_patch_direct(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6226
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6227
hdaa_create_pcms(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6228
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
623
callout_reset(&devinfo->poll_jack, devinfo->poll_ival,
sys/dev/sound/pci/hda/hdaa.c
6232
hdaa_sense_init(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6235
if (devinfo->quirks != 0) {
sys/dev/sound/pci/hda/hdaa.c
6238
if ((devinfo->quirks &
sys/dev/sound/pci/hda/hdaa.c
624
hdaa_jack_poll_callback, devinfo);
sys/dev/sound/pci/hda/hdaa.c
625
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6252
hdaa_dump_nodes(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6260
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
6285
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6292
hdaa_sense_deinit(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6293
free(devinfo->ctl, M_HDAA);
sys/dev/sound/pci/hda/hdaa.c
6294
devinfo->ctl = NULL;
sys/dev/sound/pci/hda/hdaa.c
6295
devinfo->ctlcnt = 0;
sys/dev/sound/pci/hda/hdaa.c
6296
free(devinfo->as, M_HDAA);
sys/dev/sound/pci/hda/hdaa.c
6297
devinfo->as = NULL;
sys/dev/sound/pci/hda/hdaa.c
6298
devinfo->ascnt = 0;
sys/dev/sound/pci/hda/hdaa.c
6299
free(devinfo->devs, M_HDAA);
sys/dev/sound/pci/hda/hdaa.c
6300
devinfo->devs = NULL;
sys/dev/sound/pci/hda/hdaa.c
6301
devinfo->num_devs = 0;
sys/dev/sound/pci/hda/hdaa.c
6302
free(devinfo->chans, M_HDAA);
sys/dev/sound/pci/hda/hdaa.c
6303
devinfo->chans = NULL;
sys/dev/sound/pci/hda/hdaa.c
6304
devinfo->num_chans = 0;
sys/dev/sound/pci/hda/hdaa.c
6305
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
6306
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
631
struct hdaa_devinfo *devinfo = w->devinfo;
sys/dev/sound/pci/hda/hdaa.c
632
device_t dev = devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
6331
struct hdaa_devinfo *devinfo = oidp->oid_arg1;
sys/dev/sound/pci/hda/hdaa.c
6332
device_t dev = devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
6338
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6339
numgpi = HDA_PARAM_GPIO_COUNT_NUM_GPI(devinfo->gpio_cap);
sys/dev/sound/pci/hda/hdaa.c
6342
HDA_CMD_GET_GPI_DATA(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
6344
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6355
struct hdaa_devinfo *devinfo = oidp->oid_arg1;
sys/dev/sound/pci/hda/hdaa.c
6356
device_t dev = devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
6362
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6363
numgpio = HDA_PARAM_GPIO_COUNT_NUM_GPIO(devinfo->gpio_cap);
sys/dev/sound/pci/hda/hdaa.c
6366
HDA_CMD_GET_GPIO_DATA(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
6368
HDA_CMD_GET_GPIO_ENABLE_MASK(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
6370
HDA_CMD_GET_GPIO_DIRECTION(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
6372
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6389
struct hdaa_devinfo *devinfo = oidp->oid_arg1;
sys/dev/sound/pci/hda/hdaa.c
6394
gpio = devinfo->newgpio;
sys/dev/sound/pci/hda/hdaa.c
6395
numgpio = HDA_PARAM_GPIO_COUNT_NUM_GPIO(devinfo->gpio_cap);
sys/dev/sound/pci/hda/hdaa.c
6409
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6410
devinfo->newgpio = devinfo->gpio = gpio;
sys/dev/sound/pci/hda/hdaa.c
6411
hdaa_gpio_commit(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6412
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6419
struct hdaa_devinfo *devinfo = oidp->oid_arg1;
sys/dev/sound/pci/hda/hdaa.c
6420
device_t dev = devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
6426
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6427
numgpo = HDA_PARAM_GPIO_COUNT_NUM_GPO(devinfo->gpio_cap);
sys/dev/sound/pci/hda/hdaa.c
6430
HDA_CMD_GET_GPO_DATA(0, devinfo->nid));
sys/dev/sound/pci/hda/hdaa.c
6432
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6443
struct hdaa_devinfo *devinfo = oidp->oid_arg1;
sys/dev/sound/pci/hda/hdaa.c
6448
gpo = devinfo->newgpo;
sys/dev/sound/pci/hda/hdaa.c
6449
numgpo = HDA_PARAM_GPIO_COUNT_NUM_GPO(devinfo->gpio_cap);
sys/dev/sound/pci/hda/hdaa.c
6463
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6464
devinfo->newgpo = devinfo->gpo = gpo;
sys/dev/sound/pci/hda/hdaa.c
6465
hdaa_gpo_commit(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6466
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6474
struct hdaa_devinfo *devinfo;
sys/dev/sound/pci/hda/hdaa.c
6478
devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6479
if (devinfo == NULL)
sys/dev/sound/pci/hda/hdaa.c
6496
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6499
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6513
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6519
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6523
for (i = 0; i < devinfo->num_chans; i++) {
sys/dev/sound/pci/hda/hdaa.c
6524
if (devinfo->chans[i].flags & HDAA_CHN_RUNNING) {
sys/dev/sound/pci/hda/hdaa.c
6525
devinfo->chans[i].flags |= HDAA_CHN_SUSPEND;
sys/dev/sound/pci/hda/hdaa.c
6526
hdaa_channel_stop(&devinfo->chans[i]);
sys/dev/sound/pci/hda/hdaa.c
6532
devinfo->nid);
sys/dev/sound/pci/hda/hdaa.c
6534
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
6536
devinfo->nid, HDA_CMD_POWER_STATE_D3));
sys/dev/sound/pci/hda/hdaa.c
6537
callout_stop(&devinfo->poll_jack);
sys/dev/sound/pci/hda/hdaa.c
6538
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6539
callout_drain(&devinfo->poll_jack);
sys/dev/sound/pci/hda/hdaa.c
6549
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6555
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6558
devinfo->nid);
sys/dev/sound/pci/hda/hdaa.c
6560
hdaa_powerup(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6564
hdaa_audio_commit(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6568
hdaa_patch_direct(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6572
hdaa_sense_init(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6574
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6575
for (i = 0; i < devinfo->num_devs; i++) {
sys/dev/sound/pci/hda/hdaa.c
6576
struct hdaa_pcm_devinfo *pdevinfo = &devinfo->devs[i];
sys/dev/sound/pci/hda/hdaa.c
6585
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6589
for (i = 0; i < devinfo->num_chans; i++) {
sys/dev/sound/pci/hda/hdaa.c
6590
if (devinfo->chans[i].flags & HDAA_CHN_SUSPEND) {
sys/dev/sound/pci/hda/hdaa.c
6591
devinfo->chans[i].flags &= ~HDAA_CHN_SUSPEND;
sys/dev/sound/pci/hda/hdaa.c
6592
hdaa_channel_start(&devinfo->chans[i]);
sys/dev/sound/pci/hda/hdaa.c
6595
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6618
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6622
devinfo->dev = dev;
sys/dev/sound/pci/hda/hdaa.c
6623
devinfo->lock = HDAC_GET_MTX(device_get_parent(dev), dev);
sys/dev/sound/pci/hda/hdaa.c
6624
devinfo->nid = nid;
sys/dev/sound/pci/hda/hdaa.c
6625
devinfo->newquirks = -1;
sys/dev/sound/pci/hda/hdaa.c
6626
devinfo->newgpio = -1;
sys/dev/sound/pci/hda/hdaa.c
6627
devinfo->newgpo = -1;
sys/dev/sound/pci/hda/hdaa.c
6628
callout_init(&devinfo->poll_jack, 1);
sys/dev/sound/pci/hda/hdaa.c
6629
devinfo->poll_ival = hz;
sys/dev/sound/pci/hda/hdaa.c
6631
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6634
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6636
devinfo->nodecnt = HDA_PARAM_SUB_NODE_COUNT_TOTAL(res);
sys/dev/sound/pci/hda/hdaa.c
6637
devinfo->startnode = HDA_PARAM_SUB_NODE_COUNT_START(res);
sys/dev/sound/pci/hda/hdaa.c
6638
devinfo->endnode = devinfo->startnode + devinfo->nodecnt;
sys/dev/sound/pci/hda/hdaa.c
6647
nid, devinfo->nodecnt,
sys/dev/sound/pci/hda/hdaa.c
6648
devinfo->startnode, devinfo->endnode - 1);
sys/dev/sound/pci/hda/hdaa.c
6651
if (devinfo->nodecnt > 0)
sys/dev/sound/pci/hda/hdaa.c
6652
devinfo->widget = malloc(sizeof(*(devinfo->widget)) *
sys/dev/sound/pci/hda/hdaa.c
6653
devinfo->nodecnt, M_HDAA, M_WAITOK | M_ZERO);
sys/dev/sound/pci/hda/hdaa.c
6655
devinfo->widget = NULL;
sys/dev/sound/pci/hda/hdaa.c
6657
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6661
hdaa_powerup(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6665
hdaa_audio_parse(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6668
hdaa_dump_pin_configs(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6671
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6676
&devinfo->newquirks, 0, hdaa_sysctl_quirks, "A",
sys/dev/sound/pci/hda/hdaa.c
6681
devinfo, 0, hdaa_sysctl_gpi_state, "A", "GPI state");
sys/dev/sound/pci/hda/hdaa.c
6685
devinfo, 0, hdaa_sysctl_gpio_state, "A", "GPIO state");
sys/dev/sound/pci/hda/hdaa.c
6689
devinfo, 0, hdaa_sysctl_gpio_config, "A", "GPIO configuration");
sys/dev/sound/pci/hda/hdaa.c
6693
devinfo, 0, hdaa_sysctl_gpo_state, "A", "GPO state");
sys/dev/sound/pci/hda/hdaa.c
6697
devinfo, 0, hdaa_sysctl_gpo_config, "A", "GPO configuration");
sys/dev/sound/pci/hda/hdaa.c
6705
&devinfo->init_clear, 1,"Clear initial pin widget configuration");
sys/dev/sound/pci/hda/hdaa.c
6713
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6719
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6721
devinfo->poll_ival = 0;
sys/dev/sound/pci/hda/hdaa.c
6722
callout_stop(&devinfo->poll_jack);
sys/dev/sound/pci/hda/hdaa.c
6723
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6724
callout_drain(&devinfo->poll_jack);
sys/dev/sound/pci/hda/hdaa.c
6726
free(devinfo->widget, M_HDAA);
sys/dev/sound/pci/hda/hdaa.c
6733
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6742
as = &devinfo->as[pdevinfo->playas];
sys/dev/sound/pci/hda/hdaa.c
6755
as = &devinfo->as[pdevinfo->recas];
sys/dev/sound/pci/hda/hdaa.c
6771
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6779
as = &devinfo->as[pdevinfo->playas];
sys/dev/sound/pci/hda/hdaa.c
6788
as = &devinfo->as[pdevinfo->recas];
sys/dev/sound/pci/hda/hdaa.c
6802
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6806
for (i = 0; i < devinfo->num_chans; i++) {
sys/dev/sound/pci/hda/hdaa.c
6807
ch = &devinfo->chans[i];
sys/dev/sound/pci/hda/hdaa.c
6812
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6814
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
6822
struct hdaa_devinfo *devinfo = device_get_softc(dev);
sys/dev/sound/pci/hda/hdaa.c
6830
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
6831
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
6874
hdaa_chan_formula(struct hdaa_devinfo *devinfo, int asid,
sys/dev/sound/pci/hda/hdaa.c
6880
as = &devinfo->as[asid];
sys/dev/sound/pci/hda/hdaa.c
6881
c = devinfo->chans[as->chans[0]].channels;
sys/dev/sound/pci/hda/hdaa.c
6904
hdaa_chan_type(struct hdaa_devinfo *devinfo, int asid)
sys/dev/sound/pci/hda/hdaa.c
6910
as = &devinfo->as[asid];
sys/dev/sound/pci/hda/hdaa.c
6912
w = hdaa_widget_get(devinfo, as->pins[i]);
sys/dev/sound/pci/hda/hdaa.c
6932
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
6937
ch = &devinfo->chans[as->chans[0]];
sys/dev/sound/pci/hda/hdaa.c
6953
devinfo->chans[as->chans[i]].bit32 = ch->bit32;
sys/dev/sound/pci/hda/hdaa.c
6962
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
6968
loc1 = devinfo->as[pdevinfo->playas].location;
sys/dev/sound/pci/hda/hdaa.c
6970
loc1 = devinfo->as[pdevinfo->recas].location;
sys/dev/sound/pci/hda/hdaa.c
6972
loc2 = devinfo->as[pdevinfo->recas].location;
sys/dev/sound/pci/hda/hdaa.c
6983
hdaa_chan_formula(devinfo, pdevinfo->playas,
sys/dev/sound/pci/hda/hdaa.c
6985
t1 = hdaa_chan_type(devinfo, pdevinfo->playas);
sys/dev/sound/pci/hda/hdaa.c
6988
hdaa_chan_formula(devinfo, pdevinfo->recas,
sys/dev/sound/pci/hda/hdaa.c
6990
t2 = hdaa_chan_type(devinfo, pdevinfo->recas);
sys/dev/sound/pci/hda/hdaa.c
7027
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
sys/dev/sound/pci/hda/hdaa.c
7091
as = &devinfo->as[pdevinfo->playas];
sys/dev/sound/pci/hda/hdaa.c
7094
&devinfo->chans[as->chans[i]]);
sys/dev/sound/pci/hda/hdaa.c
7102
as = &devinfo->as[pdevinfo->recas];
sys/dev/sound/pci/hda/hdaa.c
7105
&devinfo->chans[as->chans[i]]);
sys/dev/sound/pci/hda/hdaa.c
711
struct hdaa_devinfo *devinfo = w->devinfo;
sys/dev/sound/pci/hda/hdaa.c
7123
hdaa_lock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
7125
as = &devinfo->as[pdevinfo->playas];
sys/dev/sound/pci/hda/hdaa.c
7129
as = &devinfo->as[pdevinfo->recas];
sys/dev/sound/pci/hda/hdaa.c
7133
hdaa_unlock(devinfo);
sys/dev/sound/pci/hda/hdaa.c
723
res = hda_command(devinfo->dev, HDA_CMD_GET_PIN_SENSE(0, w->nid));
sys/dev/sound/pci/hda/hdaa.c
732
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
742
res = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
755
res = hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
763
hdaa_channels_handler(&devinfo->as[w->bindas]);
sys/dev/sound/pci/hda/hdaa.c
770
hdaa_sense_init(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
776
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
777
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
784
device_get_parent(devinfo->dev),
sys/dev/sound/pci/hda/hdaa.c
785
devinfo->dev, w->nid);
sys/dev/sound/pci/hda/hdaa.c
786
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
790
as = &devinfo->as[w->bindas];
sys/dev/sound/pci/hda/hdaa.c
794
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
801
device_printf(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
817
callout_reset(&devinfo->poll_jack, 1,
sys/dev/sound/pci/hda/hdaa.c
818
hdaa_jack_poll_callback, devinfo);
sys/dev/sound/pci/hda/hdaa.c
823
hdaa_sense_deinit(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa.c
828
callout_stop(&devinfo->poll_jack);
sys/dev/sound/pci/hda/hdaa.c
829
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa.c
830
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa.c
836
hda_command(devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
839
device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
969
device_t dev = w->devinfo->dev;
sys/dev/sound/pci/hda/hdaa.c
998
device_printf(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa.h
112
struct hdaa_devinfo *devinfo;
sys/dev/sound/pci/hda/hdaa.h
170
struct hdaa_devinfo *devinfo;
sys/dev/sound/pci/hda/hdaa.h
225
struct hdaa_devinfo *devinfo;
sys/dev/sound/pci/hda/hdaa.h
260
#define hdaa_codec_id(devinfo) \
sys/dev/sound/pci/hda/hdaa.h
261
(((uint32_t)hda_get_vendor_id(devinfo->dev) << 16) + \
sys/dev/sound/pci/hda/hdaa.h
262
hda_get_device_id(devinfo->dev))
sys/dev/sound/pci/hda/hdaa.h
264
#define hdaa_card_id(devinfo) \
sys/dev/sound/pci/hda/hdaa.h
265
(((uint32_t)hda_get_subdevice_id(devinfo->dev) << 16) + \
sys/dev/sound/pci/hda/hdaa.h
266
hda_get_subvendor_id(devinfo->dev))
sys/dev/sound/pci/hda/hdaa.h
272
void hdaa_patch(struct hdaa_devinfo *devinfo);
sys/dev/sound/pci/hda/hdaa.h
273
void hdaa_patch_direct(struct hdaa_devinfo *devinfo);
sys/dev/sound/pci/hda/hdaa_patches.c
181
id = hdaa_codec_id(w->devinfo);
sys/dev/sound/pci/hda/hdaa_patches.c
182
subid = hdaa_card_id(w->devinfo);
sys/dev/sound/pci/hda/hdaa_patches.c
456
device_printf(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa_patches.c
466
struct hdaa_devinfo *devinfo = w->devinfo;
sys/dev/sound/pci/hda/hdaa_patches.c
474
switch (hdaa_codec_id(devinfo)) {
sys/dev/sound/pci/hda/hdaa_patches.c
490
if (hda_get_vendor_id(devinfo->dev) == REALTEK_VENDORID &&
sys/dev/sound/pci/hda/hdaa_patches.c
491
hdaa_codec_id(devinfo) != HDA_CODEC_ALC260)
sys/dev/sound/pci/hda/hdaa_patches.c
503
if (hdaa_codec_id(devinfo) == HDA_CODEC_AD1984A &&
sys/dev/sound/pci/hda/hdaa_patches.c
508
device_printf(w->devinfo->dev,
sys/dev/sound/pci/hda/hdaa_patches.c
519
hdaa_patch(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa_patches.c
525
id = hdaa_codec_id(devinfo);
sys/dev/sound/pci/hda/hdaa_patches.c
526
subid = hdaa_card_id(devinfo);
sys/dev/sound/pci/hda/hdaa_patches.c
527
subsystemid = hda_get_subsystem_id(devinfo->dev);
sys/dev/sound/pci/hda/hdaa_patches.c
537
devinfo->quirks |= hdac_quirks[i].set;
sys/dev/sound/pci/hda/hdaa_patches.c
538
devinfo->quirks &= ~(hdac_quirks[i].unset);
sys/dev/sound/pci/hda/hdaa_patches.c
539
devinfo->gpio = hdac_quirks[i].gpio;
sys/dev/sound/pci/hda/hdaa_patches.c
543
for (i = devinfo->startnode; i < devinfo->endnode; i++) {
sys/dev/sound/pci/hda/hdaa_patches.c
544
w = hdaa_widget_get(devinfo, i);
sys/dev/sound/pci/hda/hdaa_patches.c
557
w = hdaa_widget_get(devinfo, 5);
sys/dev/sound/pci/hda/hdaa_patches.c
560
w = hdaa_widget_get(devinfo, 6);
sys/dev/sound/pci/hda/hdaa_patches.c
563
w = hdaa_widget_get(devinfo, 11);
sys/dev/sound/pci/hda/hdaa_patches.c
567
w = hdaa_widget_get(devinfo, 12);
sys/dev/sound/pci/hda/hdaa_patches.c
570
w = hdaa_widget_get(devinfo, 13);
sys/dev/sound/pci/hda/hdaa_patches.c
574
w = hdaa_widget_get(devinfo, 20);
sys/dev/sound/pci/hda/hdaa_patches.c
584
w = hdaa_widget_get(devinfo, 43);
sys/dev/sound/pci/hda/hdaa_patches.c
588
w = hdaa_widget_get(devinfo, 39);
sys/dev/sound/pci/hda/hdaa_patches.c
591
w = hdaa_widget_get(devinfo, 40);
sys/dev/sound/pci/hda/hdaa_patches.c
594
w = hdaa_widget_get(devinfo, 41);
sys/dev/sound/pci/hda/hdaa_patches.c
597
w = hdaa_widget_get(devinfo, 42);
sys/dev/sound/pci/hda/hdaa_patches.c
601
w = hdaa_widget_get(devinfo, 15);
sys/dev/sound/pci/hda/hdaa_patches.c
605
w = hdaa_widget_get(devinfo, 31);
sys/dev/sound/pci/hda/hdaa_patches.c
610
w = hdaa_widget_get(devinfo, 16);
sys/dev/sound/pci/hda/hdaa_patches.c
614
w = hdaa_widget_get(devinfo, 15);
sys/dev/sound/pci/hda/hdaa_patches.c
619
w = hdaa_widget_get(devinfo, 32);
sys/dev/sound/pci/hda/hdaa_patches.c
624
w = hdaa_widget_get(devinfo, 16);
sys/dev/sound/pci/hda/hdaa_patches.c
628
w = hdaa_widget_get(devinfo, 15);
sys/dev/sound/pci/hda/hdaa_patches.c
640
w = hdaa_widget_get(devinfo, 26);
sys/dev/sound/pci/hda/hdaa_patches.c
646
devinfo->quirks &=
sys/dev/sound/pci/hda/hdaa_patches.c
656
w = hdaa_widget_get(devinfo, 21);
sys/dev/sound/pci/hda/hdaa_patches.c
660
w = hdaa_widget_get(devinfo, 31);
sys/dev/sound/pci/hda/hdaa_patches.c
664
w = hdaa_widget_get(devinfo, 5);
sys/dev/sound/pci/hda/hdaa_patches.c
667
w = hdaa_widget_get(devinfo, 6);
sys/dev/sound/pci/hda/hdaa_patches.c
670
w = hdaa_widget_get(devinfo, 9);
sys/dev/sound/pci/hda/hdaa_patches.c
673
w = hdaa_widget_get(devinfo, 24);
sys/dev/sound/pci/hda/hdaa_patches.c
687
w = hdaa_widget_get(devinfo, 15);
sys/dev/sound/pci/hda/hdaa_patches.c
701
w = hdaa_widget_get(devinfo, 20);
sys/dev/sound/pci/hda/hdaa_patches.c
704
w = hdaa_widget_get(devinfo, 21);
sys/dev/sound/pci/hda/hdaa_patches.c
707
w = hdaa_widget_get(devinfo, 22);
sys/dev/sound/pci/hda/hdaa_patches.c
722
w = hdaa_widget_get(devinfo, 26);
sys/dev/sound/pci/hda/hdaa_patches.c
728
w = hdaa_widget_get(devinfo, 30);
sys/dev/sound/pci/hda/hdaa_patches.c
755
hdaa_patch_direct(struct hdaa_devinfo *devinfo)
sys/dev/sound/pci/hda/hdaa_patches.c
757
device_t dev = devinfo->dev;
sys/dev/sound/pci/hda/hdaa_patches.c
760
id = hdaa_codec_id(devinfo);
sys/dev/sound/pci/hda/hdaa_patches.c
761
subid = hdaa_card_id(devinfo);
sys/dev/sound/pci/hda/hdaa_patches.c
773
hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
sys/dev/sound/pci/hda/hdaa_patches.c
778
hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
sys/dev/sound/pci/hda/hdaa_patches.c
793
hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
sys/dev/sound/pci/hdsp-pcm.c
690
hdspchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/hdsp-pcm.c
698
scp = devinfo;
sys/dev/sound/pci/hdspe-pcm.c
681
hdspechan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/hdspe-pcm.c
689
scp = devinfo;
sys/dev/sound/pci/ich.c
246
ich_waitcd(void *devinfo)
sys/dev/sound/pci/ich.c
248
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/ich.c
265
ich_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/ich.c
267
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/ich.c
276
ich_wrcd(kobj_t obj, void *devinfo, int regno, uint32_t data)
sys/dev/sound/pci/ich.c
278
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/ich.c
368
ichchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/ich.c
370
struct sc_info *sc = devinfo;
sys/dev/sound/pci/maestro3.c
320
m3_initcd(kobj_t kobj, void *devinfo)
sys/dev/sound/pci/maestro3.c
322
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/maestro3.c
334
m3_rdcd(kobj_t kobj, void *devinfo, int regno)
sys/dev/sound/pci/maestro3.c
336
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/maestro3.c
354
m3_wrcd(kobj_t kobj, void *devinfo, int regno, u_int32_t data)
sys/dev/sound/pci/maestro3.c
356
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/maestro3.c
374
m3_pchan_init(kobj_t kobj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/maestro3.c
376
struct sc_info *sc = devinfo;
sys/dev/sound/pci/maestro3.c
751
m3_rchan_init(kobj_t kobj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/maestro3.c
753
struct sc_info *sc = devinfo;
sys/dev/sound/pci/neomagic.c
225
nm_initcd(kobj_t obj, void *devinfo)
sys/dev/sound/pci/neomagic.c
227
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/neomagic.c
246
nm_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/neomagic.c
248
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/neomagic.c
262
nm_wrcd(kobj_t obj, void *devinfo, int regno, u_int32_t data)
sys/dev/sound/pci/neomagic.c
264
struct sc_info *sc = (struct sc_info *)devinfo;
sys/dev/sound/pci/neomagic.c
350
nmchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/neomagic.c
352
struct sc_info *sc = devinfo;
sys/dev/sound/pci/solo.c
523
esschan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/solo.c
525
struct ess_info *sc = devinfo;
sys/dev/sound/pci/spicds.c
128
codec->ctrl(codec->devinfo, 0, 1, 0);
sys/dev/sound/pci/spicds.c
130
codec->ctrl(codec->devinfo, 1, 1, 0);
sys/dev/sound/pci/spicds.c
133
codec->ctrl(codec->devinfo, 1, 1, 0);
sys/dev/sound/pci/spicds.c
140
spicds_create(device_t dev, void *devinfo, int num, spicds_ctrl ctrl)
sys/dev/sound/pci/spicds.c
155
codec->devinfo = devinfo;
sys/dev/sound/pci/spicds.c
44
void *devinfo;
sys/dev/sound/pci/spicds.c
67
codec->ctrl(codec->devinfo, cs, 0, cdti);
sys/dev/sound/pci/spicds.c
69
codec->ctrl(codec->devinfo, cs, 1, cdti);
sys/dev/sound/pci/spicds.c
85
codec->ctrl(codec->devinfo, 1, 1, 0);
sys/dev/sound/pci/spicds.c
87
codec->ctrl(codec->devinfo, 0, 1, 0);
sys/dev/sound/pci/spicds.h
113
struct spicds_info *spicds_create(device_t dev, void *devinfo, int num, spicds_ctrl);
sys/dev/sound/pci/t4dwave.c
179
tr_rdcd(kobj_t obj, void *devinfo, int regno)
sys/dev/sound/pci/t4dwave.c
181
struct tr_info *tr = (struct tr_info *)devinfo;
sys/dev/sound/pci/t4dwave.c
238
tr_wrcd(kobj_t obj, void *devinfo, int regno, u_int32_t data)
sys/dev/sound/pci/t4dwave.c
240
struct tr_info *tr = (struct tr_info *)devinfo;
sys/dev/sound/pci/t4dwave.c
266
printf("tr_wrcd: reg %x was %x", regno, tr_rdcd(devinfo, regno));
sys/dev/sound/pci/t4dwave.c
291
printf(" - wrote %x, now %x\n", data, tr_rdcd(devinfo, regno));
sys/dev/sound/pci/t4dwave.c
500
trpchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/t4dwave.c
502
struct tr_info *tr = devinfo;
sys/dev/sound/pci/t4dwave.c
609
trrchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/t4dwave.c
611
struct tr_info *tr = devinfo;
sys/dev/sound/pci/via8233.c
656
via8233wr_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/via8233.c
659
struct via_info *via = devinfo;
sys/dev/sound/pci/via8233.c
687
via8233dxs_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/via8233.c
690
struct via_info *via = devinfo;
sys/dev/sound/pci/via8233.c
724
via8233msgd_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/pci/via8233.c
727
struct via_info *via = devinfo;
sys/dev/sound/pci/via82c686.c
243
viachan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/via82c686.c
245
struct via_info *via = devinfo;
sys/dev/sound/pci/vibes.c
191
svchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/pci/vibes.c
193
struct sc_info *sc = devinfo;
sys/dev/sound/pcm/ac97.c
311
i[0] = AC97_READ(codec->methods, codec->devinfo, reg);
sys/dev/sound/pcm/ac97.c
312
i[1] = AC97_READ(codec->methods, codec->devinfo, reg);
sys/dev/sound/pcm/ac97.c
314
i[j-- & 1] = AC97_READ(codec->methods, codec->devinfo, reg);
sys/dev/sound/pcm/ac97.c
317
return AC97_READ(codec->methods, codec->devinfo, reg);
sys/dev/sound/pcm/ac97.c
323
AC97_WRITE(codec->methods, codec->devinfo, reg, val);
sys/dev/sound/pcm/ac97.c
597
codec->count = AC97_INIT(codec->methods, codec->devinfo);
sys/dev/sound/pcm/ac97.c
61
void *devinfo;
sys/dev/sound/pcm/ac97.c
781
codec->count = AC97_INIT(codec->methods, codec->devinfo);
sys/dev/sound/pcm/ac97.c
809
ac97_create(device_t dev, void *devinfo, kobj_class_t cls)
sys/dev/sound/pcm/ac97.c
820
codec->devinfo = devinfo;
sys/dev/sound/pcm/ac97.h
87
#define AC97_CREATE(dev, devinfo, cls) ac97_create(dev, devinfo, &cls ## _class)
sys/dev/sound/pcm/ac97.h
95
struct ac97_info *ac97_create(device_t dev, void *devinfo, kobj_class_t cls);
sys/dev/sound/pcm/channel.c
1074
if ((err = CHANNEL_RESET(c->methods, c->devinfo)))
sys/dev/sound/pcm/channel.c
1093
return (CHANNEL_RESETDONE(c->methods, c->devinfo));
sys/dev/sound/pcm/channel.c
1147
int dir, void *devinfo)
sys/dev/sound/pcm/channel.c
1233
c->devinfo = CHANNEL_INIT(c->methods, devinfo, b, c, direction);
sys/dev/sound/pcm/channel.c
1234
if (c->devinfo == NULL) {
sys/dev/sound/pcm/channel.c
1326
if (c->devinfo)
sys/dev/sound/pcm/channel.c
1327
CHANNEL_FREE(c->methods, c->devinfo);
sys/dev/sound/pcm/channel.c
1607
m = CHANNEL_GETMATRIX(c->methods, c->devinfo, format);
sys/dev/sound/pcm/channel.c
1917
CHANNEL_SETFRAGMENTS(c->methods, c->devinfo,
sys/dev/sound/pcm/channel.c
1920
c->devinfo, hblksz);
sys/dev/sound/pcm/channel.c
2033
sndbuf_setspd(c->bufhard, CHANNEL_SETSPEED(c->methods, c->devinfo,
sys/dev/sound/pcm/channel.c
2045
ret = CHANNEL_SETFORMAT(c->methods, c->devinfo, c->bufhard->fmt);
sys/dev/sound/pcm/channel.c
2233
return (CHANNEL_TRIGGER(c->methods, c->devinfo, go));
sys/dev/sound/pcm/channel.c
2244
ret = CHANNEL_TRIGGER(c->methods, c->devinfo, go);
sys/dev/sound/pcm/channel.c
2301
hwptr = (CHN_STARTED(c)) ? CHANNEL_GETPTR(c->methods, c->devinfo) : 0;
sys/dev/sound/pcm/channel.c
2309
return CHANNEL_GETCAPS(c->methods, c->devinfo);
sys/dev/sound/pcm/channel.c
2458
c->devinfo, bestspeed);
sys/dev/sound/pcm/channel.c
2477
bestspeed = CHANNEL_SETSPEED(c->methods, c->devinfo,
sys/dev/sound/pcm/channel.c
2531
return CHANNEL_GETRATES(c->methods, c->devinfo, rates);
sys/dev/sound/pcm/channel.c
2587
return CHANNEL_GETPEAKS(c->methods, c->devinfo, lpeak, rpeak);
sys/dev/sound/pcm/channel.h
107
void *devinfo;
sys/dev/sound/pcm/channel.h
268
kobj_class_t cls, int dir, void *devinfo);
sys/dev/sound/pcm/feeder_chain.c
635
hwmatrix = CHANNEL_GETMATRIX(c->methods, c->devinfo, hwfmt);
sys/dev/sound/pcm/mixer.c
50
void *devinfo;
sys/dev/sound/pcm/mixer.c
626
return m->devinfo;
sys/dev/sound/pcm/mixer.c
630
mixer_obj_create(device_t dev, kobj_class_t cls, void *devinfo,
sys/dev/sound/pcm/mixer.c
636
KASSERT(dev != NULL && cls != NULL && devinfo != NULL,
sys/dev/sound/pcm/mixer.c
638
__func__, dev, cls, devinfo));
sys/dev/sound/pcm/mixer.c
652
m->devinfo = devinfo;
sys/dev/sound/pcm/mixer.c
688
mixer_create(device_t dev, kobj_class_t cls, void *devinfo, const char *desc)
sys/dev/sound/pcm/mixer.c
690
return (mixer_obj_create(dev, cls, devinfo, MIXER_TYPE_SECONDARY, desc));
sys/dev/sound/pcm/mixer.c
694
mixer_init(device_t dev, kobj_class_t cls, void *devinfo)
sys/dev/sound/pcm/mixer.c
719
m = mixer_obj_create(dev, cls, devinfo, MIXER_TYPE_PRIMARY, NULL);
sys/dev/sound/pcm/mixer.h
33
struct snd_mixer *mixer_create(device_t dev, kobj_class_t cls, void *devinfo,
sys/dev/sound/pcm/mixer.h
36
int mixer_init(device_t dev, kobj_class_t cls, void *devinfo);
sys/dev/sound/pcm/sound.c
115
pcm_addchan(device_t dev, int dir, kobj_class_t cls, void *devinfo)
sys/dev/sound/pcm/sound.c
124
ch = chn_init(d, NULL, cls, dir, devinfo);
sys/dev/sound/pcm/sound.c
127
cls->name, dir, devinfo);
sys/dev/sound/pcm/sound.c
239
return d->devinfo;
sys/dev/sound/pcm/sound.c
336
pcm_init(device_t dev, void *devinfo)
sys/dev/sound/pcm/sound.c
355
d->devinfo = devinfo;
sys/dev/sound/pcm/sound.h
157
int pcm_addchan(device_t dev, int dir, kobj_class_t cls, void *devinfo);
sys/dev/sound/pcm/sound.h
159
void pcm_init(device_t dev, void *devinfo);
sys/dev/sound/pcm/sound.h
208
void *devinfo;
sys/dev/sound/pcm/vchan.c
60
vchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b,
sys/dev/sound/usb/uaudio_pcm.c
41
ua_chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
sys/dev/sound/usb/uaudio_pcm.c
43
return (uaudio_chan_init(devinfo, b, c, dir));
sys/dev/usb/serial/ulpt.c
617
USETW(req.wLength, sizeof devinfo - 1);
sys/dev/usb/serial/ulpt.c
618
error = usbd_do_request_flags(dev, &req, devinfo, USB_SHORT_XFER_OK,
sys/dev/usb/serial/ulpt.c
627
len = ((devinfo[0] & 0xff) << 8) | (devinfo[1] & 0xff);
sys/dev/usb/serial/ulpt.c
628
if (len > sizeof devinfo - 3)
sys/dev/usb/serial/ulpt.c
629
len = sizeof devinfo - 3;
sys/dev/usb/serial/ulpt.c
630
devinfo[len] = 0;
sys/dev/usb/serial/ulpt.c
632
ieee1284_print_id(devinfo + 2);
sys/dev/usb/usb_hub_acpi.c
102
ACPI_DEVICE_INFO *devinfo;
sys/dev/usb/usb_hub_acpi.c
106
devinfo = NULL;
sys/dev/usb/usb_hub_acpi.c
108
ret = AcpiGetObjectInfo(ah, &devinfo);
sys/dev/usb/usb_hub_acpi.c
110
if ((devinfo->Valid & ACPI_VALID_ADR) &&
sys/dev/usb/usb_hub_acpi.c
111
(devinfo->Address == 0)) {
sys/dev/usb/usb_hub_acpi.c
115
AcpiOsFree(devinfo);
sys/dev/usb/usb_hub_acpi.c
366
ACPI_DEVICE_INFO *devinfo;
sys/dev/usb/usb_hub_acpi.c
371
ret = AcpiGetObjectInfo(ah, &devinfo);
sys/dev/usb/usb_hub_acpi.c
373
if ((devinfo->Valid & ACPI_VALID_ADR) &&
sys/dev/usb/usb_hub_acpi.c
374
(devinfo->Address > 0) &&
sys/dev/usb/usb_hub_acpi.c
375
(devinfo->Address <= (uint64_t)sc->nports)) {
sys/dev/usb/usb_hub_acpi.c
382
(uintmax_t)devinfo->Address);
sys/dev/usb/usb_hub_acpi.c
388
sc->port[devinfo->Address - 1].handle = ah;
sys/dev/usb/usb_hub_acpi.c
389
sc->port[devinfo->Address - 1].upc = 0xffffffff;
sys/dev/usb/usb_hub_acpi.c
390
acpi_uhub_parse_upc(dev, devinfo->Address, ah, tree);
sys/dev/usb/usb_hub_acpi.c
391
acpi_uhub_parse_pld(dev, devinfo->Address, ah, tree);
sys/dev/usb/usb_hub_acpi.c
395
&sc->port[devinfo->Address - 1], 0,
sys/dev/usb/usb_hub_acpi.c
398
AcpiOsFree(devinfo);
usr.bin/systat/devs.c
118
cur_dev.dinfo = calloc(1, sizeof(struct devinfo));
usr.bin/systat/devs.c
119
last_dev.dinfo = calloc(1, sizeof(struct devinfo));
usr.bin/systat/devs.c
120
run_dev.dinfo = calloc(1, sizeof(struct devinfo));
usr.bin/systat/iostat.c
120
struct devinfo *tmp_dinfo;
usr.bin/systat/swap.c
116
struct devinfo *tmp_dinfo;
usr.bin/systat/vmstat.c
729
struct devinfo *tmp_dinfo;
usr.bin/systat/zarc.c
189
struct devinfo *tmp_dinfo;
usr.bin/vmstat/vmstat.c
412
cur.dinfo = (struct devinfo *)calloc(1, sizeof(struct devinfo));
usr.bin/vmstat/vmstat.c
413
last.dinfo = (struct devinfo *)calloc(1, sizeof(struct devinfo));
usr.bin/vmstat/vmstat.c
641
struct devinfo *tmp_dinfo;
usr.sbin/fwcontrol/fwcontrol.c
177
struct fw_devinfo *devinfo;
usr.sbin/fwcontrol/fwcontrol.c
189
devinfo = &data->dev[i];
usr.sbin/fwcontrol/fwcontrol.c
190
fweui2eui64(&devinfo->eui, &eui);
usr.sbin/fwcontrol/fwcontrol.c
195
(devinfo->status || i == 0) ? devinfo->dst : -1,
usr.sbin/fwcontrol/fwcontrol.c
197
devinfo->status,
usr.sbin/fwcontrol/fwcontrol.c
334
struct fw_devinfo *devinfo;
usr.sbin/fwcontrol/fwcontrol.c
346
devinfo = &data->dev[i];
usr.sbin/fwcontrol/fwcontrol.c
347
if (!devinfo->status)
usr.sbin/fwcontrol/fwcontrol.c
349
reg = read_write_quad(fd, devinfo->eui, BUGET_REG, 1, 0);
usr.sbin/fwcontrol/fwcontrol.c
350
fweui2eui64(&devinfo->eui, &eui);
usr.sbin/fwcontrol/fwcontrol.c
353
devinfo->dst, addr, reg);
usr.sbin/fwcontrol/fwcontrol.c
360
read_write_quad(fd, devinfo->eui, BUGET_REG, 0, pri_req);
usr.sbin/iostat/iostat.c
321
cur.dinfo = (struct devinfo *)calloc(1, sizeof(struct devinfo));
usr.sbin/iostat/iostat.c
325
last.dinfo = (struct devinfo *)calloc(1, sizeof(struct devinfo));
usr.sbin/iostat/iostat.c
471
struct devinfo *tmp_dinfo;
usr.sbin/usbconfig/dump.c
456
struct usb_device_info devinfo;
usr.sbin/usbconfig/dump.c
502
if (ioctl(f, IOUSB(USB_GET_DEVICEINFO), &devinfo))
usr.sbin/usbconfig/dump.c
507
vendor = devinfo.udi_vendor;
usr.sbin/usbconfig/dump.c
509
product = devinfo.udi_product;