Searched refs:ops_ptr (Results 1 – 3 of 3) sorted by relevance
58 void timer_init(const timer_ops_t *ops_ptr) in timer_init() argument60 assert(ops_ptr != NULL && in timer_init()61 (ops_ptr->clk_mult != 0) && in timer_init()62 (ops_ptr->clk_div != 0) && in timer_init()63 (ops_ptr->get_timer_value != NULL)); in timer_init()65 ops = ops_ptr; in timer_init()
83 void gpio_init(const gpio_ops_t *ops_ptr) in gpio_init() argument85 assert(ops_ptr != 0 && in gpio_init()86 (ops_ptr->get_direction != 0) && in gpio_init()87 (ops_ptr->set_direction != 0) && in gpio_init()88 (ops_ptr->get_value != 0) && in gpio_init()89 (ops_ptr->set_value != 0)); in gpio_init()91 ops = ops_ptr; in gpio_init()
343 void emmc_init(const emmc_ops_t *ops_ptr, int clk, int width, in emmc_init() argument346 assert((ops_ptr != 0) && in emmc_init()347 (ops_ptr->init != 0) && in emmc_init()348 (ops_ptr->send_cmd != 0) && in emmc_init()349 (ops_ptr->set_ios != 0) && in emmc_init()350 (ops_ptr->prepare != 0) && in emmc_init()351 (ops_ptr->read != 0) && in emmc_init()352 (ops_ptr->write != 0) && in emmc_init()357 ops = ops_ptr; in emmc_init()