Lines Matching defs:state
66 struct pcmcia_state *state)
83 state->detect = !gpio_get_value(BALLOON3_GPIO_S0_CD);
84 state->ready = !!(status & BALLOON3_CF_nIRQ);
85 state->bvd1 = !!(status & BALLOON3_CF_nSTSCHG_BVD1);
86 state->bvd2 = 0; /* not available */
87 state->vs_3v = 1; /* Always true its a CF card */
88 state->vs_Xv = 0; /* not available */
89 state->wrprot = 0; /* not available */
93 const socket_state_t *state)
95 __raw_writew((state->flags & SS_RESET) ? BALLOON3_CF_RESET : 0,