Home
last modified time | relevance | path

Searched refs:g_config (Results 1 – 5 of 5) sorted by relevance

/device/soc/esp/esp32/components/driver/
Dtwai.c406 esp_err_t twai_driver_install(const twai_general_config_t *g_config, const twai_timing_config_t *t_… in twai_driver_install() argument
409 TWAI_CHECK(g_config != NULL, ESP_ERR_INVALID_ARG); in twai_driver_install()
412 TWAI_CHECK(g_config->rx_queue_len > 0, ESP_ERR_INVALID_ARG); in twai_driver_install()
413 TWAI_CHECK(g_config->tx_io >= 0 && g_config->tx_io < GPIO_NUM_MAX, ESP_ERR_INVALID_ARG); in twai_driver_install()
414 TWAI_CHECK(g_config->rx_io >= 0 && g_config->rx_io < GPIO_NUM_MAX, ESP_ERR_INVALID_ARG); in twai_driver_install()
417 TWAI_CHECK(!(g_config->intr_flags & ESP_INTR_FLAG_IRAM), ESP_ERR_INVALID_ARG); in twai_driver_install()
427 p_twai_obj_dummy = twai_alloc_driver_obj(g_config->tx_queue_len, g_config->rx_queue_len); in twai_driver_install()
432 p_twai_obj_dummy->mode = g_config->mode; in twai_driver_install()
433 p_twai_obj_dummy->alerts_enabled = g_config->alerts_enabled; in twai_driver_install()
449 …twai_hal_configure(&twai_context, t_config, f_config, DRIVER_DEFAULT_INTERRUPTS, g_config->clkout_… in twai_driver_install()
[all …]
/device/soc/esp/esp32/components/driver/include/driver/
Dcan.h59 #define can_driver_install(g_config, t_config, f_config) twai_driver_install(g_config, t_con… argument
Dtwai.h149 esp_err_t twai_driver_install(const twai_general_config_t *g_config, const twai_timing_config_t *t_…
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/
Dde_enhance.c42 static struct disp_enhance_config g_config[DE_NUM]; variable
180 g_config[screen_id].flags |= ENH_FORMAT_DIRTY; in de_enhance_set_format()
184 de_enhance_apply(screen_id, &g_config[screen_id]); in de_enhance_set_format()
205 memcpy(&g_config[screen_id], config, in de_enhance_apply()
253 g_config[screen_id].flags = 0; in de_enhance_apply()
316 g_config[screen_id].flags |= ENH_SIZE_DIRTY; in de_enhance_set_size()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun50iw1/
Dde_enhance.c38 static struct disp_enhance_config g_config[DEVICE_NUM]; variable
105 de_enhance_apply(screen_id, &g_config[screen_id]); in de_enhance_set_format()
120 memcpy(&g_config[screen_id], config, sizeof(struct disp_enhance_config)); in de_enhance_apply()