HomeSort by: relevance | last modified time | path
    Searched defs:asc (Results 1 - 25 of 52) sorted by relevancy

1 2 3

  /src/sys/arch/i386/pnpbios/
atppc_pnpbios.c 97 struct atppc_pnpbios_softc *asc = device_private(self); local in function:atppc_pnpbios_attach
110 if (pnpbios_getdmachan(aa->pbt, aa->resc, 0, &asc->sc_drq)) {
120 asc->sc_ic = aa->ic;
128 if (atppc_isadma_setup(sc, asc->sc_ic, asc->sc_drq) == 0) {
  /src/sys/dev/acpi/
joy_acpi.c 80 struct joy_acpi_softc *asc = device_private(self); local in function:joy_acpi_attach
81 struct joy_softc *sc = &asc->sc_joy;
110 mutex_init(&asc->sc_lock, MUTEX_DEFAULT, IPL_NONE);
111 sc->sc_lock = &asc->sc_lock;
lpt_acpi.c 79 struct lpt_acpi_softc *asc = device_private(self); local in function:lpt_acpi_attach
80 struct lpt_softc *sc = &asc->sc_lpt;
mpu_acpi.c 83 struct mpu_acpi_softc *asc = device_private(self); local in function:mpu_acpi_attach
84 struct mpu_softc *sc = &asc->sc_mpu;
112 sc->lock = &asc->sc_lock;
113 mutex_init(&asc->sc_lock, MUTEX_DEFAULT, IPL_AUDIO);
pcppi_acpi.c 78 struct pcppi_acpi_softc *asc = device_private(self); local in function:pcppi_acpi_attach
79 struct pcppi_softc *sc = &asc->sc_pcppi;
atppc_acpi.c 95 struct atppc_acpi_softc *asc = device_private(self); local in function:atppc_acpi_attach
125 asc->sc_drq = drq->ar_drq;
130 asc->sc_ic = aa->aa_ic;
150 if (atppc_isadma_setup(sc, asc->sc_ic, asc->sc_drq) == 0) {
com_acpi.c 107 struct com_acpi_softc *asc = device_private(self); local in function:com_acpi_attach
108 struct com_softc *sc = &asc->sc_com;
192 asc->sc_ih = acpi_intr_establish(self,
fdc_acpi.c 98 struct fdc_acpi_softc *asc = device_private(self); local in function:fdc_acpi_attach
99 struct fdc_softc *sc = &asc->sc_fdc;
108 asc->sc_node = aa->aa_node;
134 0, &asc->sc_baseioh)) {
141 sc->sc_ioh = asc->sc_baseioh;
144 if (bus_space_subregion(sc->sc_iot, asc->sc_baseioh, 2, 4,
190 sc->sc_present = fdc_acpi_enumerate(asc);
193 fdc_acpi_getknownfds(asc);
210 fdc_acpi_enumerate(struct fdc_acpi_softc *asc)
212 struct fdc_softc *sc = &asc->sc_fdc
    [all...]
plgpio_acpi.c 84 struct plgpio_acpi_softc * const asc = device_private(self); local in function:plgpio_acpi_attach
85 struct plgpio_softc * const sc = &asc->sc_base;
95 asc->sc_handle = aa->aa_node->ad_handle;
124 rv = acpi_event_create_gpio(self, asc->sc_handle, plgpio_acpi_register_event, asc);
132 (uint64_t)(uintptr_t)asc->sc_handle,
133 IPL_VM, false, plgpio_acpi_intr, asc, device_xname(self));
144 struct plgpio_acpi_softc * const asc = priv; local in function:plgpio_acpi_register_event
145 struct plgpio_softc * const sc = &asc->sc_base;
150 if (pin >= __arraycount(asc->sc_event))
209 struct plgpio_acpi_softc * const asc = priv; local in function:plgpio_acpi_intr
    [all...]
igpio_acpi.c 112 struct igpio_acpi_softc * const asc = device_private(self); local in function:igpio_acpi_attach
122 asc->sc_handle = aa->aa_node->ad_handle;
135 asc->sc_isc.sc_dev = self;
137 asc->sc_isc.sc_bst = aa->aa_memt;
139 asc->sc_isc.sc_nbar = nbar;
140 asc->sc_isc.sc_base =
141 kmem_zalloc(sizeof(*asc->sc_isc.sc_base) * nbar, KM_SLEEP);
142 asc->sc_isc.sc_length =
143 kmem_zalloc(sizeof(*asc->sc_isc.sc_length) * nbar, KM_SLEEP);
144 asc->sc_isc.sc_bsh =
190 struct igpio_acpi_softc * const asc = device_private(self); local in function:igpio_acpi_detach
230 struct igpio_acpi_softc *asc = priv; local in function:igpio_acpi_intr
    [all...]
xhci_acpi.c 95 struct xhci_acpi_softc * const asc = device_private(self); local in function:xhci_acpi_attach
96 struct xhci_softc * const sc = &asc->sc_xhci;
110 asc->sc_handle = aa->aa_node->ad_handle;
118 rv = acpi_resource_parse(sc->sc_dev, asc->sc_handle, "_CRS",
213 struct xhci_acpi_softc * const asc = (struct xhci_acpi_softc *)sc; local in function:xhci_acpi_init
215 acpi_usb_post_reset(asc->sc_handle);
  /src/sys/dev/isapnp/
atppc_isapnp.c 97 struct atppc_isapnp_softc *asc = device_private(self); local in function:atppc_isapnp_attach
114 asc->sc_ic = ipa->ipa_ic;
115 asc->sc_drq = -1; /* Initialized below */
125 && atppc_isadma_setup(sc, asc->sc_ic, ipa->ipa_drq[0].num) == 0) {
126 asc->sc_drq = ipa->ipa_drq[0].num;
  /src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/
vchiq_netbsd_acpi.c 84 struct vchiq_acpi_softc *asc = device_private(self); local in function:vchiq_acpi_attach
85 struct vchiq_softc *sc = &asc->sc_vchiq;
94 asc->sc_handle = aa->aa_node->ad_handle;
130 struct vchiq_acpi_softc *asc = device_private(self); local in function:vchiq_acpi_defer
131 struct vchiq_softc *sc = &asc->sc_vchiq;
132 ACPI_HANDLE handle = asc->sc_handle;
  /src/sys/dev/
spkr_audio.c 83 struct audio_softc *asc = device_private(parent); local in function:spkr_audio_probe
85 if ((asc->sc_props & AUDIO_PROP_PLAYBACK))
  /src/sys/arch/mips/alchemy/dev/
com_aubus.c 88 struct com_aubus_softc *asc = device_private(self); local in function:com_aubus_attach
89 struct com_softc *sc = &asc->sc_com;
95 asc->sc_irq = aa->aa_irq[0];
136 struct com_aubus_softc *asc = (void *)sc; /* XXX mi prototype */ local in function:com_aubus_enable
139 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE) && (asc->sc_ih != NULL))
147 asc->sc_ih = au_intr_establish(asc->sc_irq, 0, IPL_SERIAL, IST_LEVEL,
149 if (asc->sc_ih == NULL) {
161 struct com_aubus_softc *asc = (void *)sc; /* XXX mi prototype */ local in function:com_aubus_disable
168 au_intr_disestablish(asc->sc_ih)
    [all...]
  /src/sys/dev/ofisa/
atppc_ofisa.c 103 struct atppc_ofisa_softc *asc = device_private(self); local in function:atppc_ofisa_attach
139 asc->sc_drq = dma.drq;
145 asc->sc_ic = aa->ic;
161 if (atppc_isadma_setup(sc, asc->sc_ic, asc->sc_drq) == 0) {
  /src/sys/dev/pci/
agp_ali.c 79 struct agp_ali_softc *asc; local in function:agp_ali_attach
84 asc = malloc(sizeof *asc, M_AGP, M_WAITOK);
85 sc->as_chipc = asc;
90 free(asc, M_AGP);
97 asc->initial_aperture = agp_ali_get_aperture(sc);
114 asc->gatt = gatt;
135 struct agp_ali_softc *asc = sc->as_chipc;
148 AGP_SET_APERTURE(sc, asc->initial_aperture);
153 agp_free_gatt(sc, asc->gatt)
215 struct agp_ali_softc *asc = sc->as_chipc; local in function:agp_ali_bind_page
227 struct agp_ali_softc *asc = sc->as_chipc; local in function:agp_ali_unbind_page
    [all...]
agp_apple.c 84 struct agp_apple_softc *asc; local in function:agp_apple_attach
87 asc = malloc(sizeof *asc, M_AGP, M_WAITOK|M_ZERO);
88 sc->as_chipc = asc;
100 asc->initial_aperture = sc->as_apsize;
112 asc->gatt = gatt;
164 struct agp_apple_softc *asc = sc->as_chipc; local in function:agp_apple_bind_page
166 if (offset < 0 || offset >= (asc->gatt->ag_entries << AGP_PAGE_SHIFT))
169 asc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = htole32(physical);
176 struct agp_apple_softc *asc = sc->as_chipc local in function:agp_apple_unbind_page
    [all...]
agp_via.c 90 struct agp_via_softc *asc; local in function:agp_via_attach
94 asc = malloc(sizeof *asc, M_AGP, M_WAITOK|M_ZERO);
95 sc->as_chipc = asc;
103 asc->regs = via_v3_regs;
106 asc->regs = via_v2_regs;
110 asc->regs = via_v2_regs;
116 free(asc, M_AGP);
120 asc->initial_aperture = AGP_GET_APERTURE(sc);
137 asc->gatt = gatt
184 struct agp_via_softc *asc = sc->as_chipc; local in function:agp_via_get_aperture
234 struct agp_via_softc *asc = sc->as_chipc; local in function:agp_via_set_aperture
306 struct agp_via_softc *asc = sc->as_chipc; local in function:agp_via_bind_page
318 struct agp_via_softc *asc = sc->as_chipc; local in function:agp_via_unbind_page
330 struct agp_via_softc *asc = sc->as_chipc; local in function:agp_via_flush_tlb
    [all...]
  /src/sys/arch/mips/atheros/dev/
if_ath_arbus.c 99 struct ath_arbus_softc *asc = device_private(dv); local in function:ath_arbus_resume
100 ath_resume(&asc->sc_ath);
109 struct ath_arbus_softc *asc; local in function:ath_arbus_attach
117 asc = device_private(self);
118 sc = &asc->sc_ath;
135 asc->sc_iot = aa->aa_bst;
136 rv = bus_space_map(asc->sc_iot, aa->aa_addr, aa->aa_size, 0,
137 &asc->sc_ioh);
145 rv = atheros_get_board_config(&asc->sc_config);
150 asc->sc_config.unit = device_unit(sc->sc_dev)
186 struct ath_arbus_softc *asc = device_private(self); local in function:ath_arbus_detach
    [all...]
  /src/sbin/scsictl/
scsi_sense.c 77 unsigned char asc; member in struct:__anon83c5fd8c0108
278 asc2ascii(unsigned char asc, unsigned char ascq, char *result, size_t reslen)
283 if (adesc[i].asc == asc && adesc[i].ascq == ascq)
288 if (asc == 0x40 && ascq != 0)
294 "ASC 0x%02x ASCQ 0x%02x",
295 asc & 0xff, ascq & 0xff);
356 * Decode ASC && ASCQ info, plus FRU, plus the rest...
361 printf("\n ASC/ASCQ: %s", cp);
431 } else if (flag == 1) { /* ASC/ASCQ Only *
    [all...]
  /src/tests/lib/libc/sys/
t_sigqueue.c 118 asc(const void *a, const void *b) function in typeref:typename:int
133 qsort(ordered, len, sizeof(*ordered), asc);
  /src/usr.sbin/mmcformat/
uscsilib.h 71 int asc; /* Additional sense code */ member in struct:uscsi_sense
74 int sense_key; /* sense key; interpret on (asc, ascq) pair */
  /src/sys/arch/acorn32/podulebus/
amps.c 282 struct com_amps_softc *asc = device_private(self); local in function:com_amps_attach
283 struct com_softc *sc = &asc->sc_com;
301 evcnt_attach_dynamic(&asc->sc_intrcnt, EVCNT_TYPE_INTR, NULL,
303 asc->sc_ih = podulebus_irq_establish(aa->aa_irq, IPL_SERIAL, comintr,
304 sc, &asc->sc_intrcnt);
  /src/sys/dev/scsipi/
scsipi_verbose.c 75 * <ftp://ftp.t10.org/t10/drafts/spc3/asc-num.txt>
79 unsigned char asc; member in struct:__anone6fcfc340108
870 asc2ascii(u_char asc, u_char ascq, char *result, size_t l)
875 if (adesc[i].asc == asc && adesc[i].ascq == ascq)
880 if (asc == 0x40 && ascq != 0)
885 (void)snprintf(result, l, "ASC 0x%02x ASCQ 0x%02x",
886 asc & 0xff, ascq & 0xff);
947 * Decode ASC && ASCQ info, plus FRU, plus the rest...
952 printf("\n ASC/ASCQ: %s", sbs)
    [all...]

Completed in 35 milliseconds

1 2 3