Lines Matching defs:ok
203 int ok;
207 if ((ok = (*addr == val)) || (*addr & STATUS_ERROR))
212 if (!ok) {
217 return ok;
225 int ok;
228 if ((ok = (fore200e->bus->read(addr) == val)))
233 if (!ok) {
238 return ok;
290 int ok;
299 ok = fore200e_io_poll(fore200e, &fore200e->cp_monitor->bstat, BSTAT_SELFTEST_OK, 1000);
300 if (ok == 0) {
576 int ok;
592 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
598 if (ok == 0) {
1287 int ok;
1325 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
1329 if (ok == 0) {
1712 int ok;
1735 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
1741 if (ok == 0) {
1782 int ok;
1799 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
1803 if (ok == 0) {
1982 int ok, i;
1987 ok = fore200e->bus->prom_read(fore200e, prom);
1988 if (ok < 0) {
2319 int ok, scheme, magn;
2354 ok = fore200e_io_poll(fore200e, &cpq->init.status, STATUS_COMPLETE, 3000);
2355 if (ok == 0) {