Home
last modified time | relevance | path

Searched +full:max +full:- +full:xfer +full:- +full:size (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/dts/arc/synopsys/
Demsdp.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 //#include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
16 #address-cells = <1>;
17 #size-cells = <0>;
26 intc: arcv2-intc {
27 compatible = "snps,arcv2-intc";
28 interrupt-controller;
29 #interrupt-cells = <2>;
33 compatible = "snps,arc-timer";
[all …]
Darc_hs4xd.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
43 intc: arcv2-intc {
44 compatible = "snps,arcv2-intc";
45 interrupt-controller;
46 #interrupt-cells = <2>;
50 idu_intc: idu-interrupt-controller {
[all …]
Darc_hsdk.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
43 intc: arcv2-intc {
44 compatible = "snps,arcv2-intc";
45 interrupt-controller;
46 #interrupt-cells = <2>;
50 idu_intc: idu-interrupt-controller {
[all …]
Demsk.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/i2c/i2c.h>
9 #include <zephyr/dt-bindings/gpio/gpio.h>
15 #address-cells = <1>;
16 #size-cells = <0>;
25 intc: arcv2-intc {
26 compatible = "snps,arcv2-intc";
27 interrupt-controller;
28 #interrupt-cells = <2>;
32 compatible = "snps,arc-timer";
[all …]
Darc_iot.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
24 intc: arcv2-intc {
25 compatible = "snps,arcv2-intc";
26 interrupt-controller;
27 #interrupt-cells = <2>;
31 compatible = "snps,arc-timer";
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob.h4 * SPDX-License-Identifier: Apache-2.0
64 /** The block size is smaller than the size indicated by the Min Block
65 * Size Log state or is larger than the size indicated by the Max Block
66 * Size Log state.
69 /** The chunk size exceeds the size indicated by the Max Chunk Size
71 * Max Total Chunks state.
99 /** Block size in bytes */
100 size_t size; member
116 /** Chunk data size. */
117 size_t size; member
[all …]
Dblob_cli.h4 * SPDX-License-Identifier: Apache-2.0
90 /** BLOB size in octets. */
91 uint32_t size; member
93 /** Logarithmic representation of the block size. */
96 /** MTU size in octets. */
122 /** Additional response time for the Target nodes, in 10-second increments.
140 /** Max BLOB size. */
143 /** Logarithmic representation of the minimum block size. */
146 /** Logarithmic representation of the maximum block size. */
149 /** Max number of chunks per block. */
[all …]
Ddfu_cli.h4 * SPDX-License-Identifier: Apache-2.0
49 BT_MESH_MODEL_BLOB_CLI(&(_cli)->blob), \
92 /** Additional response time for the Target nodes, in 10-second increments.
201 } xfer; member
216 /* Logarithmic representation of the block size. */
218 /** Base chunk size. May be smaller for the last chunk. */
248 * @param xfer Firmware Update Client transfer parameters.
255 const struct bt_mesh_dfu_cli_xfer *xfer);
344 * @param max_count Max number of images to return.
/Zephyr-latest/subsys/bluetooth/mesh/
Dblob_srv.c4 * SPDX-License-Identifier: Apache-2.0
19 #define MTU_SIZE_MAX (BT_MESH_RX_SDU_MAX - BT_MESH_MIC_SHORT)
22 #define SERVER_TIMEOUT_SECS(srv) (10 * (1 + (srv)->state.timeout_base))
23 /* The initial timer value used by an instance of the Pull BLOB State machine - T_BPI */
28 "max block size that is the power of two.");
32 "The BLOB Transfer Status message does not fit into the maximum outgoing SDU size.");
38 "size.");
42 "The BLOB Block Status message does not fit into the maximum outgoing SDU size.");
49 return DIV_ROUND_UP(srv->state.xfer.size, in block_count_get()
50 (1U << srv->state.xfer.block_size_log)); in block_count_get()
[all …]
Dblob_cli.c4 * SPDX-License-Identifier: Apache-2.0
19 SYS_SLIST_FOR_EACH_CONTAINER((sys_slist_t *)&(cli)->inputs->targets, \
22 /* The Maximum BLOB Poll Interval - T_MBPI */
25 #define CLIENT_TIMEOUT_MSEC(cli) (10 * MSEC_PER_SEC * (cli->inputs->timeout_base + 2) + \
26 100 * cli->inputs->ttl)
30 #define SENDING_CHUNKS_IN_PULL_MODE(cli) ((cli)->state == BT_MESH_BLOB_CLI_STATE_BLOCK_SEND && \
31 (cli)->xfer->mode == BT_MESH_BLOB_XFER_MODE_PULL)
32 #define UNICAST_MODE(cli) ((cli)->inputs->group == BT_MESH_ADDR_UNASSIGNED || \
33 (cli)->tx.ctx.force_unicast)
37 "The BLOB Transfer Status message does not fit into the maximum incoming SDU size.");
[all …]
/Zephyr-latest/dts/bindings/spi/
Dsnps,designware-spi.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "snps,designware-spi"
9 include: [spi-controller.yaml, pinctrl-device.yaml]
18 aux-reg:
24 fifo-depth:
29 Serial Interface. Depth ranges from 2-256.
31 serial-target:
38 max-xfer-size:
41 Maximum transfer size. Corresponds to SPI_MAX_XFER_SIZE
45 - 16
[all …]
/Zephyr-latest/drivers/spi/
Dspi_psoc6.c6 * SPDX-License-Identifier: Apache-2.0
48 struct spi_psoc6_transfer xfer; member
53 const struct spi_psoc6_config *config = dev->config; in spi_psoc6_transfer_next_packet()
54 struct spi_psoc6_data *data = dev->data; in spi_psoc6_transfer_next_packet()
55 struct spi_context *ctx = &data->ctx; in spi_psoc6_transfer_next_packet()
56 struct spi_psoc6_transfer *xfer = &data->xfer; in spi_psoc6_transfer_next_packet() local
59 LOG_DBG("TX L: %d, RX L: %d", ctx->tx_len, ctx->rx_len); in spi_psoc6_transfer_next_packet()
61 if ((ctx->tx_len == 0U) && (ctx->rx_len == 0U)) { in spi_psoc6_transfer_next_packet()
63 xfer->dataSize = 0U; in spi_psoc6_transfer_next_packet()
70 if (ctx->tx_len == 0U) { in spi_psoc6_transfer_next_packet()
[all …]
Dspi_mcux_lpspi.c4 * SPDX-License-Identifier: Apache-2.0
36 #define DEV_CFG(_dev) ((const struct spi_mcux_config *)(_dev)->config)
37 #define DEV_DATA(_dev) ((struct spi_mcux_data *)(_dev)->data)
97 struct spi_mcux_data *data = dev->data; in spi_mcux_isr()
100 LPSPI_MasterTransferHandleIRQ(LPSPI_IRQ_HANDLE_ARG, &data->handle); in spi_mcux_isr()
108 spi_context_update_tx(&data->ctx, 1, data->transfer_len); in spi_mcux_master_callback()
109 spi_context_update_rx(&data->ctx, 1, data->transfer_len); in spi_mcux_master_callback()
111 spi_mcux_transfer_next_packet(data->dev); in spi_mcux_master_callback()
116 struct spi_mcux_data *data = dev->data; in spi_mcux_transfer_next_packet()
118 struct spi_context *ctx = &data->ctx; in spi_mcux_transfer_next_packet()
[all …]
Dspi_dw.c6 * SPDX-License-Identifier: Apache-2.0
11 /* spi_dw.c - Designware SPI driver implementation */
47 spi_context_is_slave(&spi->ctx)); in spi_dw_is_slave()
52 struct spi_dw_data *spi = dev->data; in completed()
53 struct spi_context *ctx = &spi->ctx; in completed()
59 if (spi_context_tx_on(&spi->ctx) || in completed()
60 spi_context_rx_on(&spi->ctx)) { in completed()
75 if (spi_cs_is_gpio(ctx->config)) { in completed()
85 spi_context_complete(&spi->ctx, dev, error); in completed()
90 const struct spi_dw_config *info = dev->config; in push_data()
[all …]
/Zephyr-latest/dts/arm/intel_socfpga_std/
Dsocfpga.dtsi2 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
13 #address-cells = <1>;
14 #size-cells = <1>;
24 #address-cells = <1>;
25 #size-cells = <0>;
28 compatible = "arm,cortex-a9";
31 /* next-level-cache = <&L2>; */ /*cache driver not available yet */
34 compatible = "arm,cortex-a9";
[all …]
/Zephyr-latest/drivers/i3c/
Di3c_cdns.c4 * SPDX-License-Identifier: Apache-2.0
472 /* Target T_LOW period in open-drain mode. */
476 * MIPI I3C v1.1.1 Spec defines SDA Signal Data Hold in Push Pull max as the
484 /* command tx fifo threshold - unused */
486 /* in-band-interrupt data fifo threshold - unused */
488 /* in-band-interrupt response queue threshold */
490 /* tx data threshold - unused */
581 struct cdns_i3c_xfer xfer; member
611 for (i = 15; i >= 0; --i) { in i3c_cdns_crc5()
660 /* Returns [7:1] 7-bit addr, [0] even/xor parity */
[all …]
Di3c_npcx.c4 * SPDX-License-Identifier: Apache-2.0
103 #define I3C_BUS_TLOW_PP_MIN_NS 24 /* T_LOW period in push-pull mode */
104 #define I3C_BUS_THigh_PP_MIN_NS 24 /* T_High period in push-pull mode */
105 #define I3C_BUS_TLOW_OD_MIN_NS 200 /* T_LOW period in open-drain mode */
107 #define PPBAUD_DIV_MAX (BIT(GET_FIELD_SZ(NPCX_I3C_MCONFIG_PPBAUD)) - 1) /* PPBAUD divider max */
163 uint8_t ppbaud; /* Push-Pull high period */
164 uint8_t pplow; /* Push-Pull low period */
165 uint8_t odhpp; /* Open-Drain high period */
166 uint8_t odbaud; /* Open-Drain low period */
259 struct npcx_i3c_data *const data = dev->data; in npcx_i3c_mutex_lock()
[all …]
/Zephyr-latest/drivers/mipi_dsi/
Ddsi_mcux_2l.c4 * SPDX-License-Identifier: Apache-2.0
60 /* MAX DSI TX payload */
71 const struct mcux_mipi_dsi_config *config = dev->config; in dsi_mcux_dma_cb()
72 struct mcux_mipi_dsi_data *data = dev->data; in dsi_mcux_dma_cb()
79 DSI_DisableInterrupts(config->base, kDSI_InterruptGroup1ApbTxDone | in dsi_mcux_dma_cb()
81 DSI_GetAndClearInterruptStatus(config->base, &int_flags1, &int_flags2); in dsi_mcux_dma_cb()
82 k_sem_give(&data->transfer_sem); in dsi_mcux_dma_cb()
99 const struct mcux_mipi_dsi_config *config = dev->config; in dsi_mcux_tx_color()
100 struct mcux_mipi_dsi_data *data = dev->data; in dsi_mcux_tx_color()
105 return -ENOTSUP; /* DMA can only transfer on virtual channel 0 */ in dsi_mcux_tx_color()
[all …]
/Zephyr-latest/dts/common/nordic/
Dnrf9280.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/adc/nrf-saadc.h>
10 #include <zephyr/dt-bindings/misc/nordic-nrf-ficr-nrf9230-engb.h>
11 #include <zephyr/dt-bindings/misc/nordic-domain-id-nrf9230.h>
12 #include <zephyr/dt-bindings/misc/nordic-owner-id-nrf9230.h>
13 #include <zephyr/dt-bindings/reserved-memory/nordic-owned-memory.h>
15 /delete-node/ &sw_pwm;
18 #address-cells = <1>;
19 #size-cells = <1>;
22 #address-cells = <1>;
[all …]
Dnrf54h20.dtsi4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/adc/nrf-saadc.h>
11 #include <zephyr/dt-bindings/misc/nordic-nrf-ficr-nrf54h20.h>
12 #include <zephyr/dt-bindings/misc/nordic-domain-id-nrf54h20.h>
13 #include <zephyr/dt-bindings/misc/nordic-owner-id-nrf54h20.h>
14 #include <zephyr/dt-bindings/misc/nordic-tddconf.h>
15 #include <zephyr/dt-bindings/reserved-memory/nordic-owned-memory.h>
16 #include <zephyr/dt-bindings/power/nordic-nrf-gpd.h>
18 /delete-node/ &sw_pwm;
21 #address-cells = <1>;
[all …]
/Zephyr-latest/drivers/dma/
Ddma_iproc_pax_v1.c4 * SPDX-License-Identifier: Apache-2.0
33 return ring->pkt_id = 0x0; in reset_pkt_id()
41 ring->pkt_id = (ring->pkt_id + 1) % 32; in alloc_pkt_id()
42 return ring->pkt_id; in alloc_pkt_id()
47 return ring->pkt_id; in curr_pkt_id()
52 return ring->curr.toggle; in curr_toggle_val()
63 r->opq = opq; in rm_write_header_desc()
65 r->bdcount = bdcount; in rm_write_header_desc()
66 r->prot = 0x0; in rm_write_header_desc()
68 r->start = 1; in rm_write_header_desc()
[all …]
Ddma_iproc_pax_v2.c4 * SPDX-License-Identifier: Apache-2.0
36 return ring->pkt_id = 0x0; in reset_pkt_id()
41 ring->pkt_id = (ring->pkt_id + 1) % 32; in alloc_pkt_id()
42 return ring->pkt_id; in alloc_pkt_id()
47 return ring->pkt_id; in curr_pkt_id()
52 return ring->curr.toggle; in curr_toggle_val()
64 r->opq = opq; in rm_write_header_desc()
65 r->bdf = 0x0; in rm_write_header_desc()
66 r->res1 = 0x0; in rm_write_header_desc()
68 r->bdcount = bdcount; in rm_write_header_desc()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_bcm_iproc.c5 * SPDX-License-Identifier: Apache-2.0
20 #include "i2c-priv.h"
123 #define M_RX_FIFO_MAX_THLD_VALUE (TX_RX_FIFO_SIZE - 1)
140 * max target read per interrupt is set to 10 bytes.
151 #define DEV_CFG(dev) ((struct iproc_i2c_config *)(dev)->config)
152 #define DEV_DATA(dev) ((struct iproc_i2c_data *)(dev)->data)
153 #define DEV_BASE(dev) ((DEV_CFG(dev))->base)
215 return -EINVAL; in iproc_i2c_target_set_address()
231 struct i2c_target_config *target_config = dd->target_cfg; in iproc_i2c_target_init()
250 ret = iproc_i2c_target_set_address(dev, target_config->address); in iproc_i2c_target_init()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2.c4 * SPDX-License-Identifier: Apache-2.0
44 /* Minimum RX FIFO size in 32-bit words considering the largest used OUT packet
49 /* Default Rx FIFO size in 32-bit words calculated to support High-Speed with:
57 /* TX FIFO0 depth in 32-bit words (used by control IN endpoint)
105 /* Transfer triggers (IN on bits 0-15, OUT on bits 16-31) */
107 /* Finished transactions (IN on bits 0-15, OUT on bits 16-31) */
143 const struct udc_dwc2_config *const config = dev->config; in dwc2_init_pinctrl()
144 const struct pinctrl_dev_config *const pcfg = config->pcfg; in dwc2_init_pinctrl()
172 const struct udc_dwc2_config *const config = dev->config; in dwc2_get_base()
174 return config->base; in dwc2_get_base()
[all …]
/Zephyr-latest/drivers/sdhc/
Dintel_emmc_host.c4 * SPDX-License-Identifier: Apache-2.0
62 regs->normal_int_stat_en = EMMC_HOST_NORMAL_INTR_MASK; in enable_interrupts()
63 regs->err_int_stat_en = EMMC_HOST_ERROR_INTR_MASK; in enable_interrupts()
64 regs->normal_int_signal_en = EMMC_HOST_NORMAL_INTR_MASK; in enable_interrupts()
65 regs->err_int_signal_en = EMMC_HOST_ERROR_INTR_MASK; in enable_interrupts()
66 regs->timeout_ctrl = EMMC_HOST_MAX_TIMEOUT; in enable_interrupts()
74 regs->normal_int_stat_en = EMMC_HOST_NORMAL_INTR_MASK; in disable_interrupts()
75 regs->err_int_stat_en = EMMC_HOST_ERROR_INTR_MASK; in disable_interrupts()
78 regs->normal_int_signal_en &= 0; in disable_interrupts()
79 regs->err_int_signal_en &= 0; in disable_interrupts()
[all …]

12