Searched refs:ops_ptr (Results 1 – 5 of 5) sorted by relevance
74 void timer_init(const timer_ops_t *ops_ptr) in timer_init() argument76 assert((ops_ptr != NULL) && in timer_init()77 (ops_ptr->clk_mult != 0U) && in timer_init()78 (ops_ptr->clk_div != 0U) && in timer_init()79 (ops_ptr->get_timer_value != NULL)); in timer_init()81 timer_ops = ops_ptr; in timer_init()
84 void gpio_init(const gpio_ops_t *ops_ptr) in gpio_init() argument86 assert(ops_ptr != 0 && in gpio_init()87 (ops_ptr->get_direction != 0) && in gpio_init()88 (ops_ptr->set_direction != 0) && in gpio_init()89 (ops_ptr->get_value != 0) && in gpio_init()90 (ops_ptr->set_value != 0)); in gpio_init()92 ops = ops_ptr; in gpio_init()
787 int mmc_init(const struct mmc_ops *ops_ptr, unsigned int clk, in mmc_init() argument791 assert((ops_ptr != NULL) && in mmc_init()792 (ops_ptr->init != NULL) && in mmc_init()793 (ops_ptr->send_cmd != NULL) && in mmc_init()794 (ops_ptr->set_ios != NULL) && in mmc_init()795 (ops_ptr->prepare != NULL) && in mmc_init()796 (ops_ptr->read != NULL) && in mmc_init()797 (ops_ptr->write != NULL) && in mmc_init()806 ops = ops_ptr; in mmc_init()
51 void timer_init(const timer_ops_t *ops_ptr);
240 int mmc_init(const struct mmc_ops *ops_ptr, unsigned int clk,
Completed in 12 milliseconds