Lines Matching refs:cs_state
122 skt->cs_state = dead_socket; in sa1100_pcmcia_init()
154 skt->cs_state = dead_socket; in sa1100_pcmcia_suspend()
256 skt->cs_state.csc_mask, in sa1100_pcmcia_task_handler()
257 skt->cs_state.flags); in sa1100_pcmcia_task_handler()
434 stat |= skt->cs_state.Vcc ? SS_POWERON : 0; in sa1100_pcmcia_get_status()
436 if (skt->cs_state.flags & SS_IOCARD) in sa1100_pcmcia_get_status()
476 *state = skt->cs_state; in sa1100_pcmcia_get_socket()
522 skt->cs_state = *state; in sa1100_pcmcia_set_socket()
693 if (skt->cs_state.Vcc == 33) in sa1100_pcmcia_set_mem_map()
765 skt->cs_state.Vcc ? "SS_POWERON " : "", in sa1100_pcmcia_proc_status()
766 skt->cs_state.flags & SS_IOCARD ? "SS_IOCARD " : "", in sa1100_pcmcia_proc_status()
767 (skt->cs_state.flags & SS_IOCARD && in sa1100_pcmcia_proc_status()
769 ((skt->cs_state.flags & SS_IOCARD)==0 && in sa1100_pcmcia_proc_status()
771 ((skt->cs_state.flags & SS_IOCARD)==0 && in sa1100_pcmcia_proc_status()
777 skt->cs_state.csc_mask & SS_DETECT ? "SS_DETECT " : "", in sa1100_pcmcia_proc_status()
778 skt->cs_state.csc_mask & SS_READY ? "SS_READY " : "", in sa1100_pcmcia_proc_status()
779 skt->cs_state.csc_mask & SS_BATDEAD ? "SS_BATDEAD " : "", in sa1100_pcmcia_proc_status()
780 skt->cs_state.csc_mask & SS_BATWARN ? "SS_BATWARN " : "", in sa1100_pcmcia_proc_status()
781 skt->cs_state.csc_mask & SS_STSCHG ? "SS_STSCHG " : ""); in sa1100_pcmcia_proc_status()
784 skt->cs_state.flags & SS_PWR_AUTO ? "SS_PWR_AUTO " : "", in sa1100_pcmcia_proc_status()
785 skt->cs_state.flags & SS_IOCARD ? "SS_IOCARD " : "", in sa1100_pcmcia_proc_status()
786 skt->cs_state.flags & SS_RESET ? "SS_RESET " : "", in sa1100_pcmcia_proc_status()
787 skt->cs_state.flags & SS_SPKR_ENA ? "SS_SPKR_ENA " : "", in sa1100_pcmcia_proc_status()
788 skt->cs_state.flags & SS_OUTPUT_ENA ? "SS_OUTPUT_ENA " : ""); in sa1100_pcmcia_proc_status()
790 p+=sprintf(p, "Vcc : %d\n", skt->cs_state.Vcc); in sa1100_pcmcia_proc_status()
791 p+=sprintf(p, "Vpp : %d\n", skt->cs_state.Vpp); in sa1100_pcmcia_proc_status()
792 p+=sprintf(p, "IRQ : %d\n", skt->cs_state.io_irq); in sa1100_pcmcia_proc_status()