Lines Matching defs:stk
183 struct pcmcia_config_check *stk = priv_data;
186 if (!stk->skip_vcc) {
212 pdev->resource[1]->end = (stk->is_kme) ? 2 : 1;
215 stk->ctl_base = pdev->resource[1]->start;
221 stk->ctl_base = pdev->resource[0]->start + 0x0e;
242 struct pcmcia_config_check *stk = NULL;
263 stk = kzalloc(sizeof(*stk), GFP_KERNEL);
264 if (!stk)
266 stk->is_kme = is_kme;
267 stk->skip_vcc = io_base = ctl_base = 0;
269 if (pcmcia_loop_config(pdev, pcmcia_check_one_config, stk)) {
270 stk->skip_vcc = 1;
271 if (pcmcia_loop_config(pdev, pcmcia_check_one_config, stk))
275 ctl_base = stk->ctl_base;
330 kfree(stk);
334 kfree(stk);