Home
last modified time | relevance | path

Searched refs:_flags (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.5.0/drivers/pinctrl/
Dpinctrl_ifx_cat1.c49 uint32_t _flags; in soc_gpio_get_drv_mode() local
51 _flags = ((flags & SOC_GPIO_FLAGS_MASK) >> SOC_GPIO_FLAGS_POS); in soc_gpio_get_drv_mode()
53 if (_flags & SOC_GPIO_OPENDRAIN) { in soc_gpio_get_drv_mode()
55 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_OD_DRIVESLOW in soc_gpio_get_drv_mode()
58 } else if (_flags & SOC_GPIO_OPENSOURCE) { in soc_gpio_get_drv_mode()
60 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_OD_DRIVESHIGH in soc_gpio_get_drv_mode()
63 } else if (_flags & SOC_GPIO_PUSHPULL) { in soc_gpio_get_drv_mode()
65 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_STRONG in soc_gpio_get_drv_mode()
68 } else if ((_flags & SOC_GPIO_PULLUP) && (_flags & SOC_GPIO_PULLDOWN)) { in soc_gpio_get_drv_mode()
70 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_PULLUP_DOWN in soc_gpio_get_drv_mode()
[all …]
/Zephyr-Core-3.5.0/drivers/lora/
Dsx12xx_common.h18 #define sx12xx_configure_pin(_name, _flags) \ argument
20 (__sx12xx_configure_pin(&dev_config._name, _flags)),\
/Zephyr-Core-3.5.0/include/zephyr/sys/
Dcbprintf_internal.h316 if (Z_CBPRINTF_IS_X_PCHAR(arg_idx, _arg, _flags)) { \
429 uint32_t _flags = flags; \
430 bool _ros_pos_en = (_flags) & CBPRINTF_PACKAGE_ADD_RO_STR_POS; \
431 bool _rws_pos_en = (_flags) & CBPRINTF_PACKAGE_ADD_RW_STR_POS; \
432 bool _cros_en = (_flags) & CBPRINTF_PACKAGE_CONST_CHAR_RO; \
438 uint8_t _fros_cnt = Z_CBPRINTF_PACKAGE_FIRST_RO_STR_CNT_GET(_flags); \
441 Z_CBPRINTF_PCHAR_COUNT(_flags, __VA_ARGS__) : _alls_cnt - _fros_cnt; \
453 if (_rws_cnt && !((_flags) & CBPRINTF_PACKAGE_ADD_RW_STR_POS)) { \
/Zephyr-Core-3.5.0/subsys/net/ip/
Dtcp_private.h300 #define _flags(_fl, _op, _mask, _cond) \ macro
314 _flags(_fl, _op, _mask, strlen("" #_args) ? _args : true)
Dconnection.c60 #define NET_CONN_RANK(_flags) (_flags & 0x78) argument
/Zephyr-Core-3.5.0/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c130 #define CHECK_CURRENT_PHY_STATE(_conn, _tx, _flags, _rx) \ argument
140 _conn.lll.phy_flags, _flags); \
/Zephyr-Core-3.5.0/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c92 #define CHECK_CURRENT_PHY_STATE(_conn, _tx, _flags, _rx) \ argument
102 _conn.lll.phy_flags, _flags); \
/Zephyr-Core-3.5.0/tests/net/tcp/src/
Dmain.c144 #define test_verify_flags(_th, _flags) \ argument
145 verify_flags(_th, _flags, __func__, __LINE__)