Home
last modified time | relevance | path

Searched refs:sc_pf (Results 1 – 25 of 28) sorted by relevance

12

/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pcmcia/
H A Dif_tr_pcmcia.c87 struct pcmcia_function *sc_pf; member
126 psc->sc_pf = pa->pf; in tr_pcmcia_attach()
194 pcmcia_mem_free(psc->sc_pf, &psc->sc_mmioh); in tr_pcmcia_attach()
198 pcmcia_mem_free(psc->sc_pf, &psc->sc_sramh); in tr_pcmcia_attach()
200 pcmcia_io_unmap(psc->sc_pf, psc->sc_pio_window); in tr_pcmcia_attach()
202 pcmcia_io_free(psc->sc_pf, &psc->sc_pioh); in tr_pcmcia_attach()
221 ret = pcmcia_function_enable(psc->sc_pf); in tr_pcmcia_enable()
240 pcmcia_function_disable(psc->sc_pf); in tr_pcmcia_disable()
300 pcmcia_mem_free(psc->sc_pf, &psc->sc_mmioh); in tr_pcmcia_detach()
302 pcmcia_mem_free(psc->sc_pf, &psc->sc_sramh); in tr_pcmcia_detach()
[all …]
H A Dmhzc.c184 sc->sc_pf = pa->pf; in mhzc_attach()
272 if (pcmcia_io_alloc(sc->sc_pf, in mhzc_check_cfe()
358 pcmcia_io_free(sc->sc_pf, &sc->sc_modem_pcioh); in mhzc_detach()
418 error = pcmcia_function_enable(sc->sc_pf); in mhzc_enable()
420 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in mhzc_enable()
430 pcmcia_function_disable(sc->sc_pf); in mhzc_enable()
452 pcmcia_function_disable(sc->sc_pf); in mhzc_disable()
453 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in mhzc_disable()
501 pcmcia_mem_free(sc->sc_pf, &memh); in mhzc_em3336_enable()
526 pcmcia_mem_unmap(sc->sc_pf, memwin); in mhzc_em3336_enable()
[all …]
H A Dif_ep_pcmcia.c109 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
170 struct pcmcia_function *pf = psc->sc_pf; in ep_pcmcia_enable()
185 if ((psc->sc_pf->sc->card.product == PCMCIA_PRODUCT_3COM_3C562) || in ep_pcmcia_enable()
186 (psc->sc_pf->sc->card.product == PCMCIA_PRODUCT_3COM_3CXEM556) || in ep_pcmcia_enable()
208 pcmcia_function_disable(psc->sc_pf); in ep_pcmcia_disable()
209 pcmcia_intr_disestablish(psc->sc_pf, sc->sc_ih); in ep_pcmcia_disable()
227 psc->sc_pf = pa->pf; in ep_pcmcia_attach()
330 pcmcia_io_unmap(psc->sc_pf, psc->sc_io_window); in ep_pcmcia_attach()
332 pcmcia_io_free(psc->sc_pf, &psc->sc_pcioh); in ep_pcmcia_attach()
352 pcmcia_io_unmap(psc->sc_pf, psc->sc_io_window); in ep_pcmcia_detach()
[all …]
H A Dif_mbe_pcmcia.c62 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
171 psc->sc_pf = pa->pf; in mbe_pcmcia_attach()
248 pcmcia_function_unconfigure(psc->sc_pf); in mbe_pcmcia_detach()
265 error = pcmcia_function_enable(psc->sc_pf); in mbe_pcmcia_enable()
267 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in mbe_pcmcia_enable()
279 pcmcia_function_disable(psc->sc_pf); in mbe_pcmcia_disable()
280 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in mbe_pcmcia_disable()
309 if (pcmcia_mem_alloc(psc->sc_pf, ETHER_ADDR_LEN * 2, &pcmh)) { in mbe_pcmcia_get_enaddr_from_mem()
314 if (pcmcia_mem_map(psc->sc_pf, PCMCIA_MEM_ATTR, ea->maddr, in mbe_pcmcia_get_enaddr_from_mem()
325 pcmcia_mem_unmap(psc->sc_pf, mwindow); in mbe_pcmcia_get_enaddr_from_mem()
[all …]
H A Dxirc.c178 sc->sc_pf = pa->pf; in xirc_attach()
240 if (pcmcia_io_map(sc->sc_pf, PCMCIA_WIDTH_IO8, in xirc_attach()
249 if (pcmcia_io_map(sc->sc_pf, PCMCIA_WIDTH_AUTO, in xirc_attach()
361 if (pcmcia_io_alloc(sc->sc_pf, port, in xirc_dingo_alloc_ethernet()
367 cfe = SIMPLEQ_FIRST(&sc->sc_pf->cfe_head); in xirc_dingo_alloc_ethernet()
421 pcmcia_io_free(sc->sc_pf, &sc->sc_ethernet_pcioh); in xirc_detach()
423 pcmcia_io_free(sc->sc_pf, &sc->sc_modem_pcioh); in xirc_detach()
479 error = pcmcia_function_enable(sc->sc_pf); in xirc_enable()
481 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in xirc_enable()
518 pcmcia_function_disable(sc->sc_pf); in xirc_disable()
[all …]
H A Dspc_pcmcia.c57 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
113 sc->sc_pf = pf; in spc_pcmcia_attach()
158 pcmcia_function_unconfigure(sc->sc_pf); in spc_pcmcia_detach()
171 sc->sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_BIO, in spc_pcmcia_enable()
176 error = pcmcia_function_enable(sc->sc_pf); in spc_pcmcia_enable()
178 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in spc_pcmcia_enable()
186 pcmcia_function_disable(sc->sc_pf); in spc_pcmcia_enable()
187 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in spc_pcmcia_enable()
H A Dif_cs_pcmcia.c64 struct pcmcia_function *sc_pf; member
107 pf = psc->sc_pf = pa->pf; in cs_pcmcia_attach()
163 pcmcia_function_unconfigure(psc->sc_pf); in cs_pcmcia_detach()
174 sc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_NET, cs_intr, sc); in cs_pcmcia_enable()
178 error = pcmcia_function_enable(psc->sc_pf); in cs_pcmcia_enable()
180 pcmcia_intr_disestablish(psc->sc_pf, sc->sc_ih); in cs_pcmcia_enable()
192 pcmcia_function_disable(psc->sc_pf); in cs_pcmcia_disable()
193 pcmcia_intr_disestablish(psc->sc_pf, sc->sc_ih); in cs_pcmcia_disable()
H A Daic_pcmcia.c58 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
118 psc->sc_pf = pf; in aic_pcmcia_attach()
167 pcmcia_function_unconfigure(psc->sc_pf); in aic_pcmcia_detach()
181 psc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_BIO, in aic_pcmcia_enable()
186 error = pcmcia_function_enable(psc->sc_pf); in aic_pcmcia_enable()
188 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in aic_pcmcia_enable()
196 pcmcia_function_disable(psc->sc_pf); in aic_pcmcia_enable()
197 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in aic_pcmcia_enable()
H A Dcom_pcmcia.c103 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
182 psc->sc_pf = pa->pf; in com_pcmcia_attach()
237 pcmcia_function_unconfigure(psc->sc_pf); in com_pcmcia_detach()
245 struct pcmcia_function *pf = psc->sc_pf; in com_pcmcia_enable()
261 if ((psc->sc_pf->sc->card.product == PCMCIA_PRODUCT_3COM_3C562) || in com_pcmcia_enable()
262 (psc->sc_pf->sc->card.product == PCMCIA_PRODUCT_3COM_3CXEM556) || in com_pcmcia_enable()
263 (psc->sc_pf->sc->card.product == PCMCIA_PRODUCT_3COM_3CXEM556INT)) { in com_pcmcia_enable()
282 pcmcia_function_disable(psc->sc_pf); in com_pcmcia_disable()
283 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in com_pcmcia_disable()
H A Dif_an_pcmcia.c78 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
129 psc->sc_pf = pa->pf; in an_pcmcia_attach()
189 pcmcia_function_unconfigure(psc->sc_pf); in an_pcmcia_detach()
201 psc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_NET, an_intr, sc); in an_pcmcia_enable()
205 error = pcmcia_function_enable(psc->sc_pf); in an_pcmcia_enable()
207 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in an_pcmcia_enable()
219 pcmcia_function_disable(psc->sc_pf); in an_pcmcia_disable()
220 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in an_pcmcia_disable()
H A Dif_sm_pcmcia.c72 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
145 psc->sc_pf = pa->pf; in sm_pcmcia_attach()
201 pcmcia_function_unconfigure(psc->sc_pf); in sm_pcmcia_detach()
248 psc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_NET, smc91cxx_intr, in sm_pcmcia_enable()
253 error = pcmcia_function_enable(psc->sc_pf); in sm_pcmcia_enable()
255 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in sm_pcmcia_enable()
267 pcmcia_function_disable(psc->sc_pf); in sm_pcmcia_disable()
268 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in sm_pcmcia_disable()
H A Dnca_pcmcia.c59 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
122 esc->sc_pf = pf; in nca_pcmcia_attach()
205 pcmcia_function_unconfigure(sc->sc_pf); in nca_pcmcia_detach()
218 sc->sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_BIO, in nca_pcmcia_enable()
223 error = pcmcia_function_enable(sc->sc_pf); in nca_pcmcia_enable()
225 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in nca_pcmcia_enable()
233 pcmcia_function_disable(sc->sc_pf); in nca_pcmcia_enable()
234 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in nca_pcmcia_enable()
H A Dpcmcom.c73 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
149 sc->sc_pf = pa->pf; in pcmcom_attach()
219 pcmcia_function_unconfigure(sc->sc_pf); in pcmcom_detach()
268 sc->sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_SERIAL, in pcmcom_enable()
273 error = pcmcia_function_enable(sc->sc_pf); in pcmcom_enable()
275 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in pcmcom_enable()
289 pcmcia_function_disable(sc->sc_pf); in pcmcom_disable()
290 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in pcmcom_disable()
H A Dif_cnw.c449 pcmcia_function_disable(sc->sc_pf); in cnw_disable()
492 sc->sc_pf = pa->pf; in cnw_attach()
493 pcmcia_function_init(sc->sc_pf, SIMPLEQ_FIRST(&sc->sc_pf->cfe_head)); in cnw_attach()
494 if (pcmcia_function_enable(sc->sc_pf)) { in cnw_attach()
510 pcmcia_io_free(sc->sc_pf, &sc->sc_pcioh); in cnw_attach()
568 pcmcia_function_disable(sc->sc_pf); in cnw_attach()
575 pcmcia_io_unmap(sc->sc_pf, sc->sc_iowin); in cnw_attach()
576 pcmcia_io_free(sc->sc_pf, &sc->sc_pcioh); in cnw_attach()
581 pcmcia_function_disable(sc->sc_pf); in cnw_attach()
1197 pcmcia_io_unmap(sc->sc_pf, sc->sc_iowin); in cnw_detach()
[all …]
H A Dif_ne_pcmcia.c80 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
591 psc->sc_pf = pa->pf; in ne_pcmcia_attach()
757 struct pcmcia_function *pf = psc->sc_pf; in ne_pcmcia_detach()
785 error = pcmcia_function_enable(psc->sc_pf); in ne_pcmcia_enable()
787 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in ne_pcmcia_enable()
799 pcmcia_function_disable(psc->sc_pf); in ne_pcmcia_disable()
800 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in ne_pcmcia_disable()
818 if (pcmcia_mem_alloc(psc->sc_pf, ETHER_ADDR_LEN * 2, &pcmh)) { in ne_pcmcia_get_enaddr()
823 if (pcmcia_mem_map(psc->sc_pf, PCMCIA_MEM_ATTR, maddr, in ne_pcmcia_get_enaddr()
833 pcmcia_mem_unmap(psc->sc_pf, mwindow); in ne_pcmcia_get_enaddr()
[all …]
H A Desp_pcmcia.c66 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
161 esc->sc_pf = pf; in esp_pcmcia_attach()
227 pcmcia_function_unconfigure(sc->sc_pf); in esp_pcmcia_detach()
243 sc->sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_BIO, in esp_pcmcia_enable()
249 error = pcmcia_function_enable(sc->sc_pf); in esp_pcmcia_enable()
251 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in esp_pcmcia_enable()
259 pcmcia_function_disable(sc->sc_pf); in esp_pcmcia_enable()
263 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in esp_pcmcia_enable()
H A Disic_pcmcia.c201 psc->sc_pf = pa->pf; in isic_pcmcia_attach()
237 pcmcia_function_disable(psc->sc_pf); in isic_pcmcia_attach()
238 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in isic_pcmcia_attach()
246 pcmcia_function_disable(psc->sc_pf); in isic_pcmcia_detach()
247 pcmcia_io_unmap(psc->sc_pf, psc->sc_io_window); in isic_pcmcia_detach()
248 pcmcia_io_free(psc->sc_pf, &psc->sc_pcioh); in isic_pcmcia_detach()
250 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in isic_pcmcia_detach()
H A Dif_awi_pcmcia.c85 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
124 struct pcmcia_function *pf = psc->sc_pf; in awi_pcmcia_enable()
145 struct pcmcia_function *pf = psc->sc_pf; in awi_pcmcia_disable()
189 psc->sc_pf = pa->pf; in awi_pcmcia_attach()
252 pcmcia_function_unconfigure(psc->sc_pf); in awi_pcmcia_detach()
H A Dwdc_pcmcia.c71 struct pcmcia_function *sc_pf; member
221 sc->sc_pf = pa->pf; in wdc_pcmcia_attach()
350 pcmcia_function_unconfigure(sc->sc_pf); in wdc_pcmcia_detach()
377 sc->sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_BIO, in wdc_pcmcia_enable()
382 error = pcmcia_function_enable(sc->sc_pf); in wdc_pcmcia_enable()
384 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in wdc_pcmcia_enable()
389 pcmcia_function_disable(sc->sc_pf); in wdc_pcmcia_enable()
390 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih); in wdc_pcmcia_enable()
H A Dslhci_pcmcia.c37 struct pcmcia_function *sc_pf; member
94 psc->sc_pf = pf; in slhci_pcmcia_attach()
120 pf = psc->sc_pf; in slhci_pcmcia_enable()
171 pcmcia_intr_disestablish(psc->sc_pf, psc->sc_ih); in slhci_pcmcia_enable()
H A Dif_wi_pcmcia.c97 struct pcmcia_function *sc_pf; /* PCMCIA function */ member
273 struct pcmcia_function *pf = psc->sc_pf; in wi_pcmcia_enable()
307 pcmcia_function_disable(psc->sc_pf); in wi_pcmcia_enable()
309 pcmcia_intr_disestablish(psc->sc_pf, sc->sc_ih); in wi_pcmcia_enable()
341 psc->sc_pf = pa->pf; in wi_pcmcia_attach()
411 pcmcia_intr_disestablish(psc->sc_pf, sc->sc_ih); in wi_pcmcia_detach()
413 pcmcia_function_unconfigure(psc->sc_pf); in wi_pcmcia_detach()
H A Dbt3c.c101 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
831 sc->sc_intr = pcmcia_intr_establish(sc->sc_pf, IPL_TTY, bt3c_intr, sc); in bt3c_enable()
837 err = pcmcia_function_enable(sc->sc_pf); in bt3c_enable()
853 pcmcia_function_disable(sc->sc_pf); in bt3c_enable()
855 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_intr); in bt3c_enable()
879 pcmcia_function_disable(sc->sc_pf); in bt3c_disable()
882 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_intr); in bt3c_disable()
944 sc->sc_pf = pa->pf; in bt3c_attach()
1011 pcmcia_io_unmap(sc->sc_pf, sc->sc_iow); in bt3c_detach()
1012 pcmcia_io_free(sc->sc_pf, &sc->sc_pcioh); in bt3c_detach()
H A Dbtbc.c77 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
174 sc->sc_pf = pa->pf; in btbc_attach()
221 pcmcia_function_unconfigure(sc->sc_pf); in btbc_detach()
798 sc->sc_intr = pcmcia_intr_establish(sc->sc_pf, IPL_TTY, btbc_intr, sc); in btbc_enable()
804 err = pcmcia_function_enable(sc->sc_pf); in btbc_enable()
888 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_intr); in btbc_enable()
906 pcmcia_function_disable(sc->sc_pf); in btbc_disable()
909 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_intr); in btbc_disable()
H A Dfdc_pcmcia.c57 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member
151 psc->sc_pf = pf; in fdc_pcmcia_attach()
H A Disic_pcmcia.h36 struct pcmcia_function *sc_pf; /* our PCMCIA function */ member

12