Home
last modified time | relevance | path

Searched +full:channel +full:- +full:count (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/Zephyr-latest/dts/bindings/adc/
Drenesas,ra-adc.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "renesas,ra-adc"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
14 vref-mv:
19 channel-count:
24 "#io-channel-cells":
27 channel-available-mask:
32 average-count:
36 description: The conversion count of the average mode
40 io-channel-cells:
[all …]
Dnuvoton,npcx-adc.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton, NPCX-ADC node
6 compatible: "nuvoton,npcx-adc"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
15 pinctrl-0:
17 pinctrl-names:
19 vref-mv:
23 channel-count:
27 threshold-count:
32 io-channel-cells:
[all …]
Dadi,max32-adc.yaml1 # Copyright (c) 2023-2024 Analog Devices, Inc.
2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "adi,max32-adc"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
20 pinctrl-0:
23 pinctrl-names:
26 channel-count:
31 vref-mv:
41 clock-source:
48 - 0: "ADI_MAX32_PRPH_CLK_SRC_PCLK" Peripheral clock
[all …]
Dambiq,adc.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [adc-controller.yaml, pinctrl-device.yaml, ambiq-pwrcfg.yaml]
16 channel-count:
21 internal-vref-mv:
26 io-channel-cells:
27 - input
/Zephyr-latest/drivers/dma/
DKconfig.dw_common4 # SPDX-License-Identifier: Apache-2.0
15 The number of LLI structs in a statically allocated pool. Each channel has its own
31 Rather than immediately stopping a DMA channel the channel is suspended
33 before stopping the channel.
43 int "dw max channel count"
46 Channel count for designware DMA instances.
Ddma_pl330.c4 * SPDX-License-Identifier: Apache-2.0
23 uint64_t src, uint32_t channel, uint32_t size);
34 srcbytewidth = BYTE_WIDTH(ch_handle->src_burst_sz); in dma_pl330_get_counter()
35 dstbytewidth = BYTE_WIDTH(ch_handle->dst_burst_sz); in dma_pl330_get_counter()
37 loop_counter = ch_handle->trans_size / in dma_pl330_get_counter()
38 (srcbytewidth * (ch_handle->src_burst_len + 1)); in dma_pl330_get_counter()
40 residue = ch_handle->trans_size - loop_counter * in dma_pl330_get_counter()
41 (srcbytewidth * (ch_handle->src_burst_len + 1)); in dma_pl330_get_counter()
52 int secure = ch_handle->nonsec_mode ? SRC_PRI_NONSEC_VALUE : in dma_pl330_ch_ccr()
55 ccr = ((ch_handle->dst_cache_ctrl & CC_SRCCCTRL_MASK) << in dma_pl330_ch_ccr()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_chan.c4 * SPDX-License-Identifier: Apache-2.0
37 /* The HCI LE Set Host Channel Classification command allows the Host to
38 * specify a channel classification for the data, secondary advertising,
42 static uint8_t count; variable
66 /* TODO: Should failure due to Channel Map Update being already in in ll_chm_update()
74 /* Initial channel map indicating Used and Unused data channels. */ in ull_chan_reset()
80 count = 37U; in ull_chan_reset()
87 return count; in ull_chan_map_get()
93 count = util_ones_count_get(map, sizeof(map)); in chan_map_set()
/Zephyr-latest/drivers/i2s/
DKconfig.esp323 # SPDX-License-Identifier: Apache-2.0
17 int "ESP32 I2S RX block count"
20 Max number of blocks waiting to be read from the I2S RX channel.
23 int "ESP32 I2S TX block count"
26 Max number of blocks waiting to be transmitted by the I2S TX channel.
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_decoder.c4 * SPDX-License-Identifier: Apache-2.0
70 /* Remove channel ID. */ in adxl367_temp_convert_q31()
83 /* Remove channel ID. */ in adxl367_temp_convert_q31()
98 *out = ((data_in - ADXL367_TEMP_25C) / ADXL367_TEMP_SENSITIVITY in adxl367_temp_convert_q31()
131 /* Remove channel ID. */ in adxl367_accel_convert_q31()
144 /* Remove channel ID. */ in adxl367_accel_convert_q31()
164 struct sensor_three_axis_data *data, const uint8_t *buffer, int count, in adxl367_get_accel() argument
172 if (enc_data->has_x) { in adxl367_get_accel()
173 data->readings[count].timestamp_delta = in adxl367_get_accel()
175 adxl367_accel_convert_q31(&data->readings[count].x, in adxl367_get_accel()
[all …]
/Zephyr-latest/drivers/sensor/
Ddefault_rtio_sensor.c5 * SPDX-License-Identifier: Apache-2.0
18 * Ensure that the size of the generic header aligns with the sensor channel specifier . If it
19 * doesn't, then cores that require aligned memory access will fail to read channel[0].
27 const struct sensor_read_config *cfg = iodev_sqe->sqe.iodev->data; in sensor_iodev_submit()
28 const struct device *dev = cfg->sensor; in sensor_iodev_submit()
29 const struct sensor_driver_api *api = dev->api; in sensor_iodev_submit()
31 if (api->submit != NULL) { in sensor_iodev_submit()
32 api->submit(dev, iodev_sqe); in sensor_iodev_submit()
33 } else if (!cfg->is_streaming) { in sensor_iodev_submit()
36 rtio_iodev_sqe_err(iodev_sqe, -ENOTSUP); in sensor_iodev_submit()
[all …]
Dsensor_shell.c4 * SPDX-License-Identifier: Apache-2.0
24 "Get sensor data. Channel names are optional. All channels are read " \
26 "<device_name> <channel name 0> .. <channel name N>"
34 "Get the sensor's channel attribute. Syntax:\n" \
39 "Set the sensor's channel attribute.\n" \
140 uint32_t count; member
152 if (sensor->dev == dev) { in device_is_sensor()
169 return -1; in find_sensor_trigger_device()
225 return -1; in sensor_trigger_name_lookup()
240 /* Crate a single common config for one-shot reading */
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_decoder.c4 * SPDX-License-Identifier: Apache-2.0
40 buffer + sizeof(struct adxl372_fifo_data) + enc_data->fifo_byte_count; in adxl372_decode_stream()
41 int count = 0; in adxl372_decode_stream() local
51 data->header.base_timestamp_ns = enc_data->timestamp; in adxl372_decode_stream()
52 data->header.reading_count = 1; in adxl372_decode_stream()
53 data->header.shift = 11; /* Sensor shift */ in adxl372_decode_stream()
57 uint8_t sample_set_size = enc_data->sample_set_size; in adxl372_decode_stream()
58 uint64_t period_ns = accel_period_ns[enc_data->accel_odr]; in adxl372_decode_stream()
62 sample_num = ((uint8_t *)*fit - buffer) / sample_set_size; in adxl372_decode_stream()
65 while (count < max_count && buffer < buffer_end) { in adxl372_decode_stream()
[all …]
/Zephyr-latest/samples/subsys/zbus/hello_world/src/
Dmain.c3 * SPDX-License-Identifier: Apache-2.0
70 LOG_INF("From listener -> Acc x=%d, y=%d, z=%d", acc->x, acc->y, acc->z); in listener_callback_example()
87 LOG_INF("From subscriber -> Acc x=%d, y=%d, z=%d", acc.x, acc.y, acc.z); in subscriber_task()
97 int *count = user_data; in print_channel_data_iterator() local
99 LOG_INF("%d - Channel %s:", *count, zbus_chan_name(chan)); in print_channel_data_iterator()
103 ++(*count); in print_channel_data_iterator()
107 for (int16_t i = chan->data->observers_start_idx, limit = chan->data->observers_end_idx; in print_channel_data_iterator()
113 LOG_INF(" - %s", observation->obs->name); in print_channel_data_iterator()
118 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&chan->data->observers, obs_nd, tmp, node) { in print_channel_data_iterator()
119 LOG_INF(" - %s", obs_nd->obs->name); in print_channel_data_iterator()
[all …]
/Zephyr-latest/drivers/pcie/host/
Dvc.h4 * SPDX-License-Identifier: Apache-2.0
14 /** Virtual Channel capability and control Registers */
18 /** Virtual Channel Count */
21 /** Low Priority Virtual Channel Count */
35 /** Virtual Channel Arbitration Capability */
38 /** Virtual Channel Arbitration Table Offset */
46 /** Load Virtual Channel Arbitration Table */
48 /** Virtual Channel Arbitration Select */
51 /** Virtual Channel Arbitration Table Status */
70 /** Virtual Channel Resource Registers */
[all …]
/Zephyr-latest/subsys/zbus/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
17 bool "Channel name field"
20 bool "Channel identifier field"
26 bool "Channel publishing statistics (Timestamp and count)"
52 int "The count of net_buf available to be used simutaneously."
77 …enabled, _ZBUS_ASSERT returns -EFAULT instead of assert. It makes it more straightforward to test …
89 module-str = zbus
/Zephyr-latest/drivers/pwm/
DKconfig.imx4 # SPDX-License-Identifier: Apache-2.0
15 int "Loop count for PWM Software Reset"
19 Loop count for PWM Software Reset when disabling PWM channel.
/Zephyr-latest/dts/bindings/dma/
Drenesas,smartbond-dma.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: dma-controller.yaml
8 compatible: "renesas,smartbond-dma"
17 block-count:
23 "#dma-cells":
26 # - #dma-cells : Must be <2>.
27 # channel: dma channel to be reserved
28 # config: peripheral's dma request line. Valid values are defined in dt-bindings/dma/dma_smartbond.h
30 dma-cells:
31 - channel
[all …]
/Zephyr-latest/drivers/firmware/scmi/
Dmailbox.h4 * SPDX-License-Identifier: Apache-2.0
24 /* get the name of mailbox channel's private data */
28 /* fetch a mailbox channel's doorbell */
34 /* define private data for a protocol TX channel */
44 * Define a mailbox channel. This does two things:
46 * 2) Define the mailbox-specific private data for said
47 * channel (i.e: a struct scmi_mbox_channel)
55 * Optionally define a mailbox channel for a protocol. This is optional
56 * because a protocol might not have a dedicated channel.
63 /* define a TX channel for a protocol node. This is preferred over
[all …]
/Zephyr-latest/dts/arm/renesas/ra/ra4/
Dra4-cm33-common.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv8-m.dtsi>
9 #include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-ra.h>
10 #include <zephyr/dt-bindings/pwm/ra_pwm.h>
15 #address-cells = <1>;
16 #size-cells = <0>;
20 compatible = "arm,cortex-m33";
22 #address-cells = <1>;
23 #size-cells = <1>;
26 compatible = "arm,armv8m-mpu";
[all …]
/Zephyr-latest/dts/arm/renesas/ra/ra6/
Dra6-cm33-common.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv8-m.dtsi>
9 #include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-ra.h>
10 #include <zephyr/dt-bindings/clock/ra_clock.h>
11 #include <zephyr/dt-bindings/pwm/ra_pwm.h>
16 #address-cells = <1>;
17 #size-cells = <0>;
21 compatible = "arm,cortex-m33";
23 #address-cells = <1>;
24 #size-cells = <1>;
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Drfcomm.c10 * SPDX-License-Identifier: Apache-2.0
104 shell_print(ctx_shell, "Incoming data dlc %p len %u", dlci, buf->len); in rfcomm_recv()
134 return -ENOMEM; in rfcomm_accept()
150 if (rfcomm_server.channel) { in cmd_register()
152 return -ENOEXEC; in cmd_register()
155 rfcomm_server.channel = BT_RFCOMM_CHAN_SPP; in cmd_register()
159 shell_error(sh, "Unable to register channel %x", ret); in cmd_register()
160 rfcomm_server.channel = 0U; in cmd_register()
161 return -ENOEXEC; in cmd_register()
163 shell_print(sh, "RFCOMM channel %u registered", in cmd_register()
[all …]
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace15_mtpm/
Ddmic_regs_ace1x.h1 /* SPDX-License-Identifier: Apache-2.0 */
16 /* Link Count */
25 /* Stream Channel Mapping Supported */
83 /* Digital Microphone PCM Stream y Channel Map
90 /* Lowest Channel */
93 /* Highest Channel */
100 /* Digital Microphone PCM Stream y Channel Count
107 /* Number of Channel Supported */
118 /* Left Channel SoundWire Bus Segment */
121 /* Right Channel SoundWire Bus Segment */
/Zephyr-latest/doc/services/zbus/
Dindex.rst9 https://www.figma.com/community/file/1292866458780627559/zbus-diagram-assets
12 The :dfn:`Zephyr bus - zbus` is a lightweight and flexible software bus enabling a simple way for
13 threads to talk to one another in a many-to-many way.
21 Threads can send messages to one or more observers using zbus. It makes the many-to-many
22 communication possible. The bus implements message-passing and publish/subscribe communication
25 The communication through zbus is channel-based. Threads (or callbacks) use channels to exchange
27 thread publishes a message on a channel, the bus will make the message available to all the
28 published channel's observers. Based on the observer's type, it can access the message directly,
29 receive a copy of it, or even receive only a reference of the published channel.
48 channel, it also propagates the notifications to the observers;
[all …]
/Zephyr-latest/dts/bindings/counter/
Datmel,sam-tc.yaml1 # SPDX-License-Identifier: Apache-2.0
5 compatible: "atmel,sam-tc"
8 - name: base.yaml
9 - name: pinctrl-device.yaml
21 channel:
24 Timer / Counter channel to use, channel 0 is the default.
25 Valid range: 0 - 2
30 Clock source selection as defined by TCCLKS bit-field of TC_CMR
40 reg-cmr:
43 Alternate value of the CMR (Channel Mode Register) register.
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Diso.rst7 .. code-block:: console
9 iso --help
10 iso - Bluetooth ISO shell commands
15 connect :Connect ISO Channel
17 send :Send to ISO Channel [count]
18 disconnect :Disconnect ISO Channel
19 create-big :Create a BIG as a broadcaster [enc <broadcast code>]
21 sync-big :Synchronize to a BIG as a receiver <BIS bitfield> [mse] [timeout]
23 term-big :Terminate a BIG
30 .. code-block:: console
[all …]

12345678910>>...15