Searched refs:cfe (Results 1 - 25 of 51) sorted by relevance

123

/netbsd-current/sys/dev/pcmcia/
H A Dpcmcia_cis.c90 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 Dwdc_pcmcia.c184 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 Dif_awi_pcmcia.c164 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 Dif_cs_pcmcia.c86 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 Daic_pcmcia.c98 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 Dpcmcia.c206 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 Dspc_pcmcia.c92 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 Dxirc.c169 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 Dif_an_pcmcia.c111 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 Dif_ep_pcmcia.c219 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 Dcom_pcmcia.c125 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 Dif_sm_pcmcia.c124 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 Dpcmcom.c128 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 Dnca_pcmcia.c100 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 Dif_mbe_pcmcia.c151 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 Dfdc_pcmcia.c145 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 Desp_pcmcia.c139 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 Dslhci_pcmcia.c77 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 Dpcmcia_cis_quirks.c55 .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 Dmhzc.c177 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 Dif_wi_pcmcia.c318 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 DMakefile.bootxx3 SRCS = start.S bootxx.c booted_dev.c blkdev.c cfe.c cfe_api.c \
/netbsd-current/sys/arch/evbmips/stand/sbmips/
H A DMakefile.bootxx3 SRCS = start.S bootxx.c booted_dev.c blkdev.c cfe.c cfe_api.c \
/netbsd-current/sys/arch/sbmips/stand/boot/
H A DMakefile5 SRCS = start.S boot.c blkdev.c cfe.c cfe_api.c
/netbsd-current/sys/arch/sbmips/stand/netboot/
H A DMakefile5 SRCS = start.S boot.c cfe_api.c cfe.c

Completed in 265 milliseconds

123