Home
last modified time | relevance | path

Searched +full:data +full:- +full:source (Results 1 – 25 of 1052) sorted by relevance

12345678910>>...43

/Zephyr-latest/subsys/logging/
Dlog_msg.c4 * SPDX-License-Identifier: Apache-2.0
31 void z_log_msg_finalize(struct log_msg *msg, const void *source, in z_log_msg_finalize() argument
32 const struct log_msg_desc desc, const void *data) in z_log_msg_finalize() argument
40 if (data) { in z_log_msg_finalize()
41 uint8_t *d = msg->data + desc.package_len; in z_log_msg_finalize()
43 memcpy(d, data, desc.data_len); in z_log_msg_finalize()
46 msg->hdr.desc = desc; in z_log_msg_finalize()
47 msg->hdr.source = source; in z_log_msg_finalize()
49 msg->hdr.tid = k_is_in_isr() ? NULL : k_current_get(); in z_log_msg_finalize()
54 static bool frontend_runtime_filtering(const void *source, uint32_t level) in frontend_runtime_filtering() argument
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/classic/
Da2dp.rst9 * Source and Sink sides register a2dp callbacks. using :code:`a2dp register_cb`.
10 …* Source and Sink sides register stream endpoints. using :code:`a2dp register_ep source sbc` and :…
11 …* Source establish A2dp connection. It will create the AVDTP Signaling and Media L2CAP channels. u…
12 …* Source and Sink side can discover remote device's stream endpoints. using :code:`a2dp discover_p…
13 …* Source or Sink configure the stream to create the stream after discover remote's endpoints. usin…
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`.
18 * Source or Sink release the media. using :code:`a2dp release`.
[all …]
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dintc_mchp_xec_ecia.h4 * SPDX-License-Identifier: Apache-2.0
11 * Reference Manuals for MEC152x and MEC172x ARM(r) 32-bit MCUs
24 * @brief enable GIRQn interrupt for specific source
26 * @param girq_id is the GIRQ number (8 - 26)
27 * @param src is the interrupt source in the GIRQ (0 - 31)
42 * @param girq_id is the GIRQ number (8 - 26)
43 * @param src is the interrupt source in the GIRQ (0 - 31)
56 /* callback for ECIA GIRQ interrupt source */
60 * @brief set GIRQn interrupt source callback
62 * @param girq_id is the GIRQ number (8 - 26)
[all …]
/Zephyr-latest/tests/subsys/logging/log_msg/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
47 printk("-----------------------printing message--------------------\n"); in print_msg()
49 printk("package len: %d, data len: %d\n", in print_msg()
50 msg->hdr.desc.package_len, in print_msg()
51 msg->hdr.desc.data_len); in print_msg()
52 for (int i = 0; i < msg->hdr.desc.package_len; i++) { in print_msg()
53 printk("%02x ", msg->data[i]); in print_msg()
56 printk("source: %p\n", msg->hdr.source); in print_msg()
57 printk("timestamp: %d\n", (int)msg->hdr.timestamp); in print_msg()
58 printk("-------------------end of printing message-----------------\n"); in print_msg()
[all …]
/Zephyr-latest/drivers/sensor/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
15 module-str = sensor
16 source "subsys/logging/Kconfig.template.log_config"
39 This shell provides access to basic sensor data.
50 int "Stack size for the sensor shell data processing thread"
54 The sensor shell uses a dedicated thread to process data coming from the
55 sensors in either one-shot or streaming mode. Use this config to control
72 interrupt handler will collect data.
87 # zephyr-keep-sorted-start
88 source "drivers/sensor/adi/Kconfig"
[all …]
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain_magic_wand_model.ipynb4 "source": [
11 " http://www.apache.org/licenses/LICENSE-2.0\n",
28 "source": [
38 "source": [
43 "<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
48 …l.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on Git…
59 "source": [
60 …efore you proceed, ensure you are using a GPU runtime by going to **Runtime -> Change runtime type…
69 "source": [
81 "source": [
[all …]
/Zephyr-latest/tests/subsys/usb/uac2/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <dt-bindings/usb/audio.h>
13 full-speed;
14 high-speed;
15 audio-function = <AUDIO_FUNCTION_HEADSET>;
18 compatible = "zephyr,uac2-clock-source";
19 clock-type = "internal-programmable";
20 frequency-control = "host-programmable";
21 sampling-frequencies = <48000>;
25 compatible = "zephyr,uac2-input-terminal";
[all …]
/Zephyr-latest/subsys/bindesc/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
8 Binary Descriptors - constant data accessible outside of the executable image
19 source "subsys/bindesc/Kconfig.version"
20 source "subsys/bindesc/Kconfig.build_time"
21 source "subsys/bindesc/Kconfig.host_info"
24 int "Bindesc max data size"
28 Determines the maximum size of a binary descriptor's data. The theoretical
30 it's recommened to keep this value much smaller for easier handling of the data.
42 module-str = Binary Descriptor read
43 source "subsys/logging/Kconfig.template.log_config"
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_broadcast_source.c1 /* Bluetooth Audio Broadcast Source */
4 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
6 * SPDX-License-Identifier: Apache-2.0
43 /* The streams used to create the broadcast source */
70 * 0-n octets of codec specific configuration
72 * 0-n octets of metadata
77 * 0-n octets of codec specific configuration
79 * For a minimal BASE with 1 subgroup and 1 BIS without and other data the
88 old_state = ep->status.state; in broadcast_source_set_ep_state()
90 LOG_DBG("ep %p id 0x%02x %s -> %s", ep, ep->status.id, bt_bap_ep_state_str(old_state), in broadcast_source_set_ep_state()
[all …]
DKconfig.bap1 # Bluetooth Audio - Basic Audio Profile configuration options
4 # Copyright (c) 2022-2023 Nordic Semiconductor ASA
6 # SPDX-License-Identifier: Apache-2.0
39 int "Codec Specific Configuration Data Size"
43 Number of octets to support for Codec Specific Configuration data.
59 Due to limitations in advertising data, the maximum size of all subgroups are 249.
64 int "Codec Capabilities Data Size"
68 Number of octets to support for Codec Specific Capabilities data.
107 int "Basic Audio Profile ASE Source count"
111 This option enables caching a number of Audio Stream Endpoint Source
[all …]
/Zephyr-latest/drivers/can/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
17 module-str = CAN
18 source "subsys/logging/Kconfig.template.log_config"
34 int "Default CAN data phase bitrate"
38 Default initial CAN data phase bitrate in bits/s. This can be overridden per CAN controller
39 using the "bitrate-data" devicetree property.
65 bool "Produce scripting-friendly output"
67 Enable scripting-friendly/machine-readable output from the CAN shell. Enabling this
92 bool "Manual bus-off recovery support"
94 Enable support for manual (non-automatic) recovery from bus-off state. Not all CAN
[all …]
/Zephyr-latest/drivers/modem/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
14 module-str = modem
15 source "subsys/logging/Kconfig.template.log_config"
24 defined protocols. Driver doesn't inspect received data and all
25 aspects of received protocol data are handled by application via
27 in that callbacks are executed in a different work queue and data is
44 using custom defined protocols. Driver doesn't inspect received data
45 and all aspects of received protocol data are handled by application
66 bool "UART-based modem interface"
81 bool "UART-based modem interface using interrupt API"
[all …]
/Zephyr-latest/subsys/canbus/isotp/
DKconfig1 # ISO-TP configuration options
4 # SPDX-License-Identifier: Apache-2.0
7 bool "ISO-TP Transport [EXPERIMENTAL]"
18 module-str = ISOTP
19 source "subsys/logging/Kconfig.template.log_config"
34 Timeout for the reception of the next FC frame. ISO 15765-2: 1000ms
42 ISO 15765-2: 1000ms
50 ISO 15765-2: 1000ms
70 int "Number of data buffers for receiving data"
73 Each data buffer will occupy ISOTP_RX_BUF_SIZE + smallish
[all …]
/Zephyr-latest/include/zephyr/logging/
Dlog_frontend_stmesp_demux.h4 * SPDX-License-Identifier: Apache-2.0
61 /** Hexdump data length. */
65 /** @brief Union for writing raw data to the logging message header. */
76 /** Data for MPSC packet handling. */
88 /** Data for MPSC packet handling. */
103 /** Padding so that data is 8 bytes aligned. */
107 uint8_t data[]; member
112 /** Data for MPSC packet handling. */
121 /** Flag indicating if trace point includes data. */
130 /** Source ID - used for compressed logging. */
[all …]
Dlog_frontend.h4 * SPDX-License-Identifier: Apache-2.0
20 * @param source Pointer to a structure associated with given source. It points to
23 * source id.
29 * @param data Hexdump data. Length is in @p desc.
31 void log_frontend_msg(const void *source,
33 uint8_t *package, const void *data);
40 * @param source Pointer to a structure associated with given source. It points to
43 * source id.
47 void log_frontend_simple_0(const void *source, uint32_t level, const char *fmt);
54 * @param source Pointer to a structure associated with given source. It points to
[all …]
Dlog_frontend_stmesp.h4 * SPDX-License-Identifier: Apache-2.0
21 * Log frontend optionally dumps buffered data and start to write to the STM
27 * @retval -EIO if there was an internal failure.
33 * Hook writes dummy data to the STM Stimulus Port to ensure that all logging
34 * data is flushed.
40 * It can be used to force flushing STM data.
47 * to 32768 - CONFIG_LOG_FRONTEND_STMESP_TP_CHAN_BASE per core.
65 /** @brief Trace point with 32 bit data.
68 * to 32768 - CONFIG_LOG_FRONTEND_STMESP_TP_CHAN_BASE per core.
71 * @param d Data. 32 bit word.
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_source_test.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
61 const struct bt_audio_codec_cfg *codec_cfg = stream->codec_cfg; in validate_stream_codec_cfg()
105 /* The broadcast source sets the channel allocation in the BIS to in validate_stream_codec_cfg()
123 if (chan_cnt == 0 || (BIT(chan_cnt - 1) & SUPPORTED_CHAN_COUNTS) == 0) { in validate_stream_codec_cfg()
158 if (min_sdu_size_required > stream->qos->sdu) { in validate_stream_codec_cfg()
162 stream->qos->sdu); in validate_stream_codec_cfg()
174 test_stream->seq_num = 0U; in stream_started_cb()
175 test_stream->tx_cnt = 0U; in stream_started_cb()
177 err = bt_bap_ep_get_info(stream->ep, &info); in stream_started_cb()
[all …]
Dpbp_public_broadcast_source_test.c5 * SPDX-License-Identifier: Apache-2.0
69 test_stream->seq_num = 0U; in started_cb()
70 test_stream->tx_cnt = 0U; in started_cb()
98 static int setup_extended_adv_data(struct bt_cap_broadcast_source *source, in setup_extended_adv_data() argument
101 /* Broadcast Audio Streaming Endpoint advertising data */ in setup_extended_adv_data()
122 ext_ad[0].data = ad_buf.data; in setup_extended_adv_data()
147 ext_ad[1].data = pbp_ad_buf.data; in setup_extended_adv_data()
151 printk("Failed to set extended advertising data: %d\n", err); in setup_extended_adv_data()
156 /* Setup periodic advertising data */ in setup_extended_adv_data()
157 err = bt_cap_initiator_broadcast_get_base(source, &base_buf); in setup_extended_adv_data()
[all …]
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_stmesp.c4 * SPDX-License-Identifier: Apache-2.0
32 #define STM_D8(reg, data, timestamp, marked) \ argument
33 stmesp_data8(reg, data, timestamp, marked, \
36 #define STM_D16(reg, data, timestamp, marked) \ argument
37 stmesp_data16(reg, data, timestamp, marked, \
40 #define STM_D32(reg, data, timestamp, marked) \ argument
41 stmesp_data32(reg, data, timestamp, marked, \
44 /* Buffer for storing frontend data before STM/ETR is ready for usage.
67 /* Dictionary-based log message */
84 /* Data length, non-zero fox hexdump message. */
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/dt-bindings/pwm/it8xxx2_pwm.h>
30 /* PWM channel clock source selection register */
32 /* PWM channel clock source gating register */
54 const struct pwm_it8xxx2_cfg *config = dev->config; in pwm_enable()
55 volatile uint8_t *reg_pcsgr = (uint8_t *)config->reg_pcsgr; in pwm_enable()
56 int ch = config->channel; in pwm_enable()
59 /* PWM channel clock source not gating */ in pwm_enable()
62 /* PWM channel clock source gating */ in pwm_enable()
74 * 1) pwm_set_cycles_usec() -> pwm_set_cycles_cycles() -> pwm_it8xxx2_set_cycles() in pwm_it8xxx2_get_cycles_per_sec()
[all …]
/Zephyr-latest/drivers/video/
Dvideo_emul_rx.c4 * SPDX-License-Identifier: Apache-2.0
34 const struct emul_rx_config *cfg = dev->config; in emul_rx_set_ctrl()
36 /* Forward all controls to the source */ in emul_rx_set_ctrl()
37 return video_set_ctrl(cfg->source_dev, cid, value); in emul_rx_set_ctrl()
42 const struct emul_rx_config *cfg = dev->config; in emul_rx_get_ctrl()
44 /* Forward all controls to the source */ in emul_rx_get_ctrl()
45 return video_get_ctrl(cfg->source_dev, cid, value); in emul_rx_get_ctrl()
51 const struct emul_rx_config *cfg = dev->config; in emul_rx_set_frmival()
53 /* Input/output timing is driven by the source */ in emul_rx_set_frmival()
55 return -EINVAL; in emul_rx_set_frmival()
[all …]
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_tc_src_states.c4 * SPDX-License-Identifier: Apache-2.0
38 const struct device *dev = tc->dev; in tc_unattached_src_run()
47 if (tcpc_is_cc_at_least_one_rd(tc->cc1, tc->cc2)) { in tc_unattached_src_run()
74 const struct device *dev = tc->dev; in tc_unattached_wait_src_entry()
75 struct usbc_port_data *data = dev->data; in tc_unattached_wait_src_entry() local
76 const struct device *tcpc = data->tcpc; in tc_unattached_wait_src_entry()
84 usbc_timer_start(&tc->tc_t_vconn_off); in tc_unattached_wait_src_entry()
90 const struct device *dev = tc->dev; in tc_unattached_wait_src_run()
93 if (usbc_timer_expired(&tc->tc_t_vconn_off)) { in tc_unattached_wait_src_run()
101 const struct device *dev = tc->dev; in tc_unattached_wait_src_exit()
[all …]
/Zephyr-latest/soc/nordic/nrf54h/bicr/
Dbicrgen.py3 --------------------
23 --input <input_file.{hex,json}> \
24 [--svd <svd_file>] \
25 [--output <output_file.{hex,json}>] \
26 [--list]
29 SPDX-License-Identifier: Apache-2.0
46 def __init__(self, regs: ET.Element, name: str, data: bytes | bytearray | None = None) -> None:
56 self._data = data
59 def offset(self) -> int:
63 def size(self) -> int:
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_mchp_ecia_xec.c4 * SPDX-License-Identifier: Apache-2.0
22 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
68 void *data; member
72 ((const struct xec_ecia_config *const)(ecia_dev)->config)
75 ((const struct xec_girq_config *const)(girq_dev)->config)
78 ((struct xec_girq_src_data *const)(girq_dev)->data)
82 * bit-wise or of all the GIRQ's result bits.
89 regs->BLK_EN_SET = BIT(girq_num); in mchp_xec_ecia_girq_aggr_en()
91 regs->BLK_EN_CLR = BIT(girq_num); in mchp_xec_ecia_girq_aggr_en()
104 regs->GIRQ[girq_num - MCHP_FIRST_GIRQ].SRC = BIT(src_bit_pos); in mchp_xec_ecia_girq_src_clr()
[all …]
/Zephyr-latest/doc/connectivity/usb/pd/
Ducds.rst3 USB-C device stack
6 The USB-C device stack is a hardware independent interface between a
7 Type-C Port Controller (TCPC) and customer applications. It is a port of
8 the Google ChromeOS Type-C Port Manager (TCPM) stack.
11 * Uses the APIs provided by the Type-C Port Controller drivers to interact with
12 the Type-C Port Controller.
17 Currently the device stack supports implementation of Sink only and Source only
20 :zephyr:code-sample-category:`List<usbc>` of samples for different purposes.
22 Implementing a Sink Type-C and Power Delivery USB-C device
25 The configuration of a USB-C Device is done in the stack layer and devicetree.
[all …]

12345678910>>...43