Lines Matching defs:state
451 static int i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state)
465 if (!(state->flags & SS_RESET)) /* The reset bit has "inverse" logic */
467 if (state->flags & SS_IOCARD)
476 if (state->flags & SS_PWR_AUTO) {
480 if (state->flags & SS_OUTPUT_ENA) {
485 switch (state->Vcc) {
493 printk("i82092aa: i82092aa_set_socket called with invalid VCC power value: %i ", state->Vcc);
499 switch (state->Vpp) {
512 printk("i82092aa: i82092aa_set_socket called with invalid VPP power value: %i ", state->Vcc);
523 if (state->csc_mask & SS_DETECT) {
526 if (state->flags & SS_IOCARD) {
527 if (state->csc_mask & SS_STSCHG)
530 if (state->csc_mask & SS_BATDEAD)
532 if (state->csc_mask & SS_BATWARN)
534 if (state->csc_mask & SS_READY)