Lines Matching refs:p_sigmadelta_obj
24 static sigmadelta_obj_t *p_sigmadelta_obj[SIGMADELTA_PORT_MAX] = {0}; variable
28 …SIGMADELTA_CHECK((p_sigmadelta_obj[sigmadelta_port]), "sigmadelta driver has not been initialized"…
35 sigmadelta_hal_set_duty(&(p_sigmadelta_obj[sigmadelta_port]->hal), channel, duty); in _sigmadelta_set_duty()
43 sigmadelta_hal_set_prescale(&(p_sigmadelta_obj[sigmadelta_port]->hal), channel, prescale); in _sigmadelta_set_prescale()
71 heap_caps_free(p_sigmadelta_obj[sigmadelta_port]); in sigmadelta_deinit()
72 p_sigmadelta_obj[sigmadelta_port] = NULL; in sigmadelta_deinit()
79 …SIGMADELTA_CHECK((p_sigmadelta_obj[sigmadelta_port]) == NULL, "sigmadelta driver already initializ… in sigmadelta_init()
81 …p_sigmadelta_obj[sigmadelta_port] = (sigmadelta_obj_t *) heap_caps_calloc(1, sizeof(sigmadelta_obj… in sigmadelta_init()
83 if (p_sigmadelta_obj[sigmadelta_port] == NULL) { in sigmadelta_init()
88 sigmadelta_hal_init(&(p_sigmadelta_obj[sigmadelta_port]->hal), sigmadelta_port); in sigmadelta_init()
119 if ((p_sigmadelta_obj[SIGMADELTA_PORT_0]) == NULL) { in sigmadelta_config()