• Home
  • Raw
  • Download

Lines Matching refs:ok

242     int           ok;  in fore200e_poll()  local
246 if ((ok = (*addr == val)) || (*addr & STATUS_ERROR)) in fore200e_poll()
252 if (!ok) { in fore200e_poll()
258 return ok; in fore200e_poll()
266 int ok; in fore200e_io_poll() local
269 if ((ok = (fore200e->bus->read(addr) == val))) in fore200e_io_poll()
275 if (!ok) { in fore200e_io_poll()
281 return ok; in fore200e_io_poll()
333 int ok; in fore200e_reset() local
342 ok = fore200e_io_poll(fore200e, &fore200e->cp_monitor->bstat, BSTAT_SELFTEST_OK, 1000); in fore200e_reset()
343 if (ok == 0) { in fore200e_reset()
559 int ok; in fore200e_pca_prom_read() local
578 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400); in fore200e_pca_prom_read()
584 if (ok == 0) { in fore200e_pca_prom_read()
1230 int ok; in fore200e_activate_vcin() local
1268 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400); in fore200e_activate_vcin()
1272 if (ok == 0) { in fore200e_activate_vcin()
1672 int ok; in fore200e_getstats() local
1697 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400); in fore200e_getstats()
1703 if (ok == 0) { in fore200e_getstats()
1718 int ok;
1736 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
1742 if (ok == 0) {
1758 int ok; in fore200e_set_oc3() local
1775 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400); in fore200e_set_oc3()
1779 if (ok == 0) { in fore200e_set_oc3()
1956 int ok, i; in fore200e_get_esi() local
1961 ok = fore200e->bus->prom_read(fore200e, prom); in fore200e_get_esi()
1962 if (ok < 0) { in fore200e_get_esi()
2288 int ok, scheme, magn; in fore200e_initialize() local
2323 ok = fore200e_io_poll(fore200e, &cpq->init.status, STATUS_COMPLETE, 3000); in fore200e_initialize()
2324 if (ok == 0) { in fore200e_initialize()