Lines Matching defs:cfe
231 pf->cfe = NULL;
264 * cfe up front). This is the biggest depature from the
277 * model, the probe routine can select a cfe and try to
283 * enough to override the cfe we pick, then chances are very
311 * Probe may fail AND also try to select a cfe, if so, free
312 * it. This is how we do cfe override. Or the attach fails.
315 if (pf->cfe != NULL)
317 pf->cfe = NULL;
327 struct pccard_config_entry *cfe;
341 if (pf->cfe != NULL)
352 while (NULL != (cfe = STAILQ_FIRST(&pf->cfe_head))) {
354 free(cfe, M_DEVBUF);
440 * Select a cfe entry to use. Should be called from the pccard's probe
453 return (pf->cfe ? 0 : ENOMEM);
469 struct pccard_config_entry *cfe;
489 if (pf->cfe != NULL)
497 STAILQ_FOREACH(cfe, &pf->cfe_head, cfe_list) {
498 if (cfe->iftype != PCCARD_IFTYPE_IO)
500 if (entry != -1 && cfe->number != entry)
503 for (i = 0; i < cfe->num_iospace; i++) {
504 ios = cfe->iospace + i;
527 for (i = 0; i < cfe->num_memspace; i++) {
528 mems = cfe->memspace + i;
557 if (cfe->irqmask) {
572 pf->cfe = cfe;
575 DEVPRVERBOSE((bus, "Allocation failed for cfe %d\n",
576 cfe->number));
660 if (pf->cfe == NULL) {
712 reg = (pf->cfe->number & PCCARD_CCR_OPTION_CFINDEX);
722 if ((pf->cfe->flags & PCCARD_CFE_IO16) == 0)
724 if (pf->cfe->flags & PCCARD_CFE_AUDIO)
774 if (pf->cfe == NULL)
916 devi->pf->cfe->number);