Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 2180) sorted by relevance

12345678910>>...88

/Zephyr-latest/include/zephyr/input/
Dinput.h47 uint16_t code; member
71 uint8_t type, uint16_t code, int32_t value, bool sync,
81 uint16_t code, int32_t value, bool sync, in input_report_key() argument
84 return input_report(dev, INPUT_EV_KEY, code, !!value, sync, timeout); in input_report_key()
93 uint16_t code, int32_t value, bool sync, in input_report_rel() argument
96 return input_report(dev, INPUT_EV_REL, code, value, sync, timeout); in input_report_rel()
105 uint16_t code, int32_t value, bool sync, in input_report_abs() argument
108 return input_report(dev, INPUT_EV_ABS, code, value, sync, timeout); in input_report_abs()
/Zephyr-latest/scripts/ruff/
Dgen_lint_exclude.py16 def __init__(self, code: str, url: str) -> None:
17 self.code = code
23 return self.code.__eq__(other.code)
26 return self.code.__hash__()
40 for r in sorted(rs, key=lambda x: x.code):
/Zephyr-latest/tests/subsys/input/longpress/src/
Dmain.c27 TC_PRINT("%s: %d %x %d\n", __func__, event_count, evt->code, evt->value); in test_cb()
39 TC_PRINT("%s: %d %x %d\n", __func__, event_count_no_short, evt->code, evt->value); in test_cb_no_short()
67 zassert_equal(last_events[1].code, INPUT_KEY_A); in ZTEST()
70 zassert_equal(last_events[0].code, INPUT_KEY_A); in ZTEST()
80 zassert_equal(last_events[1].code, INPUT_KEY_B); in ZTEST()
83 zassert_equal(last_events[0].code, INPUT_KEY_B); in ZTEST()
93 zassert_equal(last_events[1].code, INPUT_KEY_X); in ZTEST()
96 zassert_equal(last_events[0].code, INPUT_KEY_X); in ZTEST()
101 zassert_equal(last_events_no_short[1].code, INPUT_KEY_X); in ZTEST()
104 zassert_equal(last_events_no_short[0].code, INPUT_KEY_X); in ZTEST()
[all …]
/Zephyr-latest/modules/hal_nordic/nrfx/
Dnrfx_glue.c25 char const *nrfx_error_string_get(nrfx_err_t code) in nrfx_error_string_get() argument
27 #define NRFX_ERROR_STRING_CASE(code) case code: return #code in nrfx_error_string_get() argument
28 switch (code) { in nrfx_error_string_get()
/Zephyr-latest/samples/subsys/display/lvgl/boards/
Dnative_posix.overlay29 zephyr,code = <INPUT_KEY_R>;
34 zephyr,code = <INPUT_KEY_B>;
39 zephyr,code = <INPUT_KEY_0>;
44 zephyr,code = <INPUT_KEY_LEFT>;
49 zephyr,code = <INPUT_KEY_RIGHT>;
54 zephyr,code = <INPUT_KEY_ENTER>;
67 rotation-input-code = <INPUT_REL_WHEEL>;
68 button-input-code = <INPUT_KEY_0>;
85 /* Skip pin 0 with the unknown code 0 */
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Diso.rst7 .. code-block:: console
19 create-big :Create a BIG as a broadcaster [enc <broadcast code>]
22 [enc <broadcast code>]
30 .. code-block:: console
37 .. code-block:: console
43 .. code-block:: console
51 .. code-block:: console
60 .. code-block:: console
Dgap.rst15 :kconfig:option:`CONFIG_BT_ID_MAX`. To create a new identity, use :code:`bt id-create` command. You
16 can then use it by selecting it with its ID :code:`bt id-select <id>`. Finally, you can list all the
17 available identities with :code:`id-show`.
22 Start scanning by using the :code:`bt scan on` command. Depending on the environment you're in, you
23 may see a lot of lines printed on the shell. To stop the scan, run :code:`bt scan off`, the
28 .. code-block:: console
45 address and by periodic advertising interval. To apply a filter, use the :code:`bt scan-set-filter`
50 .. code-block:: console
56 .. code-block:: console
63 .. code-block:: console
[all …]
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dlarge.c28 uint8_t code; in large_get() local
42 code = coap_header_get_code(request); in large_get()
48 LOG_INF("type: %u code %u id %u", type, code, id); in large_get()
106 uint8_t code; in large_update_put() local
142 code = coap_header_get_code(request); in large_update_put()
148 LOG_INF("type: %u code %u id %u", type, code, id); in large_update_put()
154 code = COAP_RESPONSE_CODE_CONTINUE; in large_update_put()
156 code = COAP_RESPONSE_CODE_CHANGED; in large_update_put()
159 r = coap_ack_init(&response, request, data, sizeof(data), code); in large_update_put()
186 uint8_t code; in large_create_post() local
[all …]
Dtest.c25 uint8_t code; in piggyback_get() local
30 code = coap_header_get_code(request); in piggyback_get()
36 LOG_INF("type: %u code %u id %u", type, code, id); in piggyback_get()
65 "Type: %u\nCode: %u\nMID: %u\n", type, code, id); in piggyback_get()
89 uint8_t code; in test_del() local
94 code = coap_header_get_code(request); in test_del()
100 LOG_INF("type: %u code %u id %u", type, code, id); in test_del()
130 uint8_t code; in test_put() local
136 code = coap_header_get_code(request); in test_put()
142 LOG_INF("type: %u code %u id %u", type, code, id); in test_put()
[all …]
/Zephyr-latest/subsys/net/l2/ppp/
Doptions.c23 int (*parse)(struct net_pkt *pkt, uint8_t code, in ppp_parse_options() argument
83 uint8_t code) in ppp_peer_option_info_get() argument
88 if (options[i].code == code) { in ppp_peer_option_info_get()
109 uint8_t code, uint8_t len, in ppp_parse_option_conf_req_unsupported() argument
118 code); in ppp_parse_option_conf_req_unsupported()
122 ppp_option2str(parse_data->protocol, code), in ppp_parse_option_conf_req_unsupported()
123 code, len); in ppp_parse_option_conf_req_unsupported()
131 net_pkt_write_u8(ret_pkt, code); in ppp_parse_option_conf_req_unsupported()
132 net_pkt_write_u8(ret_pkt, len + sizeof(code) + sizeof(len)); in ppp_parse_option_conf_req_unsupported()
142 uint8_t code, uint8_t len, in ppp_parse_option_conf_req_supported() argument
[all …]
/Zephyr-latest/samples/boards/intel/adsp/code_relocation/
DREADME.rst1 .. zephyr:code-sample:: intel_adsp_code_relocation
4 Relocate code using custom linker script.
9 A simple sample that shows code relocation working for Intel ADSP CAVS
31 .. code-block:: console
34 Calling relocated code
35 Relocated code! reloc location 0xbe008010
/Zephyr-latest/doc/connectivity/networking/api/
Dzperf.rst20 .. code-block:: console
25 in Zephyr. See :zephyr:code-sample:`zperf sample application <zperf>` for details.
33 .. code-block:: console
39 .. code-block:: console
46 .. code-block:: console
53 .. code-block:: console
61 .. code-block:: console
68 .. code-block:: console
75 .. code-block:: console
82 .. code-block:: console
[all …]
/Zephyr-latest/arch/x86/zefi/
Dzefi.c217 unsigned char *code = (void *)zefi_entry; in efi_entry() local
223 code, code[0], code[1], code[2], code[3], in efi_entry()
224 code[4], code[5], code[6]); in efi_entry()
236 :: "r"(&efi_arg), "r"(code) : "rbx"); in efi_entry()
/Zephyr-latest/doc/connectivity/bluetooth/shell/classic/
Da2dp.rst4 The :code:`a2dp` command exposes parts of the A2DP API.
9 * Source and Sink sides register a2dp callbacks. using :code:`a2dp register_cb`.
10 …urce and Sink sides register stream endpoints. using :code:`a2dp register_ep source sbc` and :code
11 …onnection. It will create the AVDTP Signaling and Media L2CAP channels. using :code:`a2dp connect`.
12 …* Source and Sink side can discover remote device's stream endpoints. using :code:`a2dp discover_p…
13 …re the stream to create the stream after discover remote's endpoints. using :code:`a2dp configure`.
14 * Source or Sink establish the stream. using :code:`a2dp establish`.
15 * Source or Sink start the media. using :code:`a2dp start`.
16 * Source test the media sending. using :code:`a2dp send_media` to send one test packet data.
17 * Source or Sink suspend the media. using :code:`a2dp suspend`.
[all …]
/Zephyr-latest/samples/net/sockets/echo_async_select/
DREADME.rst1 .. zephyr:code-sample:: async-sockets-echo-select
13 the :zephyr:code-sample:`async-sockets-echo` sample.
15 The source code for this sample application can be found at:
38 .. code-block:: console
44 it. Unlike the :zephyr:code-sample:`sockets-echo` sample, this application
48 by changing ``NUM_FDS`` defined in the source code.
53 The same application source code can be built for a POSIX system, e.g.
54 Linux. (Note: if you look at the source, you will see that the code is
60 .. code-block:: console
66 .. code-block:: console
[all …]
/Zephyr-latest/samples/net/zperf/
DKconfig7 bool "Relocate networking code into RAM"
10 Relocate networking code into RAM when running the zperf
11 sample. Can improve performance on platforms with fast code
17 string "Networking code RAM location"
20 Region to relocate networking code to
/Zephyr-latest/samples/drivers/lcd_hd44780/
DREADME.rst1 .. zephyr:code-sample:: lcd-hd44780
28 .. code-block:: console
38 .. code-block:: console
45 .. code-block:: console
52 .. code-block:: console
/Zephyr-latest/cmake/modules/
DFindDeprecated.cmake5 # FindDeprecated module provides a single location for deprecated CMake build code.
6 # Whenever CMake code is deprecated it should be moved to this module and
7 # corresponding COMPONENTS should be created with name identifying the deprecated code.
9 # This makes it easier to maintain deprecated code and cleanup such code when it
13 # CMakeList.txt contains deprecated code, like:
18 # such code can easily be around for a long time, so therefore such code should
22 # # This code has been deprecated after Zephyr x.y
28 # and then in the original CMakeLists.txt, this code is inserted instead:
42 # This code was deprecated after Zephyr v3.1.0
58 # This code was deprecated after Zephyr v3.3.0
[all …]
/Zephyr-latest/samples/subsys/input/input_dump/boards/
Desp32_devkitc_wroom_procpu.overlay16 zephyr,code = <INPUT_KEY_0>;
22 zephyr,code = <INPUT_KEY_1>;
28 zephyr,code = <INPUT_KEY_2>;
34 zephyr,code = <INPUT_KEY_3>;
Desp32_devkitc_wrover_procpu.overlay16 zephyr,code = <INPUT_KEY_0>;
22 zephyr,code = <INPUT_KEY_1>;
28 zephyr,code = <INPUT_KEY_2>;
34 zephyr,code = <INPUT_KEY_3>;
Desp32s2_saola.overlay16 zephyr,code = <INPUT_KEY_0>;
22 zephyr,code = <INPUT_KEY_1>;
28 zephyr,code = <INPUT_KEY_2>;
34 zephyr,code = <INPUT_KEY_3>;
Desp32s3_devkitm_procpu.overlay16 zephyr,code = <INPUT_KEY_0>;
22 zephyr,code = <INPUT_KEY_1>;
28 zephyr,code = <INPUT_KEY_2>;
34 zephyr,code = <INPUT_KEY_3>;
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap.rst15 .. code-block:: console
28 [bcode <broadcast code> || bcode_str <broadcast code
97 .. code-block:: console
111 .. code-block:: console
126 .. code-block:: console
136 .. code-block:: console
144 .. code-block:: console
154 .. code-block:: console
162 .. code-block:: console
172 The command :code:`bap create_broadcast_sink` will either use existing periodic advertising
[all …]
/Zephyr-latest/boards/adafruit/itsybitsy_m4_express/doc/
Dindex.rst62 To use the RTC, set :code:`CONFIG_CORTEX_M_SYSTICK=n` and set
63 :code:`CONFIG_SYS_CLOCK_TICKS_PER_SEC` to no more than 32 kHZ divided by 7,
94 The SAMD51 has three PWM generators with up to six channels each. :code:`TCC_0`
95 has a resolution of 24 bits and all other generators are 16 bit. :code:`TCC_1`
102 with a host PC. See the :zephyr:code-sample-category:`usb` sample applications for
103 more, such as the :zephyr:code-sample:`usb-cdc-acm` sample which sets up a virtual
112 Additionally, if :code:`CONFIG_USB_CDC_ACM` is enabled then the bootloader
113 will be entered automatically when you run :code:`west flash`.
118 #. Build the Zephyr kernel and the :zephyr:code-sample:`hello_world` sample application:
133 terminal should be :code:`/dev/ttyUSB0`. For example:
[all …]
/Zephyr-latest/samples/subsys/usb/hid-mouse/
DREADME.rst1 .. zephyr:code-sample:: usb-hid-mouse
38 .. code-block:: none
58 .. code-block:: console
76 .. code-block:: console
85 Event code 272 (BTN_LEFT)
86 Event code 273 (BTN_RIGHT)
87 Event code 274 (BTN_MIDDLE)
89 Event code 0 (REL_X)
90 Event code 1 (REL_Y)
91 Event code 8 (REL_WHEEL)
[all …]

12345678910>>...88