index             826 arch/i386/i386/db_disasm.c 	char *		index;
index             882 arch/i386/i386/db_disasm.c 	int		mod, rm, sib, index, disp;
index             893 arch/i386/i386/db_disasm.c 	addrp->index = 0;
index             896 arch/i386/i386/db_disasm.c 		addrp->index = 0;
index             925 arch/i386/i386/db_disasm.c 			index = sib_index(sib);
index             926 arch/i386/i386/db_disasm.c 			if (index != 4)
index             927 arch/i386/i386/db_disasm.c 				addrp->index = db_reg[LONG][index];
index             968 arch/i386/i386/db_disasm.c 	if (addrp->base != 0 || addrp->index != 0) {
index             972 arch/i386/i386/db_disasm.c 		if (addrp->index)
index             973 arch/i386/i386/db_disasm.c 			db_printf(",%s,%d", addrp->index, 1<<addrp->ss);
index             489 arch/i386/i386/esm.c 	req.index = dev;
index             506 arch/i386/i386/esm.c 		printf("   index: %.2x\n", resp.devmap[0].index);
index             833 arch/i386/i386/esm.c 	req.h_dev = devmap->index;
index             846 arch/i386/i386/esm.c 		    DEVNAME(sc), devmap->index, i, sensor_map[i].name,
index             865 arch/i386/i386/esm.c 		es->es_dev = devmap->index;
index             953 arch/i386/i386/esm.c 	req.h_dev = devmap->index;
index             965 arch/i386/i386/esm.c 	    DEVNAME(sc), devmap->index, es->es_id, thr->t_lo_fail,
index             114 arch/i386/i386/esmreg.h 	u_int8_t		index;
index             131 arch/i386/i386/esmreg.h 	u_int8_t		index;
index              88 arch/i386/i386/powernow.c 	int index;
index              90 arch/i386/i386/powernow.c 	index = level * k6_maxindex / 100;
index              99 arch/i386/i386/powernow.c 	    k6_multipliers[index].magic << 5;
index             112 arch/i386/isa/ahc_isa.c #define	AHC_ISA_PRIMING_VID(index)	(AHC_ISA_VID + (index))
index             113 arch/i386/isa/ahc_isa.c #define	AHC_ISA_PRIMING_PID(index)	(AHC_ISA_PID + (index))
index              89 compat/linux/linux_termios.c 	int index;
index             153 compat/linux/linux_termios.c 	index = lt->c_cflag & LINUX_CBAUD;
index             154 compat/linux/linux_termios.c 	if (index & LINUX_CBAUDEX)
index             155 compat/linux/linux_termios.c 		index = (index & ~LINUX_CBAUDEX) + LINUX_NSPEEDS - 1;
index             156 compat/linux/linux_termios.c 	bts->c_ispeed = bts->c_ospeed = linux_speeds[index];
index             258 compat/linux/linux_termios.c 	int index;
index             318 compat/linux/linux_termios.c 	index = lts->c_cflag & LINUX_CBAUD;
index             319 compat/linux/linux_termios.c 	if (index & LINUX_CBAUDEX)
index             320 compat/linux/linux_termios.c 		index = (index & ~LINUX_CBAUDEX) + LINUX_NSPEEDS - 1;
index             321 compat/linux/linux_termios.c 	bts->c_ispeed = bts->c_ospeed = linux_speeds[index];
index             340 compat/ossaudio/ossaudio.c 		for(idat = 0, tmpenc.index = 0; 
index             342 compat/ossaudio/ossaudio.c 		    tmpenc.index++) {
index             605 compat/ossaudio/ossaudio.c 		mi.index = i;
index             111 dev/acpi/acpidebug.c 		db_printf("refof: %x {\n", value->v_objref.index);
index             280 dev/acpi/amltypes.h 			int		index;
index            1334 dev/acpi/dsdt.c 		    val->v_objref.index);
index            1349 dev/acpi/dsdt.c 	int argc, index;
index            1361 dev/acpi/dsdt.c 			index = ref->v_objref.index;
index            1363 dev/acpi/dsdt.c 			if (index != -1) {
index            1364 dev/acpi/dsdt.c 				if (index >= ref->length)
index            1366 dev/acpi/dsdt.c 					    "%d/%d\n", index, ref->length);
index            1369 dev/acpi/dsdt.c 					ref = ref->v_package[index];
index            1389 dev/acpi/dsdt.c 						    ref->v_buffer[index], NULL);
index            1396 dev/acpi/dsdt.c 						tmp->v_field.bitpos = index * 8;
index            1413 dev/acpi/dsdt.c 			for (index = 0; index < argc; index++) {
index            1414 dev/acpi/dsdt.c 				aml_parseop(scope, &tmp[index]);
index            1415 dev/acpi/dsdt.c 				aml_addref(&tmp[index]);
index            1492 dev/acpi/dsdt.c 		lhs->v_objref.index = ival;
index            2342 dev/acpi/dsdt.c 	    (*res)->v_objref.index == -1) {
index            3025 dev/acpi/dsdt.c 		res->v_objref.index = aml_parseint(scope, AML_ANYINT);
index            3074 dev/acpi/dsdt.c 			if (tmparg->v_objref.index != -1)
index             296 dev/audio.c    	sc->sc_inports.index = -1;
index             300 dev/audio.c    	sc->sc_outports.index = -1;
index             305 dev/audio.c    	for(mi.index = 0; ; mi.index++) {
index             310 dev/audio.c    			iclass = mi.index;
index             313 dev/audio.c    			mclass = mi.index;
index             316 dev/audio.c    			oclass = mi.index;
index             318 dev/audio.c    	for(mi.index = 0; ; mi.index++) {
index             329 dev/audio.c    			sc->sc_monitor_port = mi.index;
index             332 dev/audio.c    			sc->sc_monitor_port = mi.index;
index             399 dev/audio.c    	for(mi.index = 0;
index             401 dev/audio.c    	    mi.index++)
index             403 dev/audio.c    			return mi.index;
index             416 dev/audio.c    		ports->master = mi->index;
index             422 dev/audio.c    	    ports->index = mi->index;
index             437 dev/audio.c    	    ports->index = mi->index;
index            2258 dev/audio.c    	if (ports->index == -1) {
index            2265 dev/audio.c    		ct.dev = ports->index;
index            2332 dev/audio.c    	if (ports->index == -1) {
index            2341 dev/audio.c    		ct.dev = ports->index;
index            2406 dev/audio.c    	if (ports->index == -1)
index            2408 dev/audio.c    	ct.dev = ports->index;
index            2442 dev/audio.c    	if (ports->index == -1)
index            2444 dev/audio.c    	ct.dev = ports->index;
index            3027 dev/audio.c    wskbd_get_mixerdev(struct audio_softc *sc, int dir, int *index)
index            3034 dev/audio.c    	for (mi.index = 0; ; mi.index++) {
index            3051 dev/audio.c    	for (mi.index = 0; ; mi.index++) {
index            3064 dev/audio.c    				mi.index = mi.next;
index            3075 dev/audio.c    			*index = mi.index;
index            3126 dev/audio.c    		mi.index = ct.dev;
index              77 dev/audiovar.h 	int	index;
index             182 dev/cardbus/com_cardbus.c 	int i, index = -1;
index             208 dev/cardbus/com_cardbus.c 		if (index != -1)
index             210 dev/cardbus/com_cardbus.c 		index = i;
index             212 dev/cardbus/com_cardbus.c 	if (index == -1) {
index             216 dev/cardbus/com_cardbus.c 	csc->cc_reg = CARDBUS_CIS_ASI_BAR(ca->ca_cis.bar[index].flags);
index             217 dev/cardbus/com_cardbus.c 	if ((ca->ca_cis.bar[index].flags & 0x10) == 0)
index              64 dev/eisa/eisareg.h #define	EISA_PRIMING_VID(index)	(0x80 + (index))	/* value for vendor */
index              65 dev/eisa/eisareg.h #define	EISA_PRIMING_PID(index)	(0x82 + (index))	/* value for product */
index              86 dev/i2c/adt7460.c 	u_short		index;
index             240 dev/i2c/adt7460.c 		if (worklist[i].index >= 32768 &&
index             241 dev/i2c/adt7460.c 		    sc->chip->ratio[worklist[i].index - 32768] == 0)
index             264 dev/i2c/adt7460.c 		if (worklist[i].index >= 32768) {
index             265 dev/i2c/adt7460.c 			ratio = sc->chip->ratio[worklist[i].index - 32768];
index             151 dev/i2c/maxim6690.c     int index)
index             167 dev/i2c/maxim6690.c 	sc->sc_sensor[index].value = 273150000 +
index             172 dev/i2c/maxim6690.c 	sc->sc_sensor[index].flags |= SENSOR_FINVALID;
index             513 dev/ic/aacvar.h #define AACQ_COMMAND_QUEUE(name, index)					\
index             518 dev/ic/aacvar.h 	AACQ_INIT(sc, index);						\
index             530 dev/ic/aacvar.h 	cm->cm_flags |= AAC_ON_ ## index;				\
index             531 dev/ic/aacvar.h 	AACQ_ADD(cm->cm_sc, index);					\
index             543 dev/ic/aacvar.h 	cm->cm_flags |= AAC_ON_ ## index;				\
index             544 dev/ic/aacvar.h 	AACQ_ADD(cm->cm_sc, index);					\
index             553 dev/ic/aacvar.h 		if ((cm->cm_flags & AAC_ON_ ## index) == 0) {		\
index             556 dev/ic/aacvar.h 			       AAC_ON_ ## index);			\
index             560 dev/ic/aacvar.h 		cm->cm_flags &= ~AAC_ON_ ## index;			\
index             561 dev/ic/aacvar.h 		AACQ_REMOVE(sc, index);					\
index             569 dev/ic/aacvar.h 	if ((cm->cm_flags & AAC_ON_ ## index) == 0) {			\
index             572 dev/ic/aacvar.h 		       AAC_ON_ ## index);				\
index             576 dev/ic/aacvar.h 	cm->cm_flags &= ~AAC_ON_ ## index;				\
index             577 dev/ic/aacvar.h 	AACQ_REMOVE(cm->cm_sc, index);					\
index             836 dev/ic/ac97.c  	if (dip->index < as->num_source_info) {
index             837 dev/ic/ac97.c  		struct ac97_source_info *si = &as->source_info[dip->index];
index             206 dev/ic/acx111.c 	uint8_t		index;		/* XXX ?? */
index            1256 dev/ic/advlib.h #define ASC_SYN_INDEX_TO_PERIOD(sc, index)			(u_int8_t)((sc)->sdtr_period_tbl[ (index) ])
index            4241 dev/ic/aic79xx.c 	u_int index;
index            4244 dev/ic/aic79xx.c 	index = 0;
index            4246 dev/ic/aic79xx.c 	while (index < ahd->msgout_len) {
index            4247 dev/ic/aic79xx.c 		if (ahd->msgout_buf[index] == MSG_EXTENDED) {
index            4250 dev/ic/aic79xx.c 			end_index = index + 1 + ahd->msgout_buf[index + 1];
index            4251 dev/ic/aic79xx.c 			if (ahd->msgout_buf[index+2] == msgval
index            4257 dev/ic/aic79xx.c 				} else if (ahd->msgout_index > index)
index            4260 dev/ic/aic79xx.c 			index = end_index;
index            4261 dev/ic/aic79xx.c 		} else if (ahd->msgout_buf[index] >= MSG_SIMPLE_TASK
index            4262 dev/ic/aic79xx.c 			&& ahd->msgout_buf[index] <= MSG_IGN_WIDE_RESIDUE) {
index            4265 dev/ic/aic79xx.c 			index += 2;
index            4269 dev/ic/aic79xx.c 			 && ahd->msgout_index > index
index            4270 dev/ic/aic79xx.c 			 && (ahd->msgout_buf[index] == msgval
index            4271 dev/ic/aic79xx.c 			  || ((ahd->msgout_buf[index] & MSG_IDENTIFYFLAG) != 0
index            4274 dev/ic/aic79xx.c 			index++;
index            10365 dev/ic/aic79xx.c ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index)
index            10367 dev/ic/aic79xx.c 	return (((uint8_t *)&ahd->targetcmds[index])
index            3021 dev/ic/aic7xxx.c 	u_int index;
index            3024 dev/ic/aic7xxx.c 	index = 0;
index            3026 dev/ic/aic7xxx.c 	while (index < ahc->msgout_len) {
index            3027 dev/ic/aic7xxx.c 		if (ahc->msgout_buf[index] == MSG_EXTENDED) {
index            3030 dev/ic/aic7xxx.c 			end_index = index + 1 + ahc->msgout_buf[index + 1];
index            3031 dev/ic/aic7xxx.c 			if (ahc->msgout_buf[index+2] == msgval
index            3037 dev/ic/aic7xxx.c 				} else if (ahc->msgout_index > index)
index            3040 dev/ic/aic7xxx.c 			index = end_index;
index            3041 dev/ic/aic7xxx.c 		} else if (ahc->msgout_buf[index] >= MSG_SIMPLE_TASK
index            3042 dev/ic/aic7xxx.c 			&& ahc->msgout_buf[index] <= MSG_IGN_WIDE_RESIDUE) {
index            3045 dev/ic/aic7xxx.c 			index += 2;
index            3049 dev/ic/aic7xxx.c 			 && ahc->msgout_buf[index] == msgval
index            3050 dev/ic/aic7xxx.c 			 && ahc->msgout_index > index)
index            3052 dev/ic/aic7xxx.c 			index++;
index             175 dev/ic/aic7xxx_inline.h 			ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index);
index             181 dev/ic/aic7xxx_inline.h 					     u_int index);
index             210 dev/ic/aic7xxx_inline.h ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index)
index             213 dev/ic/aic7xxx_inline.h 		+ (sizeof(struct hardware_scb) * index));
index             227 dev/ic/aic7xxx_inline.h ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index)
index             229 dev/ic/aic7xxx_inline.h 	return (((uint8_t *)&ahc->targetcmds[index]) - ahc->qoutfifo);
index            1232 dev/ic/ar5210.c ar5k_ar5210_set_mcast_filterindex(struct ath_hal *hal, u_int32_t index)
index            1234 dev/ic/ar5210.c 	if (index >= 64) {
index            1236 dev/ic/ar5210.c 	} else if (index >= 32) {
index            1238 dev/ic/ar5210.c 		    (1 << (index - 32)));
index            1241 dev/ic/ar5210.c 		    (1 << index));
index            1248 dev/ic/ar5210.c ar5k_ar5210_clear_mcast_filter_idx(struct ath_hal *hal, u_int32_t index)
index            1250 dev/ic/ar5210.c 	if (index >= 64) {
index            1252 dev/ic/ar5210.c 	} else if (index >= 32) {
index            1254 dev/ic/ar5210.c 		    (1 << (index - 32)));
index            1257 dev/ic/ar5210.c 		    (1 << index));
index            1339 dev/ic/ar5211.c ar5k_ar5211_set_mcast_filterindex(struct ath_hal *hal, u_int32_t index)
index            1341 dev/ic/ar5211.c 	if (index >= 64) {
index            1343 dev/ic/ar5211.c 	} else if (index >= 32) {
index            1345 dev/ic/ar5211.c 		(1 << (index - 32)));
index            1348 dev/ic/ar5211.c 		(1 << index));
index            1355 dev/ic/ar5211.c ar5k_ar5211_clear_mcast_filter_idx(struct ath_hal *hal, u_int32_t index)
index            1358 dev/ic/ar5211.c 	if (index >= 64) {
index            1360 dev/ic/ar5211.c 	} else if (index >= 32) {
index            1362 dev/ic/ar5211.c 		(1 << (index - 32)));
index            1365 dev/ic/ar5211.c 		(1 << index));
index            1570 dev/ic/ar5212.c ar5k_ar5212_set_mcast_filterindex(struct ath_hal *hal, u_int32_t index)
index            1572 dev/ic/ar5212.c 	if (index >= 64) {
index            1574 dev/ic/ar5212.c 	} else if (index >= 32) {
index            1576 dev/ic/ar5212.c 		(1 << (index - 32)));
index            1579 dev/ic/ar5212.c 		(1 << index));
index            1586 dev/ic/ar5212.c ar5k_ar5212_clear_mcast_filter_idx(struct ath_hal *hal, u_int32_t index)
index            1589 dev/ic/ar5212.c 	if (index >= 64) {
index            1591 dev/ic/ar5212.c 	} else if (index >= 32) {
index            1593 dev/ic/ar5212.c 		(1 << (index - 32)));
index            1596 dev/ic/ar5212.c 		(1 << index));
index             989 dev/ic/ar5xxx.h 	    u_int32_t index); \
index             991 dev/ic/ar5xxx.h 	    u_int32_t index); \
index            1724 dev/ic/awi.c   			sc->sc_bss.index = 1;
index            1977 dev/ic/awi.c   		bp->index = parms[6];
index            1982 dev/ic/awi.c   		bp->index = 0;
index            2002 dev/ic/awi.c   		    bp->pattern, bp->index, bp->dwell_time, bp->interval,
index            2031 dev/ic/awi.c   	awi_write_1(sc, AWI_CMD_PARAMS+AWI_CA_SYNC_IDX, bp->index);
index              69 dev/ic/awivar.h 	u_int8_t	index;		/* index to use */
index             368 dev/ic/bt463.c 	u_int count, index;
index             371 dev/ic/bt463.c 	index = cmapp->index;
index             374 dev/ic/bt463.c 	if (index >= BT463_NCMAP_ENTRIES || count > BT463_NCMAP_ENTRIES - index)
index             379 dev/ic/bt463.c 	if ((error = copyin(cmapp->red, &data->cmap_r[index], count)) != 0) {
index             383 dev/ic/bt463.c 	if ((error = copyin(cmapp->green, &data->cmap_g[index], count)) != 0) {
index             387 dev/ic/bt463.c 	if ((error = copyin(cmapp->blue, &data->cmap_b[index], count)) != 0) {
index             406 dev/ic/bt463.c 	u_int count, index;
index             410 dev/ic/bt463.c 	index = cmapp->index;
index             412 dev/ic/bt463.c 	if (index >= BT463_NCMAP_ENTRIES || count > BT463_NCMAP_ENTRIES - index)
index             415 dev/ic/bt463.c 	error = copyout(&data->cmap_r[index], cmapp->red, count);
index             418 dev/ic/bt463.c 	error = copyout(&data->cmap_g[index], cmapp->green, count);
index             421 dev/ic/bt463.c 	error = copyout(&data->cmap_b[index], cmapp->blue, count);
index             430 dev/ic/bt463.c 	u_int index, count;
index             434 dev/ic/bt463.c 	index = cursorp->cmap.index;
index             437 dev/ic/bt463.c 	if (index >= 2 || count > 2 - index)
index             456 dev/ic/bt463.c 	int count, index;
index             460 dev/ic/bt463.c 	index = cursorp->cmap.index;
index             461 dev/ic/bt463.c 	copyin(cursorp->cmap.red, &data->curcmap_r[index], count);
index             462 dev/ic/bt463.c 	copyin(cursorp->cmap.green, &data->curcmap_g[index], count);
index             463 dev/ic/bt463.c 	copyin(cursorp->cmap.blue, &data->curcmap_b[index], count);
index             476 dev/ic/bt463.c 	cursorp->cmap.index = 0;	/* DOCMAP */
index             269 dev/ic/bt485.c 	u_int count, index;
index             278 dev/ic/bt485.c 	index = cmapp->index;
index             281 dev/ic/bt485.c 	if (index >= 256 || count > 256 - index)
index             286 dev/ic/bt485.c 	if ((error = copyin(cmapp->red, &data->cmap_r[index], count)) != 0) {
index             290 dev/ic/bt485.c 	if ((error = copyin(cmapp->green, &data->cmap_g[index], count)) != 0) {
index             294 dev/ic/bt485.c 	if ((error = copyin(cmapp->blue, &data->cmap_b[index], count)) != 0) {
index             316 dev/ic/bt485.c 	u_int count, index;
index             319 dev/ic/bt485.c 	if (cmapp->index >= 256 || cmapp->count > 256 - cmapp->index)
index             323 dev/ic/bt485.c 	index = cmapp->index;
index             325 dev/ic/bt485.c 	error = copyout(&data->cmap_r[index], cmapp->red, count);
index             328 dev/ic/bt485.c 	error = copyout(&data->cmap_g[index], cmapp->green, count);
index             331 dev/ic/bt485.c 	error = copyout(&data->cmap_b[index], cmapp->blue, count);
index             341 dev/ic/bt485.c 	u_int count, index;
index             352 dev/ic/bt485.c 		index = cursorp->cmap.index;
index             354 dev/ic/bt485.c 		if (index >= 2 || count > 2 - index)
index             379 dev/ic/bt485.c 		index = cursorp->cmap.index;
index             382 dev/ic/bt485.c 		    &data->curcmap_r[index], count)) != 0) {
index             387 dev/ic/bt485.c 		    &data->curcmap_g[index], count)) != 0) {
index             392 dev/ic/bt485.c 		    &data->curcmap_b[index], count)) != 0) {
index             438 dev/ic/bt485.c 	cursorp->cmap.index = 0;	/* DOCMAP */
index             385 dev/ic/bt8xx.h 	u_int          index;         /* Index in supported pixfmt list     */
index             447 dev/ic/bt8xx.h        short   index;
index            1085 dev/ic/gdt_common.c gdt_sync_event(gdt, service, index, xs)
index            1088 dev/ic/gdt_common.c 	u_int8_t index;
index            1092 dev/ic/gdt_common.c 	    ("gdt_sync_event(%p, %d, %d, %p) ", gdt, service, index, xs));
index             139 dev/ic/gdtvar.h 			u_int32_t index;
index             275 dev/ic/hmereg.h #define HME_XD_FLAGS(base, index)	((base) + ((index) * HME_XD_SIZE) + 0)
index             276 dev/ic/hmereg.h #define HME_XD_ADDR(base, index)	((base) + ((index) * HME_XD_SIZE) + 4)
index             278 dev/ic/ibm561.c 	u_int count, index;
index             282 dev/ic/ibm561.c 	index = cmapp->index;
index             285 dev/ic/ibm561.c 	if (index >= IBM561_NCMAP_ENTRIES ||
index             286 dev/ic/ibm561.c 	    count > IBM561_NCMAP_ENTRIES - index)
index             290 dev/ic/ibm561.c 	if ((error = copyin(cmapp->red, &data->cmap_r[index], count)) != 0) {
index             294 dev/ic/ibm561.c 	if ((error = copyin(cmapp->green, &data->cmap_g[index], count)) != 0) {
index             298 dev/ic/ibm561.c 	if ((error = copyin(cmapp->blue, &data->cmap_b[index], count)) != 0) {
index             314 dev/ic/ibm561.c 	u_int count, index;
index             317 dev/ic/ibm561.c 	if (cmapp->index >= IBM561_NCMAP_ENTRIES ||
index             318 dev/ic/ibm561.c 	    cmapp->count > IBM561_NCMAP_ENTRIES - cmapp->index)
index             321 dev/ic/ibm561.c 	index = cmapp->index;
index             322 dev/ic/ibm561.c 	error = copyout(&data->cmap_r[index], cmapp->red, count);
index             325 dev/ic/ibm561.c 	error = copyout(&data->cmap_g[index], cmapp->green, count);
index             328 dev/ic/ibm561.c 	error = copyout(&data->cmap_b[index], cmapp->blue, count);
index            2834 dev/ic/isp.c   			int index = (ftype >> 3);
index            2837 dev/ic/isp.c   			    (fs1->snscb_fc4_features[index] >> bshft) & 0xf;
index             167 dev/ic/malo.c  	uint16_t	index;
index            2141 dev/ic/malo.c  	body->index = k_index;
index             152 dev/ic/p9000.h #define	P9100_RAMDAC_REGISTER(index)		(0x00000200 + ((index) << 2))
index             184 dev/ic/p9000.h #define	P9000_PE_PIXEL1(index)			(0x00000080 + ((index) << 2))
index             267 dev/ic/p9000.h #define	P9000_DE_PATTERN(index)			(0x00000280 + ((index) << 2))
index             270 dev/ic/p9000.h #define	P9000_DE_USER(index)			(0x00000290 + ((index) << 2))
index             296 dev/ic/p9000.h #define	P9000_DC_COORD(index)			(0x00001000 + ((index) * 0x40))
index             329 dev/ic/pcdisplay_chars.c pcdisplay_mapchar(id, uni, index)
index             332 dev/ic/pcdisplay_chars.c 	unsigned int *index;
index             337 dev/ic/pcdisplay_chars.c 		*index = uni;
index             340 dev/ic/pcdisplay_chars.c 		*index = isomappings[uni - 128];
index             346 dev/ic/pcdisplay_chars.c 			*index = unimappings[i].ibm;
index             352 dev/ic/pcdisplay_chars.c 			*index = replacements[i].ibm;
index             356 dev/ic/pcdisplay_chars.c 	*index = NOTPRINTABLE;
index              57 dev/ic/sti.c   int  sti_mapchar(void *v, int uni, u_int *index);
index             638 dev/ic/sti.c   			a.in.index = uc;
index             823 dev/ic/sti.c   		idx = cmapp->index;
index             839 dev/ic/sti.c   		idx = cmapp->index;
index             980 dev/ic/sti.c   sti_mapchar(v, uni, index)
index             983 dev/ic/sti.c   	u_int *index;
index            1006 dev/ic/sti.c   		*index = ' ';
index            1010 dev/ic/sti.c   	*index = c;
index            1043 dev/ic/sti.c   		a.in.index = uc;
index             297 dev/ic/stireg.h 	u_int16_t	index;		/* character index in the font */
index            2937 dev/ic/trm.c   	int syncXfer, index;
index            2939 dev/ic/trm.c   	index = pDCB->SyncPeriod & ~(WIDE_SYNC | ALT_SYNC);
index            2950 dev/ic/trm.c   		syncXfer = 100000 / (trm_clock_period[index] * 4);
index             878 dev/ic/vga.c   	if (data->index < 0) {
index             883 dev/ic/vga.c   		slot = data->index;
index             908 dev/ic/vga.c   	data->index = slot;
index            1194 dev/ic/vga.c   vga_pcvt_mapchar(uni, index)
index            1196 dev/ic/vga.c   	unsigned int *index;
index            1202 dev/ic/vga.c   			*index = i;
index            1205 dev/ic/vga.c   	*index = 0x99; /* middle dot */
index            1214 dev/ic/vga.c   _vga_mapchar(id, font, uni, index)
index            1218 dev/ic/vga.c   	unsigned int *index;
index            1224 dev/ic/vga.c   			*index = uni;
index            1227 dev/ic/vga.c   			*index = ' ';
index            1232 dev/ic/vga.c   		return (pcdisplay_mapchar(id, uni, index));
index            1235 dev/ic/vga.c   		return (vga_pcvt_mapchar(uni, index));
index            1241 dev/ic/vga.c   		*index = ' ';
index            1247 dev/ic/vga.c   vga_mapchar(id, uni, index)
index            1250 dev/ic/vga.c   	unsigned int *index;
index            1266 dev/ic/vga.c   		*index = idx2 | 0x0800; /* attribute bit 3 */
index            1269 dev/ic/vga.c   	*index = idx1;
index             943 dev/isa/ad1848.c     switch (fp->index) {
index             582 dev/isa/aria.c 	switch (fp->index) {
index            1539 dev/isa/aria.c 	switch(dip->index) {
index             831 dev/isa/ega.c  	if (data->index < 0) {
index             836 dev/isa/ega.c  		slot = data->index;
index             861 dev/isa/ega.c  	data->index = slot;
index            1136 dev/isa/ess.c  	switch (fp->index) {
index            1906 dev/isa/ess.c  		    sc->sc_model, dip->index));
index            1917 dev/isa/ess.c  	switch (dip->index) {
index            2115 dev/isa/ess.c  	switch (dip->index) {
index            2402 dev/isa/ess.c  	di.index = ESS_RECORD_SOURCE;
index            2435 dev/isa/ess.c  	di.index = ESS_RECORD_SOURCE;
index            2896 dev/isa/gus.c  	DPRINTF(("gusmax_query_devinfo: index=%d\n", dip->index));
index            2898 dev/isa/gus.c  	switch(dip->index) {
index            3114 dev/isa/gus.c  	DPRINTF(("gusmax_query_devinfo: index=%d\n", dip->index));
index            3116 dev/isa/gus.c  	if (!HAS_MIXER(sc) && dip->index > GUSICS_MASTER_MUTE)
index            3119 dev/isa/gus.c  	switch(dip->index) {
index            3267 dev/isa/gus.c  	switch (fp->index) {
index            1420 dev/isa/pss.c      DPRINTF(("pss_query_devinfo: index=%d\n", dip->index));
index            1422 dev/isa/pss.c      switch(dip->index) {
index             458 dev/isa/sbdsp.c 	switch (fp->index) {
index             487 dev/isa/sbdsp.c         switch(fp->index) {
index            1903 dev/isa/sbdsp.c 		 sc->sc_mixer_model, dip->index));
index            1912 dev/isa/sbdsp.c 	switch (dip->index) {
index            1959 dev/isa/sbdsp.c 	switch (dip->index) {
index            2079 dev/isa/sbdsp.c 	switch(dip->index) {
index              96 dev/isa/viasio.c viasio_conf_read(bus_space_tag_t iot, bus_space_handle_t ioh, u_int8_t index)
index              98 dev/isa/viasio.c 	bus_space_write_1(iot, ioh, VT1211_INDEX, index);
index             103 dev/isa/viasio.c viasio_conf_write(bus_space_tag_t iot, bus_space_handle_t ioh, u_int8_t index,
index             106 dev/isa/viasio.c 	bus_space_write_1(iot, ioh, VT1211_INDEX, index);
index             206 dev/isa/wss.c      DPRINTF(("wss_query_devinfo: index=%d\n", dip->index));
index             208 dev/isa/wss.c      switch(dip->index) {
index             449 dev/isa/ym.c   	switch (dip->index) {
index             456 dev/isa/ym.c   		dip->mixer_class = dip->index;
index             458 dev/isa/ym.c   		    mixer_classes[dip->index - YM_INPUT_CLASS],
index             470 dev/isa/ym.c   		if (dip->index == YM_MONITOR_LVL)
index             475 dev/isa/ym.c   		dip->next = dip->index + 7;
index             478 dev/isa/ym.c   		    mixer_port_names[dip->index - YM_MIDI_LVL],
index             481 dev/isa/ym.c   		if (dip->index == YM_SPEAKER_LVL ||
index             482 dev/isa/ym.c   		    dip->index == YM_MIC_LVL)
index             498 dev/isa/ym.c   		if (dip->index == YM_MONITOR_MUTE)
index             503 dev/isa/ym.c   		dip->prev = dip->index - 7;
index             657 dev/pci/auich.c 	switch (aep->index) {
index             222 dev/pci/auixp.c 	switch (aep->index) {
index             253 dev/pci/autri.c autri_read_codec(sc_, index, data)
index             255 dev/pci/autri.c 	u_int8_t index;
index             309 dev/pci/autri.c 	TWRITE4(sc, addr, (index & 0x7f) | cmd);
index             331 dev/pci/autri.c autri_write_codec(sc_, index, data)
index             333 dev/pci/autri.c 	u_int8_t index;
index             386 dev/pci/autri.c 	TWRITE4(sc, addr, (data << 16) | (index & 0x7f) | cmd);
index             943 dev/pci/autri.c 	switch (fp->index) {
index             463 dev/pci/auvia.c 	switch (fp->index) {
index            1812 dev/pci/azalia.c 	int err, index;
index            1832 dev/pci/azalia.c 	for (index = 0; index < HDA_BDL_MAX; index++) {
index            1833 dev/pci/azalia.c 		bdlist[index].low = htole32(dmaaddr);
index            1834 dev/pci/azalia.c 		bdlist[index].high = htole32(PTR_UPPER32(dmaaddr));
index            1835 dev/pci/azalia.c 		bdlist[index].length = htole32(blk);
index            1836 dev/pci/azalia.c 		bdlist[index].flags = htole32(BDLIST_ENTRY_IOC);
index            1839 dev/pci/azalia.c 			index++;
index            1847 dev/pci/azalia.c 	STR_WRITE_2(this, LVI, (index - 1) & HDA_SD_LVI_LVI);
index            1947 dev/pci/azalia.c 		if (i == enc->index) {
index            2144 dev/pci/azalia.c 	if (mdev->index >= co->nmixers)
index            2146 dev/pci/azalia.c 	*mdev = co->mixers[mdev->index].devinfo;
index             336 dev/pci/azalia_codec.c azalia_generic_codec_find_dac(const codec_t *this, int index, int depth)
index             341 dev/pci/azalia_codec.c 	w = &this->w[index];
index             344 dev/pci/azalia_codec.c 		    __func__, w->nid, index));
index             345 dev/pci/azalia_codec.c 		return index;
index             356 dev/pci/azalia_codec.c 				    __func__, w->nid, index));
index             368 dev/pci/azalia_codec.c 			    __func__, w->nid, index));
index             405 dev/pci/azalia_codec.c 	m->devinfo.index = AZ_CLASS_INPUT;
index             415 dev/pci/azalia_codec.c 	m->devinfo.index = AZ_CLASS_OUTPUT;
index             425 dev/pci/azalia_codec.c 	m->devinfo.index = AZ_CLASS_RECORD;
index             791 dev/pci/azalia_codec.c 		if (d->index != 0 && d->index != i)
index             793 dev/pci/azalia_codec.c 			    d->index, i);
index             795 dev/pci/azalia_codec.c 		d->index = i;
index            2248 dev/pci/bktr/bktr_core.c 		pixfmt = pf_pub->index;
index            2257 dev/pci/bktr/bktr_core.c 		pf_pub->index       = pixfmt;
index             995 dev/pci/bktr/bktr_tuner.c        if (( chnlset->index < CHNLSET_MIN ) ||
index             996 dev/pci/bktr/bktr_tuner.c                ( chnlset->index > CHNLSET_MAX ))
index             999 dev/pci/bktr/bktr_tuner.c        memcpy(&chnlset->name, &freqTable[chnlset->index].name,
index            1002 dev/pci/bktr/bktr_tuner.c        chnlset->max_channel=freqTable[chnlset->index].ptr[0];
index             338 dev/pci/cmpci.c cmpci_index_to_rate(int index)
index             340 dev/pci/cmpci.c 	return cmpci_rate_table[index].rate;
index             344 dev/pci/cmpci.c cmpci_index_to_divider(int index)
index             346 dev/pci/cmpci.c 	return cmpci_rate_table[index].divider;
index             565 dev/pci/cmpci.c 	switch (fp->index) {
index             872 dev/pci/cmpci.c 	switch (dip->index) {
index             879 dev/pci/cmpci.c 		dip->mixer_class = dip->index;
index             881 dev/pci/cmpci.c 		    mixer_classes[dip->index - CMPCI_INPUT_CLASS],
index             895 dev/pci/cmpci.c 		dip->next = dip->index + 6;	/* CMPCI_xxx_MUTE */
index             896 dev/pci/cmpci.c 		strlcpy(dip->label.name, mixer_port_names[dip->index],
index             898 dev/pci/cmpci.c 		dip->un.v.num_channels = (dip->index == CMPCI_MIC_VOL ? 1 : 2);
index             913 dev/pci/cmpci.c 		dip->prev = dip->index - 6;	/* CMPCI_xxx_VOL */
index            1045 dev/pci/cs4280.c 	switch (fp->index) {
index             456 dev/pci/cs4281.c 	switch (fp->index) {
index             880 dev/pci/eap.c  	switch (fp->index) {
index            1451 dev/pci/eap.c  	switch (dip->index) {
index            2059 dev/pci/emuxki.c 	switch (fp->index) {
index             245 dev/pci/esa.c  	if (ae->index < 0 || ae->index >= ESA_NENCODINGS)
index             247 dev/pci/esa.c  	*ae = esa_encoding[ae->index];
index             351 dev/pci/esa.c  	vc->play.data_offset = ESA_DAC_DATA + (data_bytes * vc->index);
index             373 dev/pci/esa.c  	vc->rec.data_offset = ESA_DAC_DATA + (data_bytes * vc->index) +
index             441 dev/pci/esa.c  		       sc->mixer_list.indexmap[vc->index]);
index             443 dev/pci/esa.c  	esa_remove_list(vc, &sc->mixer_list, vc->index);
index             444 dev/pci/esa.c  	esa_remove_list(vc, &sc->dma_list, vc->index);
index             445 dev/pci/esa.c  	esa_remove_list(vc, &sc->msrc_list, vc->index);
index             481 dev/pci/esa.c  	esa_remove_list(vc, &sc->adc1_list, vc->index + ESA_NUM_VOICES);
index             482 dev/pci/esa.c  	esa_remove_list(vc, &sc->dma_list, vc->index + ESA_NUM_VOICES);
index             483 dev/pci/esa.c  	esa_remove_list(vc, &sc->msrc_list, vc->index + ESA_NUM_VOICES);
index             604 dev/pci/esa.c  	int dac_data = ESA_DAC_DATA + (data_bytes * vc->index);
index             687 dev/pci/esa.c  		     vc->index);
index             689 dev/pci/esa.c  		     vc->index);
index             691 dev/pci/esa.c  		     vc->index);
index             714 dev/pci/esa.c  	    sc->mixer_list.indexmap[vc->index]);
index             737 dev/pci/esa.c  	int adc_data = ESA_DAC_DATA + (data_bytes * vc->index) +
index             746 dev/pci/esa.c  	if (vc->index > 0)
index             820 dev/pci/esa.c  		     vc->index + ESA_NUM_VOICES);
index             822 dev/pci/esa.c  		     vc->index + ESA_NUM_VOICES);
index             824 dev/pci/esa.c  		     vc->index + ESA_NUM_VOICES);
index            1131 dev/pci/esa.c  		sc->voice[i].index = i;
index            1166 dev/pci/esa.c  esa_read_assp(struct esa_softc *sc, u_int16_t region, u_int16_t index)
index            1174 dev/pci/esa.c  	bus_space_write_2(iot, ioh, ESA_DSP_PORT_MEMORY_INDEX, index);
index            1181 dev/pci/esa.c  esa_write_assp(struct esa_softc *sc, u_int16_t region, u_int16_t index,
index            1189 dev/pci/esa.c  	bus_space_write_2(iot, ioh, ESA_DSP_PORT_MEMORY_INDEX, index);
index            1548 dev/pci/esa.c  	     u_int16_t val, int index)
index            1552 dev/pci/esa.c  	el->indexmap[index] = el->currlen;
index            1561 dev/pci/esa.c  esa_remove_list(struct esa_voice *vc, struct esa_list *el, int index)
index            1566 dev/pci/esa.c  	int vindex = el->indexmap[index];
index            1570 dev/pci/esa.c  	el->indexmap[index] = -1;
index            1634 dev/pci/esa.c  	int i, index;
index            1636 dev/pci/esa.c  	index = 0;
index            1646 dev/pci/esa.c  		sc->savemem[index++] = esa_read_assp(sc,
index            1650 dev/pci/esa.c  		sc->savemem[index++] = esa_read_assp(sc,
index            1662 dev/pci/esa.c  	int i, index;
index            1665 dev/pci/esa.c  	index = 0;
index            1680 dev/pci/esa.c  		    sc->savemem[index++]);
index            1684 dev/pci/esa.c  		    sc->savemem[index++]);
index              75 dev/pci/esavar.h 	int			index;
index              96 dev/pci/esavar.h 	int			index;	/* 0: play, 1: record */
index             637 dev/pci/eso.c  	switch (fp->index) {
index            1182 dev/pci/eso.c  	switch (dip->index) {
index             465 dev/pci/fms.c  	switch (fp->index) {
index             109 dev/pci/if_em_hw.c static int32_t em_read_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t *data);
index             110 dev/pci/if_em_hw.c static int32_t em_verify_write_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t byte);
index             111 dev/pci/if_em_hw.c static int32_t em_write_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t byte);
index             112 dev/pci/if_em_hw.c static int32_t em_read_ich8_word(struct em_hw *hw, uint32_t index, uint16_t *data);
index             113 dev/pci/if_em_hw.c static int32_t em_read_ich8_data(struct em_hw *hw, uint32_t index, uint32_t size, uint16_t *data);
index             114 dev/pci/if_em_hw.c static int32_t em_write_ich8_data(struct em_hw *hw, uint32_t index, uint32_t size, uint16_t data);
index            5715 dev/pci/if_em_hw.c               uint32_t index)
index            5757 dev/pci/if_em_hw.c     E1000_WRITE_REG_ARRAY(hw, RA, (index << 1), rar_low);
index            5759 dev/pci/if_em_hw.c     E1000_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high);
index            7790 dev/pci/if_em_hw.c em_read_ich8_data(struct em_hw *hw, uint32_t index,
index            7803 dev/pci/if_em_hw.c         index > ICH_FLASH_LINEAR_ADDR_MASK)
index            7806 dev/pci/if_em_hw.c     flash_linear_address = (ICH_FLASH_LINEAR_ADDR_MASK & index) +
index            7869 dev/pci/if_em_hw.c em_write_ich8_data(struct em_hw *hw, uint32_t index, uint32_t size,
index            7882 dev/pci/if_em_hw.c         index > ICH_FLASH_LINEAR_ADDR_MASK)
index            7885 dev/pci/if_em_hw.c     flash_linear_address = (ICH_FLASH_LINEAR_ADDR_MASK & index) +
index            7944 dev/pci/if_em_hw.c em_read_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t* data)
index            7949 dev/pci/if_em_hw.c     status = em_read_ich8_data(hw, index, 1, &word);
index            7967 dev/pci/if_em_hw.c em_verify_write_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t byte)
index            7972 dev/pci/if_em_hw.c     DEBUGOUT2("Byte := %2.2X Offset := %d\n", byte, index);
index            7974 dev/pci/if_em_hw.c     error = em_write_ich8_byte(hw, index, byte);
index            7978 dev/pci/if_em_hw.c             DEBUGOUT2("Retrying \t Byte := %2.2X Offset := %d\n", byte, index);
index            7979 dev/pci/if_em_hw.c             error = em_write_ich8_byte(hw, index, byte);
index            8000 dev/pci/if_em_hw.c em_write_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t data)
index            8005 dev/pci/if_em_hw.c     status = em_write_ich8_data(hw, index, 1, word);
index            8018 dev/pci/if_em_hw.c em_read_ich8_word(struct em_hw *hw, uint32_t index, uint16_t *data)
index            8021 dev/pci/if_em_hw.c     status = em_read_ich8_data(hw, index, 2, data);
index             115 dev/pci/if_em_osdep.h #define E1000_READ_REG_ARRAY(hw, reg, index) \
index             119 dev/pci/if_em_osdep.h 			  + ((index) << 2))
index             121 dev/pci/if_em_osdep.h #define E1000_WRITE_REG_ARRAY(hw, reg, index, value) \
index             125 dev/pci/if_em_osdep.h 			   + ((index) << 2), value)
index             130 dev/pci/if_em_osdep.h #define E1000_WRITE_REG_ARRAY_BYTE(hw, reg, index, value) \
index             134 dev/pci/if_em_osdep.h 			   + index), value)
index             136 dev/pci/if_em_osdep.h #define E1000_WRITE_REG_ARRAY_WORD(hw, reg, index, value) \
index             140 dev/pci/if_em_osdep.h 			   + (index << 1)), value)
index             347 dev/pci/if_iwireg.h 	uint32_t	index;
index             615 dev/pci/if_nge.c 	int			bit, index;
index             657 dev/pci/if_nge.c 		index = (h >> 4) & 0x7F;
index             660 dev/pci/if_nge.c 		    NGE_FILTADDR_MCAST_LO + (index * 2));
index             722 dev/pci/if_sis.c 	int			bit, index;
index             760 dev/pci/if_sis.c 		index = h >> 3;
index             762 dev/pci/if_sis.c 		CSR_WRITE_4(sc, SIS_RXFILT_CTL, NS_FILTADDR_FMEM_LO + index);
index             480 dev/pci/if_ti.c 	u_int32_t		index;
index             482 dev/pci/if_ti.c 	index = sc->ti_cmd_saved_prodidx;
index             483 dev/pci/if_ti.c 	CSR_WRITE_4(sc, TI_GCR_CMDRING + (index * 4), *(u_int32_t *)(cmd));
index             484 dev/pci/if_ti.c 	TI_INC(index, TI_CMD_RING_CNT);
index             485 dev/pci/if_ti.c 	CSR_WRITE_4(sc, TI_MB_CMDPROD_IDX, index);
index             486 dev/pci/if_ti.c 	sc->ti_cmd_saved_prodidx = index;
index             497 dev/pci/if_ti.c 	u_int32_t		index;
index             500 dev/pci/if_ti.c 	index = sc->ti_cmd_saved_prodidx;
index             501 dev/pci/if_ti.c 	CSR_WRITE_4(sc, TI_GCR_CMDRING + (index * 4), *(u_int32_t *)(cmd));
index             502 dev/pci/if_ti.c 	TI_INC(index, TI_CMD_RING_CNT);
index             504 dev/pci/if_ti.c 		CSR_WRITE_4(sc, TI_GCR_CMDRING + (index * 4),
index             506 dev/pci/if_ti.c 		TI_INC(index, TI_CMD_RING_CNT);
index             508 dev/pci/if_ti.c 	CSR_WRITE_4(sc, TI_MB_CMDPROD_IDX, index);
index             509 dev/pci/if_ti.c 	sc->ti_cmd_saved_prodidx = index;
index            2013 dev/pci/if_wpi.c 		group->samples[i].index = rgroup.samples[i].index;
index            2017 dev/pci/if_wpi.c 		    group->samples[i].index, group->samples[i].power));
index            2243 dev/pci/if_wpi.c 	idx = interpolate(pwr, sample[0].power, sample[0].index,
index            2244 dev/pci/if_wpi.c 	    sample[1].power, sample[1].index, 19);
index             620 dev/pci/if_wpireg.h 	uint8_t		index;
index             114 dev/pci/if_wpivar.h 	uint8_t	index;
index             555 dev/pci/ixgb_ee.c ixgb_get_eeprom_word(struct ixgb_hw *hw, uint16_t index)
index             558 dev/pci/ixgb_ee.c 	if((index < IXGB_EEPROM_SIZE) &&
index             560 dev/pci/ixgb_ee.c 		return (hw->eeprom[index]);
index             589 dev/pci/ixgb_hw.c ixgb_rar_set(struct ixgb_hw *hw, uint8_t *addr, uint32_t index)
index             606 dev/pci/ixgb_hw.c 	IXGB_WRITE_REG_ARRAY(hw, RA, (index << 1), rar_low);
index             607 dev/pci/ixgb_hw.c 	IXGB_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high);
index             828 dev/pci/ixgb_hw.h extern void ixgb_rar_set(struct ixgb_hw *hw, uint8_t *addr, uint32_t index);
index             857 dev/pci/ixgb_hw.h uint16_t ixgb_get_eeprom_word(struct ixgb_hw *hw, uint16_t index);
index             994 dev/pci/maestro.c 	if (fp->index < 0 || fp->index >= lengthof(maestro_tab))
index             996 dev/pci/maestro.c 	*fp = maestro_tab[fp->index];
index             777 dev/pci/neo.c  	switch (fp->index) {
index            5846 dev/pci/pciide.c pdc268_config_read(struct channel_softc *chp, int index)
index            5853 dev/pci/pciide.c 	    PDC268_INDEX(channel), index);
index            5860 dev/pci/pciide.c pdc268_config_write(struct channel_softc *chp, int index, u_int8_t value)
index            5867 dev/pci/pciide.c 	    PDC268_INDEX(channel), index);
index             321 dev/pci/puc.c  #define checkreg(val, index) \
index             322 dev/pci/puc.c      (((val) & puc_devices[i].rmask[(index)]) == puc_devices[i].rval[(index)])
index             607 dev/pci/sv.c   	switch (fp->index) {
index            1031 dev/pci/sv.c     if (dip->index <= SV_LAST_CLASS) {
index            1033 dev/pci/sv.c       dip->mixer_class = dip->index;
index            1035 dev/pci/sv.c       strlcpy(dip->label.name, mixer_classes[dip->index],
index            1040 dev/pci/sv.c     if (dip->index >= SV_FIRST_MIXER &&
index            1041 dev/pci/sv.c         dip->index <= SV_LAST_MIXER) {
index            1042 dev/pci/sv.c       int off = dip->index - SV_FIRST_MIXER;
index            1052 dev/pci/sv.c         dip->next = dip->index + 1;
index            1063 dev/pci/sv.c         dip->prev = dip->index - 1;
index            1080 dev/pci/sv.c     switch (dip->index) {
index             192 dev/pci/viaenv.c val_to_uV(unsigned int val, int index)
index             197 dev/pci/viaenv.c 	assert(index >= 0 && index <= 4);
index             199 dev/pci/viaenv.c 	return (25LL * val + 133) * mult[index] / 2628;
index            1136 dev/pci/yds.c  	switch (fp->index) {
index            1390 dev/pcmcia/if_malo.c cmalo_cmd_set_wep(struct malo_softc *sc, uint16_t index,
index            1407 dev/pcmcia/if_malo.c 	body->key_index = htole16(index);
index             114 dev/raidframe/rf_acctrace.h 	RF_uint64	index;
index             323 dev/sbus/agten.c agten_setcolor(v, index, r, g, b)
index             325 dev/sbus/agten.c 	u_int index;
index             330 dev/sbus/agten.c 	sc->sc_cmap.cm_red[index] = r;
index             331 dev/sbus/agten.c 	sc->sc_cmap.cm_green[index] = g;
index             332 dev/sbus/agten.c 	sc->sc_cmap.cm_blue[index] = b;
index             334 dev/sbus/agten.c 	agten_loadcmap(sc, index, 1);
index             383 dev/sbus/agten.c 	u_int index = rcm->index, count = rcm->count;
index             386 dev/sbus/agten.c 	if (index >= 256 || count > 256 - index)
index             389 dev/sbus/agten.c 	if ((error = copyout(&cm->cm_red[index], rcm->red, count)) != 0)
index             391 dev/sbus/agten.c 	if ((error = copyout(&cm->cm_green[index], rcm->green, count)) != 0)
index             393 dev/sbus/agten.c 	if ((error = copyout(&cm->cm_blue[index], rcm->blue, count)) != 0)
index             402 dev/sbus/agten.c 	u_int index = rcm->index, count = rcm->count;
index             405 dev/sbus/agten.c 	if (index >= 256 || count > 256 - index)
index             408 dev/sbus/agten.c 	if ((error = copyin(rcm->red, &cm->cm_red[index], count)) != 0)
index             410 dev/sbus/agten.c 	if ((error = copyin(rcm->green, &cm->cm_green[index], count)) != 0)
index             412 dev/sbus/agten.c 	if ((error = copyin(rcm->blue, &cm->cm_blue[index], count)) != 0)
index             303 dev/sbus/cgsix.c 			cgsix_loadcmap_deferred(sc, cm->index, cm->count);
index             305 dev/sbus/cgsix.c 			cgsix_loadcmap_immediate(sc, cm->index, cm->count);
index             323 dev/sbus/cgsix.c 			curs->cmap.index = 0;
index             605 dev/sbus/cgsix.c 	u_int index = rcm->index, count = rcm->count, i;
index             608 dev/sbus/cgsix.c 	if (index >= 256 || count > 256 - index)
index             611 dev/sbus/cgsix.c 		if ((error = copyout(&bcm->cm_map[index + i][0],
index             614 dev/sbus/cgsix.c 		if ((error = copyout(&bcm->cm_map[index + i][1],
index             617 dev/sbus/cgsix.c 		if ((error = copyout(&bcm->cm_map[index + i][2],
index             627 dev/sbus/cgsix.c 	u_int index = rcm->index, count = rcm->count, i;
index             630 dev/sbus/cgsix.c 	if (index >= 256 || count > 256 - index)
index             634 dev/sbus/cgsix.c 		    &bcm->cm_map[index + i][0], 1)) != 0)
index             637 dev/sbus/cgsix.c 		    &bcm->cm_map[index + i][1], 1)) != 0)
index             640 dev/sbus/cgsix.c 		    &bcm->cm_map[index + i][2], 1)) != 0)
index             678 dev/sbus/cgsix.c cgsix_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b)
index             683 dev/sbus/cgsix.c 	bcm->cm_map[index][0] = r;
index             684 dev/sbus/cgsix.c 	bcm->cm_map[index][1] = g;
index             685 dev/sbus/cgsix.c 	bcm->cm_map[index][2] = b;
index             686 dev/sbus/cgsix.c 	cgsix_loadcmap_immediate(sc, index, 1);
index             330 dev/sbus/cgthree.c 		cgthree_loadcmap(sc, cm->index, cm->count);
index             424 dev/sbus/cgthree.c cgthree_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b)
index             429 dev/sbus/cgthree.c 	bcm->cm_map[index][0] = r;
index             430 dev/sbus/cgthree.c 	bcm->cm_map[index][1] = g;
index             431 dev/sbus/cgthree.c 	bcm->cm_map[index][2] = b;
index             432 dev/sbus/cgthree.c 	cgthree_loadcmap(sc, index, 1);
index             453 dev/sbus/cgthree.c 	u_int index = rcm->index, count = rcm->count, i;
index             456 dev/sbus/cgthree.c 	if (index >= 256 || count > 256 - index)
index             459 dev/sbus/cgthree.c 		if ((error = copyout(&bcm->cm_map[index + i][0],
index             462 dev/sbus/cgthree.c 		if ((error = copyout(&bcm->cm_map[index + i][1],
index             465 dev/sbus/cgthree.c 		if ((error = copyout(&bcm->cm_map[index + i][2],
index             475 dev/sbus/cgthree.c 	u_int index = rcm->index, count = rcm->count, i;
index             478 dev/sbus/cgthree.c 	if (index >= 256 || count > 256 - index)
index             482 dev/sbus/cgthree.c 		    &bcm->cm_map[index + i][0], 1)) != 0)
index             485 dev/sbus/cgthree.c 		    &bcm->cm_map[index + i][1], 1)) != 0)
index             488 dev/sbus/cgthree.c 		    &bcm->cm_map[index + i][2], 1)) != 0)
index             491 dev/sbus/cs4231.c 	switch (fp->index) {
index            1110 dev/sbus/cs4231.c 	switch (dip->index) {
index             268 dev/sbus/mgx.c 		mgx_loadcmap(sc, cm->index, cm->count);
index             349 dev/sbus/mgx.c mgx_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b)
index             353 dev/sbus/mgx.c 	index *= 3;
index             354 dev/sbus/mgx.c 	sc->sc_cmap[index++] = r;
index             355 dev/sbus/mgx.c 	sc->sc_cmap[index++] = g;
index             356 dev/sbus/mgx.c 	sc->sc_cmap[index] = b;
index             358 dev/sbus/mgx.c 	mgx_loadcmap(sc, index, 1);
index             385 dev/sbus/mgx.c 	u_int index = rcm->index, count = rcm->count, i;
index             388 dev/sbus/mgx.c 	if (index >= 256 || count > 256 - index)
index             393 dev/sbus/mgx.c 		    copyout(cm + (index + i) * 3 + 0, &rcm->red[i], 1)) != 0)
index             396 dev/sbus/mgx.c 		    copyout(cm + (index + i) * 3 + 1, &rcm->green[i], 1)) != 0)
index             399 dev/sbus/mgx.c 		    copyout(cm + (index + i) * 3 + 2, &rcm->blue[i], 1)) != 0)
index             409 dev/sbus/mgx.c 	u_int index = rcm->index, count = rcm->count, i;
index             412 dev/sbus/mgx.c 	if (index >= 256 || count > 256 - index)
index             417 dev/sbus/mgx.c 		    copyin(&rcm->red[i], cm + (index + i) * 3 + 0, 1)) != 0)
index             420 dev/sbus/mgx.c 		    copyin(&rcm->green[i], cm + (index + i) * 3 + 1, 1)) != 0)
index             423 dev/sbus/mgx.c 		    copyin(&rcm->blue[i], cm + (index + i) * 3 + 2, 1)) != 0)
index             357 dev/sbus/rfx.c 		rfx_loadcmap(sc, cm->index, cm->count);
index             440 dev/sbus/rfx.c rfx_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b)
index             444 dev/sbus/rfx.c 	sc->sc_cmap.red[index] = r;
index             445 dev/sbus/rfx.c 	sc->sc_cmap.green[index] = g;
index             446 dev/sbus/rfx.c 	sc->sc_cmap.blue[index] = b;
index             448 dev/sbus/rfx.c 	rfx_loadcmap(sc, index, 1);
index             454 dev/sbus/rfx.c 	u_int index = rcm->index, count = rcm->count;
index             457 dev/sbus/rfx.c 	if (index >= 256 || count > 256 - index)
index             460 dev/sbus/rfx.c 	if ((error = copyout(cm->red + index, rcm->red, count)) != 0)
index             462 dev/sbus/rfx.c 	if ((error = copyout(cm->green + index, rcm->green, count)) != 0)
index             464 dev/sbus/rfx.c 	if ((error = copyout(cm->blue + index, rcm->blue, count)) != 0)
index             473 dev/sbus/rfx.c 	u_int index = rcm->index, count = rcm->count;
index             477 dev/sbus/rfx.c 	if (index >= 256 || count > 256 - index)
index             487 dev/sbus/rfx.c 	bcopy(red, cm->red + index, count);
index             488 dev/sbus/rfx.c 	bcopy(green, cm->green + index, count);
index             489 dev/sbus/rfx.c 	bcopy(blue, cm->blue + index, count);
index             475 dev/sbus/tvtwo.c tvtwo_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b)
index             480 dev/sbus/tvtwo.c 	tvtwo_ramdac_wraddr(sc, index);
index             393 dev/sbus/vigra.c 			vigra_loadcmap_deferred(sc, cm->index, cm->count);
index             395 dev/sbus/vigra.c 			vigra_loadcmap_immediate(sc, cm->index, cm->count);
index             468 dev/sbus/vigra.c vigra_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b)
index             473 dev/sbus/vigra.c 		sc->sc_cmap.cm_map[index][3] = r;
index             474 dev/sbus/vigra.c 		sc->sc_cmap.cm_map[index][2] = g;
index             475 dev/sbus/vigra.c 		sc->sc_cmap.cm_map[index][1] = b;
index             477 dev/sbus/vigra.c 		sc->sc_cmap.cm_map[index][3] = b;
index             478 dev/sbus/vigra.c 		sc->sc_cmap.cm_map[index][2] = g;
index             479 dev/sbus/vigra.c 		sc->sc_cmap.cm_map[index][1] = r;
index             481 dev/sbus/vigra.c 	sc->sc_cmap.cm_map[index][0] = 0;	/* no alpha channel */
index             483 dev/sbus/vigra.c 	vigra_loadcmap_immediate(sc, index, 1);
index             489 dev/sbus/vigra.c 	u_int index = rcm->index, count = rcm->count, i;
index             492 dev/sbus/vigra.c 	if (index >= 256 || count > 256 - index)
index             497 dev/sbus/vigra.c 			if ((error = copyout(&cm->cm_map[index + i][3],
index             500 dev/sbus/vigra.c 			if ((error = copyout(&cm->cm_map[index + i][1],
index             506 dev/sbus/vigra.c 			if ((error = copyout(&cm->cm_map[index + i][1],
index             509 dev/sbus/vigra.c 			if ((error = copyout(&cm->cm_map[index + i][3],
index             516 dev/sbus/vigra.c 		if ((error = copyout(&cm->cm_map[index + i][2],
index             526 dev/sbus/vigra.c 	u_int index = rcm->index, count = rcm->count, i;
index             529 dev/sbus/vigra.c 	if (index >= 256 || count > 256 - index)
index             535 dev/sbus/vigra.c 			    &cm->cm_map[index + i][3], 1)) != 0)
index             538 dev/sbus/vigra.c 			    &cm->cm_map[index + i][1], 1)) != 0)
index             544 dev/sbus/vigra.c 			    &cm->cm_map[index + i][1], 1)) != 0)
index             547 dev/sbus/vigra.c 			    &cm->cm_map[index + i][3], 1)) != 0)
index             554 dev/sbus/vigra.c 		    &cm->cm_map[index + i][2], 1)) != 0)
index             556 dev/sbus/vigra.c 		cm->cm_map[index + i][0] = 0;	/* no alpha channel */
index             433 dev/sbus/zx.c  zx_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b)
index             437 dev/sbus/zx.c  	sc->sc_cmap.cm_red[index] = r;
index             438 dev/sbus/zx.c  	sc->sc_cmap.cm_green[index] = g;
index             439 dev/sbus/zx.c  	sc->sc_cmap.cm_blue[index] = b;
index             544 dev/sbus/zx.c  zx_cross_loadwid(struct zx_softc *sc, u_int type, u_int index, u_int value)
index             556 dev/sbus/zx.c  		tmp = (index & 0x0f) + 0x40;
index             558 dev/sbus/zx.c  		tmp = index & 0x3f;
index            1659 dev/usb/ehci.c 	int s, len, value, index, l, totlen = 0;
index            1680 dev/usb/ehci.c 	index = UGETW(req->wIndex);
index            1821 dev/usb/ehci.c 		    "port=%d feature=%d\n", index, value));
index            1822 dev/usb/ehci.c 		if (index < 1 || index > sc->sc_noport) {
index            1826 dev/usb/ehci.c 		port = EHCI_PORTSC(index);
index            1840 dev/usb/ehci.c 			    "clear port test %d\n", index));
index            1844 dev/usb/ehci.c 			    "clear port index %d\n", index));
index            1912 dev/usb/ehci.c 		    index));
index            1913 dev/usb/ehci.c 		if (index < 1 || index > sc->sc_noport) {
index            1921 dev/usb/ehci.c 		v = EOREAD4(sc, EHCI_PORTSC(index));
index            1947 dev/usb/ehci.c 		if (index < 1 || index > sc->sc_noport) {
index            1951 dev/usb/ehci.c 		port = EHCI_PORTSC(index);
index            1962 dev/usb/ehci.c 			    index));
index            1965 dev/usb/ehci.c 				ehci_disown(sc, index, 1);
index            1994 dev/usb/ehci.c 				ehci_disown(sc, index, 0);
index            1999 dev/usb/ehci.c 			    index, v));
index            2003 dev/usb/ehci.c 			    "set port power %d\n", index));
index            2008 dev/usb/ehci.c 			    "set port test %d\n", index));
index            2012 dev/usb/ehci.c 			    "set port ind %d\n", index));
index            2040 dev/usb/ehci.c ehci_disown(ehci_softc_t *sc, int index, int lowspeed)
index            2045 dev/usb/ehci.c 	DPRINTF(("ehci_disown: index=%d lowspeed=%d\n", index, lowspeed));
index            2047 dev/usb/ehci.c 	port = EHCI_PORTSC(index);
index             263 dev/usb/if_atu.c 	    u_int8_t request, u_int16_t value, u_int16_t index,
index             271 dev/usb/if_atu.c 	    u_int8_t size, u_int8_t index, void *data);
index             273 dev/usb/if_atu.c 	    u_int8_t size, u_int8_t index, u_int8_t *buf);
index             302 dev/usb/if_atu.c     u_int8_t request, u_int16_t value, u_int16_t index, u_int16_t length,
index             313 dev/usb/if_atu.c 	USETW(req.wIndex, index);
index             321 dev/usb/if_atu.c 			    value, index, length));
index             325 dev/usb/if_atu.c 			    request, value, index, length, data, " "));
index             428 dev/usb/if_atu.c     u_int8_t index, void *data)
index             445 dev/usb/if_atu.c 	request.MIBIndex = index;
index             479 dev/usb/if_atu.c     u_int8_t index, u_int8_t *buf)
index             484 dev/usb/if_atu.c 	    type << 8, index, size, buf);
index             238 dev/usb/if_axe.c axe_cmd(struct axe_softc *sc, int cmd, int index, int val, void *buf)
index             252 dev/usb/if_axe.c 	USETW(req.wIndex, index);
index            1753 dev/usb/if_uath.c uath_set_key(struct uath_softc *sc, const struct ieee80211_key *k, int index)
index            1759 dev/usb/if_uath.c 	crypto.keyidx = htobe32(index);
index            1764 dev/usb/if_uath.c 	if (index != UATH_DEFAULT_KEY)
index            1765 dev/usb/if_uath.c 		crypto.flags |= htobe32(index << 16);
index            1775 dev/usb/if_uath.c 	DPRINTF(("setting crypto key index=%d len=%d\n", index, k->k_len));
index            2387 dev/usb/ohci.c 	int s, len, value, index, l, totlen = 0;
index            2408 dev/usb/ohci.c 	index = UGETW(req->wIndex);
index            2531 dev/usb/ohci.c 			     index, value));
index            2532 dev/usb/ohci.c 		if (index < 1 || index > sc->sc_noport) {
index            2536 dev/usb/ohci.c 		port = OHCI_RH_PORT_STATUS(index);
index            2613 dev/usb/ohci.c 			    index));
index            2614 dev/usb/ohci.c 		if (index < 1 || index > sc->sc_noport) {
index            2622 dev/usb/ohci.c 		v = OREAD4(sc, OHCI_RH_PORT_STATUS(index));
index            2637 dev/usb/ohci.c 		if (index < 1 || index > sc->sc_noport) {
index            2641 dev/usb/ohci.c 		port = OHCI_RH_PORT_STATUS(index);
index            2651 dev/usb/ohci.c 				    index));
index            2664 dev/usb/ohci.c 				    index, OREAD4(sc, port)));
index            2668 dev/usb/ohci.c 				    "%d\n", index));
index             356 dev/usb/uark.c uark_cmd(struct uark_softc *sc, uint16_t index, uint16_t value)
index             364 dev/usb/uark.c 	USETW(req.wIndex, index);
index             533 dev/usb/uaudio.c 	idx = fp->index;
index            2005 dev/usb/uaudio.c 	DPRINTFN(2,("uaudio_query_devinfo: index=%d\n", mi->index));
index            2009 dev/usb/uaudio.c 	n = mi->index;
index              97 dev/usb/udsbr.c int	udsbr_req(struct udsbr_softc *sc, int ureq, int value, int index);
index             203 dev/usb/udsbr.c udsbr_req(struct udsbr_softc *sc, int ureq, int value, int index)
index             210 dev/usb/udsbr.c 		    ureq, value, index));
index             214 dev/usb/udsbr.c 	USETW(req.wIndex, index);
index             393 dev/usb/ueagle.c ueagle_request(struct ueagle_softc *sc, uint16_t val, uint16_t index,
index             402 dev/usb/ueagle.c 	USETW(req.wIndex, index);
index             439 dev/usb/ueagle.c 	USETW(cmv.wIndex, sc->index);
index             481 dev/usb/ueagle.c 	USETW(cmv.wIndex, sc->index);
index             682 dev/usb/ueagle.c 	sc->index = UGETW(cmv->wIndex) + 1;
index             189 dev/usb/ueaglevar.h 	uint16_t		index;
index             125 dev/usb/ugen.c 					       int index, int *lenp);
index             962 dev/usb/ugen.c ugen_get_cdesc(struct ugen_softc *sc, int index, int *lenp)
index             968 dev/usb/ugen.c 	if (index == USB_CURRENT_CONFIG_INDEX) {
index             977 dev/usb/ugen.c 		err = usbd_get_config_desc(sc->sc_udev, index, &cdescr);
index             981 dev/usb/ugen.c 		DPRINTFN(5,("ugen_get_cdesc: index=%d, len=%d\n", index, len));
index             985 dev/usb/ugen.c 		err = usbd_get_config_desc_full(sc->sc_udev, index, cdesc,
index            2988 dev/usb/uhci.c uhci_portreset(uhci_softc_t *sc, int index)
index            2992 dev/usb/uhci.c 	if (index == 1)
index            2994 dev/usb/uhci.c 	else if (index == 2)
index            3005 dev/usb/uhci.c 		    index, UREAD2(sc, port)));
index            3013 dev/usb/uhci.c 		    index, UREAD2(sc, port)));
index            3024 dev/usb/uhci.c 			    index, lim, x));
index            3036 dev/usb/uhci.c 				    index, lim));
index            3060 dev/usb/uhci.c 		    index, UREAD2(sc, port)));
index            3063 dev/usb/uhci.c 		DPRINTFN(1,("uhci port %d reset timed out\n", index));
index            3098 dev/usb/uhci.c 	int s, len, value, index, status, change, l, totlen = 0;
index            3116 dev/usb/uhci.c 	index = UGETW(req->wIndex);
index            3239 dev/usb/uhci.c 			     index, value));
index            3240 dev/usb/uhci.c 		if (index == 1)
index            3242 dev/usb/uhci.c 		else if (index == 2)
index            3288 dev/usb/uhci.c 		if (index == 1)
index            3290 dev/usb/uhci.c 		else if (index == 2)
index            3321 dev/usb/uhci.c 		if (index == 1)
index            3323 dev/usb/uhci.c 		else if (index == 2)
index            3366 dev/usb/uhci.c 		if (index == 1)
index            3368 dev/usb/uhci.c 		else if (index == 2)
index            3384 dev/usb/uhci.c 			err = uhci_portreset(sc, index);
index            1131 dev/usb/umidi.c 	packet->index = 0;
index            1353 dev/usb/umidi.c 			packet->index = 2;
index            1357 dev/usb/umidi.c 			if (packet->index == 0)
index            1358 dev/usb/umidi.c 				packet->index = 1; 
index            1360 dev/usb/umidi.c 			packet->buf[packet->index++] = data;
index            1361 dev/usb/umidi.c 			packet->buf[0] = (0x4 - 1 + packet->index) | cable_number << 4;
index            1366 dev/usb/umidi.c 			packet->index = 1;
index            1376 dev/usb/umidi.c 		packet->index = 0;
index            1384 dev/usb/umidi.c 			if (packet->index == 0)
index            1385 dev/usb/umidi.c 				packet->index = 1; 
index            1387 dev/usb/umidi.c 			packet->buf[packet->index++] = data;
index            1388 dev/usb/umidi.c 			if (packet->index >= UMIDI_PACKET_SIZE) {
index            1398 dev/usb/umidi.c 			packet->index = 3;
index            1401 dev/usb/umidi.c 			if (packet->index == 0) {
index            1403 dev/usb/umidi.c 				packet->index = 1;
index            1405 dev/usb/umidi.c 			packet->buf[packet->index++] = data;
index            1406 dev/usb/umidi.c 			if (packet->index >= UMIDI_PACKET_SIZE) {
index            1417 dev/usb/umidi.c 		if (packet->index == 0) {
index            1420 dev/usb/umidi.c 			packet->index = 2;
index            1422 dev/usb/umidi.c 		packet->buf[packet->index++] = data;
index            1423 dev/usb/umidi.c 		if (packet->index >= UMIDI_VOICELEN(packet->status))
index            1430 dev/usb/umidi.c 	while (packet->index < UMIDI_PACKET_SIZE)
index            1431 dev/usb/umidi.c 		packet->buf[packet->index++] = 0;
index            1432 dev/usb/umidi.c 	packet->index = 0;
index              42 dev/usb/umidivar.h 	unsigned	index;
index             487 dev/usb/urio.c 		    rcmd->index, len));
index             493 dev/usb/urio.c 	USETW(req.wIndex, rcmd->index);
index              47 dev/usb/urio.h 	int		index;
index             481 dev/usb/usb_subr.c 	ifc->index = ifaceidx;
index             580 dev/usb/usb_subr.c 	int index;
index             589 dev/usb/usb_subr.c 	for (index = 0; index < dev->ddesc.bNumConfigurations; index++) {
index             590 dev/usb/usb_subr.c 		err = usbd_get_config_desc(dev, index, &cd);
index             594 dev/usb/usb_subr.c 			return (usbd_set_config_index(dev, index, msg));
index             600 dev/usb/usb_subr.c usbd_set_config_index(usbd_device_handle dev, int index, int msg)
index             607 dev/usb/usb_subr.c 	DPRINTFN(5,("usbd_set_config_index: dev=%p index=%d\n", dev, index));
index             623 dev/usb/usb_subr.c 	if (index == USB_UNCONFIG_INDEX) {
index             634 dev/usb/usb_subr.c 	err = usbd_get_config_desc(dev, index, &cd);
index             643 dev/usb/usb_subr.c 		err = usbd_get_desc(dev, UDESC_CONFIG, index, len, cdp);
index             105 dev/usb/usbdi.c 	    iface->device, iface->idesc, iface->index, iface->altindex,
index             501 dev/usb/usbdi.c usbd_interface2endpoint_descriptor(usbd_interface_handle iface, u_int8_t index)
index             503 dev/usb/usbdi.c 	if (index >= iface->idesc->bNumEndpoints)
index             505 dev/usb/usbdi.c 	return (iface->endpoints[index].edesc);
index             640 dev/usb/usbdi.c 	err = usbd_fill_iface_data(iface->device, iface->index, altidx);
index              65 dev/usb/usbdi_util.c usbd_get_desc(usbd_device_handle dev, int type, int index, int len, void *desc)
index              69 dev/usb/usbdi_util.c 	DPRINTFN(3,("usbd_get_desc: type=%d, index=%d, len=%d\n", type, index,
index              74 dev/usb/usbdi_util.c 	USETW2(req.wValue, type, index);
index              43 dev/usb/usbdi_util.h 		    int index, int len, void *desc);
index              79 dev/usb/usbdi_util.h usbd_status	usbd_set_config_index(usbd_device_handle dev, int index,
index             161 dev/usb/usbdivar.h 	int			index;
index             296 dev/usb/usbf.c 	u_int8_t index = UGETW(req->wValue) & 0xff;
index             327 dev/usb/usbf.c 		cd = usbf_config_descriptor(dev, index);
index             337 dev/usb/usbf.c 		cd = usbf_config_descriptor(dev, index);
index             349 dev/usb/usbf.c 		sd = usbf_string_descriptor(dev, index);
index             435 dev/usb/usbf.c 	u_int16_t index;
index             496 dev/usb/usbf.c 		index = UGETW(req->wIndex);
index             500 dev/usb/usbf.c 			err = usbf_set_endpoint_feature(cfg, index, value);
index             505 dev/usb/usbf.c 		index = UGETW(req->wIndex);
index             509 dev/usb/usbf.c 			err = usbf_clear_endpoint_feature(cfg, index, value);
index             673 dev/usb/usbf.c 	u_int8_t index = UGETW(req->wValue) & 0xff;
index             676 dev/usb/usbf.c 	    usb_enum_string(usb_request_desc_str, type), index);
index             596 dev/usb/usbf_subr.c usbf_config_descriptor(usbf_device_handle dev, u_int8_t index)
index             601 dev/usb/usbf_subr.c 		if (index-- == 0)
index             888 dev/usb/usbf_subr.c 	int index = usbf_endpoint_index(ep);
index             893 dev/usb/usbf_subr.c 	printf("%s: ep%d-%s, length=%u, %s", dev->dv_xname, index,
index             895 dev/usb/usbf_subr.c 	    (index == 0 ? "in" : (dir == UE_DIR_IN ? "in" : "out")),
index             284 dev/vesa/vesafb.c 	idx = cm->index;
index             327 dev/vesa/vesafb.c 	idx = cm->index;
index             312 dev/wscons/wsconsio.h 	u_int	index;				/* first element (0 origin) */
index             369 dev/wscons/wsconsio.h 	int index;
index            1281 dev/wscons/wsdisplay.c 		if (d->index >= WSDISPLAY_MAXFONT)
index            1298 dev/wscons/wsdisplay.c 		else if (d->index >= 0 || d->index < WSDISPLAY_MAXFONT)
index            1299 dev/wscons/wsdisplay.c 			sc->sc_fonts[d->index] = *d;
index            1303 dev/wscons/wsdisplay.c 		if (d->index < 0 || d->index >= WSDISPLAY_MAXFONT)
index            1305 dev/wscons/wsdisplay.c 		*d = sc->sc_fonts[d->index];
index             613 lib/libkern/softfloat-macros.h     int8 index;
index             616 lib/libkern/softfloat-macros.h     index = ( a>>27 ) & 15;
index             618 lib/libkern/softfloat-macros.h         z = 0x4000 + ( a>>17 ) - sqrtOddAdjustments[ index ];
index             623 lib/libkern/softfloat-macros.h         z = 0x8000 + ( a>>17 ) - sqrtEvenAdjustments[ index ];
index            1862 net/pf_ioctl.c 		if (pl->index < 0 || pl->index >= PF_LIMIT_MAX) {
index            1866 net/pf_ioctl.c 		pl->limit = pf_pool_limits[pl->index].limit;
index            1874 net/pf_ioctl.c 		if (pl->index < 0 || pl->index >= PF_LIMIT_MAX ||
index            1875 net/pf_ioctl.c 		    pf_pool_limits[pl->index].pp == NULL) {
index            1879 net/pf_ioctl.c 		if (pool_sethardlimit(pf_pool_limits[pl->index].pp,
index            1884 net/pf_ioctl.c 		old_limit = pf_pool_limits[pl->index].limit;
index            1885 net/pf_ioctl.c 		pf_pool_limits[pl->index].limit = pl->limit;
index            1386 net/pfvar.h    	int		 index;
index            3081 net/zlib.c           uInt index;               /* index into blens (or border) */
index            3389 net/zlib.c           s->sub.trees.index = 0;
index            3393 net/zlib.c           while (s->sub.trees.index < 4 + (s->sub.trees.table >> 10))
index            3396 net/zlib.c             s->sub.trees.blens[border[s->sub.trees.index++]] = (uInt)b & 7;
index            3399 net/zlib.c           while (s->sub.trees.index < 19)
index            3400 net/zlib.c             s->sub.trees.blens[border[s->sub.trees.index++]] = 0;
index            3414 net/zlib.c           s->sub.trees.index = 0;
index            3419 net/zlib.c                  s->sub.trees.index < 258 + (t & 0x1f) + ((t >> 5) & 0x1f))
index            3432 net/zlib.c               s->sub.trees.blens[s->sub.trees.index++] = c;
index            3442 net/zlib.c               i = s->sub.trees.index;
index            3456 net/zlib.c               s->sub.trees.index = i;
index             324 net80211/ieee80211.h 		u_int8_t	index;
index             531 netinet/if_ether.c 	u_int32_t count = 0, index = 0;
index             562 netinet/if_ether.c 			index++;
index             565 netinet/if_ether.c 			    &count, index))
index             588 netinet/if_ether.c 			    &count, index))
index            1414 netinet/ip_carp.c     u_int32_t *count, u_int32_t index)
index            1445 netinet/ip_carp.c 		if (carp_hash(sc, src) % *count == index - 1 &&
index             135 netinet6/route6.c 	int addrs, index;
index             160 netinet6/route6.c 	index = addrs - rh0->ip6r0_segleft;
index             162 netinet6/route6.c 	nextaddr = ((struct in6_addr *)(rh0 + 1)) + index;
index             134 sys/audioio.h  	int	index;
index             210 sys/audioio.h  	int index;
index             432 xfs/xfs_vfsops-bsd.c     int index;
index             492 xfs/xfs_vfsops-bsd.c     error = falloc(proc, &fp, &index);
index             516 xfs/xfs_vfsops-bsd.c     *retval = index;
index             521 xfs/xfs_vfsops-bsd.c     *fdflags(proc, index) &= ~UF_RESERVED;