Lines Matching defs:state
43 struct pcmcia_state *state)
49 state->detect = (levels & SHANNON_GPIO_EJECT_0) ? 0 : 1;
50 state->ready = (levels & SHANNON_GPIO_RDY_0) ? 1 : 0;
51 state->wrprot = 0; /* Not available on Shannon. */
52 state->bvd1 = 1;
53 state->bvd2 = 1;
54 state->vs_3v = 1;
55 state->vs_Xv = 0;
59 state->detect = (levels & SHANNON_GPIO_EJECT_1) ? 0 : 1;
60 state->ready = (levels & SHANNON_GPIO_RDY_1) ? 1 : 0;
61 state->wrprot = 0; /* Not available on Shannon. */
62 state->bvd1 = 1;
63 state->bvd2 = 1;
64 state->vs_3v = 1;
65 state->vs_Xv = 0;
72 const socket_state_t *state)
74 switch (state->Vcc) {
84 __func__, state->Vcc);