Home
last modified time | relevance | path

Searched refs:config_value (Results 1 – 10 of 10) sorted by relevance

/bsp/hifive1/freedom-e-sdk/bsp/env/freedom-e300-hifive1/
A Dinit.c64 uint32_t config_value = 0; in use_pll() local
66 config_value |= PLL_REFSEL(refsel); in use_pll()
70 config_value |= PLL_BYPASS(1); in use_pll()
72 PRCI_REG(PRCI_PLLCFG) = config_value; in use_pll()
95 config_value |= PLL_BYPASS(1); in use_pll()
96 config_value |= PLL_R(r); in use_pll()
102 config_value |= PLL_F(f); in use_pll()
106 config_value |= PLL_Q(q); in use_pll()
111 PRCI_REG(PRCI_PLLCFG) = config_value; in use_pll()
/bsp/sparkfun-redv/freedom-e-sdk/bsp/env/freedom-e300-hifive1/
A Dinit.c65 uint32_t config_value = 0; in use_pll() local
67 config_value |= PLL_REFSEL(refsel); in use_pll()
71 config_value |= PLL_BYPASS(1); in use_pll()
73 PRCI_REG(PRCI_PLLCFG) = config_value; in use_pll()
96 config_value |= PLL_BYPASS(1); in use_pll()
97 config_value |= PLL_R(r); in use_pll()
103 config_value |= PLL_F(f); in use_pll()
107 config_value |= PLL_Q(q); in use_pll()
112 PRCI_REG(PRCI_PLLCFG) = config_value; in use_pll()
/bsp/hifive1/freedom-e-sdk/bsp/drivers/fe300prci/
A Dfe300prci_driver.c76 uint32_t config_value = 0; in PRCI_use_pll() local
78 config_value |= PLL_REFSEL(refsel); in PRCI_use_pll()
82 config_value |= PLL_BYPASS(1); in PRCI_use_pll()
84 PRCI_REG(PRCI_PLLCFG) = config_value; in PRCI_use_pll()
103 config_value |= PLL_BYPASS(1); in PRCI_use_pll()
104 config_value |= PLL_R(r); in PRCI_use_pll()
110 config_value |= PLL_F(f); in PRCI_use_pll()
114 config_value |= PLL_Q(q); in PRCI_use_pll()
123 PRCI_REG(PRCI_PLLCFG) = config_value; in PRCI_use_pll()
/bsp/sparkfun-redv/freedom-e-sdk/bsp/drivers/fe300prci/
A Dfe300prci_driver.c76 uint32_t config_value = 0; in PRCI_use_pll() local
78 config_value |= PLL_REFSEL(refsel); in PRCI_use_pll()
82 config_value |= PLL_BYPASS(1); in PRCI_use_pll()
84 PRCI_REG(PRCI_PLLCFG) = config_value; in PRCI_use_pll()
103 config_value |= PLL_BYPASS(1); in PRCI_use_pll()
104 config_value |= PLL_R(r); in PRCI_use_pll()
110 config_value |= PLL_F(f); in PRCI_use_pll()
114 config_value |= PLL_Q(q); in PRCI_use_pll()
123 PRCI_REG(PRCI_PLLCFG) = config_value; in PRCI_use_pll()
/bsp/at32/libraries/usbd_library/src/
A Dusbd_sdr.c280 static uint8_t config_value; in usbd_set_configuration() local
282 config_value = (uint8_t)setup->wValue; in usbd_set_configuration()
289 if(config_value) in usbd_set_configuration()
291 udev->dev_config = config_value; in usbd_set_configuration()
302 if(config_value == 0) in usbd_set_configuration()
305 udev->dev_config = config_value; in usbd_set_configuration()
308 else if(config_value == udev->dev_config) in usbd_set_configuration()
310 udev->dev_config = config_value; in usbd_set_configuration()
/bsp/at32/libraries/usbotg_library/src/
A Dusbd_sdr.c314 static uint8_t config_value; in usbd_set_configuration() local
316 config_value = (uint8_t)setup->wValue; in usbd_set_configuration()
323 if(config_value) in usbd_set_configuration()
325 udev->dev_config = config_value; in usbd_set_configuration()
337 if(config_value == 0) in usbd_set_configuration()
340 udev->dev_config = config_value; in usbd_set_configuration()
344 else if(config_value == udev->dev_config) in usbd_set_configuration()
347 udev->dev_config = config_value; in usbd_set_configuration()
/bsp/cvitek/
A Dtools.sh14 config_value=$(grep -w "${supported_board_configs[i]}" ${project_path}/.config | cut -d= -f2)
15 if [ "$config_value" == "y" ]; then
/bsp/nxp/imx/imxrt/libraries/drivers/
A Ddrv_gpio.c528 rt_uint32_t config_value = 0; in imxrt_pin_mode() local
549 config_value = 0x0030U; /* Drive Strength R0/6 */ in imxrt_pin_mode()
558 config_value = 0x0830U; /* Open Drain Enable */ in imxrt_pin_mode()
567 config_value = 0x3030U; /* 100K Ohm Pull Down */ in imxrt_pin_mode()
576 config_value = 0xB030U; /* 100K Ohm Pull Up */ in imxrt_pin_mode()
585 config_value = 0x0830U; /* Open Drain Enable */ in imxrt_pin_mode()
595 …onfig(MUX_BASE + reg_offset[pin] * 4, 0x5U, 0, 0, CONFIG_BASE + reg_offset[pin] * 4, config_value); in imxrt_pin_mode()
601 …PinConfig(GPIO5_MUX_BASE + pin_num * 4, 0x5U, 0, 0, GPIO5_CONFIG_BASE + pin_num * 4, config_value); in imxrt_pin_mode()
/bsp/nxp/imx/imx6ull-smart/drivers/
A Ddrv_pin.c201 rt_uint32_t config_value = 0; in imx6ull_pin_mode() local
216 config_value = 0x0030U; in imx6ull_pin_mode()
223 config_value = 0x0830U; in imx6ull_pin_mode()
230 config_value = 0x3030U; in imx6ull_pin_mode()
237 config_value = 0xB030U; in imx6ull_pin_mode()
244 config_value = 0x0830U; in imx6ull_pin_mode()
267 IOMUXC_SetPinConfig(mux_base_addr, 0x5U, 0x00000000U, 0x0U, config_base_addr, config_value); in imx6ull_pin_mode()
/bsp/rv32m1_vega/ri5cy/driver/
A Ddrv_gpio.c295 rt_uint32_t config_value = 0; in vega_pin_mode() local
321 config_value = 0x1030U; in vega_pin_mode()
328 config_value = 0x1030U; in vega_pin_mode()
335 config_value = 0x1030U; in vega_pin_mode()
342 config_value = 0x5030U; in vega_pin_mode()
349 config_value = 0x1830U; in vega_pin_mode()
433 rt_uint32_t config_value = 0x1b0a0; in vega_pin_irq_enable() local

Completed in 23 milliseconds