Home
last modified time | relevance | path

Searched refs:sys_cpu_to_le32 (Results 1 – 25 of 50) sorted by relevance

12

/Zephyr-latest/subsys/fs/ext2/
Dext2_format.c80 in->i_size = sys_cpu_to_le32(nblocks * cfg->block_size); in default_directory_inode()
86 in->i_blocks = sys_cpu_to_le32(nblocks * cfg->block_size / 512); in default_directory_inode()
213 sb->s_inodes_count = sys_cpu_to_le32(inodes_count); in ext2_format()
214 sb->s_blocks_count = sys_cpu_to_le32(blocks_count); in ext2_format()
215 sb->s_r_blocks_count = sys_cpu_to_le32(0); in ext2_format()
216 sb->s_free_blocks_count = sys_cpu_to_le32(free_blocks); in ext2_format()
217 sb->s_free_inodes_count = sys_cpu_to_le32(inodes_count - used_inodes); in ext2_format()
218 sb->s_first_data_block = sys_cpu_to_le32(first_data_block); in ext2_format()
219 sb->s_log_block_size = sys_cpu_to_le32(block_log_size); in ext2_format()
220 sb->s_log_frag_size = sys_cpu_to_le32(block_log_size); in ext2_format()
[all …]
Dext2_diskops.c61 disk_sb->s_inodes_count = sys_cpu_to_le32(sb->s_inodes_count); in fill_disk_sblock()
62 disk_sb->s_blocks_count = sys_cpu_to_le32(sb->s_blocks_count); in fill_disk_sblock()
63 disk_sb->s_free_blocks_count = sys_cpu_to_le32(sb->s_free_blocks_count); in fill_disk_sblock()
64 disk_sb->s_free_inodes_count = sys_cpu_to_le32(sb->s_free_inodes_count); in fill_disk_sblock()
65 disk_sb->s_first_data_block = sys_cpu_to_le32(sb->s_first_data_block); in fill_disk_sblock()
66 disk_sb->s_log_block_size = sys_cpu_to_le32(sb->s_log_block_size); in fill_disk_sblock()
67 disk_sb->s_log_frag_size = sys_cpu_to_le32(sb->s_log_frag_size); in fill_disk_sblock()
68 disk_sb->s_blocks_per_group = sys_cpu_to_le32(sb->s_blocks_per_group); in fill_disk_sblock()
69 disk_sb->s_frags_per_group = sys_cpu_to_le32(sb->s_frags_per_group); in fill_disk_sblock()
70 disk_sb->s_inodes_per_group = sys_cpu_to_le32(sb->s_inodes_per_group); in fill_disk_sblock()
[all …]
/Zephyr-latest/drivers/disk/nvme/
Dnvme_controller_cmd.c33 request->cmd.cdw10 = sys_cpu_to_le32(1); in nvme_ctrlr_cmd_identify_controller()
55 request->cmd.nsid = sys_cpu_to_le32(nsid); in nvme_ctrlr_cmd_identify_namespace()
79 cmd->cdw10 = sys_cpu_to_le32(((io_queue->num_entries-1) << 16) | in nvme_ctrlr_cmd_create_io_cq()
82 cmd->cdw11 = sys_cpu_to_le32((io_queue->vector << 16) | 0x3); in nvme_ctrlr_cmd_create_io_cq()
107 cmd->cdw10 = sys_cpu_to_le32(((io_queue->num_entries - 1) << 16) | in nvme_ctrlr_cmd_create_io_sq()
110 cmd->cdw11 = sys_cpu_to_le32((io_queue->id << 16) | 0x1); in nvme_ctrlr_cmd_create_io_sq()
135 cmd->cdw10 = sys_cpu_to_le32(io_queue->id); in nvme_ctrlr_cmd_delete_io_cq()
159 cmd->cdw10 = sys_cpu_to_le32(io_queue->id); in nvme_ctrlr_cmd_delete_io_sq()
181 cmd->cdw10 = sys_cpu_to_le32(feature); in nvme_ctrlr_cmd_set_feature()
182 cmd->cdw11 = sys_cpu_to_le32(cdw11); in nvme_ctrlr_cmd_set_feature()
[all …]
Dnvme_cmd.h499 cmd->nsid = sys_cpu_to_le32(nsid); in nvme_namespace_flush_cmd()
507 cmd->nsid = sys_cpu_to_le32(nsid); in nvme_namespace_rw_cmd()
508 cmd->cdw10 = sys_cpu_to_le32(lba & 0xffffffffu); in nvme_namespace_rw_cmd()
509 cmd->cdw11 = sys_cpu_to_le32(lba >> 32); in nvme_namespace_rw_cmd()
510 cmd->cdw12 = sys_cpu_to_le32(count-1); in nvme_namespace_rw_cmd()
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_rndis.c246 if (hdr->type != sys_cpu_to_le32(RNDIS_DATA_PACKET)) { in parse_rndis_header()
419 sys_cpu_to_le32(0x01), in rndis_notify_rsp()
420 sys_cpu_to_le32(0x00) in rndis_notify_rsp()
457 rsp->status = sys_cpu_to_le32(RNDIS_CMD_STATUS_SUCCESS); in rndis_init_handle()
458 rsp->type = sys_cpu_to_le32(RNDIS_CMD_INITIALIZE_COMPLETE); in rndis_init_handle()
459 rsp->len = sys_cpu_to_le32(sizeof(*rsp)); in rndis_init_handle()
462 rsp->major_ver = sys_cpu_to_le32(RNDIS_MAJOR_VERSION); in rndis_init_handle()
463 rsp->minor_ver = sys_cpu_to_le32(RNDIS_MINOR_VERSION); in rndis_init_handle()
465 rsp->flags = sys_cpu_to_le32(RNDIS_FLAG_CONNECTIONLESS); in rndis_init_handle()
466 rsp->medium = sys_cpu_to_le32(RNDIS_MEDIUM_WIRED_ETHERNET); in rndis_init_handle()
[all …]
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dmsosv2.h54 .dwWindowsVersion = sys_cpu_to_le32(SAMPLE_MSOS2_OS_VERSION),
109 .dwWindowsVersion = sys_cpu_to_le32(SAMPLE_MSOS2_OS_VERSION),
/Zephyr-latest/tests/subsys/usb/bos/src/
Dtest_bos.c93 .dwWindowsVersion = sys_cpu_to_le32(0x06030000),
162 .dwWindowsVersion = sys_cpu_to_le32(0x06030000),
/Zephyr-latest/samples/boards/nordic/system_off/src/
Dretained.c69 retained.crc = sys_cpu_to_le32(crc); in retained_update()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gap.c131 sev.current_settings = sys_cpu_to_le32(current_settings); in le_connected()
332 rp->supported_settings = sys_cpu_to_le32(supported_settings); in controller_info()
333 rp->current_settings = sys_cpu_to_le32(current_settings); in controller_info()
492 rp->current_settings = sys_cpu_to_le32(current_settings); in set_powered()
511 rp->current_settings = sys_cpu_to_le32(current_settings); in set_connectable()
590 rp->current_settings = sys_cpu_to_le32(current_settings); in set_discoverable()
612 rp->current_settings = sys_cpu_to_le32(current_settings); in set_bondable()
766 rp->current_settings = sys_cpu_to_le32(current_settings);
807 rp->current_settings = sys_cpu_to_le32(current_settings);
827 rp->current_settings = sys_cpu_to_le32(current_settings);
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/
Dservice_f_1.c238 uint32_t value_v7_conv = sys_cpu_to_le32(*value); in read_value_v7()
262 uint32_t value_v7_conv = sys_cpu_to_le32(*value); in write_value_v7()
299 value_v16_conv.field_c = sys_cpu_to_le32(value->field_c); in read_value_v16()
/Zephyr-latest/subsys/debug/coredump/
Dcoredump_core.c236 m.start = sys_cpu_to_le32(start_addr); in coredump_memory_dump()
237 m.end = sys_cpu_to_le32(end_addr); in coredump_memory_dump()
/Zephyr-latest/drivers/gpio/
Dgpio_pca_series.c944 reg_value = sys_cpu_to_le32(reg_value); in gpio_pca_series_pin_configure()
960 reg_value = sys_cpu_to_le32(reg_value); in gpio_pca_series_pin_configure()
973 reg_value = sys_cpu_to_le32(reg_value); in gpio_pca_series_pin_configure()
1000 reg_value = sys_cpu_to_le32(reg_value); in gpio_pca_series_pin_configure()
1022 reg_value = sys_cpu_to_le32(reg_value); in gpio_pca_series_pin_configure()
1169 out = sys_cpu_to_le32(out); in gpio_pca_series_port_write()
1295 int_rise = sys_cpu_to_le32(int_rise); in gpio_pca_series_pin_interrupt_configure_standard()
1302 int_fall = sys_cpu_to_le32(int_fall); in gpio_pca_series_pin_interrupt_configure_standard()
1315 input_latch = sys_cpu_to_le32(input_latch); in gpio_pca_series_pin_interrupt_configure_standard()
1324 int_mask = sys_cpu_to_le32(int_mask); in gpio_pca_series_pin_interrupt_configure_standard()
[all …]
/Zephyr-latest/drivers/misc/ft8xx/
Dft8xx_common.c35 *(uint32_t *)buffer = sys_cpu_to_le32(data); in ft8xx_wr32()
/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c48 dst->id = sys_cpu_to_le32(dst->id); in mcp251xfd_canframe_to_txobj()
49 dst->flags = sys_cpu_to_le32(dst->flags); in mcp251xfd_canframe_to_txobj()
304 *reg = sys_cpu_to_le32(tmp); in mcp251xfd_set_tdc()
350 *reg = sys_cpu_to_le32(reg_con); in mcp251xfd_set_mode_internal()
467 *reg = sys_cpu_to_le32(tmp); in mcp251xfd_set_timing_data()
580 *reg = sys_cpu_to_le32(tmp); in mcp251xfd_add_rx_filter()
596 *reg = sys_cpu_to_le32(tmp); in mcp251xfd_add_rx_filter()
1364 *reg = sys_cpu_to_le32(tmp); in mcp251xfd_init_osc_reg()
1397 *reg = sys_cpu_to_le32(tmp); in mcp251xfd_init_iocon_reg()
1413 *reg = sys_cpu_to_le32(tmp); in mcp251xfd_init_int_reg()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/hci_test_app/src/
Dmain.c81 int le_error = sys_cpu_to_le32(error); in error_response()
293 net_buf_add_le32(evt, sys_cpu_to_le32(k_uptime_get())); in queue_event()
349 sys_cpu_to_le32(k_uptime_get())); in service_events()
361 sys_cpu_to_le32(k_uptime_get())); in service_events()
574 response.status = sys_cpu_to_le32(err); in le_data_write()
691 response.status = sys_cpu_to_le32(err); in le_iso_data_write()
/Zephyr-latest/tests/subsys/usb/os_desc/src/
Dusb_osdesc.c49 .dwLength = sys_cpu_to_le32(40),
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_ncm.c748 .downlink = sys_cpu_to_le32(usb_speed), in cdc_ncm_send_speed_change()
749 .uplink = sys_cpu_to_le32(usb_speed), in cdc_ncm_send_speed_change()
933 .dwNtbInMaxSize = sys_cpu_to_le32(CDC_NCM_SEND_NTB_MAX_SIZE), in usbd_cdc_ncm_cth()
938 .dwNtbOutMaxSize = sys_cpu_to_le32(CDC_NCM_RECV_NTB_MAX_SIZE), in usbd_cdc_ncm_cth()
952 .dwNtbInMaxSize = sys_cpu_to_le32(CDC_NCM_SEND_NTB_MAX_SIZE), in usbd_cdc_ncm_cth()
1048 ntb->nth.dwSignature = sys_cpu_to_le32(NTH16_SIGNATURE); in cdc_ncm_send()
1052 ntb->ndp.dwSignature = sys_cpu_to_le32(NDP16_SIGNATURE_NCM0); in cdc_ncm_send()
1242 .bmEthernetStatistics = sys_cpu_to_le32(0), \
/Zephyr-latest/include/zephyr/sys/
Dbyteorder.h224 #define sys_cpu_to_le32(val) (val) macro
270 #define sys_cpu_to_le32(val) BSWAP_32(val) macro
/Zephyr-latest/arch/arm64/core/
Delf.c276 *(uint32_t *)loc = sys_cpu_to_le32(opcode); in movw_reloc_handler()
399 *(uint32_t *)loc = sys_cpu_to_le32(opcode); in imm_reloc_handler()
/Zephyr-latest/samples/subsys/usb/webusb/src/
Dmain.c153 .dwWindowsVersion = sys_cpu_to_le32(0x06030000),
/Zephyr-latest/subsys/bluetooth/audio/
Dmcs.c201 int32_t duration_le = sys_cpu_to_le32(duration); in read_track_duration()
223 int32_t position_le = sys_cpu_to_le32(position); in read_track_position()
707 uint32_t opcodes_le = sys_cpu_to_le32(opcodes); in read_opcodes_supported()
1058 int32_t duration_le = sys_cpu_to_le32(duration); in notify_cb()
1066 int32_t position_le = sys_cpu_to_le32(position); in notify_cb()
1158 uint32_t opcodes_le = sys_cpu_to_le32(opcodes); in notify_cb()
Dpacs.c399 uint32_t location = sys_cpu_to_le32(pacs_snk_location); in snk_loc_read()
504 uint32_t location = sys_cpu_to_le32(pacs_src_location); in src_loc_read()
688 location_le = sys_cpu_to_le32(pacs_snk_location); in pac_notify_loc()
694 location_le = sys_cpu_to_le32(pacs_src_location); in pac_notify_loc()
/Zephyr-latest/samples/subsys/dap/src/
Dmain.c132 .dwWindowsVersion = sys_cpu_to_le32(0x06030000),
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c2256 rp->timestamp = sys_cpu_to_le32(timestamp); in le_read_iso_tx_sync()
2295 rp->received_cnt = sys_cpu_to_le32(received_cnt); in le_iso_read_test_counters()
2296 rp->missed_cnt = sys_cpu_to_le32(missed_cnt); in le_iso_read_test_counters()
2297 rp->failed_cnt = sys_cpu_to_le32(failed_cnt); in le_iso_read_test_counters()
2329 rp->tx_unacked_packets = sys_cpu_to_le32(tx_unacked_packets); in le_read_iso_link_quality()
2330 rp->tx_flushed_packets = sys_cpu_to_le32(tx_flushed_packets); in le_read_iso_link_quality()
2332 sys_cpu_to_le32(tx_last_subevent_packets); in le_read_iso_link_quality()
2333 rp->retransmitted_packets = sys_cpu_to_le32(retransmitted_packets); in le_read_iso_link_quality()
2334 rp->crc_error_packets = sys_cpu_to_le32(crc_error_packets); in le_read_iso_link_quality()
2335 rp->rx_unreceived_packets = sys_cpu_to_le32(rx_unreceived_packets); in le_read_iso_link_quality()
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Dl2cap_br.c1287 opt_qos->token_rate = sys_cpu_to_le32(0x00000000); in l2cap_br_conf_opt_qos()
1289 opt_qos->token_bucket_size = sys_cpu_to_le32(0x00000000); in l2cap_br_conf_opt_qos()
1291 opt_qos->peak_bandwidth = sys_cpu_to_le32(0x00000000); in l2cap_br_conf_opt_qos()
1293 opt_qos->latency = sys_cpu_to_le32(0xFFFFFFFF); in l2cap_br_conf_opt_qos()
1295 opt_qos->delay_variation = sys_cpu_to_le32(0xFFFFFFFF); in l2cap_br_conf_opt_qos()

12