Lines Matching defs:ok
239 int ok;
243 if ((ok = (*addr == val)) || (*addr & STATUS_ERROR))
249 if (!ok) {
255 return ok;
263 int ok;
266 if ((ok = (fore200e->bus->read(addr) == val)))
272 if (!ok) {
278 return ok;
330 int ok;
339 ok = fore200e_io_poll(fore200e, &fore200e->cp_monitor->bstat, BSTAT_SELFTEST_OK, 1000);
340 if (ok == 0) {
556 int ok;
575 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
581 if (ok == 0) {
1227 int ok;
1265 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
1269 if (ok == 0) {
1669 int ok;
1694 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
1700 if (ok == 0) {
1715 int ok;
1733 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
1739 if (ok == 0) {
1755 int ok;
1772 ok = fore200e_poll(fore200e, entry->status, STATUS_COMPLETE, 400);
1776 if (ok == 0) {
1953 int ok, i;
1958 ok = fore200e->bus->prom_read(fore200e, prom);
1959 if (ok < 0) {
2285 int ok, scheme, magn;
2320 ok = fore200e_io_poll(fore200e, &cpq->init.status, STATUS_COMPLETE, 3000);
2321 if (ok == 0) {