• Home
  • Raw
  • Download

Lines Matching refs:link

51 static void vxpocket_release(struct pcmcia_device *link)  in vxpocket_release()  argument
53 free_irq(link->irq, link->priv); in vxpocket_release()
54 pcmcia_disable_device(link); in vxpocket_release()
124 struct pcmcia_device *link, in snd_vxpocket_new() argument
148 vxp->p_dev = link; in snd_vxpocket_new()
149 link->priv = chip; in snd_vxpocket_new()
151 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in snd_vxpocket_new()
152 link->resource[0]->end = 16; in snd_vxpocket_new()
154 link->config_flags |= CONF_ENABLE_IRQ; in snd_vxpocket_new()
155 link->config_index = 1; in snd_vxpocket_new()
156 link->config_regs = PRESENT_OPTION; in snd_vxpocket_new()
200 static int vxpocket_config(struct pcmcia_device *link) in vxpocket_config() argument
202 struct vx_core *chip = link->priv; in vxpocket_config()
208 if (!strcmp(link->prod_id[1], "VX-POCKET")) { in vxpocket_config()
218 ret = pcmcia_request_io(link); in vxpocket_config()
222 ret = request_threaded_irq(link->irq, snd_vx_irq_handler, in vxpocket_config()
224 IRQF_SHARED, link->devname, link->priv); in vxpocket_config()
228 ret = pcmcia_enable_device(link); in vxpocket_config()
232 chip->dev = &link->dev; in vxpocket_config()
234 if (snd_vxpocket_assign_resources(chip, link->resource[0]->start, in vxpocket_config()
235 link->irq) < 0) in vxpocket_config()
241 free_irq(link->irq, link->priv); in vxpocket_config()
243 pcmcia_disable_device(link); in vxpocket_config()
249 static int vxp_suspend(struct pcmcia_device *link) in vxp_suspend() argument
251 struct vx_core *chip = link->priv; in vxp_suspend()
262 static int vxp_resume(struct pcmcia_device *link) in vxp_resume() argument
264 struct vx_core *chip = link->priv; in vxp_resume()
267 if (pcmcia_dev_present(link)) { in vxp_resume()
325 static void vxpocket_detach(struct pcmcia_device *link) in vxpocket_detach() argument
330 if (! link) in vxpocket_detach()
333 vxp = link->priv; in vxpocket_detach()
339 vxpocket_release(link); in vxpocket_detach()