| /Zephyr-latest/include/zephyr/input/ | 
| D | input.h | 47 	uint16_t code;  member71 		 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/lib/utils/ | 
| D | cobs.c | 24 	uint8_t code = 1;  in cobs_encode()  local33 			*code_ptr = code;  in cobs_encode()
 35 			code = 1;  in cobs_encode()
 39 			code++;  in cobs_encode()
 42 			if (code == 0xFF && (src->len - 1 >= 0)) {  in cobs_encode()
 43 				*code_ptr = code;  in cobs_encode()
 45 				code = 1;  in cobs_encode()
 50 	*code_ptr = code;  in cobs_encode()
 
 | 
| /Zephyr-latest/scripts/ruff/ | 
| D | gen_lint_exclude.py | 16     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/ | 
| D | main.c | 27 	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/ | 
| D | nrfx_glue.c | 25 char const *nrfx_error_string_get(nrfx_err_t code)  in nrfx_error_string_get()  argument27 	#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/ | 
| D | native_sim.overlay | 29 			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/ | 
| D | iso.rst | 7 .. code-block:: console19       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
 
 | 
| D | gap.rst | 15 :kconfig:option:`CONFIG_BT_ID_MAX`. To create a new identity, use :code:`bt id-create` command. You16 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/ | 
| D | large.c | 28 	uint8_t code;  in large_get()  local42 	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 …]
 
 | 
| D | test.c | 25 	uint8_t code;  in piggyback_get()  local30 	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/ | 
| D | options.c | 23 		      int (*parse)(struct net_pkt *pkt, uint8_t code,  in ppp_parse_options()  argument83 			 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/boards/adafruit/itsybitsy_m4_express/doc/ | 
| D | index.rst | 28 To use the RTC, set :code:`CONFIG_CORTEX_M_SYSTICK=n` and set29 :code:`CONFIG_SYS_CLOCK_TICKS_PER_SEC` to no more than 32 kHZ divided by 7,
 60 The SAMD51 has three PWM generators with up to six channels each.  :code:`TCC_0`
 61 has a resolution of 24 bits and all other generators are 16 bit.  :code:`TCC_1`
 68 with a host PC.  See the :zephyr:code-sample-category:`usb` sample applications for
 69 more, such as the :zephyr:code-sample:`usb-cdc-acm` sample which sets up a virtual
 78 Additionally, if :code:`CONFIG_USB_CDC_ACM` is enabled then the bootloader
 79 will be entered automatically when you run :code:`west flash`.
 84 #. Build the Zephyr kernel and the :zephyr:code-sample:`hello_world` sample application:
 99    terminal should be :code:`/dev/ttyUSB0`. For example:
 [all …]
 
 | 
| /Zephyr-latest/samples/boards/intel/adsp/code_relocation/ | 
| D | README.rst | 1 .. zephyr:code-sample:: intel_adsp_code_relocation4    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/ | 
| D | zperf.rst | 20 .. code-block:: console25 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/ | 
| D | zefi.c | 217 	unsigned char *code = (void *)zefi_entry;  in efi_entry()  local223 	       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/boards/adafruit/macropad_rp2040/ | 
| D | adafruit_macropad_rp2040.dts | 20 		zephyr,code-partition = &code_partition;41 			zephyr,code = <INPUT_KEY_F1>;
 46 			zephyr,code = <INPUT_KEY_F2>;
 51 			zephyr,code = <INPUT_KEY_F3>;
 56 			zephyr,code = <INPUT_KEY_F4>;
 61 			zephyr,code = <INPUT_KEY_F5>;
 66 			zephyr,code = <INPUT_KEY_F6>;
 71 			zephyr,code = <INPUT_KEY_F7>;
 76 			zephyr,code = <INPUT_KEY_F8>;
 81 			zephyr,code = <INPUT_KEY_F9>;
 [all …]
 
 | 
| /Zephyr-latest/doc/connectivity/bluetooth/shell/classic/ | 
| D | a2dp.rst | 4 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/ | 
| D | README.rst | 1 .. zephyr:code-sample:: async-sockets-echo-select13 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/ | 
| D | Kconfig | 7 	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/ | 
| D | README.rst | 1 .. zephyr:code-sample:: lcd-hd4478028 .. code-block:: console
 38 .. code-block:: console
 45 .. code-block:: console
 52 .. code-block:: console
 
 | 
| /Zephyr-latest/boards/seeed/wio_terminal/doc/ | 
| D | index.rst | 65 host PC.  See the :zephyr:code-sample-category:`usb` sample applications for more, such as the66 :zephyr:code-sample:`usb-cdc-acm` sample which sets up a virtual serial port that echos
 83 #. Build the Zephyr kernel and the :code:`button` sample application:
 110 #.  Solder cables to the :code:`SWCLK`, :code:`SWDIO`, :code:`RESET`,
 111     :code:`GND`, and :code:`3V3` pins. See `Test with SWD`_ for more
 114 #. Connect the board to the probe by connecting the :code:`SWCLK`,
 115    :code:`SWDIO`, :code:`RESET`, :code:`GND`, and :code:`3V3` pins on the
 116    Wio Terminal to the :code:`SWCLK`, :code:`SWDIO`, :code:`RESET`,
 117    :code:`GND`, and :code:`VTref` pins on the `J-Link`_.
 
 | 
| /Zephyr-latest/samples/subsys/input/input_dump/boards/ | 
| D | esp32_devkitc_wrover_procpu.overlay | 16 		zephyr,code = <INPUT_KEY_0>;22 		zephyr,code = <INPUT_KEY_1>;
 28 		zephyr,code = <INPUT_KEY_2>;
 34 		zephyr,code = <INPUT_KEY_3>;
 
 | 
| D | esp32s2_saola.overlay | 16 		zephyr,code = <INPUT_KEY_0>;22 		zephyr,code = <INPUT_KEY_1>;
 28 		zephyr,code = <INPUT_KEY_2>;
 34 		zephyr,code = <INPUT_KEY_3>;
 
 | 
| D | esp32s3_devkitm_procpu.overlay | 16 		zephyr,code = <INPUT_KEY_0>;22 		zephyr,code = <INPUT_KEY_1>;
 28 		zephyr,code = <INPUT_KEY_2>;
 34 		zephyr,code = <INPUT_KEY_3>;
 
 | 
| D | esp32_devkitc_wroom_procpu.overlay | 16 		zephyr,code = <INPUT_KEY_0>;22 		zephyr,code = <INPUT_KEY_1>;
 28 		zephyr,code = <INPUT_KEY_2>;
 34 		zephyr,code = <INPUT_KEY_3>;
 
 |