Lines Matching defs:state
53 struct pcmcia_state *state)
55 state->detect = !gpio_get_value(SG2_S0_GPIO_DETECT);
56 state->ready = !!gpio_get_value(SG2_S0_GPIO_READY);
57 state->bvd1 = 0; /* not available - battery detect on card */
58 state->bvd2 = 0; /* not available */
59 state->vs_3v = 1; /* not available - voltage detect for card */
60 state->vs_Xv = 0; /* not available */
61 state->wrprot = 0; /* not available - write protect */
65 const socket_state_t *state)
68 switch (state->Vcc) {
81 __func__, state->Vcc);
86 gpio_set_value(SG2_S0_GPIO_RESET, !!(state->flags & SS_RESET));