Lines Matching defs:link
83 static int btuart_config(struct pcmcia_device *link);
84 static void btuart_release(struct pcmcia_device *link);
577 static int btuart_probe(struct pcmcia_device *link)
586 info->p_dev = link;
587 link->priv = info;
589 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
590 link->resource[0]->end = 8;
592 link->conf.Attributes = CONF_ENABLE_IRQ;
593 link->conf.IntType = INT_MEMORY_AND_IO;
595 return btuart_config(link);
599 static void btuart_detach(struct pcmcia_device *link)
601 btuart_info_t *info = link->priv;
603 btuart_release(link);
648 static int btuart_config(struct pcmcia_device *link)
650 btuart_info_t *info = link->priv;
657 if (!pcmcia_loop_config(link, btuart_check_config, &try))
663 if (!pcmcia_loop_config(link, btuart_check_config_notpicky, NULL))
670 i = pcmcia_request_irq(link, btuart_interrupt);
674 i = pcmcia_request_configuration(link, &link->conf);
684 btuart_release(link);
689 static void btuart_release(struct pcmcia_device *link)
691 btuart_info_t *info = link->priv;
695 pcmcia_disable_device(link);