/netbsd-current/sys/dev/pcmcia/ |
H A D | pcmcia_cis.c | 90 struct pcmcia_config_entry *cfe, *ncfe; local 94 for (cfe = SIMPLEQ_FIRST(&pf->cfe_head); cfe != NULL; 95 cfe = ncfe) { 96 ncfe = SIMPLEQ_NEXT(cfe, cfe_list); 97 free(cfe, M_DEVBUF); 542 struct pcmcia_config_entry *cfe; local 624 SIMPLEQ_FOREACH(cfe, &pf->cfe_head, cfe_list) { 626 device_xname(sc->dev), pf->number, cfe->number); 628 switch (cfe 1052 struct pcmcia_config_entry *cfe; local [all...] |
H A D | wdc_pcmcia.c | 184 wdc_pcmcia_validate_config_io(struct pcmcia_config_entry *cfe) argument 186 if (cfe->iftype != PCMCIA_IFTYPE_IO || 187 cfe->num_iospace < 1 || cfe->num_iospace > 2) 189 cfe->num_memspace = 0; 194 wdc_pcmcia_validate_config_memory(struct pcmcia_config_entry *cfe) argument 196 if (cfe->iftype != PCMCIA_IFTYPE_MEMORY || 197 cfe->num_memspace > 1 || 198 cfe->memspace[0].length < 2048) 200 cfe 209 struct pcmcia_config_entry *cfe; local [all...] |
H A D | if_awi_pcmcia.c | 164 awi_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 166 if (cfe->iftype != PCMCIA_IFTYPE_IO || 167 cfe->num_iospace < 1 || 168 cfe->iospace[0].length < AM79C930_IO_SIZE) 170 if (cfe->num_memspace < 1) { 171 cfe->memspace[0].length = AM79C930_MEM_SIZE; 172 cfe->memspace[0].cardaddr = 0; 173 cfe->memspace[0].hostaddr = 0; 174 } else if (cfe->memspace[0].length < AM79C930_MEM_SIZE) 185 struct pcmcia_config_entry *cfe; local [all...] |
H A D | if_cs_pcmcia.c | 86 cs_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 88 if (cfe->iftype != PCMCIA_IFTYPE_IO || 89 cfe->num_memspace != 0 || 90 cfe->num_iospace != 1 || 91 cfe->iospace[0].length < CS8900_IOSIZE) 102 struct pcmcia_config_entry *cfe; local 115 cfe = pf->cfe; 116 sc->sc_iot = cfe->iospace[0].handle.iot; 117 sc->sc_ioh = cfe [all...] |
H A D | aic_pcmcia.c | 98 aic_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 100 if (cfe->iftype != PCMCIA_IFTYPE_IO || 101 cfe->num_memspace != 0 || 102 cfe->num_iospace != 1) 105 cfe->iomask = 0; /* XXX: wrong from cfe?, quirk? */ 115 struct pcmcia_config_entry *cfe; local 128 cfe = pf->cfe; 129 sc->sc_iot = cfe [all...] |
H A D | pcmcia.c | 206 pf->cfe = NULL; 439 pcmcia_function_init(struct pcmcia_function *pf, struct pcmcia_config_entry *cfe) argument 445 pf->cfe = cfe; 479 if (pf->cfe == NULL) 487 pcmcia_socket_settype(sc->dev, pf->cfe->iftype); 551 if (pf->cfe->flags & PCMCIA_CFE_AUDIO) 557 reg = (pf->cfe->number & PCMCIA_CCR_OPTION_CFINDEX); 618 if (pf->cfe == NULL) 750 pcmcia_config_alloc(struct pcmcia_function *pf, struct pcmcia_config_entry *cfe) argument 807 struct pcmcia_config_entry *cfe = pf->cfe; local 819 struct pcmcia_config_entry *cfe = pf->cfe; local 871 struct pcmcia_config_entry *cfe = pf->cfe; local 884 struct pcmcia_config_entry *cfe; local [all...] |
H A D | spc_pcmcia.c | 92 spc_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 95 if (cfe->iftype != PCMCIA_IFTYPE_IO || 96 cfe->num_memspace != 0 || 97 cfe->num_iospace != 1) 108 struct pcmcia_config_entry *cfe; local 121 cfe = pf->cfe; 122 spc->sc_iot = cfe->iospace[0].handle.iot; 123 spc->sc_ioh = cfe->iospace[0].handle.ioh;
|
H A D | xirc.c | 169 struct pcmcia_config_entry *cfe; local 216 cfe = xirc_dingo_alloc_modem(sc); 217 if (cfe && sc->sc_id & (XIMEDIA_ETHER << 8)) { 221 cfe = 0; 225 cfe = xirc_mako_alloc(sc); 227 cfe = xirc_dingo_alloc_ethernet(sc); 228 if (!cfe) { 234 pcmcia_function_init(pa->pf, cfe); 298 struct pcmcia_config_entry *cfe; local 300 SIMPLEQ_FOREACH(cfe, 333 struct pcmcia_config_entry *cfe; local 355 struct pcmcia_config_entry *cfe; local [all...] |
H A D | if_an_pcmcia.c | 111 an_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 113 if (cfe->iftype != PCMCIA_IFTYPE_IO || 114 cfe->num_iospace < 1) 125 struct pcmcia_config_entry *cfe; local 138 cfe = pa->pf->cfe; 139 sc->sc_iot = cfe->iospace[0].handle.iot; 140 sc->sc_ioh = cfe->iospace[0].handle.ioh;
|
H A D | if_ep_pcmcia.c | 219 struct pcmcia_config_entry *cfe; local 229 SIMPLEQ_FOREACH(cfe, &pa->pf->cfe_head, cfe_list) { 230 if (cfe->num_memspace != 0) 232 if (cfe->num_iospace != 1) 256 cfe->iospace[0].length, 257 cfe->iospace[0].length, 264 if (pcmcia_io_alloc(pa->pf, cfe->iospace[0].start, 265 cfe->iospace[0].length, cfe->iospace[0].length, 270 if (!cfe) { [all...] |
H A D | com_pcmcia.c | 125 struct pcmcia_config_entry *cfe; local 133 SIMPLEQ_FOREACH(cfe, &pa->pf->cfe_head, cfe_list) { 134 switch (cfe->iospace[0].start) { 162 com_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 164 if (cfe->iftype != PCMCIA_IFTYPE_IO || 165 cfe->num_iospace != 1) 168 cfe->num_memspace = 0; 178 struct pcmcia_config_entry *cfe; local 190 cfe = pa->pf->cfe; [all...] |
H A D | if_sm_pcmcia.c | 124 sm_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 126 if (cfe->iftype != PCMCIA_IFTYPE_IO || 127 cfe->num_memspace != 0 || 128 cfe->num_iospace != 1 || 129 cfe->iospace[0].length < SMC_IOSIZE) 140 struct pcmcia_config_entry *cfe; local 153 cfe = pa->pf->cfe; 154 sc->sc_bst = cfe->iospace[0].handle.iot; 155 sc->sc_bsh = cfe [all...] |
H A D | pcmcom.c | 128 pcmcom_validate_config(struct pcmcia_config_entry *cfe) argument 130 if (cfe->iftype != PCMCIA_IFTYPE_IO || 131 cfe->num_iospace < 1 || cfe->num_iospace > NSLAVES) 141 struct pcmcia_config_entry *cfe; local 156 cfe = pa->pf->cfe; 157 sc->sc_nslaves = cfe->num_iospace; 169 pca.pca_iot = cfe->iospace[slave].handle.iot; 170 pca.pca_ioh = cfe [all...] |
H A D | nca_pcmcia.c | 100 nca_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 103 if (cfe->iftype != PCMCIA_IFTYPE_IO || 104 cfe->num_memspace != 0 || 105 cfe->num_iospace != 1) 116 struct pcmcia_config_entry *cfe; local 130 cfe = pf->cfe; 131 sc->sc_regt = cfe->iospace[0].handle.iot; 132 sc->sc_regh = cfe->iospace[0].handle.ioh;
|
H A D | if_mbe_pcmcia.c | 151 mbe_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 154 if (cfe->iftype != PCMCIA_IFTYPE_IO || cfe->num_iospace < 1) 165 struct pcmcia_config_entry *cfe; local 179 cfe = pa->pf->cfe; 180 sc->sc_bst = cfe->iospace[0].handle.iot; 181 sc->sc_bsh = cfe->iospace[0].handle.ioh;
|
H A D | fdc_pcmcia.c | 145 struct pcmcia_config_entry *cfe; local 159 cfe = pf->cfe; 160 fdc->sc_iot = cfe->iospace[0].handle.iot; 161 fdc->sc_iot = cfe->iospace[0].handle.ioh;
|
H A D | esp_pcmcia.c | 139 esp_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 142 if (cfe->iftype != PCMCIA_IFTYPE_IO || 143 cfe->num_memspace != 0 || 144 cfe->num_iospace != 1) 155 struct pcmcia_config_entry *cfe; local 169 cfe = pf->cfe; 170 esc->sc_iot = cfe->iospace[0].handle.iot; 171 esc->sc_ioh = cfe->iospace[0].handle.ioh;
|
H A D | slhci_pcmcia.c | 77 slhci_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 79 if (cfe->num_iospace != 1 || cfe->num_memspace != 0) 135 pioh = &pf->cfe->iospace[0].handle;
|
H A D | pcmcia_cis_quirks.c | 55 .last_config_index = 0x07, /* last cfe number */ 61 .number = 0x07, /* cfe number */ 73 .last_config_index = 0x27, /* last cfe number */ 79 .number = 0x27, /* cfe number */ 91 .last_config_index = 0x07, /* last cfe number */ 97 .number = 0x07, /* cfe number */ 108 .last_config_index = 0x27, /* last cfe number */ 114 .number = 0x27, /* cfe number */ 126 .last_config_index = 0x1, /* last cfe number */ 132 .number = 0x1, /* cfe numbe 266 struct pcmcia_config_entry *cfe; local [all...] |
H A D | mhzc.c | 177 struct pcmcia_config_entry *cfe; local 209 SIMPLEQ_FOREACH(cfe, &pa->pf->cfe_head, cfe_list) { 210 if (mhzc_check_cfe(sc, cfe)) { 215 if (cfe == NULL) { 220 if (mhzc_alloc_ethernet(sc, cfe) == 0) { 226 pcmcia_function_init(pa->pf, cfe); 262 mhzc_check_cfe(struct mhzc_softc *sc, struct pcmcia_config_entry *cfe) argument 265 if (cfe->num_memspace != 0) 268 if (cfe->num_iospace != 1) 272 cfe 285 mhzc_alloc_ethernet(struct mhzc_softc *sc, struct pcmcia_config_entry *cfe) argument [all...] |
H A D | if_wi_pcmcia.c | 318 wi_pcmcia_validate_config(struct pcmcia_config_entry *cfe) argument 320 if (cfe->iftype != PCMCIA_IFTYPE_IO || 321 cfe->num_iospace != 1 || 322 cfe->iospace[0].length < WI_IOSIZE) 324 cfe->num_memspace = 0; 334 struct pcmcia_config_entry *cfe; local 349 cfe = pa->pf->cfe; 350 sc->sc_iot = cfe->iospace[0].handle.iot; 351 sc->sc_ioh = cfe [all...] |
/netbsd-current/sys/arch/sbmips/stand/ |
H A D | Makefile.bootxx | 3 SRCS = start.S bootxx.c booted_dev.c blkdev.c cfe.c cfe_api.c \
|
/netbsd-current/sys/arch/evbmips/stand/sbmips/ |
H A D | Makefile.bootxx | 3 SRCS = start.S bootxx.c booted_dev.c blkdev.c cfe.c cfe_api.c \
|
/netbsd-current/sys/arch/sbmips/stand/boot/ |
H A D | Makefile | 5 SRCS = start.S boot.c blkdev.c cfe.c cfe_api.c
|
/netbsd-current/sys/arch/sbmips/stand/netboot/ |
H A D | Makefile | 5 SRCS = start.S boot.c cfe_api.c cfe.c
|