Lines Matching refs:SCOOP_DEV
24 #define SCOOP_DEV platform_scoop_config->devs macro
28 struct scoop_pcmcia_dev *scoopdev = &SCOOP_DEV[skt->nr]; in sharpsl_pcmcia_init_reset()
44 if (SCOOP_DEV[skt->nr].cd_irq >= 0) { in sharpsl_pcmcia_hw_init()
45 skt->stat[SOC_STAT_CD].irq = SCOOP_DEV[skt->nr].cd_irq; in sharpsl_pcmcia_hw_init()
46 skt->stat[SOC_STAT_CD].name = SCOOP_DEV[skt->nr].cd_irq_str; in sharpsl_pcmcia_hw_init()
49 skt->socket.pci_irq = SCOOP_DEV[skt->nr].irq; in sharpsl_pcmcia_hw_init()
58 struct device *scoop = SCOOP_DEV[skt->nr].dev; in sharpsl_pcmcia_socket_state()
60 cpr = read_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_CPR); in sharpsl_pcmcia_socket_state()
69 SCOOP_DEV[skt->nr].keep_vs = NO_KEEP_VS; in sharpsl_pcmcia_socket_state()
71 else if (!(SCOOP_DEV[skt->nr].keep_vs & NO_KEEP_VS)) { in sharpsl_pcmcia_socket_state()
74 csr |= SCOOP_DEV[skt->nr].keep_vs; in sharpsl_pcmcia_socket_state()
79 SCOOP_DEV[skt->nr].keep_vs = (csr & 0x00C0); in sharpsl_pcmcia_socket_state()
108 struct device *scoop = SCOOP_DEV[skt->nr].dev; in sharpsl_pcmcia_configure_socket()
151 SCOOP_DEV[skt->nr].keep_rd = 0; in sharpsl_pcmcia_configure_socket()
152 } else if (!SCOOP_DEV[skt->nr].keep_rd) { in sharpsl_pcmcia_configure_socket()
154 SCOOP_DEV[skt->nr].keep_rd = 1; in sharpsl_pcmcia_configure_socket()
182 write_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_IMR, 0x00C0); in sharpsl_pcmcia_socket_init()
183 write_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_MCR, 0x0101); in sharpsl_pcmcia_socket_init()
184 SCOOP_DEV[skt->nr].keep_vs = NO_KEEP_VS; in sharpsl_pcmcia_socket_init()