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()
643 if (skt->callback) in pccardd()
644 ret = skt->callback->suspend(skt); in pccardd()
655 if (!ret && skt->callback) in pccardd()
656 skt->callback->resume(skt); in pccardd()
660 if (!ret && skt->callback) in pccardd()
661 skt->callback->requery(skt); in pccardd()
750 if (s->callback) { in pccard_register_pcmcia()
755 s->callback = c; in pccard_register_pcmcia()
758 s->callback->add(s); in pccard_register_pcmcia()
760 s->callback = NULL; in pccard_register_pcmcia()
798 if (skt->callback) in pcmcia_reset_card()
799 skt->callback->suspend(skt); in pcmcia_reset_card()
803 if ((ret == 0) && (skt->callback)) in pcmcia_reset_card()
804 skt->callback->resume(skt); in pcmcia_reset_card()
838 int (*callback) (struct pcmcia_socket *skt)) in __pcmcia_pm_op()
844 ret = callback(s); in __pcmcia_pm_op()