Lines Matching defs:ops
23 static const struct mmc_ops *ops;
77 ret = ops->send_cmd(&cmd);
161 ret = ops->prepare(0, (uintptr_t)&scr, sizeof(scr));
178 ret = ops->read(0, (uintptr_t)&scr, sizeof(scr));
235 return ops->set_ios(clk, width);
251 ret = ops->prepare(0, (uintptr_t)&mmc_ext_csd,
263 ret = ops->read(0, (uintptr_t)&mmc_ext_csd,
356 ret = ops->prepare(0, (uintptr_t)&sd_switch_func_status,
371 return ops->read(0, (uintptr_t)&sd_switch_func_status,
468 ops->init();
571 ret = ops->set_ios(clk, bus_width);
582 assert((ops != NULL) &&
583 (ops->read != NULL) &&
587 ret = ops->prepare(lba, buf, size);
621 ret = ops->read(lba, buf, size);
649 assert((ops != NULL) &&
650 (ops->write != NULL) &&
655 ret = ops->prepare(lba, buf, size);
688 ret = ops->write(lba, buf, size);
730 ops = ops_ptr;