HomeSort by: relevance | last modified time | path
    Searched refs:psc (Results 1 - 25 of 128) sorted by relevancy

1 2 3 4 5 6

  /src/sys/net/lagg/
if_laggproto.c 111 lagg_link_active(struct lagg_proto_softc *psc,
155 struct lagg_proto_softc *psc; local in function:lagg_proto_alloc
170 psc = kmem_zalloc(sizeof(*psc), KM_NOSLEEP);
171 if (psc == NULL)
176 psc->psc_workq = lagg_workq_create(xnamebuf,
178 if (psc->psc_workq == NULL) {
180 kmem_free(psc, sizeof(*psc));
185 psc->psc_ctx = kmem_zalloc(ctxsiz, KM_NOSLEEP)
458 struct lagg_proto_softc *psc; local in function:lagg_fail_attach
590 struct lagg_proto_softc *psc = xpsc; local in function:lagg_fail_linkspeed_work
617 struct lagg_proto_softc *psc; local in function:lagg_lb_attach
756 struct lagg_proto_softc *psc = xpsc; local in function:lagg_lb_linkspeed_work
    [all...]
  /src/sys/dev/pckbport/
alps.c 153 pms_alps_e6sig(struct pms_softc *psc, uint8_t *e6sig)
161 if ((res = pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
165 if ((res = pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
169 if ((res = pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
173 if ((res = pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
179 if ((res = pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot
702 struct pms_softc *psc = opaque; local in function:pms_alps_probe_init
786 struct pms_softc *psc = opaque; local in function:pms_alps_enable
795 struct pms_softc *psc = opaque; local in function:pms_alps_resume
1097 struct pms_softc *psc = opaque; local in function:pms_alps_input_v2
1114 struct pms_softc *psc = opaque; local in function:pms_alps_input_v7
    [all...]
elantech.c 183 pms_elantech_init(struct pms_softc *psc)
189 res = pms_elantech_write_1(psc->sc_kbctag, psc->sc_kbcslot, 0x10, 0x54);
192 res = pms_elantech_write_1(psc->sc_kbctag, psc->sc_kbcslot, 0x11, 0x88);
195 res = pms_elantech_write_1(psc->sc_kbctag, psc->sc_kbcslot, 0x21, 0x60);
199 res = pms_elantech_read_1(psc->sc_kbctag, psc->sc_kbcslot, 0x10, &val);
202 aprint_error_dev(psc->sc_dev, "couldn't set absolute mode\n")
210 struct pms_softc *psc = opaque; local in function:pms_elantech_input
317 struct pms_softc *psc = opaque; local in function:pms_elantech_probe_init
399 struct pms_softc *psc = opaque; local in function:pms_elantech_enable
408 struct pms_softc *psc = opaque; local in function:pms_elantech_resume
    [all...]
synaptics.c 198 synaptics_poll_cmd(struct pms_softc *psc, ...)
204 va_start(ap, psc);
211 int res = pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot, cmd, i, 0,
214 device_printf(psc->sc_dev, "command error %#x\n", cmd[0]);
219 synaptics_poll_reset(struct pms_softc *psc)
225 res = pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot, cmd, 1, 2,
227 DPRINTF(10, &psc->u.synaptics, "reset %d 0x%02x 0x%02x\n",
233 synaptics_special_read(struct pms_softc *psc, u_char slice, u_char resp[3]
497 struct pms_softc *psc = vsc; local in function:pms_synaptics_probe_init
646 struct pms_softc *psc = vsc; local in function:pms_synaptics_enable
1719 struct pms_softc *psc = vsc; local in function:pms_synaptics_input
    [all...]
  /src/sys/dev/pci/
if_athn_pci.c 129 struct athn_pci_softc *psc = device_private(self); local in function:athn_pci_attach
130 struct athn_softc *sc = &psc->psc_sc;
141 psc->psc_pc = pa->pa_pc;
142 psc->psc_tag = pa->pa_tag;
153 &psc->psc_cap_off, NULL);
192 error = pci_mapreg_map(pa, ATHN_PCI_MMBA, memtype, 0, &psc->psc_iot,
193 &psc->psc_ioh, NULL, &psc->psc_mapsz);
202 if (pci_intr_map(pa, &psc->psc_pih) != 0) {
207 intrstr = pci_intr_string(psc->psc_pc, psc->psc_pih, intrbuf, sizeof(intrbuf))
244 struct athn_pci_softc *psc = device_private(self); local in function:athn_pci_detach
262 struct athn_pci_softc *psc = device_private(self); local in function:athn_pci_activate
276 struct athn_pci_softc *psc = device_private(self); local in function:athn_pci_suspend
290 struct athn_pci_softc *psc = device_private(self); local in function:athn_pci_resume
314 struct athn_pci_softc *psc = (struct athn_pci_softc *)sc; local in function:athn_pci_read
322 struct athn_pci_softc *psc = (struct athn_pci_softc *)sc; local in function:athn_pci_write
330 struct athn_pci_softc *psc = (struct athn_pci_softc *)sc; local in function:athn_pci_write_barrier
339 struct athn_pci_softc *psc = (struct athn_pci_softc *)sc; local in function:athn_pci_disable_aspm
    [all...]
mvsata_pci.c 80 #define MVSATA_PCI_DEV(psc) (psc->psc_sc.sc_wdcdev.sc_atac.atac_dev)
151 struct mvsata_pci_softc *psc = device_private(self); local in function:mvsata_pci_attach
152 struct mvsata_softc *sc = &psc->psc_sc;
172 &psc->psc_iot, &psc->psc_ioh, NULL, &size) != 0) {
176 psc->psc_pc = pa->pa_pc;
177 psc->psc_tag = pa->pa_tag;
179 if (bus_space_subregion(psc->psc_iot, psc->psc_ioh
244 struct mvsata_pci_softc *psc = device_private(self); local in function:mvsata_pci_detach
256 struct mvsata_pci_softc *psc = (struct mvsata_pci_softc *)arg; local in function:mvsata_pci_intr
317 struct mvsata_pci_softc *psc = (struct mvsata_pci_softc *)sc; local in function:mvsata_pci_sreset
366 struct mvsata_pci_softc *psc = (struct mvsata_pci_softc *)sc; local in function:mvsata_pci_misc_reset
503 struct mvsata_pci_softc *psc = local in function:mvsata_pci_enable_intr
    [all...]
virtio_pci.c 240 struct virtio_pci_softc * const psc = device_private(self); local in function:virtio_pci_attach
241 struct virtio_softc * const sc = &psc->sc_sc;
275 psc->sc_pa = *pa;
276 psc->sc_iot = pa->pa_iot;
319 psc->sc_devcfg_offset = VIRTIO_CONFIG_DEVICE_CONFIG_NOMSI;
320 if (virtio_pci_adjust_config_region(psc))
338 struct virtio_pci_softc * const psc = device_private(self); local in function:virtio_pci_rescan
339 struct virtio_softc * const sc = &psc->sc_sc;
359 struct virtio_pci_softc * const psc = device_private(self); local in function:virtio_pci_detach
360 struct virtio_softc * const sc = &psc->sc_sc
395 struct virtio_pci_softc * const psc = device_private(self); local in function:virtio_pci_attach_09
434 struct virtio_pci_softc * const psc = device_private(self); local in function:virtio_pci_attach_10
621 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_kick_09
652 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_read_queue_size_09
664 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_setup_queue_09
684 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_set_status_09
700 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_negotiate_features_09
722 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_kick_10
733 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_read_queue_size_10
765 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_setup_queue_10
806 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_set_status_10
822 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_negotiate_features_10
881 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_setup_interrupts_10
921 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_setup_interrupts_09
970 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_establish_msix_interrupts
1108 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_establish_intx_interrupt
1135 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_alloc_interrupts
1228 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_free_interrupts
1268 struct virtio_pci_softc * const psc = container_of(sc, local in function:virtio_pci_intr
    [all...]
xhci_pci.c 83 xhci_pci_port_route(struct xhci_pci_softc *psc)
85 struct xhci_softc * const sc = &psc->sc_xhci;
93 val = pci_conf_read(psc->sc_pc, psc->sc_tag, PCI_XHCI_INTEL_USB3PRM);
97 pci_conf_write(psc->sc_pc, psc->sc_tag, PCI_XHCI_INTEL_USB3_PSSEN, val);
98 val = pci_conf_read(psc->sc_pc, psc->sc_tag,PCI_XHCI_INTEL_USB3_PSSEN);
106 val = pci_conf_read(psc->sc_pc, psc->sc_tag, PCI_XHCI_INTEL_USB2PRM)
121 struct xhci_pci_softc * const psc = device_private(self); local in function:xhci_pci_attach
320 struct xhci_pci_softc * const psc = device_private(self); local in function:xhci_pci_detach
    [all...]
if_rtw_pci.c 184 struct rtw_pci_softc *psc = device_private(self); local in function:rtw_pci_attach
185 struct rtw_softc *sc = &psc->psc_rtw;
194 psc->psc_pc = pa->pa_pc;
195 psc->psc_tag = pa->pa_tag;
210 pci_conf_read(psc->psc_pc, psc->psc_tag, 0x80));
215 psc->psc_csr = PCI_COMMAND_MASTER_ENABLE |
223 psc->psc_csr |= PCI_COMMAND_MEM_ENABLE;
229 psc->psc_csr |= PCI_COMMAND_IO_ENABLE;
239 if (rtw_pci_setup(psc) != 0
280 struct rtw_pci_softc *psc = device_private(self); local in function:rtw_pci_detach
297 struct rtw_pci_softc *psc = device_private(self); local in function:rtw_pci_resume
314 struct rtw_pci_softc *psc = device_private(self); local in function:rtw_pci_suspend
    [all...]
if_ath_pci.c 153 struct ath_pci_softc *psc = device_private(self); local in function:ath_pci_attach
154 struct ath_softc *sc = &psc->sc_sc;
164 psc->sc_pc = pc;
165 psc->sc_tag = pa->pa_tag;
170 if (!ath_pci_setup(psc))
183 if (pci_mapreg_map(pa, ATH_PCI_MMBA, mem_type, 0, &psc->sc_iot,
184 &psc->sc_ioh, NULL, &psc->sc_mapsz) != 0) {
189 sc->sc_st = HALTAG(psc->sc_iot);
190 sc->sc_sh = HALHANDLE(psc->sc_ioh)
232 struct ath_pci_softc *psc = device_private(self); local in function:ath_pci_detach
    [all...]
ahcisata_pci.c 299 struct ahci_pci_softc *psc = (struct ahci_pci_softc *)sc; local in function:ahci_pci_intr_establish
308 KASSERT(psc->sc_pihp != NULL);
309 KASSERT(psc->sc_nintr > 0);
313 if (psc->sc_nintr == 1 || sc->sc_ghc_mrsm) {
319 if (psc->sc_ih[vec] != NULL) {
336 if (sc->sc_atac.atac_nchannels > psc->sc_nintr
337 && port >= (psc->sc_nintr - 1)) {
340 vec = psc->sc_nintr - 1;
342 if (psc->sc_ih[vec] != NULL) {
356 KASSERT(port < psc->sc_nintr)
391 struct ahci_pci_softc *psc = device_private(self); local in function:ahci_pci_attach
476 struct ahci_pci_softc *psc = device_private(dv); local in function:ahci_pci_childdetached
485 struct ahci_pci_softc *psc; local in function:ahci_pci_detach
523 struct ahci_pci_softc *psc = device_private(dv); local in function:ahci_pci_resume
    [all...]
fwohci_pci.c 99 struct fwohci_pci_softc *psc = device_private(self); local in function:fwohci_pci_attach
107 fwohci_init(&psc->psc_sc);
109 psc->psc_sc.fc.dev = self;
110 psc->psc_sc.fc.dmat = pa->pa_dmat;
111 psc->psc_pc = pa->pa_pc;
112 psc->psc_tag = pa->pa_tag;
116 &psc->psc_sc.bst, &psc->psc_sc.bsh, NULL, &psc->psc_sc.bssize)) {
122 OWRITE(&psc->psc_sc, FWOHCI_INTMASKCLR, OHCI_INT_EN)
174 struct fwohci_pci_softc *psc = device_private(self); local in function:fwohci_pci_detach
197 struct fwohci_pci_softc *psc = device_private(dv); local in function:fwohci_pci_suspend
210 struct fwohci_pci_softc *psc = device_private(dv); local in function:fwohci_pci_resume
    [all...]
if_ex_pci.c 205 struct ex_pci_softc *psc = device_private(self); local in function:ex_pci_attach
206 struct ex_softc *sc = &psc->sc_ex;
244 psc->psc_pc = pc;
245 psc->psc_tag = pa->pa_tag;
246 psc->psc_regs[PCI_COMMAND_STATUS_REG>>2] =
248 psc->psc_regs[PCI_BHLC_REG>>2] =
250 psc->psc_regs[PCI_CBIO>>2] =
256 &psc->sc_funct, &psc->sc_funch, NULL, NULL)) {
263 psc->psc_regs[PCI_FUNCMEM>>2]
315 struct ex_pci_softc *psc = (struct ex_pci_softc *)sc; local in function:ex_pci_intr_ack
386 struct ex_pci_softc *psc = (void *) sc; local in function:ex_pci_enable
    [all...]
atppc_puc.c 97 struct atppc_puc_softc *psc = device_private(self); local in function:atppc_puc_attach
133 if (atppc_puc_dma_setup(psc) == 0) {
151 atppc_puc_dma_setup(struct atppc_puc_softc *psc)
155 struct atppc_softc *sc = (struct atppc_softc *)psc;
160 BUS_DMA_NOWAIT, &psc->sc_dmamap)))
172 struct atppc_puc_softc *psc = (struct atppc_puc_softc *)sc; local in function:atppc_puc_dma_start
174 bus_dmamap_sync(sc->sc_dmat, psc->sc_dmamap, 0, nbytes,
186 struct atppc_puc_softc *psc = (struct atppc_puc_softc *)sc; local in function:atppc_puc_dma_finish
192 bus_dmamap_sync(sc->sc_dmat, psc->sc_dmamap, 0,
193 psc->sc_dmamap->dm_segs[0].ds_len
213 struct atppc_puc_softc *psc = device_private(dev); local in function:atppc_puc_dma_malloc
231 struct atppc_puc_softc *psc = device_private(dev); local in function:atppc_puc_dma_free
    [all...]
if_malo_pci.c 99 struct malo_pci_softc *psc = device_private(self); local in function:malo_pci_attach
101 struct malo_softc *sc = &psc->sc_malo;
110 psc->sc_pc = pa->pa_pc;
128 NULL, &psc->sc_mapsize1);
147 NULL, &psc->sc_mapsize2);
166 intrstr = pci_intr_string(psc->sc_pc, ih, intrbuf, sizeof(intrbuf));
167 psc->sc_ih = pci_intr_establish_xname(psc->sc_pc, ih, IPL_NET,
169 if (psc->sc_ih == NULL) {
187 failih: pci_intr_disestablish(psc->sc_pc, psc->sc_ih)
198 struct malo_pci_softc *psc = device_private(self); local in function:malo_pci_detach
219 struct malo_pci_softc *psc = device_private(self); local in function:malo_pci_suspend
231 struct malo_pci_softc *psc = device_private(self); local in function:malo_pci_resume
    [all...]
  /src/sys/arch/sgimips/dev/
pic.c 76 static struct pic_softc psc; variable in typeref:struct:pic_softc
98 psc.iot = normal_memt;
99 if (bus_space_map(psc.iot, ma->ma_addr, 0x20010,
100 BUS_SPACE_MAP_LINEAR, &psc.ioh))
108 reg = bus_space_read_4(psc.iot, psc.ioh, PIC_SYSID);
113 reg = bus_space_read_4(psc.iot, psc.ioh, PIC_CPUCTRL);
116 bus_space_write_4(psc.iot, psc.ioh, PIC_CPUCTRL, reg)
    [all...]
  /src/sys/arch/zaurus/dev/
ziic.c 91 struct pxa2x0_i2c_softc *psc = &sc->sc_pxa_i2c; local in function:pxaiic_attach
97 psc->sc_dev = self;
98 psc->sc_iot = pxa->pxa_iot;
99 psc->sc_addr = pxa->pxa_addr;
100 psc->sc_size = pxa->pxa_size;
101 psc->sc_flags = 0;
102 if (pxa2x0_i2c_attach_sub(psc)) {
111 pxa2x0_i2c_intr, &psc);
129 iicbus_attach(psc->sc_dev, &sc->sc_i2c);
136 struct pxa2x0_i2c_softc *psc = &sc->sc_pxa_i2c local in function:pxaiic_acquire_bus
147 struct pxa2x0_i2c_softc *psc = &sc->sc_pxa_i2c; local in function:pxaiic_release_bus
156 struct pxa2x0_i2c_softc *psc = &sc->sc_pxa_i2c; local in function:pxaiic_send_start
165 struct pxa2x0_i2c_softc *psc = &sc->sc_pxa_i2c; local in function:pxaiic_send_stop
174 struct pxa2x0_i2c_softc *psc = &sc->sc_pxa_i2c; local in function:pxaiic_initiate_xfer
183 struct pxa2x0_i2c_softc *psc = &sc->sc_pxa_i2c; local in function:pxaiic_read_byte
192 struct pxa2x0_i2c_softc *psc = &sc->sc_pxa_i2c; local in function:pxaiic_write_byte
    [all...]
  /src/sys/dev/pcmcia/
if_an_pcmcia.c 122 struct an_pcmcia_softc *psc = device_private(self); local in function:an_pcmcia_attach
123 struct an_softc *sc = &psc->sc_an;
129 psc->sc_pf = pa->pf;
163 psc->sc_state = AN_PCMCIA_ATTACHED;
177 struct an_pcmcia_softc *psc = device_private(self); local in function:an_pcmcia_detach
180 if (psc->sc_state != AN_PCMCIA_ATTACHED)
185 error = an_detach(&psc->sc_an);
189 pcmcia_function_unconfigure(psc->sc_pf);
197 struct an_pcmcia_softc *psc = (void *)sc; local in function:an_pcmcia_enable
201 psc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_NET, an_intr, sc)
217 struct an_pcmcia_softc *psc = (void *)sc; local in function:an_pcmcia_disable
    [all...]
slhci_pcmcia.c 87 struct slhci_pcmcia_softc *psc = device_private(self); local in function:slhci_pcmcia_attach
91 psc->sc_slhci.sc_dev = self;
92 psc->sc_slhci.sc_bus.ub_hcpriv = &psc->sc_slhci;
94 psc->sc_pf = pf;
95 psc->sc_flags = 0;
97 slhci_pcmcia_enable(psc, 1);
105 struct slhci_pcmcia_softc *psc = device_private(self); local in function:slhci_pcmcia_detach
107 slhci_pcmcia_enable(psc, 0);
109 return slhci_detach(&psc->sc_slhci, flags)
    [all...]
aic_pcmcia.c 112 struct aic_pcmcia_softc *psc = device_private(self); local in function:aic_pcmcia_attach
113 struct aic_softc *sc = &psc->sc_aic;
120 psc->sc_pf = pf;
147 psc->sc_state = AIC_PCMCIA_ATTACHED;
159 struct aic_pcmcia_softc *psc = device_private(self); local in function:aic_pcmcia_detach
162 if (psc->sc_state != AIC_PCMCIA_ATTACHED)
169 pcmcia_function_unconfigure(psc->sc_pf);
177 struct aic_pcmcia_softc *psc = device_private(self); local in function:aic_pcmcia_enable
178 struct aic_softc *sc = &psc->sc_aic;
183 psc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_BIO
    [all...]
if_mbe_pcmcia.c 162 struct mbe_pcmcia_softc *psc = device_private(self); local in function:mbe_pcmcia_attach
163 struct mb86960_softc *sc = &psc->sc_mb86960;
171 psc->sc_pf = pa->pf;
191 if (mbe_pcmcia_get_enaddr_from_mem(psc, &pgea) != 0) {
199 if (mbe_pcmcia_get_enaddr_from_io(psc, &pgea) != 0) {
228 psc->sc_state = MBE_PCMCIA_ATTACHED;
238 struct mbe_pcmcia_softc *psc = device_private(self); local in function:mbe_pcmcia_detach
241 if (psc->sc_state != MBE_PCMCIA_ATTACHED)
244 error = mb86960_detach(&psc->sc_mb86960);
248 pcmcia_function_unconfigure(psc->sc_pf)
256 struct mbe_pcmcia_softc *psc = (struct mbe_pcmcia_softc *)sc; local in function:mbe_pcmcia_enable
277 struct mbe_pcmcia_softc *psc = (struct mbe_pcmcia_softc *)sc; local in function:mbe_pcmcia_disable
    [all...]
if_ep_pcmcia.c 169 struct ep_pcmcia_softc *psc = (struct ep_pcmcia_softc *) sc; local in function:ep_pcmcia_enable
170 struct pcmcia_function *pf = psc->sc_pf;
185 if ((psc->sc_pf->sc->card.product == PCMCIA_PRODUCT_3COM_3C562) ||
186 (psc->sc_pf->sc->card.product == PCMCIA_PRODUCT_3COM_3CXEM556) ||
187 (psc->sc_pf->sc->card.product == PCMCIA_PRODUCT_3COM_3CXEM556INT)) {
206 struct ep_pcmcia_softc *psc = (struct ep_pcmcia_softc *) sc; local in function:ep_pcmcia_disable
208 pcmcia_function_disable(psc->sc_pf);
209 pcmcia_intr_disestablish(psc->sc_pf, sc->sc_ih);
216 struct ep_pcmcia_softc *psc = device_private(self); local in function:ep_pcmcia_attach
217 struct ep_softc *sc = &psc->sc_ep
340 struct ep_pcmcia_softc *psc = device_private(self); local in function:ep_pcmcia_detach
    [all...]
  /src/sys/arch/arm/nvidia/
tegra_xusb.c 210 struct tegra_xusb_softc * const psc = device_private(self); local in function:tegra_xusb_attach
211 struct xhci_softc * const sc = &psc->sc_xhci;
231 psc->sc_phandle = faa->faa_phandle;
233 psc->sc_txd = of_compatible_lookup(faa->faa_phandle, compat_data)->data;
251 error = bus_space_map(sc->sc_iot, addr, size, 0, &psc->sc_bsh_fpci);
262 error = bus_space_map(sc->sc_iot, addr, size, 0, &psc->sc_bsh_ipfs);
274 psc->sc_ih = fdtbus_intr_establish_xname(faa->faa_phandle, 0, IPL_USB,
276 if (psc->sc_ih == NULL) {
288 psc->sc_ih_mbox = fdtbus_intr_establish_xname(faa->faa_phandle, 1,
289 IPL_VM, FDT_INTR_MPSAFE, tegra_xusb_intr_mbox, psc,
424 struct tegra_xusb_softc * const psc = device_private(self); local in function:tegra_xusb_mountroot
514 struct tegra_xusb_softc * const psc = v; local in function:tegra_xusb_intr_mbox
    [all...]
  /src/sys/arch/evbppc/virtex/dev/
tft_plb.c 88 struct plb_tft_softc *psc = device_private(self); local in function:plb_tft_attach
89 struct tft_softc *sc = &psc->psc_sc;
92 psc->psc_dmat = vaa->vaa_dmat;
108 if ((error = bus_dmamem_alloc(psc->psc_dmat, sc->sc_size, ADDR_ALIGN,
109 0, &psc->psc_seg, 1, &nseg, 0)) != 0) {
113 if ((error = bus_dmamem_map(psc->psc_dmat, &psc->psc_seg, nseg,
118 if ((error = bus_dmamap_create(psc->psc_dmat, sc->sc_size, 1,
119 sc->sc_size, 0, 0, &psc->psc_dmap)) != 0) {
123 if ((error = bus_dmamap_load(psc->psc_dmat, psc->psc_dmap
175 struct plb_tft_softc *psc = vc->cookie; local in function:plb_tft_mmap
    [all...]
  /src/sys/arch/i386/pnpbios/
pckbc_pnpbios.c 105 struct pckbc_pnpbios_softc *psc = device_private(self); local in function:pckbc_pnpbios_attach
106 struct pckbc_softc *sc = &psc->sc_pckbc;
115 psc->sc_slot = PCKBC_KBD_SLOT;
117 psc->sc_slot = PCKBC_AUX_SLOT;
123 aprint_normal(": %s port\n", pckbc_slot_names[psc->sc_slot]);
125 if (pnpbios_getirqnum(aa->pbt, aa->resc, 0, &psc->sc_irq,
126 &psc->sc_ist) != 0) {
131 psc->sc_ic = aa->ic;
134 first = psc;
185 struct pckbc_pnpbios_softc *psc; local in function:pckbc_pnpbios_intr_establish
    [all...]

Completed in 1523 milliseconds

1 2 3 4 5 6