Lines Matching defs:link
86 static int dtl1_config(struct pcmcia_device *link);
87 static void dtl1_release(struct pcmcia_device *link);
563 static int dtl1_probe(struct pcmcia_device *link)
572 info->p_dev = link;
573 link->priv = info;
575 link->resource[0]->flags |= IO_DATA_PATH_WIDTH_8;
576 link->resource[0]->end = 8;
578 link->conf.Attributes = CONF_ENABLE_IRQ;
579 link->conf.IntType = INT_MEMORY_AND_IO;
581 return dtl1_config(link);
585 static void dtl1_detach(struct pcmcia_device *link)
587 dtl1_info_t *info = link->priv;
589 dtl1_release(link);
609 static int dtl1_config(struct pcmcia_device *link)
611 dtl1_info_t *info = link->priv;
615 link->resource[0]->end = 8;
616 if (pcmcia_loop_config(link, dtl1_confcheck, NULL) < 0)
619 i = pcmcia_request_irq(link, dtl1_interrupt);
623 i = pcmcia_request_configuration(link, &link->conf);
633 dtl1_release(link);
638 static void dtl1_release(struct pcmcia_device *link)
640 dtl1_info_t *info = link->priv;
644 pcmcia_disable_device(link);