Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 126) sorted by relevance

123456

/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/renesas/
Dpinctrl-ra-common.h25 #define RA_PINCFG(port, pin, psel, opt) \ argument
28 (((opt)&OPT_MASK) << OPT_POS))
31 #define RA_PINCFG__40(port, pin, psel, opt) RA_PINCFG(port, pin, psel, opt) argument
35 #define RA_PINCFG__48(port, pin, psel, opt) RA_PINCFG(port, pin, psel, opt) argument
39 #define RA_PINCFG__64(port, pin, psel, opt) RA_PINCFG(port, pin, psel, opt) argument
43 #define RA_PINCFG_100(port, pin, psel, opt) RA_PINCFG(port, pin, psel, opt) argument
/Zephyr-latest/drivers/pcie/host/
Dpcie.c371 static bool scan_flag(const struct pcie_scan_opt *opt, uint32_t flag) in scan_flag() argument
373 return ((opt->flags & flag) != 0U); in scan_flag()
377 static bool scan_bus(uint8_t bus, const struct pcie_scan_opt *opt);
379 static bool scan_dev(uint8_t bus, uint8_t dev, const struct pcie_scan_opt *opt) in scan_dev() argument
398 if (scan_flag(opt, PCIE_SCAN_RECURSIVE)) { in scan_dev()
405 do_cb = scan_flag(opt, PCIE_SCAN_CB_ALL); in scan_dev()
409 if (do_cb && !opt->cb(bdf, id, opt->cb_data)) { in scan_dev()
413 if (scan_flag(opt, PCIE_SCAN_RECURSIVE) && secondary != 0) { in scan_dev()
414 if (!scan_bus(secondary, opt)) { in scan_dev()
428 static bool scan_bus(uint8_t bus, const struct pcie_scan_opt *opt) in scan_bus() argument
[all …]
/Zephyr-latest/scripts/kconfig/
Dhardenconfig.py72 for opt in options:
73 if opt.result == 'FAIL' and opt.symbol.visibility != 0:
75 opt.name, opt.current, opt.recommended), end='')
76 print('||{:^28}\n'.format(opt.result), end='')
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c48 int fd, opt, ret = -EINVAL; in linux_socketcan_iface_open() local
76 opt = 1; in linux_socketcan_iface_open()
77 ret = setsockopt(fd, SOL_CAN_RAW, CAN_RAW_RECV_OWN_MSGS, &opt, sizeof(opt)); in linux_socketcan_iface_open()
150 int opt = mode_fd ? 1 : 0; in linux_socketcan_set_mode_fd() local
152 return setsockopt(fd, SOL_CAN_RAW, CAN_RAW_FD_FRAMES, &opt, sizeof(opt)); in linux_socketcan_set_mode_fd()
/Zephyr-latest/samples/net/sockets/echo_service/src/
Dmain.c115 int ret, sock, opt; in setup_tcp_socket() local
123 ret = getsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in setup_tcp_socket()
124 if (ret == 0 && opt) { in setup_tcp_socket()
127 opt = 0; in setup_tcp_socket()
128 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, optlen); in setup_tcp_socket()
152 int ret, sock, opt; in setup_udp_socket() local
160 ret = getsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in setup_udp_socket()
161 if (ret == 0 && opt) { in setup_udp_socket()
164 opt = 0; in setup_udp_socket()
165 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, optlen); in setup_udp_socket()
/Zephyr-latest/tests/net/all/
Dcheck_net_options.sh38 get_options | while read opt
40 grep -q $opt prj.conf > /dev/null 2>&1
42 echo "$opt"
/Zephyr-latest/samples/net/sockets/echo/src/
Dsocket_echo.c29 int opt; in main() local
45 ret = getsockopt(serv, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in main()
47 if (opt) { in main()
50 opt = 0; in main()
52 &opt, optlen); in main()
/Zephyr-latest/drivers/misc/grove_lcd_rgb/
Dgrove_lcd_rgb.c125 void glcd_display_state_set(const struct device *dev, uint8_t opt) in glcd_display_state_set() argument
131 data->display_switch = opt; in glcd_display_state_set()
132 buf[1] = (opt | GLCD_CMD_DISPLAY_SWITCH); in glcd_display_state_set()
149 void glcd_input_state_set(const struct device *dev, uint8_t opt) in glcd_input_state_set() argument
155 data->input_set = opt; in glcd_input_state_set()
156 buf[1] = (opt | GLCD_CMD_INPUT_SET); in glcd_input_state_set()
193 void glcd_function_set(const struct device *dev, uint8_t opt) in glcd_function_set() argument
199 data->function = opt; in glcd_function_set()
200 buf[1] = (opt | GLCD_CMD_FUNCTION_SET); in glcd_function_set()
/Zephyr-latest/include/zephyr/drivers/misc/grove_lcd/
Dgrove_lcd.h69 void glcd_display_state_set(const struct device *dev, uint8_t opt);
95 void glcd_input_state_set(const struct device *dev, uint8_t opt);
123 void glcd_function_set(const struct device *dev, uint8_t opt);
/Zephyr-latest/doc/develop/toolchains/
Dintel_oneapi_toolkit.rst9 #. Assuming the toolkit is installed in ``/opt/intel/oneApi``, set environment
13 export ONEAPI_TOOLCHAIN_PATH=/opt/intel/oneapi
21 source /opt/intel/oneapi/setvars.sh
/Zephyr-latest/boards/sparkfun/red_v_things_plus/
Dboard.cmake7 board_runner_args(jlink "--tool-opt=-jtagconf -1,-1")
8 board_runner_args(jlink "--tool-opt=-autoconnect 1")
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/
Dgatt_client_test.c152 static void gatt_discover(enum bt_att_chan_opt opt) in gatt_discover() argument
164 discover_params.chan_opt = opt; in gatt_discover()
245 static void gatt_subscribe_short(enum bt_att_chan_opt opt) in gatt_subscribe_short() argument
250 sub_params_short.chan_opt = opt; in gatt_subscribe_short()
259 static void gatt_unsubscribe_short(enum bt_att_chan_opt opt) in gatt_unsubscribe_short() argument
264 sub_params_short.chan_opt = opt; in gatt_unsubscribe_short()
273 static void gatt_subscribe_long(enum bt_att_chan_opt opt) in gatt_subscribe_long() argument
279 sub_params_long.chan_opt = opt; in gatt_subscribe_long()
288 static void gatt_unsubscribe_long(enum bt_att_chan_opt opt) in gatt_unsubscribe_long() argument
294 sub_params_long.chan_opt = opt; in gatt_unsubscribe_long()
/Zephyr-latest/subsys/shell/backends/
Dshell_telnet_protocol.h114 uint8_t opt; member
122 dst->opt = src->opt; in telnet_command_cpy()
/Zephyr-latest/scripts/checkpatch/
Dtimestamp38 while getopts ${optstr} opt; do
39 case ${opt} in
/Zephyr-latest/boards/st/nucleo_f303k8/
Dboard.cmake7 board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
8 board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
/Zephyr-latest/boards/st/nucleo_f334r8/
Dboard.cmake7 board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
8 board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
/Zephyr-latest/boards/st/nucleo_g070rb/
Dboard.cmake6 board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
7 board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
/Zephyr-latest/boards/st/nucleo_g071rb/
Dboard.cmake6 board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
7 board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
/Zephyr-latest/boards/st/nucleo_g0b1re/
Dboard.cmake7 board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
8 board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
/Zephyr-latest/boards/st/stm32f429i_disc1/
Dboard.cmake7 board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
8 board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
/Zephyr-latest/boards/nxp/mimxrt1180_evk/
Dboard.cmake14 board_runner_args(jlink "--device=MIMXRT1189xxx8_M33" "--reset-after-load" "--tool-opt=-jlinkscript…
19 …d=4000" "--no-reset" "--tool-opt=-jlinkscriptfile ${RT1180_BOARD_DIR}/jlinkscript/evkmimxrt1180_cm…
/Zephyr-latest/boards/seeed/lora_e5_mini/
Dboard.cmake4 board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
5 board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c290 uint8_t opt[] = { 0x55, 0xA5, 0x12 }; in ZTEST() local
296 r = coap_packet_parse(&cpkt, NULL, sizeof(opt), NULL, 0); in ZTEST()
302 memcpy(data, opt, sizeof(opt)); in ZTEST()
303 r = coap_packet_parse(&cpkt, data, sizeof(opt), NULL, 0); in ZTEST()
309 uint8_t opt[] = { 0x55, 0x24, 0x49, 0x55, 0xff, 0x66, 0x77, 0x99}; in ZTEST() local
315 memcpy(data, opt, sizeof(opt)); in ZTEST()
316 r = coap_packet_parse(&cpkt, data, sizeof(opt), NULL, 0); in ZTEST()
322 uint8_t opt[] = { 0x55, 0xA5, 0x12, 0x34, 't', 'o', 'k', 'e', 'n', in ZTEST() local
328 memcpy(data, opt, sizeof(opt)); in ZTEST()
330 r = coap_packet_parse(&cpkt, data, sizeof(opt), NULL, 0); in ZTEST()
[all …]
/Zephyr-latest/boards/seeed/lora_e5_dev_board/
Dboard.cmake5 board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
6 board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
/Zephyr-latest/drivers/sensor/
Dsensor_shell_stream.c99 iodev_sensor_shell_trigger.opt = SENSOR_STREAM_DATA_INCLUDE; in cmd_sensor_stream()
101 iodev_sensor_shell_trigger.opt = SENSOR_STREAM_DATA_DROP; in cmd_sensor_stream()
103 iodev_sensor_shell_trigger.opt = SENSOR_STREAM_DATA_NOP; in cmd_sensor_stream()

123456