Home
last modified time | relevance | path

Searched refs:poll_state (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/usb/atm/
Dcxacru.c196 enum cxacru_poll_state poll_state; member
419 switch (instance->poll_state) { in cxacru_sysfs_store_adsl_state()
422 instance->poll_state = CXPOLL_POLLING; in cxacru_sysfs_store_adsl_state()
427 instance->poll_state = CXPOLL_POLLING; in cxacru_sysfs_store_adsl_state()
437 if (instance->poll_state == CXPOLL_POLLING) in cxacru_sysfs_store_adsl_state()
438 instance->poll_state = CXPOLL_STOPPING; in cxacru_sysfs_store_adsl_state()
790 switch (instance->poll_state) { in cxacru_atm_start()
793 instance->poll_state = CXPOLL_POLLING; in cxacru_atm_start()
798 instance->poll_state = CXPOLL_POLLING; in cxacru_atm_start()
836 if (instance->poll_state != CXPOLL_SHUTDOWN) { in cxacru_poll_status()
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h611 atomic_t poll_state; member
998 atomic_set(&bnapi->poll_state, BNXT_STATE_IDLE); in bnxt_enable_poll()
1004 int rc = atomic_cmpxchg(&bnapi->poll_state, BNXT_STATE_IDLE, in bnxt_lock_napi()
1012 atomic_set(&bnapi->poll_state, BNXT_STATE_IDLE); in bnxt_unlock_napi()
1018 int rc = atomic_cmpxchg(&bnapi->poll_state, BNXT_STATE_IDLE, in bnxt_lock_poll()
1026 atomic_set(&bnapi->poll_state, BNXT_STATE_IDLE); in bnxt_unlock_poll()
1031 return atomic_read(&bnapi->poll_state) == BNXT_STATE_POLL; in bnxt_busy_polling()
1039 old = atomic_cmpxchg(&bnapi->poll_state, BNXT_STATE_IDLE, in bnxt_disable_poll()
/linux-4.4.14/drivers/pci/hotplug/
Dibmphp_hpc.c825 int poll_state = POLL_LATCH_REGISTER; in poll_hpc() local
837 switch (poll_state) { in poll_hpc()
859 poll_state = POLL_SLEEP; in poll_hpc()
886 poll_state = POLL_SLEEP; in poll_hpc()
900 poll_state = POLL_SLOTS; in poll_hpc()
902 poll_state = POLL_LATCH_REGISTER; in poll_hpc()