/Zephyr-latest/drivers/regulator/ |
D | regulator_npm1100.c | 21 struct gpio_dt_spec mode; member 29 regulator_mode_t mode) in regulator_npm1100_set_mode() argument 33 if ((config->mode.port == NULL) || (mode > NPM1100_MODE_PWM)) { in regulator_npm1100_set_mode() 37 return gpio_pin_set_dt(&config->mode, in regulator_npm1100_set_mode() 38 mode == NPM1100_MODE_AUTO ? 0 : 1); in regulator_npm1100_set_mode() 42 regulator_mode_t *mode) in regulator_npm1100_get_mode() argument 47 if (config->mode.port == NULL) { in regulator_npm1100_get_mode() 51 ret = gpio_pin_get_dt(&config->mode); in regulator_npm1100_get_mode() 56 *mode = (ret == 0) ? NPM1100_MODE_AUTO : NPM1100_MODE_PWM; in regulator_npm1100_get_mode() 66 if (config->mode.port != NULL) { in regulator_npm1100_init() [all …]
|
D | regulator_nxp_vref.c | 71 static int regulator_nxp_vref_set_mode(const struct device *dev, regulator_mode_t mode) in regulator_nxp_vref_set_mode() argument 77 if (mode == NXP_VREF_MODE_STANDBY) { in regulator_nxp_vref_set_mode() 82 } else if (mode == NXP_VREF_MODE_LOW_POWER) { in regulator_nxp_vref_set_mode() 87 } else if (mode == NXP_VREF_MODE_HIGH_POWER) { in regulator_nxp_vref_set_mode() 92 } else if (mode == NXP_VREF_MODE_INTERNAL_REGULATOR) { in regulator_nxp_vref_set_mode() 108 static int regulator_nxp_vref_get_mode(const struct device *dev, regulator_mode_t *mode) in regulator_nxp_vref_get_mode() argument 116 *mode = NXP_VREF_MODE_INTERNAL_REGULATOR; in regulator_nxp_vref_get_mode() 118 *mode = NXP_VREF_MODE_HIGH_POWER; in regulator_nxp_vref_get_mode() 120 *mode = NXP_VREF_MODE_LOW_POWER; in regulator_nxp_vref_get_mode() 122 *mode = NXP_VREF_MODE_STANDBY; in regulator_nxp_vref_get_mode()
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_gecko.c | 41 rxpin.mode = gpioModeInput; in pinctrl_configure_pins() 43 GPIO_PinModeSet(rxpin.port, rxpin.pin, rxpin.mode, in pinctrl_configure_pins() 50 txpin.mode = gpioModePushPull; in pinctrl_configure_pins() 52 GPIO_PinModeSet(txpin.port, txpin.pin, txpin.mode, in pinctrl_configure_pins() 58 pin_config.mode = gpioModePushPull; in pinctrl_configure_pins() 60 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins() 65 pin_config.mode = gpioModeInput; in pinctrl_configure_pins() 67 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins() 124 config->pin_rts.mode, in pinctrl_configure_pins() 128 config->pin_cts.mode, in pinctrl_configure_pins() [all …]
|
D | pinctrl_xmc4xxx.c | 31 pin_cfg.mode = XMC_GPIO_MODE_INPUT_PULL_DOWN; in pinctrl_configure_pin() 35 pin_cfg.mode = XMC_GPIO_MODE_INPUT_PULL_UP; in pinctrl_configure_pin() 39 pin_cfg.mode |= 0x4; in pinctrl_configure_pin() 43 pin_cfg.mode = XMC_GPIO_MODE_OUTPUT_OPEN_DRAIN; in pinctrl_configure_pin() 47 pin_cfg.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL; in pinctrl_configure_pin() 51 pin_cfg.mode |= alt_fun << PORT0_IOCR0_PC0_Pos; in pinctrl_configure_pin()
|
/Zephyr-latest/tests/subsys/logging/log_msg/src/ |
D | main.c | 207 int mode; in ZTEST() local 212 Z_LOG_MSG_CREATE3(1, mode, 0, domain, source, level, in ZTEST() 214 zassert_equal(mode, EXP_MODE(ZERO_COPY)); in ZTEST() 216 Z_LOG_MSG_CREATE3(0, mode, 0, domain, source, level, in ZTEST() 218 zassert_equal(mode, EXP_MODE(FROM_STACK)); in ZTEST() 235 int mode; in ZTEST() local 245 Z_LOG_MSG_CREATE3(1, mode, 0, domain, source, level, NULL, 0, in ZTEST() 247 zassert_equal(mode, EXP_MODE(ZERO_COPY)); in ZTEST() 249 Z_LOG_MSG_CREATE3(0, mode, 0, domain, source, level, NULL, 0, in ZTEST() 251 zassert_equal(mode, EXP_MODE(FROM_STACK)); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/build_all/comparator/mcux_acmp/ |
D | mimxrt1176_mux_dac.dts | 32 offset-mode = "LEVEL0"; 33 hysteresis-mode = "LEVEL0"; 34 enable-high-speed-mode; 40 discrete-mode-enable-positive-channel; 41 discrete-mode-enable-resistor-divider; 42 discrete-mode-clock-source = "FAST"; 43 discrete-mode-sample-time = "T1"; 44 discrete-mode-phase1-time = "ALT4"; 45 discrete-mode-phase2-time = "ALT7";
|
/Zephyr-latest/boards/renesas/da1469x_dk_pro/dts/ |
D | da1469x_dk_pro_psram.overlay | 17 /* QSPIC settings for the APS6404L-3SQR QSPI PSRAM memory in QPI mode. */ 28 enter-qpi-mode; 35 rx-inst-mode = "quad-spi"; 36 rx-addr-mode = "quad-spi"; 37 rx-data-mode = "quad-spi"; 38 rx-dummy-mode = "quad-spi"; 39 rx-extra-mode = "quad-spi"; 40 tx-inst-mode = "quad-spi"; 41 tx-addr-mode = "quad-spi"; 42 tx-data-mode = "quad-spi";
|
/Zephyr-latest/drivers/hwinfo/ |
D | hwinfo_sam_rstc.c | 60 uint32_t mode; in hwinfo_rstc_init() local 68 mode = regs->RSTC_MR; in hwinfo_rstc_init() 72 mode &= ~RSTC_MR_KEY_Msk; in hwinfo_rstc_init() 73 mode |= (RSTC_MR_URSTEN | RSTC_MR_KEY_PASSWD); in hwinfo_rstc_init() 75 mode &= ~(RSTC_MR_URSTEN | RSTC_MR_KEY_Msk); in hwinfo_rstc_init() 76 mode |= RSTC_MR_KEY_PASSWD; in hwinfo_rstc_init() 80 regs->RSTC_MR = mode; in hwinfo_rstc_init()
|
/Zephyr-latest/drivers/sdhc/ |
D | Kconfig.intel | 17 bool "EMMC host controller interrupt mode" 20 EMMC host controller interrupt mode support. 23 bool "EMMC host controller DMA mode" 26 EMMC host controller DMA mode support. 29 bool "EMMC host controller ADMA mode" 32 EMMC host controller ADMA mode support. 42 bool "auto stop command mode" 45 Auto stop command mode support. 48 bool "Block gap mode" 51 Block gap mode support.
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | promiscuous.rst | 13 Promiscuous mode is a mode for a network interface controller that 16 to receive. This mode is normally used for packet sniffing as used 19 `Wikipedia article on promiscuous mode 22 The network promiscuous APIs are used to enable and disable this mode, 24 technologies or network device drivers support promiscuous mode. 29 First the promiscuous mode needs to be turned ON by the application like this: 36 printf("Promiscuous mode already enabled\n"); 38 printf("Cannot enable promiscuous mode for " 58 Finally the promiscuous mode can be turned OFF by the application like this: 65 printf("Promiscuous mode already disabled\n"); [all …]
|
/Zephyr-latest/drivers/led/ |
D | lp3943.c | 105 uint32_t led, uint8_t mode) in lp3943_set_dim_states() argument 117 mode << (led << 1))) { in lp3943_set_dim_states() 133 uint8_t reg, val, mode; in lp3943_led_blink() local 143 mode = LP3943_DIM0; in lp3943_led_blink() 145 mode = LP3943_DIM1; in lp3943_led_blink() 148 if (mode == LP3943_DIM0) { in lp3943_led_blink() 160 ret = lp3943_set_dim_states(config, led, mode); in lp3943_led_blink() 175 uint8_t reg, val, mode; in lp3943_led_set_brightness() local 184 mode = LP3943_DIM0; in lp3943_led_set_brightness() 186 mode = LP3943_DIM1; in lp3943_led_set_brightness() [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/ |
D | test_callback_trigger.c | 26 && (dd->mode == GPIO_INT_EDGE_BOTH)) { in callback() 35 static int test_callback(int mode) in test_callback() argument 47 if ((mode & GPIO_INT_LOW_0) != 0) { in test_callback() 65 drv_data->mode = mode; in test_callback() 78 rc = gpio_pin_interrupt_configure(dev_in, PIN_IN, mode); in test_callback() 80 TC_PRINT("Mode %x not supported\n", mode); in test_callback() 92 TC_PRINT("OUT init %x, IN cfg %x, cnt %d\n", out_flags, mode, cb_cnt); in test_callback() 93 if (mode == GPIO_INT_EDGE_BOTH) { in test_callback() 100 if ((mode & GPIO_INT_EDGE) == GPIO_INT_EDGE) { in test_callback()
|
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/ |
D | README.rst | 2 :name: Standby/Shutdown mode 5 Enter and exit Standby/Shutdown mode on STM32. 10 This sample is a minimum application to demonstrate basic power management of Standby mode and 11 shutdown mode 12 behavior in a basic blinking LED set up you can enter in shutdown mode or in standbymode mode. 16 release the user button to exit from shutdown mode or from shutdown mode. 43 release the user button to exit from shutdown mode or from shutdown mode.
|
/Zephyr-latest/samples/net/wifi/apsta_mode/ |
D | README.rst | 1 .. zephyr:code-sample:: wifi-ap-sta-mode 2 :name: Wi-Fi AP-STA mode 10 The Wi-Fi AP-STA mode of a Wi-Fi board allows it to function as both 12 This sample demonstrates how to configure and utilize AP-STA mode. 16 1. ``AP mode``: AP mode is configured and enabled. DHCPv4 server is also 18 2. ``STA mode``: Provide the SSID and PSK of you router 20 In this demo, AP-STA mode is enabled using :kconfig:option:`CONFIG_ESP32_WIFI_AP_STA_MODE`. 22 In the sample code, initially, the AP mode is enabled, followed by enabling the STA mode. 23 The driver checks if AP mode was previously enabled. If so, it transitions 24 the board into AP-STA mode to support both modes and attempts to connect to the [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_gecko.c | 57 #define GECKO_GPIO_MODEL(pin, mode) (mode << (pin * 4)) argument 65 #define GECKO_GPIO_MODEH(pin, mode) (mode << ((pin - 8) * 4)) argument 108 GPIO_Mode_TypeDef mode; in gpio_gecko_configure() local 115 mode = gpioModeWiredAnd; in gpio_gecko_configure() 117 mode = gpioModeWiredOr; in gpio_gecko_configure() 120 mode = gpioModePushPull; in gpio_gecko_configure() 131 mode = gpioModeInputPull; in gpio_gecko_configure() 134 mode = gpioModeInputPull; in gpio_gecko_configure() 137 mode = gpioModeInput; in gpio_gecko_configure() 141 mode = gpioModeDisabled; in gpio_gecko_configure() [all …]
|
/Zephyr-latest/drivers/sensor/ams/ens210/ |
D | Kconfig | 16 prompt "Temperature measurement mode" 19 Enable/disable temperature measurements and set measurement mode. 23 bool "Temperature measurements in single shot mode" 25 bool "Temperature measurements in continuous mode" 29 prompt "Humidity measurement mode" 32 Enable/disable relative humidity measurements and set measurement mode. 36 bool "Relative humidity measurements in single shot mode" 38 bool "Relative humidity measurements in continuous mode"
|
/Zephyr-latest/subsys/bluetooth/services/ots/ |
D | ots_oacp_internal.h | 65 #define BT_GATT_OTS_OACP_PROC_WRITE_MODE_GET_TRUNC(mode) \ argument 66 ((mode) & BIT(BT_GATT_OTS_OACP_PROC_WRITE_MODE_TRUNC)) 68 #define BT_GATT_OTS_OACP_PROC_WRITE_MODE_GET_RFU(mode) \ argument 69 ((mode) & ~BIT(BT_GATT_OTS_OACP_PROC_WRITE_MODE_TRUNC)) 90 uint8_t mode; member
|
/Zephyr-latest/samples/subsys/mgmt/hawkbit/ |
D | Kconfig | 9 prompt "hawkBit mode" 14 bool "hawkBit Polling mode" 16 Polling mode runs automatically on a predefined period, probing the 21 bool "hawkBit manual mode" 23 Manual mode requires the user to call the server probe and then, if
|
/Zephyr-latest/samples/sensor/qdec/boards/ |
D | esp32s3_devkitm_procpu.overlay | 36 sig-pos-mode = <2>; 37 sig-neg-mode = <1>; 38 ctrl-h-mode = <0>; 39 ctrl-l-mode = <1>;
|
D | esp32s3_luatos_core_procpu.overlay | 36 sig-pos-mode = <2>; 37 sig-neg-mode = <1>; 38 ctrl-h-mode = <0>; 39 ctrl-l-mode = <1>;
|
D | esp32s3_luatos_core_procpu_usb.overlay | 36 sig-pos-mode = <2>; 37 sig-neg-mode = <1>; 38 ctrl-h-mode = <0>; 39 ctrl-l-mode = <1>;
|
/Zephyr-latest/drivers/power_domain/ |
D | power_domain_nxp_scu.c | 27 sc_pm_power_mode_t mode; in scu_pd_pm_action() local 34 mode = SC_PM_PW_MODE_ON; in scu_pd_pm_action() 37 mode = SC_PM_PW_MODE_OFF; in scu_pd_pm_action() 48 mode); in scu_pd_pm_action() 51 scu_data->rsrc, mode); in scu_pd_pm_action()
|
/Zephyr-latest/drivers/sensor/ti/tmp108/ |
D | tmp108.c | 195 uint16_t mode = 0; in tmp108_attr_set() local 211 mode = TI_TMP108_HYSTER_0_C(dev); in tmp108_attr_set() 213 mode = TI_TMP108_HYSTER_1_C(dev); in tmp108_attr_set() 215 mode = TI_TMP108_HYSTER_2_C(dev); in tmp108_attr_set() 217 mode = TI_TMP108_HYSTER_4_C(dev); in tmp108_attr_set() 222 mode); in tmp108_attr_set() 228 mode = TI_TMP108_CONF_TM_INT(dev); in tmp108_attr_set() 230 mode = TI_TMP108_CONF_TM_CMP(dev); in tmp108_attr_set() 235 mode); in tmp108_attr_set() 256 mode = TI_TMP108_FREQ_4_SECS(dev); in tmp108_attr_set() [all …]
|
/Zephyr-latest/samples/drivers/crypto/ |
D | README.rst | 33 [general] [INF] cbc_mode: cbc mode ENCRYPT - Match 35 [general] [INF] cbc_mode: cbc mode DECRYPT - Match 39 [general] [INF] ctr_mode: ctr mode ENCRYPT - Match 41 [general] [INF] ctr_mode: ctr mode DECRYPT - Match 45 [general] [INF] ccm_mode: CCM mode ENCRYPT - Match 47 [general] [INF] ccm_mode: CCM mode DECRYPT - Match
|
/Zephyr-latest/boards/seagate/faze/ |
D | faze-pinctrl.dtsi | 21 nxp,i2c-mode; 31 nxp,i2c-mode; 42 nxp,i2c-mode; 53 nxp,i2c-mode; 63 nxp,analog-mode;
|