Home
last modified time | relevance | path

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

/device/qemu/arm_mps2_an386/liteos_m/board/driver/
Darm_uart_drv.c55 uint32_t system_clk) in arm_uart_init() argument
59 if(system_clk == 0) { in arm_uart_init()
64 dev->data->system_clk = system_clk; in arm_uart_init()
68 p_uart->bauddiv = (dev->data->system_clk / dev->cfg->default_baudrate); in arm_uart_init()
94 bauddiv = (dev->data->system_clk / baudrate); in arm_uart_set_baudrate()
113 uint32_t system_clk) in arm_uart_set_clock() argument
118 if(system_clk == 0) { in arm_uart_set_clock()
127 dev->data->system_clk = system_clk; in arm_uart_set_clock()
130 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in arm_uart_set_clock()
Darm_uart_drv.h42 uint32_t system_clk; /*!< System clock */ member
80 uint32_t system_clk);
117 uint32_t system_clk);
/device/qemu/arm_mps3_an547/liteos_m/board/driver/
Darm_uart_drv.c55 uint32_t system_clk) in arm_uart_init() argument
59 if(system_clk == 0) { in arm_uart_init()
64 dev->data->system_clk = system_clk; in arm_uart_init()
68 p_uart->bauddiv = (dev->data->system_clk / dev->cfg->default_baudrate); in arm_uart_init()
94 bauddiv = (dev->data->system_clk / baudrate); in arm_uart_set_baudrate()
113 uint32_t system_clk) in arm_uart_set_clock() argument
118 if(system_clk == 0) { in arm_uart_set_clock()
127 dev->data->system_clk = system_clk; in arm_uart_set_clock()
130 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in arm_uart_set_clock()
Darm_uart_drv.h42 uint32_t system_clk; /*!< System clock */ member
80 uint32_t system_clk);
117 uint32_t system_clk);
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/sdk/
Dgr55xx_dfu.h148 …uint32_t system_clk : 3; /**< Bit: 5-7 system clock. 0:64 MHz, 1:48 MHz, 2:32 MHz(xo… member