Home
last modified time | relevance | path

Searched refs:CHK_DEV_STATE (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/ath/carl9170/
H A Dcarl9170.h501 #define CHK_DEV_STATE(a, s) (((struct ar9170 *)a)->state >= (s)) macro
502 #define IS_INITIALIZED(a) (CHK_DEV_STATE(a, CARL9170_STOPPED))
503 #define IS_ACCEPTING_CMD(a) (CHK_DEV_STATE(a, CARL9170_IDLE))
504 #define IS_STARTED(a) (CHK_DEV_STATE(a, CARL9170_STARTED))
528 if (CHK_DEV_STATE(ar, min)) in carl9170_set_state_when()
H A Ddebug.c91 if (!CHK_DEV_STATE(ar, dfops->req_dev_state)) { in carl9170_debugfs_read()
151 if (!CHK_DEV_STATE(ar, dfops->req_dev_state)) { in carl9170_debugfs_write()