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

/linux-4.4.14/arch/x86/platform/olpc/
H A Dolpc.c40 static int ec_timeout = EC_BASE_TIMEOUT; variable
44 if (get_option(&str, &ec_timeout) != 1) { olpc_ec_timeout_set()
45 ec_timeout = EC_BASE_TIMEOUT; olpc_ec_timeout_set()
50 ec_timeout); olpc_ec_timeout_set()
75 for (timeo = ec_timeout; state != desired && timeo; timeo--) { __wait_on_ibf()
80 if ((state == desired) && (ec_timeout > EC_BASE_TIMEOUT) && __wait_on_ibf()
81 timeo < (ec_timeout - EC_BASE_TIMEOUT)) { __wait_on_ibf()
83 line, ec_timeout - timeo); __wait_on_ibf()
95 for (timeo = ec_timeout; state != desired && timeo; timeo--) { __wait_on_obf()
100 if ((state == desired) && (ec_timeout > EC_BASE_TIMEOUT) && __wait_on_obf()
101 timeo < (ec_timeout - EC_BASE_TIMEOUT)) { __wait_on_obf()
103 line, ec_timeout - timeo); __wait_on_obf()

Completed in 39 milliseconds