• Home
  • Raw
  • Download

Lines Matching refs:skt

33 static int mst_pcmcia_hw_init(struct soc_pcmcia_socket *skt)  in mst_pcmcia_hw_init()  argument
39 if (skt->nr == 0) { in mst_pcmcia_hw_init()
40 skt->socket.pci_irq = MAINSTONE_S0_IRQ; in mst_pcmcia_hw_init()
41 skt->stat[SOC_STAT_CD].irq = MAINSTONE_S0_CD_IRQ; in mst_pcmcia_hw_init()
42 skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; in mst_pcmcia_hw_init()
43 skt->stat[SOC_STAT_BVD1].irq = MAINSTONE_S0_STSCHG_IRQ; in mst_pcmcia_hw_init()
44 skt->stat[SOC_STAT_BVD1].name = "PCMCIA0 STSCHG"; in mst_pcmcia_hw_init()
46 skt->socket.pci_irq = MAINSTONE_S1_IRQ; in mst_pcmcia_hw_init()
47 skt->stat[SOC_STAT_CD].irq = MAINSTONE_S1_CD_IRQ; in mst_pcmcia_hw_init()
48 skt->stat[SOC_STAT_CD].name = "PCMCIA1 CD"; in mst_pcmcia_hw_init()
49 skt->stat[SOC_STAT_BVD1].irq = MAINSTONE_S1_STSCHG_IRQ; in mst_pcmcia_hw_init()
50 skt->stat[SOC_STAT_BVD1].name = "PCMCIA1 STSCHG"; in mst_pcmcia_hw_init()
57 static void mst_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in mst_pcmcia_socket_state() argument
62 status = (skt->nr == 0) ? MST_PCMCIA0 : MST_PCMCIA1; in mst_pcmcia_socket_state()
63 flip = (status ^ mst_pcmcia_status[skt->nr]) & MST_PCMCIA_nSTSCHG_BVD1; in mst_pcmcia_socket_state()
71 mst_pcmcia_status[skt->nr] = status; in mst_pcmcia_socket_state()
73 enable_irq( (skt->nr == 0) ? MAINSTONE_S0_STSCHG_IRQ in mst_pcmcia_socket_state()
76 disable_irq( (skt->nr == 0) ? MAINSTONE_S0_STSCHG_IRQ in mst_pcmcia_socket_state()
88 static int mst_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in mst_pcmcia_configure_socket() argument
120 switch (skt->nr) { in mst_pcmcia_configure_socket()