Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/pinctrl/
Dpinctrl_ifx_cat1.c48 uint32_t _flags; in soc_gpio_get_drv_mode() local
50 _flags = ((flags & SOC_GPIO_FLAGS_MASK) >> SOC_GPIO_FLAGS_POS); in soc_gpio_get_drv_mode()
52 if (_flags & SOC_GPIO_OPENDRAIN) { in soc_gpio_get_drv_mode()
54 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_OD_DRIVESLOW in soc_gpio_get_drv_mode()
57 } else if (_flags & SOC_GPIO_OPENSOURCE) { in soc_gpio_get_drv_mode()
59 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_OD_DRIVESHIGH in soc_gpio_get_drv_mode()
62 } else if (_flags & SOC_GPIO_PUSHPULL) { in soc_gpio_get_drv_mode()
64 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_STRONG in soc_gpio_get_drv_mode()
67 } else if ((_flags & SOC_GPIO_PULLUP) && (_flags & SOC_GPIO_PULLDOWN)) { in soc_gpio_get_drv_mode()
69 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_PULLUP_DOWN in soc_gpio_get_drv_mode()
[all …]
/Zephyr-Core-3.7.0/include/zephyr/net/
Dcoap_service.h61 #define __z_coap_service_define(_name, _host, _port, _flags, _res_begin, _res_end) \ argument
69 .flags = _flags, \
134 #define COAP_SERVICE_DEFINE(_name, _host, _port, _flags) \ argument
137 __z_coap_service_define(_name, _host, _port, _flags, \
/Zephyr-Core-3.7.0/drivers/lora/
Dsx12xx_common.h18 #define sx12xx_configure_pin(_name, _flags) \ argument
20 (__sx12xx_configure_pin(&dev_config._name, _flags)),\
/Zephyr-Core-3.7.0/include/zephyr/sys/
Dcbprintf_internal.h694 if (Z_CBPRINTF_IS_X_PCHAR(arg_idx, _arg, _flags)) { \
793 uint32_t _flags = flags; \
794 bool _ros_pos_en = (_flags) & CBPRINTF_PACKAGE_ADD_RO_STR_POS; \
795 bool _rws_pos_en = (_flags) & CBPRINTF_PACKAGE_ADD_RW_STR_POS; \
796 bool _cros_en = (_flags) & CBPRINTF_PACKAGE_CONST_CHAR_RO; \
802 uint8_t _fros_cnt = Z_CBPRINTF_PACKAGE_FIRST_RO_STR_CNT_GET(_flags); \
805 Z_CBPRINTF_PCHAR_COUNT(_flags, __VA_ARGS__) : _alls_cnt - _fros_cnt; \
817 if (_rws_cnt && !((_flags) & CBPRINTF_PACKAGE_ADD_RW_STR_POS)) { \
/Zephyr-Core-3.7.0/include/zephyr/pm/
Ddevice.h243 #define Z_PM_DEVICE_BASE_INIT(obj, node_id, pm_action_cb, _flags) \ argument
245 .flags = ATOMIC_INIT(Z_PM_DEVICE_FLAGS(node_id) | (_flags)), \
/Zephyr-Core-3.7.0/subsys/net/ip/
Dtcp_private.h343 #define _flags(_fl, _op, _mask, _cond) \ macro
357 _flags(_fl, _op, _mask, sizeof(#_args) > 1 ? _args : true)
Dconnection.c60 #define NET_CONN_RANK(_flags) (_flags & 0x78) argument
/Zephyr-Core-3.7.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.7.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.7.0/tests/net/tcp/src/
Dmain.c152 #define test_verify_flags(_th, _flags) \ argument
153 verify_flags(_th, _flags, __func__, __LINE__)