Searched refs:cfg (Results 1 – 3 of 3) sorted by relevance
/hal_intel-3.6.0/bsp_sedi/drivers/usart/ |
D | sedi_dw_uart.c | 603 int sedi_uart_set_config(IN sedi_uart_t uart, IN sedi_uart_config_t *cfg) in sedi_uart_set_config() argument 606 DBG_CHECK(cfg != NULL, SEDI_DRIVER_ERROR_PARAMETER); in sedi_uart_set_config() 617 ret = sedi_uart_set_baud_rate(uart, cfg->baud_rate, sedi_pm_get_hbw_clock()); in sedi_uart_set_config() 623 regs->lcr = cfg->line_control; in sedi_uart_set_config() 627 if (true == cfg->hw_fc) { in sedi_uart_set_config() 943 int sedi_uart_rs485_set_config(IN sedi_uart_t uart, IN sedi_uart_rs485_config_t *cfg) in sedi_uart_rs485_set_config() argument 954 DBG_CHECK(cfg != NULL, SEDI_DRIVER_ERROR_PARAMETER); in sedi_uart_rs485_set_config() 955 DBG_CHECK(cfg->de_assertion_time < SEDI_UART_DE_AT_DT_NS_MAX, SEDI_DRIVER_ERROR_PARAMETER); in sedi_uart_rs485_set_config() 956 DBG_CHECK(cfg->de_deassertion_time < SEDI_UART_DE_AT_DT_NS_MAX, in sedi_uart_rs485_set_config() 958 DBG_CHECK(cfg->de_re_tat < SEDI_UART_TAT_NS_MAX, SEDI_DRIVER_ERROR_PARAMETER); in sedi_uart_rs485_set_config() [all …]
|
/hal_intel-3.6.0/bsp_sedi/include/driver/ |
D | sedi_driver_uart.h | 292 int sedi_uart_set_config(IN sedi_uart_t uart, IN sedi_uart_config_t *const cfg); 687 int sedi_uart_get_config(IN sedi_uart_t uart, OUT sedi_uart_config_t *cfg); 1030 IN sedi_uart_rs485_config_t *cfg); 1103 OUT sedi_uart_rs485_config_t *cfg); 1115 IN sedi_uart_9bit_config_t *cfg); 1158 sedi_uart_9bit_config_t *cfg);
|
/hal_intel-3.6.0/bsp_sedi/drivers/i2c/ |
D | sedi_i2c_dw_apb_200a.c | 215 sedi_i2c_bus_clk_t *cfg) in dw_i2c_config_speed() argument 226 if (cfg->sda_hold) { in dw_i2c_config_speed() 227 i2c->sda_hold = cfg->sda_hold; in dw_i2c_config_speed() 232 i2c->ss_scl_hcnt = cfg->hcnt; in dw_i2c_config_speed() 233 i2c->ss_scl_lcnt = cfg->lcnt; in dw_i2c_config_speed() 237 i2c->fs_scl_hcnt = cfg->hcnt; in dw_i2c_config_speed() 238 i2c->fs_scl_lcnt = cfg->lcnt; in dw_i2c_config_speed() 241 i2c->hs_scl_hcnt = cfg->hcnt; in dw_i2c_config_speed() 242 i2c->hs_scl_lcnt = cfg->lcnt; in dw_i2c_config_speed()
|