device_get_state
if (device_get_state(devlistp[i]) >= DS_ATTACHED) {
if (device_get_state(devlistp[i]) >= DS_ATTACHED) {
if (device_get_state(child) != DS_NOTPRESENT)
if (device_get_state(parent) == DS_INPROGRESS)
if (device_get_state(parent) == DS_ATTACHED)
if (device_get_state(parent) == DS_ATTACHED)
if (device_get_state(parent) == DS_INPROGRESS)
if (device_get_state(child) != DS_NOTPRESENT)
state = device_get_state(pf->dev);
if (device_get_state(child) != DS_NOTPRESENT)
if (device_get_state(parent) == DS_ATTACHED)
if (device_get_state(parent) == DS_INPROGRESS)
if (device_get_state(child) == DS_NOTPRESENT) {
if (device_get_state(parent) == DS_ATTACHED)
if (device_get_state(parent) == DS_ATTACHED)
if (device_get_state(parent) == DS_ATTACHED)
if (device_get_state(psm) != DS_NOTPRESENT)
if ((atkbdc != NULL) && (device_get_state(atkbdc) == DS_ATTACHED)) {
int status = device_get_state(devlist[tmp]);
if (device_get_state(dev) != DS_NOTPRESENT)
if (device_get_state(dev) != DS_NOTPRESENT)
if (device_get_state(dev) == DS_NOTPRESENT &&
if (device_get_state(child) != DS_NOTPRESENT)
if (error != 0 || device_get_state(child) == DS_NOTPRESENT) {
if (device_get_state(child) != DS_NOTPRESENT)
if (error != 0 || device_get_state(child) == DS_NOTPRESENT) {
device_state_t device_get_state(device_t dev);