Lines Matching refs:clink
74 struct pnp_card_link *clink; in card_probe() local
83 clink = pnp_alloc(sizeof(*clink)); in card_probe()
84 if (!clink) in card_probe()
86 clink->card = card; in card_probe()
87 clink->driver = drv; in card_probe()
88 clink->pm_state = PMSG_ON; in card_probe()
90 if (drv->probe(clink, id) >= 0) in card_probe()
95 if (dev->card_link == clink) in card_probe()
98 kfree(clink); in card_probe()
328 struct pnp_dev *pnp_request_card_device(struct pnp_card_link *clink, in pnp_request_card_device() argument
336 if (!clink || !id) in pnp_request_card_device()
339 card = clink->card; in pnp_request_card_device()
340 drv = clink->driver; in pnp_request_card_device()
358 dev->card_link = clink; in pnp_request_card_device()