Lines Matching refs:skt
29 static int trizeps_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in trizeps_pcmcia_hw_init() argument
34 switch (skt->nr) { in trizeps_pcmcia_hw_init()
36 skt->stat[SOC_STAT_CD].gpio = GPIO_PCD; in trizeps_pcmcia_hw_init()
37 skt->stat[SOC_STAT_CD].name = "cs0_cd"; in trizeps_pcmcia_hw_init()
38 skt->stat[SOC_STAT_RDY].gpio = GPIO_PRDY; in trizeps_pcmcia_hw_init()
39 skt->stat[SOC_STAT_RDY].name = "cs0_rdy"; in trizeps_pcmcia_hw_init()
45 pr_debug("%s: sock %d irq %d\n", __func__, skt->nr, skt->socket.pci_irq); in trizeps_pcmcia_hw_init()
52 static void trizeps_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in trizeps_pcmcia_socket_state() argument
57 change = (status ^ trizeps_pcmcia_status[skt->nr]) & in trizeps_pcmcia_socket_state()
60 trizeps_pcmcia_status[skt->nr] = status; in trizeps_pcmcia_socket_state()
68 switch (skt->nr) { in trizeps_pcmcia_socket_state()
92 static int trizeps_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in trizeps_pcmcia_configure_socket() argument
123 switch (skt->nr) { in trizeps_pcmcia_configure_socket()
139 static void trizeps_pcmcia_socket_init(struct soc_pcmcia_socket *skt) in trizeps_pcmcia_socket_init() argument
145 static void trizeps_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt) in trizeps_pcmcia_socket_suspend() argument