Lines Matching refs:adapt
1301 "\t%d: phys sock=%d, if=%p, adapt=%p\n",
1309 "\t%d: phys_window=%d, if=%p, adapt=%p\n",
1332 pcmcia_find_cards(anp_t *adapt)
1338 pcmcia_sockets[i]->ls_if == adapt->an_if) {
1353 * pcmcia_number_socket(dip, adapt)
1391 pcm_phys_to_log_socket(struct pcmcia_adapter *adapt, int socket)
1400 if (sockp->ls_socket == socket && sockp->ls_adapter == adapt)
1408 socket, (void *)adapt, pcmcia_num_sockets,
2110 struct pcmcia_adapter *adapt;
2122 adapt = sockp->ls_adapter;
2136 if (GET_STATUS(ls_if, adapt->pca_dip, &stat) != SUCCESS)
2176 struct pcmcia_adapter *adapt;
2186 adapt = sockp->ls_adapter;
2199 if (GET_STATUS(ls_if, adapt->pca_dip, &stat) ==
2236 pcmcia_map_power_set(struct pcmcia_adapter *adapt, int level, int which)
2239 struct power_entry *pwr = (struct power_entry *)adapt->pca_power;
2242 for (i = 0; i < adapt->pca_numpower; i++)
2255 pcmcia_map_power_get(struct pcmcia_adapter *adapt, int level, int which)
2258 struct power_entry *pwr = (struct power_entry *)adapt->pca_power;
4224 struct pcmcia_adapter *adapt = NULL;
4227 adapt = pcmcia_adapters[i];
4231 if (adapt == NULL)
4234 for (i = 0; i < adapt->pca_numsockets; i++) {
4236 s = adapt->pca_first_socket + i;
4285 struct pcmcia_adapter *adapt = NULL;
4290 adapt = pcmcia_adapters[i];
4294 if (adapt == NULL)
4297 for (tries = adapt->pca_numsockets * 10; tries > 0; tries--) {
4300 for (i = 0; i < adapt->pca_numsockets; i++) {
4302 s = adapt->pca_first_socket + i;
4721 struct pcmcia_adapter *adapt;
4737 adapt = sockp->ls_adapter;
4841 if ((ret = SET_IRQ(sockp->ls_if, adapt->pca_dip, &handler)) !=
5083 struct pcmcia_adapter *adapt;
5097 adapt = sockp->ls_adapter;
5147 if (adapt->pca_flags & PCA_RES_NEED_IRQ) {
5168 if (adapt->pca_flags & PCA_IRQ_ISA) {
5171 if (adapt->pca_avail_intr & (1 << i))
5210 struct pcmcia_adapter *adapt;
5224 adapt = sockp->ls_adapter;
5266 if (adapt->pca_flags & PCA_RES_NEED_IRQ) {
5305 if ((ret = SET_IRQ(sockp->ls_if, adapt->pca_dip, &handler)) !=
5401 struct pcmcia_adapter *adapt;
5417 adapt = sockp->ls_adapter;
5447 if (adapt->pca_flags & PCA_RES_NEED_IRQ) {