Lines Matching refs:stk
210 struct pcmcia_config_check *stk = priv_data;
213 if (!stk->skip_vcc) {
241 pdev->resource[1]->end = (stk->is_kme) ? 2 : 1;
244 stk->ctl_base = pdev->resource[1]->start;
250 stk->ctl_base = pdev->resource[0]->start + 0x0e;
262 struct pcmcia_config_check *stk = NULL;
273 stk = kzalloc(sizeof(*stk), GFP_KERNEL);
274 if (!stk)
276 stk->is_kme = is_kme;
277 stk->skip_vcc = io_base = ctl_base = 0;
279 if (pcmcia_loop_config(link, pcmcia_check_one_config, stk)) {
280 stk->skip_vcc = 1;
281 if (pcmcia_loop_config(link, pcmcia_check_one_config, stk))
285 ctl_base = stk->ctl_base;
316 kfree(stk);
324 kfree(stk);