Lines Matching refs:callback
291 if (s->callback) in socket_shutdown()
292 s->callback->remove(s); in socket_shutdown()
440 if (!(skt->state & SOCKET_CARDBUS) && (skt->callback)) in socket_insert()
441 skt->callback->add(skt); in socket_insert()
512 if (!(skt->state & SOCKET_CARDBUS) && (skt->callback)) in socket_late_resume()
513 ret = skt->callback->early_resume(skt); in socket_late_resume()
644 if (skt->callback) in pccardd()
645 ret = skt->callback->suspend(skt); in pccardd()
656 if (!ret && skt->callback) in pccardd()
657 skt->callback->resume(skt); in pccardd()
661 if (!ret && skt->callback) in pccardd()
662 skt->callback->requery(skt); in pccardd()
749 if (s->callback) { in pccard_register_pcmcia()
754 s->callback = c; in pccard_register_pcmcia()
757 s->callback->add(s); in pccard_register_pcmcia()
759 s->callback = NULL; in pccard_register_pcmcia()
797 if (skt->callback) in pcmcia_reset_card()
798 skt->callback->suspend(skt); in pcmcia_reset_card()
802 if ((ret == 0) && (skt->callback)) in pcmcia_reset_card()
803 skt->callback->resume(skt); in pcmcia_reset_card()
837 int (*callback) (struct pcmcia_socket *skt)) in __pcmcia_pm_op()
843 ret = callback(s); in __pcmcia_pm_op()