Lines Matching refs:stk
234 struct pcmcia_config_check *stk = priv_data; in pcmcia_check_one_config() local
237 if (!stk->skip_vcc) { in pcmcia_check_one_config()
262 pdev->io.NumPorts2 = (stk->is_kme) ? 2 : 1; in pcmcia_check_one_config()
265 stk->ctl_base = pdev->io.BasePort2; in pcmcia_check_one_config()
271 stk->ctl_base = pdev->io.BasePort1 + 0x0e; in pcmcia_check_one_config()
283 struct pcmcia_config_check *stk = NULL; in ide_config() local
294 stk = kzalloc(sizeof(*stk), GFP_KERNEL); in ide_config()
295 if (!stk) in ide_config()
297 stk->is_kme = is_kme; in ide_config()
298 stk->skip_vcc = io_base = ctl_base = 0; in ide_config()
300 if (pcmcia_loop_config(link, pcmcia_check_one_config, stk)) { in ide_config()
301 stk->skip_vcc = 1; in ide_config()
302 if (pcmcia_loop_config(link, pcmcia_check_one_config, stk)) in ide_config()
306 ctl_base = stk->ctl_base; in ide_config()
337 kfree(stk); in ide_config()
347 kfree(stk); in ide_config()