Lines Matching +full:hardware +full:- +full:wise

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2005-2008 M. Warner Losh <imp@FreeBSD.org>
112 "Multi-Functioned",
137 printf("TUPLE: %s [%d]:", info->name, len); in decode_tuple_generic()
159 printf("TUPLE: %s [%d]:", info->name, len); in decode_tuple_linktarget()
217 if (i < len - 1) in decode_tuple_funcid()
223 dinfo->funcid = tupledata[0]; /* use first in list */ in decode_tuple_funcid()
243 dinfo->mfrid = tupledata[1] | (tupledata[2] << 8); in decode_tuple_manfid()
244 dinfo->prodid = tupledata[3] | (tupledata[4] << 8); in decode_tuple_manfid()
266 switch (dinfo->funcid) { in decode_tuple_funce()
270 if (tupledata[1] > sizeof(dinfo->funce.lan.nid)) { in decode_tuple_funce()
274 bcopy(tupledata + 2, dinfo->funce.lan.nid, in decode_tuple_funce()
278 dinfo->fepresent |= 1<<type; in decode_tuple_funce()
316 bar = PCIR_BAR(bar - 1); in decode_tuple_bar()
320 dinfo->mprefetchable |= (1 << PCI_RID2BAR(bar)); in decode_tuple_bar()
326 * non-x86 machines the addresses can be anywhere. Since the in decode_tuple_bar()
327 * hardware can do it on non-x86 machines, it should be able in decode_tuple_bar()
336 * has shown ignoring this big to be a wise choice. in decode_tuple_bar()
341 dinfo->mbelow1mb |= (1 << PCI_RID2BAR(bar)); in decode_tuple_bar()
353 printf("TUPLE: %s [%d] is unhandled! Bailing...", info->name, len); in decode_tuple_unhandled()
392 for (i = loc, j = -2; j < *len; j++, i++) { in cardbus_read_tuple_conf()
395 if (j == -2) in cardbus_read_tuple_conf()
397 else if (j == -1) in cardbus_read_tuple_conf()
466 *rid = PCIR_BAR(space - PCIM_CIS_ASI_BAR0); in cardbus_read_tuple_init()