Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 1494) sorted by relevance

12345678910>>...60

/Zephyr-Core-3.7.0/drivers/regulator/
Dregulator_npm1100.c21 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 …]
Dregulator_nxp_vref.c69 static int regulator_nxp_vref_set_mode(const struct device *dev, regulator_mode_t mode) in regulator_nxp_vref_set_mode() argument
75 if (mode == NXP_VREF_MODE_STANDBY) { in regulator_nxp_vref_set_mode()
80 } else if (mode == NXP_VREF_MODE_LOW_POWER) { in regulator_nxp_vref_set_mode()
85 } else if (mode == NXP_VREF_MODE_HIGH_POWER) { in regulator_nxp_vref_set_mode()
90 } else if (mode == NXP_VREF_MODE_INTERNAL_REGULATOR) { in regulator_nxp_vref_set_mode()
106 static int regulator_nxp_vref_get_mode(const struct device *dev, regulator_mode_t *mode) in regulator_nxp_vref_get_mode() argument
114 *mode = NXP_VREF_MODE_INTERNAL_REGULATOR; in regulator_nxp_vref_get_mode()
116 *mode = NXP_VREF_MODE_HIGH_POWER; in regulator_nxp_vref_get_mode()
118 *mode = NXP_VREF_MODE_LOW_POWER; in regulator_nxp_vref_get_mode()
120 *mode = NXP_VREF_MODE_STANDBY; in regulator_nxp_vref_get_mode()
/Zephyr-Core-3.7.0/tests/subsys/logging/log_msg/src/
Dmain.c207 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-Core-3.7.0/boards/renesas/da1469x_dk_pro/dts/
Dda1469x_dk_pro_psram.overlay17 /* 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-Core-3.7.0/drivers/pinctrl/
Dpinctrl_gecko.c43 rxpin.mode = gpioModeInput; in pinctrl_configure_pins()
45 GPIO_PinModeSet(rxpin.port, rxpin.pin, rxpin.mode, in pinctrl_configure_pins()
52 txpin.mode = gpioModePushPull; in pinctrl_configure_pins()
54 GPIO_PinModeSet(txpin.port, txpin.pin, txpin.mode, in pinctrl_configure_pins()
60 pin_config.mode = gpioModePushPull; in pinctrl_configure_pins()
62 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
67 pin_config.mode = gpioModeInput; in pinctrl_configure_pins()
69 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
135 config->pin_rts.mode, in pinctrl_configure_pins()
139 config->pin_cts.mode, in pinctrl_configure_pins()
[all …]
Dpinctrl_xmc4xxx.c31 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-Core-3.7.0/drivers/hwinfo/
Dhwinfo_sam_rstc.c60 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-Core-3.7.0/drivers/sdhc/
DKconfig.intel17 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-Core-3.7.0/doc/connectivity/networking/api/
Dpromiscuous.rst13 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-Core-3.7.0/drivers/led/
Dlp3943.c105 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-Core-3.7.0/tests/drivers/gpio/gpio_basic_api/src/
Dtest_callback_trigger.c25 && (dd->mode == GPIO_INT_EDGE_BOTH)) { in callback()
34 static int test_callback(int mode) in test_callback() argument
45 if ((mode & GPIO_INT_LOW_0) != 0) { in test_callback()
63 drv_data->mode = mode; in test_callback()
76 rc = gpio_pin_interrupt_configure(dev, PIN_IN, mode); in test_callback()
78 TC_PRINT("Mode %x not supported\n", mode); in test_callback()
90 TC_PRINT("OUT init %x, IN cfg %x, cnt %d\n", out_flags, mode, cb_cnt); in test_callback()
91 if (mode == GPIO_INT_EDGE_BOTH) { in test_callback()
98 if ((mode & GPIO_INT_EDGE) == GPIO_INT_EDGE) { in test_callback()
/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_gecko.c56 #define GECKO_GPIO_MODEL(pin, mode) (mode << (pin * 4)) argument
64 #define GECKO_GPIO_MODEH(pin, mode) (mode << ((pin - 8) * 4)) argument
107 GPIO_Mode_TypeDef mode; in gpio_gecko_configure() local
114 mode = gpioModeWiredAnd; in gpio_gecko_configure()
116 mode = gpioModeWiredOr; in gpio_gecko_configure()
119 mode = gpioModePushPull; in gpio_gecko_configure()
130 mode = gpioModeInputPull; in gpio_gecko_configure()
133 mode = gpioModeInputPull; in gpio_gecko_configure()
136 mode = gpioModeInput; in gpio_gecko_configure()
140 mode = gpioModeDisabled; in gpio_gecko_configure()
[all …]
/Zephyr-Core-3.7.0/drivers/sensor/ams/ens210/
DKconfig16 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-Core-3.7.0/subsys/bluetooth/services/ots/
Dots_oacp_internal.h65 #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-Core-3.7.0/samples/subsys/mgmt/hawkbit/
DKconfig9 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-Core-3.7.0/samples/sensor/qdec/boards/
Desp32s3_luatos_core_procpu_usb.overlay36 sig-pos-mode = <2>;
37 sig-neg-mode = <1>;
38 ctrl-h-mode = <0>;
39 ctrl-l-mode = <1>;
Desp32s3_devkitm_procpu.overlay36 sig-pos-mode = <2>;
37 sig-neg-mode = <1>;
38 ctrl-h-mode = <0>;
39 ctrl-l-mode = <1>;
Desp32s3_luatos_core_procpu.overlay36 sig-pos-mode = <2>;
37 sig-neg-mode = <1>;
38 ctrl-h-mode = <0>;
39 ctrl-l-mode = <1>;
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl362/
DKconfig62 prompt "Trigger mode"
104 compared to in activity trigger mode.
118 compared to in inactivity trigger mode.
128 int "Activity and inactivity interrupt mode"
133 0 - Default mode
134 1 - Linked mode
135 3 - Loop mode
142 mode in either absolute or referenced mode.
143 0 - Absolute mode
144 1 - Referenced mode
/Zephyr-Core-3.7.0/drivers/sensor/ti/tmp108/
Dtmp108.c195 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-Core-3.7.0/samples/drivers/crypto/
DREADME.rst33 [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-Core-3.7.0/samples/boards/stm32/power_mgmt/standby_shutdown/
DREADME.rst9 This sample is a minimum application to demonstrate basic power management of Standby mode and
10 shutdown mode
11 behavior in a basic blinking LED set up you can enter in shutdown mode or in standbymode mode.
15 release the user button to exit from shutdown mode or from shutdown mode.
42 release the user button to exit from shutdown mode or from shutdown mode.
/Zephyr-Core-3.7.0/boards/seagate/faze/
Dfaze-pinctrl.dtsi21 nxp,i2c-mode;
31 nxp,i2c-mode;
42 nxp,i2c-mode;
53 nxp,i2c-mode;
63 nxp,analog-mode;
/Zephyr-Core-3.7.0/modules/
DKconfig.tinycrypt17 bool "PRNG in counter mode"
20 generator in counter mode.
69 This option enables support for AES-128 block cipher mode.
72 bool "AES-128 counter mode"
75 This option enables support for AES-128 counter mode.
78 bool "AES-128 CCM mode"
81 This option enables support for AES-128 CCM mode.
84 bool "AES-128 CMAC mode"
87 This option enables support for AES-128 CMAC mode.
/Zephyr-Core-3.7.0/samples/sensor/vcnl4040/
DREADME.rst9 5 sec in the interval of 300msec in polling mode. Then threshold trigger mode
41 Testing the polling mode.
47 Polling mode test finished.
48 Testing the trigger mode.
57 Trigger mode test finished.

12345678910>>...60