Lines Matching refs:skt
41 static int cmx255_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in cmx255_pcmcia_hw_init() argument
48 skt->irq = skt->nr == 0 ? PCMCIA_S0_RDYINT : PCMCIA_S1_RDYINT; in cmx255_pcmcia_hw_init()
49 ret = soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cmx255_pcmcia_hw_init()
56 static void cmx255_pcmcia_shutdown(struct soc_pcmcia_socket *skt) in cmx255_pcmcia_shutdown() argument
58 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cmx255_pcmcia_shutdown()
63 static void cmx255_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in cmx255_pcmcia_socket_state() argument
66 int cd = skt->nr ? GPIO_PCMCIA_S1_CD_VALID : GPIO_PCMCIA_S0_CD_VALID; in cmx255_pcmcia_socket_state()
67 int rdy = skt->nr ? GPIO_PCMCIA_S0_RDYINT : GPIO_PCMCIA_S1_RDYINT; in cmx255_pcmcia_socket_state()
79 static int cmx255_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in cmx255_pcmcia_configure_socket() argument
82 switch (skt->nr) { in cmx255_pcmcia_configure_socket()
106 static void cmx255_pcmcia_socket_init(struct soc_pcmcia_socket *skt) in cmx255_pcmcia_socket_init() argument
110 static void cmx255_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt) in cmx255_pcmcia_socket_suspend() argument