HomeSort by: relevance | last modified time | path
    Searched defs:cfe (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/sys/dev/pcmcia/
aic_pcmcia.c 98 aic_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
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 in function:aic_pcmcia_attach
128 cfe = pf->cfe;
129 sc->sc_iot = cfe->iospace[0].handle.iot
    [all...]
fdc_pcmcia.c 145 struct pcmcia_config_entry *cfe; local in function:fdc_pcmcia_attach
159 cfe = pf->cfe;
160 fdc->sc_iot = cfe->iospace[0].handle.iot;
161 fdc->sc_iot = cfe->iospace[0].handle.ioh;
if_awi_pcmcia.c 164 awi_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
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 in function:awi_pcmcia_attach
    [all...]
if_cs_pcmcia.c 86 cs_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
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 in function:cs_pcmcia_attach
115 cfe = pf->cfe;
116 sc->sc_iot = cfe->iospace[0].handle.iot;
117 sc->sc_ioh = cfe->iospace[0].handle.ioh
    [all...]
spc_pcmcia.c 92 spc_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
95 if (cfe->iftype != PCMCIA_IFTYPE_IO ||
96 cfe->num_memspace != 0 ||
97 cfe->num_iospace != 1)
108 struct pcmcia_config_entry *cfe; local in function:spc_pcmcia_attach
121 cfe = pf->cfe;
122 spc->sc_iot = cfe->iospace[0].handle.iot;
123 spc->sc_ioh = cfe->iospace[0].handle.ioh;
com_pcmcia.c 125 struct pcmcia_config_entry *cfe; local in function:com_pcmcia_match
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)
164 if (cfe->iftype != PCMCIA_IFTYPE_IO ||
165 cfe->num_iospace != 1)
168 cfe->num_memspace = 0;
178 struct pcmcia_config_entry *cfe; local in function:com_pcmcia_attach
190 cfe = pa->pf->cfe;
    [all...]
if_an_pcmcia.c 111 an_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
113 if (cfe->iftype != PCMCIA_IFTYPE_IO ||
114 cfe->num_iospace < 1)
125 struct pcmcia_config_entry *cfe; local in function:an_pcmcia_attach
138 cfe = pa->pf->cfe;
139 sc->sc_iot = cfe->iospace[0].handle.iot;
140 sc->sc_ioh = cfe->iospace[0].handle.ioh;
if_sm_pcmcia.c 124 sm_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
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 in function:sm_pcmcia_attach
153 cfe = pa->pf->cfe;
154 sc->sc_bst = cfe->iospace[0].handle.iot;
155 sc->sc_bsh = cfe->iospace[0].handle.ioh
    [all...]
nca_pcmcia.c 100 nca_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
103 if (cfe->iftype != PCMCIA_IFTYPE_IO ||
104 cfe->num_memspace != 0 ||
105 cfe->num_iospace != 1)
116 struct pcmcia_config_entry *cfe; local in function:nca_pcmcia_attach
130 cfe = pf->cfe;
131 sc->sc_regt = cfe->iospace[0].handle.iot;
132 sc->sc_regh = cfe->iospace[0].handle.ioh;
if_ep_pcmcia.c 219 struct pcmcia_config_entry *cfe; local in function:ep_pcmcia_attach
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...]
if_mbe_pcmcia.c 151 mbe_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
154 if (cfe->iftype != PCMCIA_IFTYPE_IO || cfe->num_iospace < 1)
165 struct pcmcia_config_entry *cfe; local in function:mbe_pcmcia_attach
179 cfe = pa->pf->cfe;
180 sc->sc_bst = cfe->iospace[0].handle.iot;
181 sc->sc_bsh = cfe->iospace[0].handle.ioh;
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 number *
266 struct pcmcia_config_entry *cfe; local in function:pcmcia_check_cis_quirks
    [all...]
pcmcom.c 128 pcmcom_validate_config(struct pcmcia_config_entry *cfe)
130 if (cfe->iftype != PCMCIA_IFTYPE_IO ||
131 cfe->num_iospace < 1 || cfe->num_iospace > NSLAVES)
141 struct pcmcia_config_entry *cfe; local in function:pcmcom_attach
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->iospace[slave].handle.ioh
    [all...]
esp_pcmcia.c 139 esp_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
142 if (cfe->iftype != PCMCIA_IFTYPE_IO ||
143 cfe->num_memspace != 0 ||
144 cfe->num_iospace != 1)
155 struct pcmcia_config_entry *cfe; local in function:esp_pcmcia_attach
169 cfe = pf->cfe;
170 esc->sc_iot = cfe->iospace[0].handle.iot;
171 esc->sc_ioh = cfe->iospace[0].handle.ioh;
if_ne_pcmcia.c 565 ne_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
567 if (cfe->iftype != PCMCIA_IFTYPE_IO ||
568 cfe->num_iospace < 1 || cfe->num_iospace > 2)
571 cfe->num_memspace = 0;
582 struct pcmcia_config_entry *cfe; local in function:ne_pcmcia_attach
599 cfe = pa->pf->cfe;
600 dsc->sc_regt = cfe->iospace[0].handle.iot;
601 dsc->sc_regh = cfe->iospace[0].handle.ioh
    [all...]
if_wi_pcmcia.c 318 wi_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
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 in function:wi_pcmcia_attach
349 cfe = pa->pf->cfe;
350 sc->sc_iot = cfe->iospace[0].handle.iot;
351 sc->sc_ioh = cfe->iospace[0].handle.ioh
    [all...]
pcmcia.c 206 pf->cfe = NULL;
439 pcmcia_function_init(struct pcmcia_function *pf, struct pcmcia_config_entry *cfe)
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)
807 struct pcmcia_config_entry *cfe = pf->cfe; local in function:pcmcia_config_free
819 struct pcmcia_config_entry *cfe = pf->cfe; local in function:pcmcia_config_map
871 struct pcmcia_config_entry *cfe = pf->cfe; local in function:pcmcia_config_unmap
884 struct pcmcia_config_entry *cfe; local in function:pcmcia_function_configure
    [all...]
wdc_pcmcia.c 184 wdc_pcmcia_validate_config_io(struct pcmcia_config_entry *cfe)
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)
196 if (cfe->iftype != PCMCIA_IFTYPE_MEMORY ||
197 cfe->num_memspace > 1 ||
198 cfe->memspace[0].length < 2048)
200 cfe->num_iospace = 0
209 struct pcmcia_config_entry *cfe; local in function:wdc_pcmcia_attach
    [all...]
mhzc.c 177 struct pcmcia_config_entry *cfe; local in function:mhzc_attach
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)
265 if (cfe->num_memspace != 0)
268 if (cfe->num_iospace != 1)
272 cfe->iospace[0].start
    [all...]
xirc.c 169 struct pcmcia_config_entry *cfe; local in function:xirc_attach
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 in function:xirc_mako_alloc
300 SIMPLEQ_FOREACH(cfe, &sc->sc_pf->cfe_head, cfe_list)
333 struct pcmcia_config_entry *cfe; local in function:xirc_dingo_alloc_modem
355 struct pcmcia_config_entry *cfe; local in function:xirc_dingo_alloc_ethernet
    [all...]
pcmcia_cis.c 90 struct pcmcia_config_entry *cfe, *ncfe; local in function:pcmcia_free_pf
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 in function:pcmcia_print_cis
624 SIMPLEQ_FOREACH(cfe, &pf->cfe_head, cfe_list) {
626 device_xname(sc->dev), pf->number, cfe->number);
628 switch (cfe->iftype)
1052 struct pcmcia_config_entry *cfe; local in function:decode_cftable_entry
    [all...]
btbc.c 155 btbc_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
158 if (cfe->iftype != PCMCIA_IFTYPE_IO ||
159 cfe->num_iospace < 1 || cfe->num_iospace > 2)
170 struct pcmcia_config_entry *cfe; local in function:btbc_attach
186 cfe = pa->pf->cfe;
187 sc->sc_pcioh = cfe->iospace[0].handle;
if_malo_pcmcia.c 170 struct pcmcia_config_entry *cfe; local in function:malo_pcmcia_attach
190 cfe = pa->pf->cfe;
191 sc->sc_iot = cfe->iospace[0].handle.iot;
192 sc->sc_ioh = cfe->iospace[0].handle.ioh;
255 malo_pcmcia_validate_config(struct pcmcia_config_entry *cfe)
258 if (cfe->iftype != PCMCIA_IFTYPE_IO || cfe->num_iospace != 1)
261 cfe->num_memspace = 0;
bt3c.c 937 struct pcmcia_config_entry *cfe; local in function:bt3c_attach
947 SIMPLEQ_FOREACH(cfe, &pa->pf->cfe_head, cfe_list) {
948 if (cfe->num_memspace != 0)
951 if (cfe->num_iospace != 1)
954 if (pcmcia_io_alloc(pa->pf, cfe->iospace[0].start,
955 cfe->iospace[0].length, 0, &sc->sc_pcioh) == 0)
959 if (cfe == 0) {
965 pcmcia_function_init(pa->pf, cfe);
pcmciavar.h 143 struct pcmcia_config_entry *cfe; member in struct:pcmcia_function
207 const struct pcmcia_config_entry *cfe; member in struct:pcmcia_cis_quirk

Completed in 90 milliseconds

1 2