Lines Matching defs:state
43 * Setup default state of GPIO outputs
59 struct pcmcia_state *state)
76 state->detect = (status & MST_PCMCIA_nCD) ? 0 : 1;
77 state->ready = (status & MST_PCMCIA_nIRQ) ? 1 : 0;
78 state->bvd1 = (status & MST_PCMCIA_nSTSCHG_BVD1) ? 1 : 0;
79 state->bvd2 = (status & MST_PCMCIA_nSPKR_BVD2) ? 1 : 0;
80 state->vs_3v = (status & MST_PCMCIA_nVS1) ? 0 : 1;
81 state->vs_Xv = (status & MST_PCMCIA_nVS2) ? 0 : 1;
82 state->wrprot = 0; /* not available */
86 const socket_state_t *state)
91 switch (state->Vcc) {
97 __func__, state->Vcc);
101 switch (state->Vpp) {
105 if(state->Vpp == state->Vcc) {
109 __func__, state->Vpp);
114 if (state->flags & SS_RESET)