Searched refs:card_state (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/misc/genwqe/
H A Dcard_sysfs.c53 return sprintf(buf, "%s\n", cs[cd->card_state]); status_show()
229 if (cd->card_state == GENWQE_CARD_UNUSED || reload_bitstream_store()
230 cd->card_state == GENWQE_CARD_USED) reload_bitstream_store()
231 cd->card_state = GENWQE_CARD_RELOAD_BITSTREAM; reload_bitstream_store()
H A Dcard_base.c153 cd->card_state = GENWQE_CARD_UNUSED; genwqe_dev_alloc()
492 if (cd->card_state == GENWQE_CARD_FATAL_ERROR) { genwqe_start()
969 cd->card_state = GENWQE_CARD_FATAL_ERROR; genwqe_health_thread()
978 if (cd->card_state == GENWQE_CARD_RELOAD_BITSTREAM) { genwqe_health_thread()
1018 cd->card_state = GENWQE_CARD_FATAL_ERROR; genwqe_health_thread()
H A Dcard_ddcb.c253 (cd->card_state != GENWQE_CARD_USED); ddcb_requ_finished()
553 if (cd->card_state != GENWQE_CARD_USED) { __genwqe_wait_ddcb()
768 if (cd->card_state != GENWQE_CARD_USED) { __genwqe_enqueue_ddcb()
1296 cd->card_state = GENWQE_CARD_USED; genwqe_setup_service_layer()
1353 if (cd->card_state == GENWQE_CARD_USED) genwqe_finish_queue()
1354 cd->card_state = GENWQE_CARD_UNUSED; genwqe_finish_queue()
H A Dcard_base.h257 * @card_state: Card operation state, see above
276 enum genwqe_card_state card_state; member in struct:genwqe_dev
H A Dcard_dev.c1071 put_user(cd->card_state, (enum genwqe_card_state __user *)arg); genwqe_ioctl()
/linux-4.1.27/drivers/pcmcia/
H A Di82092.c55 int card_state; /* 0 = no socket, member in struct:socket_info
106 sockets[i].card_state = 1; /* 1 = present but empty */ i82092aa_pci_probe()
118 sockets[i].card_state = 3; i82092aa_pci_probe()
316 if (sockets[i].card_state==0) /* Inactive socket, should not happen */ i82092aa_interrupt()
/linux-4.1.27/drivers/net/ethernet/3com/
H A Dtyphoon.c273 u8 card_state; member in struct:typhoon
303 /* These are the values for the typhoon.card_state variable.
958 if(tp->card_state == Sleeping) typhoon_get_stats()
978 if(tp->card_state == Sleeping) { typhoon_get_drvinfo()
1236 tp->card_state = Sleeping; typhoon_init_interface()
1934 tp->card_state = Running; typhoon_start_runtime()
1986 tp->card_state = Sleeping; typhoon_stop_runtime()
/linux-4.1.27/drivers/tty/
H A Dnozomi.c191 enum card_state { enum
392 enum card_state state;
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2100.c894 u32 card_state; ipw2100_wait_for_card_state() local
895 u32 len = sizeof(card_state); ipw2100_wait_for_card_state()
900 &card_state, &len); ipw2100_wait_for_card_state()
910 if ((card_state == state) || ipw2100_wait_for_card_state()

Completed in 277 milliseconds