Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/genwqe/
Dcard_sysfs.c45 return sprintf(buf, "%s\n", cs[cd->card_state]); in status_show()
221 if (cd->card_state == GENWQE_CARD_UNUSED || in reload_bitstream_store()
222 cd->card_state == GENWQE_CARD_USED) in reload_bitstream_store()
223 cd->card_state = GENWQE_CARD_RELOAD_BITSTREAM; in reload_bitstream_store()
Dcard_ddcb.c244 (cd->card_state != GENWQE_CARD_USED); in ddcb_requ_finished()
547 if (cd->card_state != GENWQE_CARD_USED) { in __genwqe_wait_ddcb()
764 if (cd->card_state != GENWQE_CARD_USED) { in __genwqe_enqueue_ddcb()
1294 cd->card_state = GENWQE_CARD_USED; in genwqe_setup_service_layer()
1353 if (cd->card_state == GENWQE_CARD_USED) in genwqe_finish_queue()
1354 cd->card_state = GENWQE_CARD_UNUSED; in genwqe_finish_queue()
Dcard_base.c144 cd->card_state = GENWQE_CARD_UNUSED; in genwqe_dev_alloc()
487 if (cd->card_state == GENWQE_CARD_FATAL_ERROR) { in genwqe_start()
971 cd->card_state = GENWQE_CARD_FATAL_ERROR; in genwqe_health_thread()
980 if (cd->card_state == GENWQE_CARD_RELOAD_BITSTREAM) { in genwqe_health_thread()
1020 cd->card_state = GENWQE_CARD_FATAL_ERROR; in genwqe_health_thread()
Dcard_base.h269 enum genwqe_card_state card_state; member
Dcard_dev.c1073 put_user(cd->card_state, (enum genwqe_card_state __user *)arg); in genwqe_ioctl()
/linux-6.1.9/drivers/pcmcia/
Di82092.c56 int card_state; member
113 sockets[i].card_state = 1; /* 1 = present but empty */ in i82092aa_pci_probe()
126 sockets[i].card_state = 3; in i82092aa_pci_probe()
312 if (sockets[i].card_state == 0) in i82092aa_interrupt()
/linux-6.1.9/drivers/net/ethernet/3com/
Dtyphoon.c267 u8 card_state; member
951 if (tp->card_state == Sleeping) in typhoon_get_stats()
971 if (tp->card_state == Sleeping) { in typhoon_get_drvinfo()
1236 tp->card_state = Sleeping; in typhoon_init_interface()
1940 tp->card_state = Running; in typhoon_start_runtime()
1992 tp->card_state = Sleeping; in typhoon_stop_runtime()
/linux-6.1.9/drivers/tty/
Dnozomi.c153 enum card_state { enum
354 enum card_state state;
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c879 u32 card_state; in ipw2100_wait_for_card_state() local
880 u32 len = sizeof(card_state); in ipw2100_wait_for_card_state()
885 &card_state, &len); in ipw2100_wait_for_card_state()
895 if ((card_state == state) || in ipw2100_wait_for_card_state()