Home
last modified time | relevance | path

Searched refs:xfer (Results 26 – 50 of 50) sorted by relevance

12

/Zephyr-latest/dts/arc/synopsys/
Demsdp.dtsi98 max-xfer-size = <16>;
116 max-xfer-size = <16>;
142 max-xfer-size = <16>;
157 max-xfer-size = <16>;
Darc_hs4xd.dtsi188 max-xfer-size = <16>;
199 max-xfer-size = <16>;
210 max-xfer-size = <16>;
Darc_hsdk.dtsi188 max-xfer-size = <16>;
199 max-xfer-size = <16>;
210 max-xfer-size = <16>;
Demsk.dtsi151 max-xfer-size = <16>;
163 max-xfer-size = <16>;
Darc_iot.dtsi236 max-xfer-size = <16>;
249 max-xfer-size = <16>;
262 max-xfer-size = <16>;
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob_cli.h238 const struct bt_mesh_blob_xfer *xfer, bool success);
315 const struct bt_mesh_blob_xfer *xfer; member
370 const struct bt_mesh_blob_xfer *xfer,
Ddfu_cli.h201 } xfer; member
255 const struct bt_mesh_dfu_cli_xfer *xfer);
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_dfu.c97 const struct bt_mesh_blob_xfer *xfer, in dummy_blob_chunk_wr() argument
105 const struct bt_mesh_blob_xfer *xfer, in dummy_blob_chunk_rd() argument
840 struct bt_mesh_dfu_cli_xfer xfer; member
966 dfu_cli_xfer.xfer.mode = BT_MESH_BLOB_XFER_MODE_PUSH; in cli_common_fail_on_init()
967 dfu_cli_xfer.xfer.slot = slot; in cli_common_fail_on_init()
968 dfu_cli_xfer.xfer.blob_id = TEST_BLOB_ID; in cli_common_fail_on_init()
983 dfu_cli_xfer.xfer.mode = BT_MESH_BLOB_XFER_MODE_PUSH; in cli_common_init_recover()
984 dfu_cli_xfer.xfer.slot = slot; in cli_common_init_recover()
985 dfu_cli_xfer.xfer.blob_id = TEST_BLOB_ID; in cli_common_init_recover()
1014 &dfu_cli_xfer.xfer); in test_cli_fail_on_persistency()
[all …]
/Zephyr-latest/drivers/can/
Dcan_mcux_flexcan.c195 flexcan_mb_transfer_t xfer; in mcux_flexcan_mb_start() local
200 xfer.mbIdx = ALLOC_IDX_TO_RXMB_IDX(alloc); in mcux_flexcan_mb_start()
204 xfer.framefd = &data->rx_cbs[alloc].frame.fd; in mcux_flexcan_mb_start()
207 status = FLEXCAN_TransferFDReceiveNonBlocking(config->base, &data->handle, &xfer); in mcux_flexcan_mb_start()
210 xfer.frame = &data->rx_cbs[alloc].frame.classic; in mcux_flexcan_mb_start()
213 status = FLEXCAN_TransferReceiveNonBlocking(config->base, &data->handle, &xfer); in mcux_flexcan_mb_start()
674 flexcan_mb_transfer_t xfer; in mcux_flexcan_send() local
725 xfer.mbIdx = ALLOC_IDX_TO_TXMB_IDX(alloc); in mcux_flexcan_send()
729 FLEXCAN_SetFDTxMbConfig(config->base, xfer.mbIdx, true); in mcux_flexcan_send()
732 FLEXCAN_SetTxMbConfig(config->base, xfer.mbIdx, true); in mcux_flexcan_send()
[all …]
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spi.c181 nrfx_spi_xfer_desc_t xfer; in transfer_next_chunk() local
186 xfer.p_tx_buffer = ctx->tx_buf; in transfer_next_chunk()
187 xfer.tx_length = spi_context_tx_buf_on(ctx) ? chunk_len : 0; in transfer_next_chunk()
188 xfer.p_rx_buffer = ctx->rx_buf; in transfer_next_chunk()
189 xfer.rx_length = spi_context_rx_buf_on(ctx) ? chunk_len : 0; in transfer_next_chunk()
190 result = nrfx_spi_xfer(&dev_config->spi, &xfer, 0); in transfer_next_chunk()
Dspi_nrfx_spim.c409 nrfx_spim_xfer_desc_t xfer; in transfer_next_chunk() local
448 xfer.p_tx_buffer = tx_buf; in transfer_next_chunk()
449 xfer.tx_length = spi_context_tx_buf_on(ctx) ? chunk_len : 0; in transfer_next_chunk()
450 xfer.p_rx_buffer = rx_buf; in transfer_next_chunk()
451 xfer.rx_length = spi_context_rx_buf_on(ctx) ? chunk_len : 0; in transfer_next_chunk()
454 if (xfer.rx_length == 1 && xfer.tx_length <= 1) { in transfer_next_chunk()
465 result = nrfx_spim_xfer(&dev_config->spim, &xfer, 0); in transfer_next_chunk()
/Zephyr-latest/drivers/mipi_dsi/
Ddsi_mcux_2l.c162 dsi_transfer_t xfer = { in dsi_mcux_tx_color() local
180 xfer.txDataSize = MIN(msg->tx_len, (DSI_TX_MAX_PAYLOAD_BYTE - 6)); in dsi_mcux_tx_color()
184 uint8_t *src = (uint8_t *)xfer.txData; in dsi_mcux_tx_color()
187 for (uint32_t i = 0; i < xfer.txDataSize; i += 2) { in dsi_mcux_tx_color()
195 &data->mipi_handle, &xfer); in dsi_mcux_tx_color()
202 return xfer.txDataSize; in dsi_mcux_tx_color()
/Zephyr-latest/include/zephyr/usb/
Dusbh.h79 struct uhc_transfer *const xfer, int err);
/Zephyr-latest/drivers/i2c/
Di2c_max32.c66 struct k_sem xfer; member
408 ret = k_sem_take(&data->xfer, K_FOREVER); in i2c_max32_transfer_dma()
499 ret = k_sem_take(&data->xfer, K_FOREVER); in i2c_max32_transfer()
716 k_sem_give(&data->xfer); in i2c_max32_isr_controller()
744 k_sem_give(&data->xfer); in i2c_max32_isr_controller()
750 k_sem_give(&data->xfer); in i2c_max32_isr_controller()
760 k_sem_give(&data->xfer); in i2c_max32_isr_controller()
764 k_sem_give(&data->xfer); in i2c_max32_isr_controller()
798 k_sem_give(&data->xfer); in i2c_max32_isr_controller_dma()
801 k_sem_give(&data->xfer); in i2c_max32_isr_controller_dma()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfd_srv.c255 if (srv->phase == BT_MESH_DFD_PHASE_IDLE || !srv->dfu.xfer.slot) { in status_rsp()
264 net_buf_simple_add_u8(&rsp, ((srv->dfu.xfer.blob.mode & BIT_MASK(2)) | in status_rsp()
485 srv->upload.blob.state.xfer.id == blob_id && in handle_upload_start()
887 struct bt_mesh_blob_xfer *xfer) in upload_start() argument
917 upload_end(b, b->state.xfer.id, false); in upload_timeout()
1034 struct bt_mesh_dfu_cli_xfer xfer = { 0 }; in bt_mesh_dfd_srv_start() local
1044 xfer.mode = params->xfer_mode; in bt_mesh_dfd_srv_start()
1045 xfer.slot = bt_mesh_dfu_slot_at(params->slot_idx); in bt_mesh_dfd_srv_start()
1046 if (!xfer.slot) { in bt_mesh_dfd_srv_start()
1053 srv->dfu.xfer.blob.mode == xfer.mode && srv->apply == params->apply && in bt_mesh_dfd_srv_start()
[all …]
Ddfu_srv.c238 net_buf_simple_add_le64(&buf, srv->blob.state.xfer.id); in update_status_rsp()
264 return (srv->update.idx != idx || srv->blob.state.xfer.id != *blob_id || in is_active_update()
295 srv->blob.state.xfer.id == blob_id) { in handle_start()
311 srv->blob.state.xfer.id = blob_id; in handle_start()
339 srv->blob.state.xfer.id = blob_id; in handle_start()
540 struct bt_mesh_blob_xfer *xfer, in blob_recover() argument
/Zephyr-latest/subsys/usb/host/
Dusbh_shell.c62 struct uhc_transfer *xfer; in cmd_bulk() local
70 xfer = usbh_xfer_alloc(udev, ep, 0, 512, 10, NULL); in cmd_bulk()
71 if (!xfer) { in cmd_bulk()
80 xfer->buf = buf; in cmd_bulk()
85 return uhc_ep_enqueue(uhs_ctx.dev, xfer); in cmd_bulk()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Ddfu.c715 struct bt_mesh_dfu_cli_xfer xfer = { 0 }; in cmd_dfu_send() local
732 xfer.mode = shell_strtoul(argv[3], 0, &err); in cmd_dfu_send()
734 xfer.mode = BT_MESH_BLOB_XFER_MODE_PUSH; in cmd_dfu_send()
740 xfer.blob_params = &blob_params; in cmd_dfu_send()
742 xfer.blob_params = NULL; in cmd_dfu_send()
755 xfer.slot = bt_mesh_dfu_slot_at(slot_idx); in cmd_dfu_send()
756 if (!xfer.slot) { in cmd_dfu_send()
769 &dfu_tx.inputs, bt_mesh_shell_blob_io, &xfer); in cmd_dfu_send()
Ddfd.c31 if (srv->phase != BT_MESH_DFD_PHASE_IDLE && srv->dfu.xfer.slot) { in print_dfd_status()
36 srv->dfu.xfer.blob.mode, srv->apply, srv->slot_idx); in print_dfd_status()
/Zephyr-latest/drivers/usb/udc/
Dudc_nrf.c107 nrf_usbd_common_transfer_t xfer = { in udc_event_xfer_in_next() local
115 err = nrf_usbd_common_ep_transfer(ep, &xfer); in udc_event_xfer_in_next()
237 nrf_usbd_common_transfer_t xfer = { in udc_event_xfer_out_next() local
244 err = nrf_usbd_common_ep_transfer(ep, &xfer); in udc_event_xfer_out_next()
Dudc_numaker.c75 } xfer; member
1116 ep = msg->xfer.ep; in numaker_usbd_msg_handle_xfer()
1390 msg.xfer.ep = ep_cfg->addr; in udc_numaker_ep_enqueue()
1457 msg.xfer.ep = ep_cfg->addr; in udc_numaker_ep_clear_halt()
/Zephyr-latest/dts/arm/intel_socfpga_std/
Dsocfpga.dtsi257 max-xfer-size = <32>;
269 max-xfer-size = <32>;
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c71 const struct bt_mesh_blob_xfer *xfer, in blob_io_open() argument
80 const struct bt_mesh_blob_xfer *xfer, in blob_chunk_wr() argument
96 const struct bt_mesh_blob_xfer *xfer, in blob_chunk_rd() argument
299 struct bt_mesh_blob_xfer xfer; member
338 const struct bt_mesh_blob_xfer *xfer, bool success) in blob_cli_end() argument
4408 struct bt_mesh_dfu_cli_xfer xfer; in dfu_firmware_update_start() local
4438 xfer.mode = BT_MESH_BLOB_XFER_MODE_PUSH; in dfu_firmware_update_start()
4439 xfer.blob_params = &blob; in dfu_firmware_update_start()
4450 xfer.slot = bt_mesh_dfu_slot_at(slot_idx); in dfu_firmware_update_start()
4451 if (!xfer.slot) { in dfu_firmware_update_start()
[all …]
/Zephyr-latest/dts/common/nordic/
Dnrf9280.dtsi376 max-xfer-size = <16>;
Dnrf54h20.dtsi523 max-xfer-size = <16>;

12