ac                 51 arch/i386/stand/libsa/exec_i386.c 	size_t ac = BOOTARG_LEN;
ac                 69 arch/i386/stand/libsa/exec_i386.c 	makebootargs(av, &ac);
ac                 76 arch/i386/stand/libsa/exec_i386.c 	    marks[MARK_END], extmem, cnvmem, ac, (int)av);
ac                354 dev/acpi/acpi.c 	struct acpi_ac *ac;
ac                581 dev/acpi/acpi.c 			ac = malloc(sizeof(struct acpi_ac), M_DEVBUF, M_WAITOK);
ac                582 dev/acpi/acpi.c 			memset(ac, 0, sizeof(struct acpi_ac));
ac                583 dev/acpi/acpi.c 			ac->aac_softc = (struct acpiac_softc *)dev;
ac                584 dev/acpi/acpi.c 			SLIST_INSERT_HEAD(&sc->sc_ac, ac, aac_link);
ac                791 dev/acpi/acpi.c 	struct acpi_ac *ac;
ac                807 dev/acpi/acpi.c 		SLIST_FOREACH(ac, &sc->sc_ac, aac_link) {
ac                808 dev/acpi/acpi.c 			if (ac->aac_softc->sc_ac_stat == PSR_ONLINE)
ac                810 dev/acpi/acpi.c 			else if (ac->aac_softc->sc_ac_stat == PSR_OFFLINE)
ac               1353 dev/ic/aic6915.c 	struct arpcom *ac = &sc->sc_arpcom;
ac               1398 dev/ic/aic6915.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1003 dev/ic/am7990.c am7990_setladrf(ac, af)
ac               1004 dev/ic/am7990.c 	struct arpcom *ac;
ac               1007 dev/ic/am7990.c 	struct ifnet *ifp = &ac->ac_if;
ac               1024 dev/ic/am7990.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                928 dev/ic/dc.c    	struct arpcom *ac = &sc->sc_arpcom;
ac                963 dev/ic/dc.c    		ETHER_FIRST_MULTI(step, ac, enm);
ac               1017 dev/ic/dc.c    	struct arpcom *ac = &sc->sc_arpcom;
ac               1026 dev/ic/dc.c    	CSR_WRITE_4(sc, DC_AL_PAR0, ac->ac_enaddr[3] << 24 |
ac               1027 dev/ic/dc.c    	    ac->ac_enaddr[2] << 16 | ac->ac_enaddr[1] << 8 | ac->ac_enaddr[0]);
ac               1028 dev/ic/dc.c    	CSR_WRITE_4(sc, DC_AL_PAR1, ac->ac_enaddr[5] << 8 | ac->ac_enaddr[4]);
ac               1054 dev/ic/dc.c    	ETHER_FIRST_MULTI(step, ac, enm);
ac               1081 dev/ic/dc.c    	struct arpcom *ac = &sc->sc_arpcom;
ac               1131 dev/ic/dc.c    	ETHER_FIRST_MULTI(step, ac, enm);
ac               1152 dev/ic/dc.c    	struct arpcom *ac = &sc->sc_arpcom;
ac               1189 dev/ic/dc.c    	ETHER_FIRST_MULTI(step, ac, enm);
ac                960 dev/ic/dp8390.c dp8390_getmcaf(struct arpcom *ac, u_int8_t *af)
ac                962 dev/ic/dp8390.c 	struct ifnet *ifp = &ac->ac_if;
ac                984 dev/ic/dp8390.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1523 dev/ic/gem.c   	struct arpcom *ac = &sc->sc_arpcom;
ac               1561 dev/ic/gem.c   	ETHER_FIRST_MULTI(step, ac, enm);
ac               1334 dev/ic/hme.c   	struct arpcom *ac = &sc->sc_arpcom;
ac               1366 dev/ic/hme.c   	ETHER_FIRST_MULTI(step, ac, enm);
ac               2570 dev/ic/pgt.c   	struct arpcom *ac = &ic->ic_ac;
ac               2571 dev/ic/pgt.c   	struct ifnet *ifp = &ac->ac_if;
ac               2735 dev/ic/pgt.c   		if (!IEEE80211_ADDR_EQ(ic->ic_myaddr, ac->ac_enaddr)) {
ac               2736 dev/ic/pgt.c   			SETOID(PGT_OID_MAC_ADDRESS, ac->ac_enaddr,
ac               2737 dev/ic/pgt.c   			    sizeof(ac->ac_enaddr));
ac               2738 dev/ic/pgt.c   			IEEE80211_ADDR_COPY(ic->ic_myaddr, ac->ac_enaddr);
ac                514 dev/ic/re.c    	struct arpcom		*ac = &sc->sc_arpcom;
ac                535 dev/ic/re.c    	ETHER_FIRST_MULTI(step, ac, enm);
ac                189 dev/ic/rt2661.c 	int error, ac, i, ntries;
ac                220 dev/ic/rt2661.c 	for (ac = 0; ac < 4; ac++) {
ac                221 dev/ic/rt2661.c 		error = rt2661_alloc_tx_ring(sc, &sc->txq[ac],
ac                225 dev/ic/rt2661.c 			    sc->sc_dev.dv_xname, ac);
ac                344 dev/ic/rt2661.c fail1:	while (--ac >= 0)
ac                345 dev/ic/rt2661.c 		rt2661_free_tx_ring(sc, &sc->txq[ac]);
ac                354 dev/ic/rt2661.c 	int ac;
ac                367 dev/ic/rt2661.c 	for (ac = 0; ac < 4; ac++)
ac                368 dev/ic/rt2661.c 		rt2661_free_tx_ring(sc, &sc->txq[ac]);
ac               1386 dev/ic/rt2661.c     const bus_dma_segment_t *segs, int nsegs, int ac)
ac               1400 dev/ic/rt2661.c 	    RT2661_QID(ac) |
ac               1410 dev/ic/rt2661.c 	desc->qid = ac;
ac               1543 dev/ic/rt2661.c     struct ieee80211_node *ni, int ac)
ac               1547 dev/ic/rt2661.c 	struct rt2661_tx_ring *txq = &sc->txq[ac];
ac               1650 dev/ic/rt2661.c 		    data->map->dm_nsegs, ac);
ac               1743 dev/ic/rt2661.c 	    data->map->dm_segs, data->map->dm_nsegs, ac);
ac               2600 dev/ic/rt2661.c 	int ac;
ac               2628 dev/ic/rt2661.c 	for (ac = 0; ac < 4; ac++)
ac               2629 dev/ic/rt2661.c 		rt2661_reset_tx_ring(sc, &sc->txq[ac]);
ac                469 dev/ic/rtl81x9.c 	struct arpcom		*ac = &sc->sc_arpcom;
ac                493 dev/ic/rtl81x9.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1321 dev/ic/smc83c170.c 	struct arpcom *ac = &sc->sc_arpcom;
ac               1346 dev/ic/smc83c170.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                567 dev/ic/xl.c    	struct arpcom	*ac = &sc->sc_arpcom;
ac                581 dev/ic/xl.c    	if (ac->ac_multicnt > 0)
ac                597 dev/ic/xl.c    	struct arpcom	*ac = &sc->sc_arpcom;
ac                622 dev/ic/xl.c    	ETHER_FIRST_MULTI(step, ac, enm);
ac                793 dev/isa/ad1848.c ad1848_mixer_get_port(ac, map, cnt, cp)
ac                794 dev/isa/ad1848.c   struct ad1848_softc *ac;
ac                822 dev/isa/ad1848.c     error = ad1848_get_device_gain(ac, dev, &vol);
ac                831 dev/isa/ad1848.c     cp->un.ord = ac->mute[dev] ? 1 : 0;
ac                838 dev/isa/ad1848.c     error = ad1848_get_rec_gain(ac, &vol);
ac                847 dev/isa/ad1848.c     error = ad1848_get_mic_gain(ac, &vol);
ac                855 dev/isa/ad1848.c     cp->un.ord = ad1848_get_rec_port(ac);
ac                867 dev/isa/ad1848.c ad1848_mixer_set_port(ac, map, cnt, cp)
ac                868 dev/isa/ad1848.c   struct ad1848_softc *ac;
ac                897 dev/isa/ad1848.c     error = ad1848_set_channel_gain(ac, dev, &vol);
ac                903 dev/isa/ad1848.c     ac->mute[dev] = (cp->un.ord ? MUTE_ALL : 0);
ac                904 dev/isa/ad1848.c     ad1848_mute_channel(ac, dev, ac->mute[dev]);
ac                912 dev/isa/ad1848.c     error = ad1848_set_rec_gain(ac, &vol);
ac                919 dev/isa/ad1848.c     error = ad1848_set_mic_gain(ac, &vol);
ac                925 dev/isa/ad1848.c     error = ad1848_set_rec_port(ac,  cp->un.ord);
ac                403 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac                404 dev/isa/gus.c  	return gusopen(ac->parent, flags);
ac                471 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac                472 dev/isa/gus.c  	return gus_dma_output(ac->parent, buf, size, intr, arg);
ac                609 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac                610 dev/isa/gus.c  	struct gus_softc *sc = ac->parent;
ac                612 dev/isa/gus.c  	ac->mute[AD1848_AUX1_CHANNEL] = MUTE_ALL;
ac                613 dev/isa/gus.c  	ad1848_mute_channel(ac, MUTE_ALL); /* turn off DAC output */
ac                615 dev/isa/gus.c  	ad1848_close(ac);
ac               1515 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac               1516 dev/isa/gus.c  	struct gus_softc *sc = ac->parent;
ac               1519 dev/isa/gus.c  	error = ad1848_set_params(ac, setmode, usemode, p, r);
ac               1598 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac               1599 dev/isa/gus.c  	struct gus_softc *sc = ac->parent;
ac               1675 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac               1676 dev/isa/gus.c  	struct gus_softc *sc = ac->parent;
ac               1679 dev/isa/gus.c  	error = ad1848_commit_settings(ac);
ac               2467 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac               2468 dev/isa/gus.c  	struct gus_softc *sc = ac->parent;
ac               2470 dev/isa/gus.c  	int error = ad1848_mixer_get_port(ac, gusmapping, nummap, cp);
ac               2678 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac               2679 dev/isa/gus.c  	struct gus_softc *sc = ac->parent;
ac               2681 dev/isa/gus.c  	int error = ad1848_mixer_set_port(ac, gusmapping, nummap, cp);
ac               2887 dev/isa/gus.c  	struct ad1848_softc *ac = addr;
ac               2888 dev/isa/gus.c  	return gus_get_props(ac->parent);
ac                663 dev/isa/if_ef_isapnp.c 	struct arpcom *ac = &sc->sc_arpcom;
ac                671 dev/isa/if_ef_isapnp.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1322 dev/isa/pss.c      struct ad1848_softc *ac = addr;
ac               1323 dev/isa/pss.c      struct pss_softc *sc = ac->parent;
ac               1325 dev/isa/pss.c      int error = ad1848_mixer_set_port(ac, mappings, nummap, cp);
ac               1366 dev/isa/pss.c      struct ad1848_softc *ac = addr;
ac               1367 dev/isa/pss.c      struct pss_softc *sc = ac->parent;
ac               1370 dev/isa/pss.c      int error = ad1848_mixer_get_port(ac, mappings, nummap, cp);
ac                186 dev/isa/wss.c      struct ad1848_softc *ac = addr;
ac                188 dev/isa/wss.c      return (ad1848_mixer_set_port(ac, mappings, nummap, cp));
ac                196 dev/isa/wss.c      struct ad1848_softc *ac = addr;
ac                198 dev/isa/wss.c      return (ad1848_mixer_get_port(ac, mappings, nummap, cp));
ac                 98 dev/isa/wss_isapnp.c 	struct ad1848_softc *ac = &sc->sc_ad1848;
ac                109 dev/isa/wss_isapnp.c 	ac->sc_iot = sc->sc_iot;
ac                110 dev/isa/wss_isapnp.c 	ac->sc_isa = parent->dv_parent; 
ac                111 dev/isa/wss_isapnp.c 	ac->sc_ioh = sc->sc_ioh;
ac                112 dev/isa/wss_isapnp.c 	ac->mode = 2;
ac                113 dev/isa/wss_isapnp.c 	ac->sc_iooffs = 0;
ac                122 dev/isa/wss_isapnp.c 		printf("%s: probe failed\n", ac->sc_dev.dv_xname);
ac                314 dev/isa/ym.c   	struct ad1848_softc *ac = addr;
ac                315 dev/isa/ym.c   	struct ym_softc *sc = ac->parent;
ac                317 dev/isa/ym.c   	int     error = ad1848_mixer_set_port(ac, mappings, NUMMAP, cp);
ac                380 dev/isa/ym.c   	struct ad1848_softc *ac = addr;
ac                381 dev/isa/ym.c   	struct ym_softc *sc = ac->parent;
ac                383 dev/isa/ym.c   	int     error = ad1848_mixer_get_port(ac, mappings, NUMMAP, cp);
ac                 52 dev/pci/bt8370.c void	bt8370_set_bop_mode(struct art_softc *ac, int);
ac                 55 dev/pci/bt8370.c void	bt8370_intr_enable(struct art_softc *ac, int);
ac                 68 dev/pci/bt8370.c bt8370_reset(struct art_softc *ac)
ac                 72 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_CR0, 0x00);
ac                 74 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_CR0, CR0_RESET);
ac                 76 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_CR0, 0x00);
ac                 77 dev/pci/bt8370.c 	cr0 = ebus_read(&ac->art_ebus, Bt8370_CR0);
ac                 80 dev/pci/bt8370.c 		    ac->art_dev.dv_xname);
ac                 87 dev/pci/bt8370.c bt8370_set_frame_mode(struct art_softc *ac, enum art_sbi_type type, u_int mode,
ac                 93 dev/pci/bt8370.c 	bt8370_reset(ac);
ac                 96 dev/pci/bt8370.c 	bt8370_intr_enable(ac, 0);
ac                103 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_CR0, CR0_E1_FAS);
ac                106 dev/pci/bt8370.c 		bt8370_set_loopback_mode(ac, ART_NOLOOP);
ac                107 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_DL3_TS, 0x00);
ac                110 dev/pci/bt8370.c 		bt8370_set_sbi_clock_mode(ac, type, clockmode, channels);
ac                113 dev/pci/bt8370.c 		bt8370_set_line_buildout(ac, FRAMER_LIU_E1_120);
ac                115 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RCR0, RCR0_HDB3 |
ac                117 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RALM, 0x00);
ac                118 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LATCH, LATCH_STOPCNT);
ac                121 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR0, TCR0_FAS);
ac                122 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR1, TCR1_TABORT |
ac                124 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TFRM, 0x00);
ac                125 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TMAN, 0x00);
ac                126 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TALM, 0x00);
ac                127 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TPATT, 0x00);
ac                128 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TLB, 0x00);
ac                129 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA4, 0xFF);
ac                130 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA5, 0xFF);
ac                131 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA6, 0xFF);
ac                132 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA7, 0xFF);
ac                133 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA8, 0xFF);
ac                136 dev/pci/bt8370.c 		bt8370_set_bop_mode(ac, 0);
ac                139 dev/pci/bt8370.c 		bt8370_set_dl_1_mode(ac, 0);
ac                142 dev/pci/bt8370.c 		bt8370_set_dl_2_mode(ac, 0);
ac                145 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                151 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_CR0, CR0_E1_FAS);
ac                154 dev/pci/bt8370.c 		bt8370_set_loopback_mode(ac, ART_NOLOOP);
ac                155 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_DL3_TS, 0x00);
ac                158 dev/pci/bt8370.c 		bt8370_set_sbi_clock_mode(ac, type, clockmode, channels);
ac                161 dev/pci/bt8370.c 		bt8370_set_line_buildout(ac, FRAMER_LIU_E1_120);
ac                163 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RCR0, RCR0_RFORCE |
ac                165 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RALM, RALM_FSNFAS);
ac                166 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LATCH, LATCH_STOPCNT);
ac                169 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR0, TCR0_FAS);
ac                171 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR1, TCR1_TABORT |
ac                173 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TFRM, TFRM_YEL |
ac                175 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TMAN, TMAN_MALL);
ac                176 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TALM, TALM_AYEL);
ac                177 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TPATT, 0x00);
ac                178 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TLB, 0x00);
ac                179 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA4, 0xFF);
ac                180 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA5, 0xFF);
ac                181 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA6, 0xFF);
ac                182 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA7, 0xFF);
ac                183 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA8, 0xFF);
ac                186 dev/pci/bt8370.c 		bt8370_set_bop_mode(ac, 0);
ac                189 dev/pci/bt8370.c 		bt8370_set_dl_1_mode(ac, 0);
ac                192 dev/pci/bt8370.c 		bt8370_set_dl_2_mode(ac, 0);
ac                195 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                207 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_CR0, CR0_E1_FAS_CRC);
ac                210 dev/pci/bt8370.c 		bt8370_set_loopback_mode(ac, ART_NOLOOP);
ac                211 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_DL3_TS, 0x00);
ac                214 dev/pci/bt8370.c 		bt8370_set_sbi_clock_mode(ac, type, clockmode, channels);
ac                217 dev/pci/bt8370.c 		bt8370_set_line_buildout(ac, FRAMER_LIU_E1_120);
ac                219 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RCR0, RCR0_RFORCE |
ac                221 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RALM, RALM_FSNFAS);
ac                222 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LATCH, LATCH_STOPCNT);
ac                225 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR0, TCR0_MFAS);
ac                227 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR1, TCR1_TABORT |
ac                229 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TFRM, TFRM_YEL |
ac                231 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TMAN, TMAN_MALL);
ac                232 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TALM, TALM_AYEL | TALM_AAIS);
ac                233 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TPATT, 0x00);
ac                234 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TLB, 0x00);
ac                235 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA4, 0xFF);
ac                236 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA5, 0xFF);
ac                237 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA6, 0xFF);
ac                238 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA7, 0xFF);
ac                239 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA8, 0xFF);
ac                242 dev/pci/bt8370.c 		bt8370_set_bop_mode(ac, 0);
ac                245 dev/pci/bt8370.c 		bt8370_set_dl_1_mode(ac, 0);
ac                248 dev/pci/bt8370.c 		bt8370_set_dl_2_mode(ac, 0);
ac                251 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                257 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_CR0, CR0_T1_SF);
ac                260 dev/pci/bt8370.c 		bt8370_set_loopback_mode(ac, ART_NOLOOP);
ac                261 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_DL3_TS, 0x00);
ac                264 dev/pci/bt8370.c 		bt8370_set_sbi_clock_mode(ac, type, clockmode, channels);
ac                267 dev/pci/bt8370.c 		bt8370_set_line_buildout(ac, FRAMER_LIU_T1_133);
ac                269 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RCR0, RCR0_RFORCE |
ac                271 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RALM, RALM_FSNFAS);
ac                272 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LATCH, LATCH_STOPCNT);
ac                275 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR0, TCR0_SF);
ac                277 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR1, TCR1_TABORT |
ac                279 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TFRM, TFRM_YEL |
ac                281 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TMAN, 0x00);
ac                282 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TALM, TALM_AYEL);
ac                283 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TPATT, 0x00);
ac                284 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TLB, 0x00);
ac                285 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA4, 0xFF);
ac                286 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA5, 0xFF);
ac                287 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA6, 0xFF);
ac                288 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA7, 0xFF);
ac                289 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA8, 0xFF);
ac                292 dev/pci/bt8370.c 		bt8370_set_bop_mode(ac, 0);
ac                295 dev/pci/bt8370.c 		bt8370_set_dl_1_mode(ac, 0);
ac                298 dev/pci/bt8370.c 		bt8370_set_dl_2_mode(ac, 0);
ac                301 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                307 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_CR0, CR0_T1_ESF);
ac                310 dev/pci/bt8370.c 		bt8370_set_loopback_mode(ac, ART_NOLOOP);
ac                311 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_DL3_TS, 0x00);
ac                314 dev/pci/bt8370.c 		bt8370_set_sbi_clock_mode(ac, type, clockmode, channels);
ac                317 dev/pci/bt8370.c 		bt8370_set_line_buildout(ac, FRAMER_LIU_T1_133);
ac                319 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RCR0, RCR0_RFORCE |
ac                321 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RLB, 0x09);
ac                322 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LBA, 0x08);
ac                323 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LBD, 0x24);
ac                324 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RALM, 0x00);
ac                325 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LATCH, LATCH_STOPCNT);
ac                328 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR0, TCR0_ESFCRC);
ac                330 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TCR1, TCR1_TABORT |
ac                332 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TFRM, TFRM_CRC |
ac                334 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TMAN, 0x00);
ac                335 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TALM, TALM_AYEL);
ac                336 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TPATT, 0x00);
ac                337 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TLB, 0x00);
ac                338 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA4, 0xFF);
ac                339 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA5, 0xFF);
ac                340 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA6, 0xFF);
ac                341 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA7, 0xFF);
ac                342 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSA8, 0xFF);
ac                345 dev/pci/bt8370.c 		bt8370_set_bop_mode(ac, ART_BOP_ESF);
ac                348 dev/pci/bt8370.c 		bt8370_set_dl_1_mode(ac, ART_DL1_BOP);
ac                351 dev/pci/bt8370.c 		bt8370_set_dl_2_mode(ac, 0);
ac                354 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                381 dev/pci/bt8370.c bt8370_set_sbi_clock_mode(struct art_softc *ac, enum art_sbi_type mode,
ac                393 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                402 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_PIO, PIO_ONESEC_IO |
ac                411 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_POE, POE_TDL_OE |
ac                423 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                432 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_PIO, PIO_TDL_IO);
ac                439 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_POE, POE_TDL_OE |
ac                450 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                459 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_PIO, PIO_ONESEC_IO |
ac                465 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_POE, POE_TDL_OE |
ac                481 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                491 dev/pci/bt8370.c 		    ac->art_dev.dv_xname));
ac                497 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_CMUX, cmux);
ac                498 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_JAT_CR, jatcr);
ac                503 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_CSEL, CSEL_VSEL_4096 |
ac                505 dev/pci/bt8370.c 		bt8370_set_bus_mode(ac, SBI_MODE_4096_A, channels);
ac                513 dev/pci/bt8370.c 		bt8370_set_bus_mode(ac, SBI_MODE_4096_B, channels);
ac                519 dev/pci/bt8370.c 			    ac->art_dev.dv_xname));
ac                520 dev/pci/bt8370.c 			ebus_write(&ac->art_ebus, Bt8370_CSEL, CSEL_VSEL_1544 |
ac                522 dev/pci/bt8370.c 			bt8370_set_bus_mode(ac, SBI_MODE_1544, channels);
ac                523 dev/pci/bt8370.c 			musycc_set_port(ac->art_channel->cc_group,
ac                527 dev/pci/bt8370.c 			    ac->art_dev.dv_xname));
ac                528 dev/pci/bt8370.c 			ebus_write(&ac->art_ebus, Bt8370_CSEL, CSEL_VSEL_2048 |
ac                530 dev/pci/bt8370.c 			bt8370_set_bus_mode(ac, SBI_MODE_2048, channels);
ac                531 dev/pci/bt8370.c 			musycc_set_port(ac->art_channel->cc_group,
ac                536 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_CLAD_CR, CLAD_CR_LFGAIN);
ac                540 dev/pci/bt8370.c bt8370_set_bus_mode(struct art_softc *ac, enum art_sbi_mode mode, int nchannels)
ac                549 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_RSB_CR, RSB_CR_BUS_RSB |
ac                552 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_RSYNC_BIT, 0x00);
ac                553 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_RSYNC_TS, 0x00);
ac                554 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_TSB_CR, TSB_CR_BUS_TSB |
ac                557 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_TSYNC_BIT, 0x00);
ac                558 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_TSYNC_TS, 0x00);
ac                559 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_RSIG_CR, 0x00);
ac                560 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_RSYNC_FRM, 0x00);
ac                565 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                569 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                573 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                577 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                581 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                585 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                589 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                593 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                597 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBI_CR, SBI_CR_SBI_OE |
ac                604 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_SBCn + channel, 0x00);
ac                605 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TPCn + channel, 0x00);
ac                606 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSIGn + channel, 0x00);
ac                607 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TSLIP_LOn + channel, 0x7e);
ac                608 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RSLIP_LOn + channel, 0x7e);
ac                609 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RPCn + channel, 0x00);
ac                615 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, channel, SBCn_RINDO |
ac                619 dev/pci/bt8370.c 			ebus_write(&ac->art_ebus, channel, 0x00);
ac                623 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, channel, TPCn_CLEAR);
ac                627 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, channel, RPCn_CLEAR);
ac                632 dev/pci/bt8370.c bt8370_set_line_buildout(struct art_softc *ac, int mode)
ac                641 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_RLIU_CR, RLIU_CR_FRZ_SHORT |
ac                647 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_VGA_MAX, 0x1F);
ac                649 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_PRE_EQ, 0xA6);
ac                651 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TLIU_CR, TLIU_CR_100);
ac                662 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_VGA_MAX, 0x1F);
ac                664 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_PRE_EQ, 0xA6);
ac                666 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TLIU_CR, TLIU_CR_120);
ac                674 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_LIU_CR, LIU_CR_MAGIC |
ac                679 dev/pci/bt8370.c bt8370_set_loopback_mode(struct art_softc *ac, enum art_loopback mode)
ac                683 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LOOP, LOOP_PLOOP);
ac                686 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LOOP, LOOP_LLOOP);
ac                689 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LOOP, LOOP_FLOOP);
ac                692 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LOOP, LOOP_ALOOP);
ac                695 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_LOOP, 0x00);
ac                701 dev/pci/bt8370.c bt8370_set_bop_mode(struct art_softc *ac, int mode)
ac                706 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_BOP, 0x9A);
ac                709 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_BOP, 0x00);
ac                715 dev/pci/bt8370.c bt8370_set_dl_1_mode(struct art_softc *ac, int mode)
ac                724 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_DL1_TS, 0x40);
ac                725 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_DL1_CTL, 0x03);
ac                726 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RDL1_FFC, 0x0A);
ac                727 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_PRM1, 0x80);
ac                728 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TDL1_FEC, 0x0A);
ac                731 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_RDL1_FFC, 0x0A);
ac                732 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_TDL1, 0x00);
ac                738 dev/pci/bt8370.c bt8370_set_dl_2_mode(struct art_softc *ac, int mode)
ac                741 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_RDL2_FFC, 0x0A);
ac                742 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_TDL2, 0x00);
ac                746 dev/pci/bt8370.c bt8370_intr_enable(struct art_softc *ac, int intr)
ac                751 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_IER7, 0x00);
ac                752 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_IER6, 0x00);
ac                753 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_IER5, 0x00);
ac                754 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_IER4, 0x00);
ac                755 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_IER3, 0x00);
ac                756 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_IER2, 0x00);
ac                757 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_IER1, 0x00);
ac                758 dev/pci/bt8370.c 		ebus_write(&ac->art_ebus, Bt8370_IER0, 0x00);
ac                765 dev/pci/bt8370.c bt8370_intr(struct art_softc *ac)
ac                770 dev/pci/bt8370.c 	irr = ebus_read(&ac->art_ebus, Bt8370_IRR);
ac                776 dev/pci/bt8370.c 	alrm = ebus_read(&ac->art_ebus, Bt8370_ISR7);
ac                777 dev/pci/bt8370.c 	alrm = ebus_read(&ac->art_ebus, Bt8370_ISR6);
ac                778 dev/pci/bt8370.c 	alrm = ebus_read(&ac->art_ebus, Bt8370_ISR5);
ac                779 dev/pci/bt8370.c 	alrm = ebus_read(&ac->art_ebus, Bt8370_ISR4);
ac                780 dev/pci/bt8370.c 	alrm = ebus_read(&ac->art_ebus, Bt8370_ISR3);
ac                781 dev/pci/bt8370.c 	alrm = ebus_read(&ac->art_ebus, Bt8370_ISR2);
ac                782 dev/pci/bt8370.c 	alrm = ebus_read(&ac->art_ebus, Bt8370_ISR1);
ac                783 dev/pci/bt8370.c 	alrm = ebus_read(&ac->art_ebus, Bt8370_ISR0);
ac                786 dev/pci/bt8370.c 	irr = ebus_read(&ac->art_ebus, Bt8370_IRR);
ac                789 dev/pci/bt8370.c 			ac->art_dev.dv_xname));
ac                794 dev/pci/bt8370.c bt8370_link_status(struct art_softc *ac)
ac                810 dev/pci/bt8370.c 	if (IFM_SUBTYPE(ac->art_media) == IFM_TDM_T1)
ac                813 dev/pci/bt8370.c 	rstat = ebus_read(&ac->art_ebus, Bt8370_RSTAT);
ac                814 dev/pci/bt8370.c 	alm1 = ebus_read(&ac->art_ebus, Bt8370_ALM1);
ac                815 dev/pci/bt8370.c 	alm2 = ebus_read(&ac->art_ebus, Bt8370_ALM2);
ac                816 dev/pci/bt8370.c 	alm3 = ebus_read(&ac->art_ebus, Bt8370_ALM3);
ac                831 dev/pci/bt8370.c bt8370_print_status(struct art_softc *ac)
ac                836 dev/pci/bt8370.c 	fstat = ebus_read(&ac->art_ebus, Bt8370_FSTAT);
ac                837 dev/pci/bt8370.c 	printf("%s: Current FSTAT:\n", ac->art_dev.dv_xname);
ac                854 dev/pci/bt8370.c 	rstat = ebus_read(&ac->art_ebus, Bt8370_RSTAT);
ac                855 dev/pci/bt8370.c 	printf("%s: Current RSTAT:\n", ac->art_dev.dv_xname);
ac                873 dev/pci/bt8370.c 	ebus_write(&ac->art_ebus, Bt8370_VGA, 0x00);
ac                874 dev/pci/bt8370.c 	vga = ebus_read(&ac->art_ebus, Bt8370_VGA);
ac                878 dev/pci/bt8370.c 	alm1 = ebus_read(&ac->art_ebus, Bt8370_ALM1);
ac                879 dev/pci/bt8370.c 	printf("%s: Current ALM1:\n", ac->art_dev.dv_xname);
ac                896 dev/pci/bt8370.c 	alm2 = ebus_read(&ac->art_ebus, Bt8370_ALM2);
ac                897 dev/pci/bt8370.c 	printf("%s: Current ALM2:\n", ac->art_dev.dv_xname);
ac                910 dev/pci/bt8370.c 	alm3 = ebus_read(&ac->art_ebus, Bt8370_ALM3);
ac                911 dev/pci/bt8370.c 	printf("%s: Current ALM3:\n", ac->art_dev.dv_xname);
ac                925 dev/pci/bt8370.c 	sstat = ebus_read(&ac->art_ebus, Bt8370_SSTAT);
ac                926 dev/pci/bt8370.c 	printf("%s: Current SSTAT:\n", ac->art_dev.dv_xname);
ac                948 dev/pci/bt8370.c 	loop = ebus_read(&ac->art_ebus, Bt8370_LOOP);
ac                949 dev/pci/bt8370.c 	printf("%s: Current LOOP:\n", ac->art_dev.dv_xname);
ac                963 dev/pci/bt8370.c bt8370_print_counters(struct art_softc *ac)
ac                970 dev/pci/bt8370.c 		lo = ebus_read(&ac->art_ebus, Bt8370_FERR_LSB + i);
ac                971 dev/pci/bt8370.c 		hi = ebus_read(&ac->art_ebus, Bt8370_FERR_LSB + i + 1);
ac                977 dev/pci/bt8370.c 	    ac->art_dev.dv_xname, counters[0], counters[1]);
ac                980 dev/pci/bt8370.c 	    ac->art_dev.dv_xname, counters[3], counters[4]);
ac                983 dev/pci/bt8370.c bt8370_dump_registers(struct art_softc *ac)
ac                987 dev/pci/bt8370.c 	printf("%s: dummping registers", ac->art_dev.dv_xname);
ac                992 dev/pci/bt8370.c 		    ebus_read(&ac->art_ebus, i),
ac                189 dev/pci/if_art.c 	struct art_softc	*ac = (struct art_softc *)cc->cc_parent;
ac                196 dev/pci/if_art.c 		if ((rv = musycc_init_channel(cc, ac->art_slot)))
ac                206 dev/pci/if_art.c 		if (art_mask_tsmap(IFM_SUBTYPE(ac->art_media), tsmap) !=
ac                211 dev/pci/if_art.c 		if (ac->art_type == ART_SBI_SINGLE &&
ac                212 dev/pci/if_art.c 		    (IFM_SUBTYPE(ac->art_media) == IFM_TDM_T1 ||
ac                213 dev/pci/if_art.c 		    IFM_SUBTYPE(ac->art_media) == IFM_TDM_T1_AMI))
ac                221 dev/pci/if_art.c 		rv = musycc_init_channel(cc, ac->art_slot);
ac                225 dev/pci/if_art.c 		if (ac->art_type == ART_SBI_SINGLE &&
ac                226 dev/pci/if_art.c 		    (IFM_SUBTYPE(ac->art_media) == IFM_TDM_T1 ||
ac                227 dev/pci/if_art.c 		    IFM_SUBTYPE(ac->art_media) == IFM_TDM_T1_AMI))
ac                237 dev/pci/if_art.c 			if ((rv = musycc_init_channel(cc, ac->art_slot)))
ac                246 dev/pci/if_art.c 		if (ac != NULL)
ac                247 dev/pci/if_art.c 			rv = ifmedia_ioctl(ifp, ifr, &ac->art_ifm, command);
ac                263 dev/pci/if_art.c 	struct art_softc	*ac = (struct art_softc *)cc->cc_parent;
ac                264 dev/pci/if_art.c 	struct ifmedia		*ifm = &ac->art_ifm;
ac                278 dev/pci/if_art.c 	if (IFM_SUBTYPE(ifm->ifm_media) != IFM_SUBTYPE(ac->art_media) ||
ac                279 dev/pci/if_art.c 	    IFM_MODE(ifm->ifm_media) != IFM_MODE(ac->art_media)) {
ac                284 dev/pci/if_art.c 		bt8370_set_frame_mode(ac, ac->art_type,
ac                287 dev/pci/if_art.c 		if (IFM_SUBTYPE(ifm->ifm_media) != IFM_SUBTYPE(ac->art_media)) {
ac                292 dev/pci/if_art.c 			if (ac->art_type == ART_SBI_SINGLE &&
ac                295 dev/pci/if_art.c 			    (IFM_SUBTYPE(ac->art_media) != IFM_TDM_T1 &&
ac                296 dev/pci/if_art.c 			     IFM_SUBTYPE(ac->art_media) != IFM_TDM_T1_AMI))
ac                303 dev/pci/if_art.c 			else if (ac->art_type == ART_SBI_SINGLE &&
ac                306 dev/pci/if_art.c 			    (IFM_SUBTYPE(ac->art_media) == IFM_TDM_T1 ||
ac                307 dev/pci/if_art.c 			     IFM_SUBTYPE(ac->art_media) == IFM_TDM_T1_AMI))
ac                313 dev/pci/if_art.c 		if ((rv = musycc_init_channel(cc, ac->art_slot)))
ac                317 dev/pci/if_art.c 	baudrate = ifmedia_baudrate(ac->art_media);
ac                325 dev/pci/if_art.c 	ac->art_media = ifm->ifm_media;
ac                333 dev/pci/if_art.c 	struct art_softc	*ac;
ac                335 dev/pci/if_art.c 	ac = (struct art_softc *)
ac                340 dev/pci/if_art.c 	ifmreq->ifm_active = ac->art_media;
ac                348 dev/pci/if_art.c 	struct art_softc	*ac = (struct art_softc *)cc->cc_parent;
ac                366 dev/pci/if_art.c 		if ((rv = musycc_init_channel(cc, ac->art_slot)))
ac                376 dev/pci/if_art.c 	struct art_softc	*ac = arg;
ac                377 dev/pci/if_art.c 	struct ifnet		*ifp = ac->art_channel->cc_ifp;
ac                378 dev/pci/if_art.c 	struct sppp		*ppp = &ac->art_channel->cc_ppp;
ac                381 dev/pci/if_art.c 	rv = bt8370_link_status(ac);
ac                386 dev/pci/if_art.c 		ebus_set_led(ac->art_channel, 1, MUSYCC_LED_GREEN);
ac                391 dev/pci/if_art.c 		ebus_set_led(ac->art_channel, 1,
ac                397 dev/pci/if_art.c 		ebus_set_led(ac->art_channel, 0, MUSYCC_LED_GREEN);
ac                413 dev/pci/if_art.c 	musycc_tick(ac->art_channel);
ac                418 dev/pci/if_art.c 	timeout_add(&ac->art_onesec, hz);
ac                424 dev/pci/if_art.c 	struct art_softc	*ac = arg;
ac                425 dev/pci/if_art.c 	struct ifnet		*ifp = ac->art_channel->cc_ifp;
ac                429 dev/pci/if_art.c 		ebus_set_led(ac->art_channel, 0, MUSYCC_LED_RED);
ac                432 dev/pci/if_art.c 		ebus_set_led(ac->art_channel, 1, MUSYCC_LED_RED);
ac               1065 dev/pci/if_bge.c 	struct arpcom		*ac = &sc->arpcom;
ac               1066 dev/pci/if_bge.c 	struct ifnet		*ifp = &ac->ac_if;
ac               1079 dev/pci/if_bge.c 	else if (ac->ac_multirangecnt > 0) {
ac               1083 dev/pci/if_bge.c 		ETHER_FIRST_MULTI(step, ac, enm);
ac               4775 dev/pci/if_bnx.c 	struct arpcom		*ac = &sc->arpcom;
ac               4776 dev/pci/if_bnx.c 	struct ifnet		*ifp = &ac->ac_if;
ac               4818 dev/pci/if_bnx.c 		ETHER_FIRST_MULTI(step, ac, enm);
ac               1758 dev/pci/if_cas.c 	struct arpcom *ac = &sc->sc_arpcom;
ac               1796 dev/pci/if_cas.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1248 dev/pci/if_em.c 	struct arpcom *ac = &sc->interface_data;
ac               1262 dev/pci/if_em.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                776 dev/pci/if_ixgb.c 	struct arpcom *ac = &sc->interface_data;
ac                782 dev/pci/if_ixgb.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                321 dev/pci/if_lge.c 	struct arpcom		*ac = &sc->arpcom;
ac                322 dev/pci/if_lge.c 	struct ifnet		*ifp = &ac->ac_if;
ac                342 dev/pci/if_lge.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                371 dev/pci/if_msk.c 	struct arpcom *ac = &sc_if->arpcom;
ac                389 dev/pci/if_msk.c 		ETHER_FIRST_MULTI(step, ac, enm);
ac               1673 dev/pci/if_nfe.c 	struct arpcom *ac = &sc->sc_arpcom;
ac               1674 dev/pci/if_nfe.c 	struct ifnet *ifp = &ac->ac_if;
ac               1690 dev/pci/if_nfe.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                610 dev/pci/if_nge.c 	struct arpcom		*ac = &sc->arpcom;
ac                611 dev/pci/if_nge.c 	struct ifnet		*ifp = &ac->ac_if;
ac                649 dev/pci/if_nge.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1906 dev/pci/if_pcn.c 	struct arpcom *ac = &sc->sc_arpcom;
ac               1928 dev/pci/if_pcn.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                718 dev/pci/if_sis.c 	struct arpcom		*ac = &sc->arpcom;
ac                733 dev/pci/if_sis.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                757 dev/pci/if_sis.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                776 dev/pci/if_sis.c 	struct arpcom		*ac = &sc->arpcom;
ac                807 dev/pci/if_sis.c 		ETHER_FIRST_MULTI(step, ac, enm);
ac                436 dev/pci/if_sk.c 	struct arpcom *ac = &sc_if->arpcom;
ac                468 dev/pci/if_sk.c 		ETHER_FIRST_MULTI(step, ac, enm);
ac                509 dev/pci/if_ste.c 	struct arpcom		*ac = &sc->arpcom;
ac                530 dev/pci/if_ste.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1150 dev/pci/if_stge.c 	uint32_t ac;
ac               1153 dev/pci/if_stge.c 	ac = CSR_READ_4(sc, STGE_AsicCtrl);
ac               1161 dev/pci/if_stge.c 	    ac | AC_GlobalReset | AC_RxReset | AC_TxReset |
ac               1553 dev/pci/if_stge.c 	struct arpcom *ac = &sc->sc_arpcom;
ac               1583 dev/pci/if_stge.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1150 dev/pci/if_ti.c 	struct arpcom		*ac = &sc->arpcom;
ac               1180 dev/pci/if_ti.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                869 dev/pci/if_tl.c 	struct arpcom *ac = &sc->arpcom;
ac                879 dev/pci/if_tl.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                892 dev/pci/if_tl.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac               1942 dev/pci/if_txp.c 	struct arpcom *ac = &sc->sc_arpcom;
ac               1966 dev/pci/if_txp.c 		ETHER_FIRST_MULTI(step, ac, enm);
ac                477 dev/pci/if_vge.c 	struct arpcom		*ac = &sc->arpcom;
ac                478 dev/pci/if_vge.c 	struct ifnet		*ifp = &ac->ac_if;
ac                503 dev/pci/if_vge.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                519 dev/pci/if_vge.c 		ETHER_FIRST_MULTI(step, ac, enm);
ac                850 dev/pci/if_vic.c 	struct arpcom *ac = &sc->sc_ac;
ac                866 dev/pci/if_vic.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                494 dev/pci/if_vr.c 	struct arpcom *ac = &sc->arpcom;
ac                518 dev/pci/if_vr.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                534 dev/pci/if_wb.c 	struct arpcom		*ac = &sc->arpcom;
ac                558 dev/pci/if_wb.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                182 dev/pci/if_wpi.c 	int ac, error;
ac                250 dev/pci/if_wpi.c 	for (ac = 0; ac < 4; ac++) {
ac                251 dev/pci/if_wpi.c 		error = wpi_alloc_tx_ring(sc, &sc->txq[ac], WPI_TX_RING_COUNT,
ac                252 dev/pci/if_wpi.c 		    ac);
ac                254 dev/pci/if_wpi.c 			printf(": could not allocate Tx ring %d\n", ac);
ac                349 dev/pci/if_wpi.c fail3:	while (--ac >= 0)
ac                350 dev/pci/if_wpi.c 		wpi_free_tx_ring(sc, &sc->txq[ac]);
ac               1557 dev/pci/if_wpi.c     int ac)
ac               1560 dev/pci/if_wpi.c 	struct wpi_tx_ring *ring = &sc->txq[ac];
ac               1596 dev/pci/if_wpi.c 		tap->wt_hwqueue = ac;
ac               2892 dev/pci/if_wpi.c 	int ac;
ac               2910 dev/pci/if_wpi.c 	for (ac = 0; ac < 4; ac++)
ac               2911 dev/pci/if_wpi.c 		wpi_reset_tx_ring(sc, &sc->txq[ac]);
ac               1033 dev/pci/if_xge.c 	struct arpcom *ac = &sc->sc_arpcom;
ac               1039 dev/pci/if_xge.c 	ETHER_FIRST_MULTI(step, ac, enm);
ac                104 dev/raidframe/rf_copyback.c 	int ac;
ac                139 dev/raidframe/rf_copyback.c  		ac = raidPtr->Disks[frow][fcol].auto_configured;
ac                140 dev/raidframe/rf_copyback.c  		rf_close_component(raidPtr, vp, ac);
ac                401 dev/raidframe/rf_disks.c 	RF_AutoConfig_t *ac;
ac                422 dev/raidframe/rf_disks.c 	ac = auto_config;
ac                423 dev/raidframe/rf_disks.c 	while(ac!=NULL) {
ac                425 dev/raidframe/rf_disks.c 			mod_counter = ac->clabel->mod_counter;
ac                428 dev/raidframe/rf_disks.c 			if (ac->clabel->mod_counter > mod_counter) {
ac                429 dev/raidframe/rf_disks.c 				mod_counter = ac->clabel->mod_counter;
ac                432 dev/raidframe/rf_disks.c 		ac->flag = 0; /* Clear the general purpose flag. */
ac                433 dev/raidframe/rf_disks.c 		ac = ac->next;
ac                445 dev/raidframe/rf_disks.c 			ac = auto_config;
ac                446 dev/raidframe/rf_disks.c 			while(ac!=NULL) {
ac                447 dev/raidframe/rf_disks.c 				if (ac->clabel == NULL) {
ac                451 dev/raidframe/rf_disks.c 				if ((ac->clabel->row == r) &&
ac                452 dev/raidframe/rf_disks.c 				    (ac->clabel->column == c) &&
ac                453 dev/raidframe/rf_disks.c 				    (ac->clabel->mod_counter == mod_counter)) {
ac                459 dev/raidframe/rf_disks.c 					ac->flag = 1;
ac                462 dev/raidframe/rf_disks.c 					    ac->devname, r, c);
ac                467 dev/raidframe/rf_disks.c 				ac = ac->next;
ac                470 dev/raidframe/rf_disks.c 			if (ac == NULL) {
ac                480 dev/raidframe/rf_disks.c 				ac = auto_config;
ac                481 dev/raidframe/rf_disks.c 				while(ac!=NULL) {
ac                482 dev/raidframe/rf_disks.c 					if (ac->clabel == NULL) {
ac                486 dev/raidframe/rf_disks.c 					if ((ac->clabel->row == r) &&
ac                487 dev/raidframe/rf_disks.c 					    (ac->clabel->column == c)) {
ac                493 dev/raidframe/rf_disks.c 						ac->flag = 1;
ac                497 dev/raidframe/rf_disks.c 						    ac->devname, r, c);
ac                502 dev/raidframe/rf_disks.c 					ac = ac->next;
ac                508 dev/raidframe/rf_disks.c 			if (ac!=NULL) {
ac                510 dev/raidframe/rf_disks.c 				diskPtr->blockSize = ac->clabel->blockSize;
ac                511 dev/raidframe/rf_disks.c 				diskPtr->numBlocks = ac->clabel->numBlocks;
ac                516 dev/raidframe/rf_disks.c 				raidPtr->raid_cinfo[r][c].ci_vp = ac->vp;
ac                517 dev/raidframe/rf_disks.c 				raidPtr->raid_cinfo[r][c].ci_dev = ac->dev;
ac                520 dev/raidframe/rf_disks.c 				    ac->clabel, sizeof(*ac->clabel));
ac                523 dev/raidframe/rf_disks.c 				    ac->devname);
ac                531 dev/raidframe/rf_disks.c 				diskPtr->dev = ac->dev;
ac                559 dev/raidframe/rf_disks.c 				    ac->clabel->serial_number;
ac                564 dev/raidframe/rf_disks.c 				if (ac->clabel->mod_counter != mod_counter) {
ac                576 dev/raidframe/rf_disks.c 					if (ac->clabel->clean != RF_RAID_CLEAN)
ac                604 dev/raidframe/rf_disks.c 	ac = auto_config;
ac                605 dev/raidframe/rf_disks.c 	while(ac != NULL) {
ac                606 dev/raidframe/rf_disks.c 		if (ac->flag == 0) {
ac                607 dev/raidframe/rf_disks.c 			VOP_CLOSE(ac->vp, FREAD, NOCRED, 0);
ac                608 dev/raidframe/rf_disks.c 			vput(ac->vp);
ac                609 dev/raidframe/rf_disks.c 			ac->vp = NULL;
ac                612 dev/raidframe/rf_disks.c 			    ac->devname);
ac                615 dev/raidframe/rf_disks.c 		ac = ac->next;
ac                365 dev/raidframe/rf_driver.c rf_Configure(RF_Raid_t *raidPtr, RF_Config_t *cfgPtr, RF_AutoConfig_t *ac)
ac                489 dev/raidframe/rf_driver.c 	if (ac != NULL) {
ac                495 dev/raidframe/rf_driver.c 		rf_AutoConfigureDisks(raidPtr, cfgPtr, ac);
ac                199 dev/raidframe/rf_openbsd.h 	struct RF_AutoConfig_s	*ac;		/*
ac                492 dev/raidframe/rf_openbsdkintf.c 		    cset->ac->clabel->autoconfigure==1) {
ac               2712 dev/raidframe/rf_openbsdkintf.c 	RF_AutoConfig_t *ac;
ac               2829 dev/raidframe/rf_openbsdkintf.c 					ac = (RF_AutoConfig_t *)
ac               2832 dev/raidframe/rf_openbsdkintf.c 					if (ac == NULL) {
ac               2837 dev/raidframe/rf_openbsdkintf.c 					snprintf(ac->devname,
ac               2838 dev/raidframe/rf_openbsdkintf.c 						 sizeof ac->devname, "%s%c",
ac               2840 dev/raidframe/rf_openbsdkintf.c 					ac->dev = dev;
ac               2841 dev/raidframe/rf_openbsdkintf.c 					ac->vp = vp;
ac               2842 dev/raidframe/rf_openbsdkintf.c 					ac->clabel = clabel;
ac               2843 dev/raidframe/rf_openbsdkintf.c 					ac->next = ac_list;
ac               2844 dev/raidframe/rf_openbsdkintf.c 					ac_list = ac;
ac               2909 dev/raidframe/rf_openbsdkintf.c 	RF_AutoConfig_t *ac;
ac               2921 dev/raidframe/rf_openbsdkintf.c 	ac = ac_list;
ac               2922 dev/raidframe/rf_openbsdkintf.c 	while(ac!=NULL) {
ac               2927 dev/raidframe/rf_openbsdkintf.c 		ac_next = ac->next;
ac               2938 dev/raidframe/rf_openbsdkintf.c 			config_sets->ac = ac;
ac               2941 dev/raidframe/rf_openbsdkintf.c 			ac->next = NULL;
ac               2946 dev/raidframe/rf_openbsdkintf.c 				if (rf_does_it_fit(cset, ac)) {
ac               2948 dev/raidframe/rf_openbsdkintf.c 					ac->next = cset->ac;
ac               2949 dev/raidframe/rf_openbsdkintf.c 					cset->ac = ac;
ac               2962 dev/raidframe/rf_openbsdkintf.c 				cset->ac = ac;
ac               2963 dev/raidframe/rf_openbsdkintf.c 				ac->next = NULL;
ac               2969 dev/raidframe/rf_openbsdkintf.c 		ac = ac_next;
ac               2977 dev/raidframe/rf_openbsdkintf.c rf_does_it_fit(RF_ConfigSet_t *cset, RF_AutoConfig_t *ac)
ac               3008 dev/raidframe/rf_openbsdkintf.c 	clabel1 = cset->ac->clabel;
ac               3009 dev/raidframe/rf_openbsdkintf.c 	clabel2 = ac->clabel;
ac               3037 dev/raidframe/rf_openbsdkintf.c 	RF_AutoConfig_t *ac;
ac               3055 dev/raidframe/rf_openbsdkintf.c 	num_rows = cset->ac->clabel->num_rows;
ac               3056 dev/raidframe/rf_openbsdkintf.c 	num_cols = cset->ac->clabel->num_columns;
ac               3057 dev/raidframe/rf_openbsdkintf.c 	parity_type = cset->ac->clabel->parityConfig;
ac               3065 dev/raidframe/rf_openbsdkintf.c 	ac = cset->ac;
ac               3066 dev/raidframe/rf_openbsdkintf.c 	while(ac!=NULL) {
ac               3068 dev/raidframe/rf_openbsdkintf.c 			mod_counter = ac->clabel->mod_counter;
ac               3071 dev/raidframe/rf_openbsdkintf.c 			if (ac->clabel->mod_counter > mod_counter) {
ac               3072 dev/raidframe/rf_openbsdkintf.c 				mod_counter = ac->clabel->mod_counter;
ac               3075 dev/raidframe/rf_openbsdkintf.c 		ac = ac->next;
ac               3079 dev/raidframe/rf_openbsdkintf.c 	auto_config = cset->ac;
ac               3084 dev/raidframe/rf_openbsdkintf.c 			ac = auto_config;
ac               3085 dev/raidframe/rf_openbsdkintf.c 			while(ac!=NULL) {
ac               3086 dev/raidframe/rf_openbsdkintf.c 				if ((ac->clabel->row == r) &&
ac               3087 dev/raidframe/rf_openbsdkintf.c 				    (ac->clabel->column == c) &&
ac               3088 dev/raidframe/rf_openbsdkintf.c 				    (ac->clabel->mod_counter == mod_counter)) {
ac               3092 dev/raidframe/rf_openbsdkintf.c 					    ac->devname,r,c);
ac               3096 dev/raidframe/rf_openbsdkintf.c 				ac=ac->next;
ac               3098 dev/raidframe/rf_openbsdkintf.c 			if (ac==NULL) {
ac               3136 dev/raidframe/rf_openbsdkintf.c 	clabel = cset->ac->clabel;
ac               3153 dev/raidframe/rf_openbsdkintf.c rf_create_configuration(RF_AutoConfig_t *ac, RF_Config_t *config,
ac               3159 dev/raidframe/rf_openbsdkintf.c 	clabel = ac->clabel;
ac               3174 dev/raidframe/rf_openbsdkintf.c 	while(ac!=NULL) {
ac               3179 dev/raidframe/rf_openbsdkintf.c 		strlcpy(config->devnames[ac->clabel->row][ac->clabel->column],
ac               3180 dev/raidframe/rf_openbsdkintf.c 		    ac->devname,
ac               3181 dev/raidframe/rf_openbsdkintf.c 		    sizeof config->devnames[ac->clabel->row][ac->clabel->column]);
ac               3182 dev/raidframe/rf_openbsdkintf.c 		ac = ac->next;
ac               3348 dev/raidframe/rf_openbsdkintf.c 	RF_AutoConfig_t *ac;
ac               3350 dev/raidframe/rf_openbsdkintf.c 	ac = cset->ac;
ac               3351 dev/raidframe/rf_openbsdkintf.c 	while(ac!=NULL) {
ac               3353 dev/raidframe/rf_openbsdkintf.c 		if (ac->vp) {
ac               3354 dev/raidframe/rf_openbsdkintf.c 			VOP_CLOSE(ac->vp, FREAD, NOCRED, 0);
ac               3355 dev/raidframe/rf_openbsdkintf.c 			vrele(ac->vp);
ac               3356 dev/raidframe/rf_openbsdkintf.c 			ac->vp = NULL;
ac               3358 dev/raidframe/rf_openbsdkintf.c 		ac = ac->next;
ac               3366 dev/raidframe/rf_openbsdkintf.c 	RF_AutoConfig_t *ac;
ac               3369 dev/raidframe/rf_openbsdkintf.c 	ac = cset->ac;
ac               3370 dev/raidframe/rf_openbsdkintf.c 	while(ac!=NULL) {
ac               3371 dev/raidframe/rf_openbsdkintf.c 		next_ac = ac->next;
ac               3373 dev/raidframe/rf_openbsdkintf.c 		free(ac->clabel, M_RAIDFRAME);
ac               3375 dev/raidframe/rf_openbsdkintf.c 		free(ac, M_RAIDFRAME);
ac               3377 dev/raidframe/rf_openbsdkintf.c 		ac = next_ac;
ac               3445 dev/raidframe/rf_openbsdkintf.c 	raidID = cset->ac->clabel->last_unit;
ac               3479 dev/raidframe/rf_openbsdkintf.c 	rf_create_configuration(cset->ac, config, raidPtr);
ac               3482 dev/raidframe/rf_openbsdkintf.c 	retcode = rf_Configure(raidPtr, config, cset->ac);
ac               3490 dev/raidframe/rf_openbsdkintf.c 		if (cset->ac->clabel->root_partition==1) {
ac                479 dev/raidframe/rf_reconstruct.c 	int ac;
ac                574 dev/raidframe/rf_reconstruct.c 			ac = raidPtr->Disks[row][col].auto_configured;
ac                575 dev/raidframe/rf_reconstruct.c 			rf_close_component(raidPtr, vp, ac);
ac               1122 dev/sbus/be.c  	struct arpcom *ac = &sc->sc_arpcom;
ac               1148 dev/sbus/be.c  	ETHER_FIRST_MULTI(step, ac, enm);
ac               1106 dev/sbus/qe.c  	struct arpcom *ac = &sc->sc_arpcom;
ac               1137 dev/sbus/qe.c  	ETHER_FIRST_MULTI(step, ac, enm);
ac               1686 dev/usb/if_uath.c 	int ac, error;
ac               1688 dev/usb/if_uath.c 	for (ac = 0; ac < 4; ac++) {
ac               1689 dev/usb/if_uath.c 		const uint32_t qid = htobe32(UATH_AC_TO_QID(ac));
ac               1691 dev/usb/if_uath.c 		DPRINTF(("resetting Tx queue %d\n", UATH_AC_TO_QID(ac)));
ac               1704 dev/usb/if_uath.c 	int ac, error;
ac               1716 dev/usb/if_uath.c 	for (ac = 0; ac < 4; ac++) {
ac               1717 dev/usb/if_uath.c 		qinfo.qid      = htobe32(UATH_AC_TO_QID(ac));
ac               1718 dev/usb/if_uath.c 		qinfo.ac       = htobe32(ac);
ac               1719 dev/usb/if_uath.c 		qinfo.aifsn    = htobe32(uath_wme_11g[ac].aifsn);
ac               1720 dev/usb/if_uath.c 		qinfo.logcwmin = htobe32(uath_wme_11g[ac].logcwmin);
ac               1721 dev/usb/if_uath.c 		qinfo.logcwmax = htobe32(uath_wme_11g[ac].logcwmax);
ac               1723 dev/usb/if_uath.c 				     uath_wme_11g[ac].txop));
ac               1724 dev/usb/if_uath.c 		qinfo.acm      = htobe32(uath_wme_11g[ac].acm);
ac               1726 dev/usb/if_uath.c 		DPRINTF(("setting up Tx queue %d\n", UATH_AC_TO_QID(ac)));
ac                205 dev/usb/if_uathreg.h #define UATH_AC_TO_QID(ac)	(ac)	/* id function */
ac                208 dev/usb/if_uathreg.h 	uint32_t	ac;
ac               1381 net/if_bridge.c 	struct arpcom *ac;
ac               1473 net/if_bridge.c 		ac = (struct arpcom *)ifl->ifp;
ac               1474 net/if_bridge.c 		if (bcmp(ac->ac_enaddr, eh->ether_dhost, ETHER_ADDR_LEN) == 0
ac               1497 net/if_bridge.c 		if (bcmp(ac->ac_enaddr, eh->ether_shost, ETHER_ADDR_LEN) == 0
ac                205 net/if_ethersubr.c 	struct arpcom *ac = (struct arpcom *)ifp0;
ac                225 net/if_ethersubr.c 		ac = (struct arpcom *)ifp;
ac                262 net/if_ethersubr.c 		if (!arpresolve(ac, rt, m, dst, edst))
ac                282 net/if_ethersubr.c 		if (!aarpresolve(ac, m, (struct sockaddr_at *)dst, edst)) {
ac                366 net/if_ethersubr.c 		bcopy((caddr_t)ac->ac_enaddr, (caddr_t)eh->ether_shost,
ac                464 net/if_ethersubr.c 	struct arpcom *ac;
ac                580 net/if_ethersubr.c 	ac = (struct arpcom *)ifp;
ac                596 net/if_ethersubr.c 		if (bcmp(ac->ac_enaddr, (caddr_t)eh->ether_dhost,
ac                811 net/if_ethersubr.c 	struct arpcom *ac = (struct arpcom *)ifp;
ac                814 net/if_ethersubr.c 	for (enm = LIST_FIRST(&ac->ac_multiaddrs);
ac                815 net/if_ethersubr.c 	    enm != LIST_END(&ac->ac_multiaddrs);
ac                816 net/if_ethersubr.c 	    enm = LIST_FIRST(&ac->ac_multiaddrs)) {
ac               1017 net/if_ethersubr.c ether_addmulti(ifr, ac)
ac               1019 net/if_ethersubr.c 	struct arpcom *ac;
ac               1042 net/if_ethersubr.c 	ETHER_LOOKUP_MULTI(addrlo, addrhi, ac, enm);
ac               1062 net/if_ethersubr.c 	enm->enm_ac = ac;
ac               1064 net/if_ethersubr.c 	LIST_INSERT_HEAD(&ac->ac_multiaddrs, enm, enm_list);
ac               1065 net/if_ethersubr.c 	ac->ac_multicnt++;
ac               1067 net/if_ethersubr.c 		ac->ac_multirangecnt++;
ac               1080 net/if_ethersubr.c ether_delmulti(ifr, ac)
ac               1082 net/if_ethersubr.c 	struct arpcom *ac;
ac               1098 net/if_ethersubr.c 	ETHER_LOOKUP_MULTI(addrlo, addrhi, ac, enm);
ac               1115 net/if_ethersubr.c 	ac->ac_multicnt--;
ac               1117 net/if_ethersubr.c 		ac->ac_multirangecnt--;
ac                147 net/if_fddisubr.c 	struct arpcom *ac = (struct arpcom *)ifp0;
ac                162 net/if_fddisubr.c 		ac = (struct arpcom *)ifp;
ac                198 net/if_fddisubr.c 		if (!arpresolve(ac, rt, m, dst, edst))
ac                331 net/if_fddisubr.c  		bcopy((caddr_t)ac->ac_enaddr, (caddr_t)fh->fddi_shost,
ac                236 net/if_trunk.c trunk_lladdr(struct arpcom *ac, u_int8_t *lladdr)
ac                238 net/if_trunk.c 	struct ifnet *ifp = &ac->ac_if;
ac                247 net/if_trunk.c 	bcopy(lladdr, ac->ac_enaddr, ETHER_ADDR_LEN);
ac               2056 net/pf_table.c 	struct pf_anchor	*ac = rs->anchor;
ac               2060 net/pf_table.c 	if (ac != NULL)
ac               2061 net/pf_table.c 		strlcpy(tbl.pfrt_anchor, ac->path, sizeof(tbl.pfrt_anchor));
ac               2067 net/pf_table.c 		if (ac != NULL) {
ac                852 net80211/ieee80211_input.c 		struct ieee80211_edca_ac_params *ac = &ic->ic_edca_ac[aci];
ac                854 net80211/ieee80211_input.c 		ac->ac_acm       = (frm[0] >> 4) & 0x1;
ac                855 net80211/ieee80211_input.c 		ac->ac_aifsn     = frm[0] & 0xf;
ac                856 net80211/ieee80211_input.c 		ac->ac_ecwmin    = frm[1] & 0xf;
ac                857 net80211/ieee80211_input.c 		ac->ac_ecwmax    = frm[1] >> 4;
ac                858 net80211/ieee80211_input.c 		ac->ac_txoplimit = LE_READ_2(frm + 2);
ac                344 net80211/ieee80211_output.c 	enum ieee80211_edca_ac ac;
ac                346 net80211/ieee80211_output.c 	ac = (up <= 7) ? up_to_ac[up] : EDCA_AC_BE;
ac                349 net80211/ieee80211_output.c 		return ac;
ac                358 net80211/ieee80211_output.c 	while (ac != EDCA_AC_BK && ic->ic_edca_ac[ac].ac_acm) {
ac                359 net80211/ieee80211_output.c 		switch (ac) {
ac                365 net80211/ieee80211_output.c 			ac = EDCA_AC_BK;
ac                368 net80211/ieee80211_output.c 			ac = EDCA_AC_BE;
ac                371 net80211/ieee80211_output.c 			ac = EDCA_AC_VI;
ac                375 net80211/ieee80211_output.c 	return ac;
ac                754 net80211/ieee80211_output.c 		const struct ieee80211_edca_ac_params *ac = &edca[aci];
ac                756 net80211/ieee80211_output.c 		*frm++ = (aci << 5) | ((ac->ac_acm & 0x1) << 4) |
ac                757 net80211/ieee80211_output.c 			 (ac->ac_aifsn & 0xf);
ac                758 net80211/ieee80211_output.c 		*frm++ = (ac->ac_ecwmax << 4) |
ac                759 net80211/ieee80211_output.c 			 (ac->ac_ecwmin & 0xf);
ac                760 net80211/ieee80211_output.c 		LE_WRITE_2(frm, ac->ac_txoplimit); frm += 2;
ac                188 netatalk/aarp.c aarpwhohas( ac, sat )
ac                189 netatalk/aarp.c     struct arpcom	*ac;
ac                214 netatalk/aarp.c     bcopy((caddr_t)ac->ac_enaddr, (caddr_t)ea->aarp_sha,
ac                225 netatalk/aarp.c     	    at_ifawithnet( sat, ac->ac_if.if_addrlist.tqh_first )) == NULL ) {
ac                264 netatalk/aarp.c     (*ac->ac_if.if_output)(&ac->ac_if, m, &sa , NULL);
ac                268 netatalk/aarp.c aarpresolve( ac, m, destsat, desten )
ac                269 netatalk/aarp.c     struct arpcom	*ac;
ac                280 netatalk/aarp.c 		((struct ifnet *)ac)->if_addrlist.tqh_first )) == NULL ) {
ac                302 netatalk/aarp.c 	aarpwhohas( ac, destsat );
ac                319 netatalk/aarp.c     aarpwhohas( ac, destsat );
ac                325 netatalk/aarp.c aarpinput( ac, m )
ac                326 netatalk/aarp.c     struct arpcom	*ac;
ac                331 netatalk/aarp.c     if ( ac->ac_if.if_flags & IFF_NOARP )
ac                350 netatalk/aarp.c 	at_aarpinput( ac, m );
ac                363 netatalk/aarp.c at_aarpinput( ac, m )
ac                364 netatalk/aarp.c     struct arpcom	*ac;
ac                381 netatalk/aarp.c     if ( !bcmp(( caddr_t )ea->aarp_sha, ( caddr_t )ac->ac_enaddr,
ac                382 netatalk/aarp.c 	    sizeof( ac->ac_enaddr ))) {
ac                407 netatalk/aarp.c 		ac->ac_if.if_addrlist.tqh_first )) == NULL ) {
ac                418 netatalk/aarp.c 	for ( aa = (struct at_ifaddr *)ac->ac_if.if_addrlist.tqh_first; aa;
ac                488 netatalk/aarp.c 	    (*ac->ac_if.if_output)( &ac->ac_if, aat->aat_hold,
ac                515 netatalk/aarp.c     bcopy(( caddr_t )ac->ac_enaddr, ( caddr_t )ea->aarp_sha,
ac                549 netatalk/aarp.c     (*ac->ac_if.if_output)( &ac->ac_if, m, &sa, NULL );
ac                605 netatalk/aarp.c     struct arpcom	*ac = (struct arpcom *) arg;
ac                620 netatalk/aarp.c     for ( aa = (struct at_ifaddr *)ac->ac_if.if_addrlist.tqh_first; aa;
ac                637 netatalk/aarp.c 	timeout_set(&aarpprobe_timeout, aarpprobe, ac);
ac                656 netatalk/aarp.c     bcopy((caddr_t)ac->ac_enaddr, (caddr_t)ea->aarp_sha,
ac                691 netatalk/aarp.c     (*ac->ac_if.if_output)(&ac->ac_if, m, &sa, NULL );
ac                369 netinet/if_ether.c arpresolve(ac, rt, m, dst, desten)
ac                370 netinet/if_ether.c 	struct arpcom *ac;
ac                415 netinet/if_ether.c 	if (((struct ifnet *)ac)->if_flags & IFF_NOARP)
ac                442 netinet/if_ether.c 				arprequest(&ac->ac_if,
ac                450 netinet/if_ether.c 				    ac->ac_enaddr);
ac                522 netinet/if_ether.c 	struct arpcom *ac = (struct arpcom *)m->m_pkthdr.rcvif;
ac                598 netinet/if_ether.c 		ac = (struct arpcom *)bridge_ia->ia_ifp;
ac                626 netinet/if_ether.c 		enaddr = ac->ac_enaddr;
ac                655 netinet/if_ether.c 				   ac->ac_if.if_xname);
ac                657 netinet/if_ether.c 			} else if (rt->rt_ifp != &ac->ac_if) {
ac                663 netinet/if_ether.c 				   ac->ac_if.if_xname);
ac                670 netinet/if_ether.c 				   ac->ac_if.if_xname);
ac                674 netinet/if_ether.c 		} else if (rt->rt_ifp != &ac->ac_if && !(ac->ac_if.if_bridge &&
ac                675 netinet/if_ether.c 		    (rt->rt_ifp->if_bridge == ac->ac_if.if_bridge)) &&
ac                677 netinet/if_ether.c 		    rt->rt_ifp->if_carpdev == &ac->ac_if) &&
ac                678 netinet/if_ether.c 		    !(ac->ac_if.if_type == IFT_CARP &&
ac                679 netinet/if_ether.c 		    ac->ac_if.if_carpdev == rt->rt_ifp)) {
ac                685 netinet/if_ether.c 			ac->ac_if.if_xname);
ac                695 netinet/if_ether.c 			(*ac->ac_if.if_output)(&ac->ac_if, la->la_hold,
ac                730 netinet/if_ether.c 	if (ac->ac_if.if_type == IFT_CARP && ac->ac_if.if_flags & IFF_LINK1)
ac                731 netinet/if_ether.c 		bcopy(((struct arpcom *)ac->ac_if.if_carpdev)->ac_enaddr,
ac                740 netinet/if_ether.c 	(*ac->ac_if.if_output)(&ac->ac_if, m, &sa, (struct rtentry *)0);
ac                812 netinet/if_ether.c arp_ifinit(ac, ifa)
ac                813 netinet/if_ether.c 	struct arpcom *ac;
ac                818 netinet/if_ether.c 	arprequest(&ac->ac_if,
ac                821 netinet/if_ether.c 	    ac->ac_enaddr);
ac                923 netinet/if_ether.c 	struct arpcom *ac = (struct arpcom *)ifp;
ac                941 netinet/if_ether.c 	bcopy((caddr_t)ac->ac_enaddr, (caddr_t)eh->ether_shost,
ac                943 netinet/if_ether.c 	bcopy((caddr_t)ac->ac_enaddr, (caddr_t)ea->arp_sha,
ac                945 netinet/if_ether.c 	bcopy((caddr_t)ac->ac_enaddr, (caddr_t)ea->arp_tha,
ac                240 netinet/if_ether.h #define ETHER_LOOKUP_MULTI(addrlo, addrhi, ac, enm)			\
ac                246 netinet/if_ether.h 	for ((enm) = LIST_FIRST(&(ac)->ac_multiaddrs);			\
ac                247 netinet/if_ether.h 	    (enm) != LIST_END(&(ac)->ac_multiaddrs) &&			\
ac                268 netinet/if_ether.h #define ETHER_FIRST_MULTI(step, ac, enm) \
ac                273 netinet/if_ether.h 	(step).e_enm = LIST_FIRST(&(ac)->ac_multiaddrs); \