Home
last modified time | relevance | path

Searched refs:sys_le32_to_cpu (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-latest/drivers/flash/
Djesd216.c36 && (sys_le32_to_cpu(bfp->dw10[5]) & BIT(9))) { in jesd216_bfp_read_support()
42 && (sys_le32_to_cpu(bfp->dw10[9]) & BIT(9))) { in jesd216_bfp_read_support()
50 if (sys_le32_to_cpu(bfp->dw1) & BIT(16)) { in jesd216_bfp_read_support()
51 uint32_t dw4 = sys_le32_to_cpu(bfp->dw4); in jesd216_bfp_read_support()
57 if (sys_le32_to_cpu(bfp->dw1) & BIT(22)) { in jesd216_bfp_read_support()
58 uint32_t dw3 = sys_le32_to_cpu(bfp->dw3); in jesd216_bfp_read_support()
65 uint32_t dw17 = sys_le32_to_cpu(bfp->dw10[7]); in jesd216_bfp_read_support()
73 if (sys_le32_to_cpu(bfp->dw1) & BIT(20)) { in jesd216_bfp_read_support()
74 uint32_t dw4 = sys_le32_to_cpu(bfp->dw4); in jesd216_bfp_read_support()
80 if (sys_le32_to_cpu(bfp->dw1) & BIT(21)) { in jesd216_bfp_read_support()
[all …]
Djesd216.h119 return sys_le32_to_cpu(hp->magic); in jesd216_sfdp_magic()
196 uint32_t dw1 = sys_le32_to_cpu(hp->dw1); in jesd216_bfp_addrbytes()
206 uint32_t dw = sys_le32_to_cpu(hp->dw2); in jesd216_bfp_density()
360 uint32_t dw11 = sys_le32_to_cpu(bfp->dw10[1]); in jesd216_bfp_page_size()
/Zephyr-latest/drivers/disk/nvme/
Dnvme.h347 s->ver = sys_le32_to_cpu(s->ver); in nvme_controller_data_swapbytes()
348 s->rtd3r = sys_le32_to_cpu(s->rtd3r); in nvme_controller_data_swapbytes()
349 s->rtd3e = sys_le32_to_cpu(s->rtd3e); in nvme_controller_data_swapbytes()
350 s->oaes = sys_le32_to_cpu(s->oaes); in nvme_controller_data_swapbytes()
351 s->ctratt = sys_le32_to_cpu(s->ctratt); in nvme_controller_data_swapbytes()
360 s->hmpre = sys_le32_to_cpu(s->hmpre); in nvme_controller_data_swapbytes()
361 s->hmmin = sys_le32_to_cpu(s->hmmin); in nvme_controller_data_swapbytes()
362 s->rpmbs = sys_le32_to_cpu(s->rpmbs); in nvme_controller_data_swapbytes()
368 s->sanicap = sys_le32_to_cpu(s->sanicap); in nvme_controller_data_swapbytes()
369 s->hmminds = sys_le32_to_cpu(s->hmminds); in nvme_controller_data_swapbytes()
[all …]
Dnvme_namespace.h146 s->anagrpid = sys_le32_to_cpu(s->anagrpid); in nvme_namespace_data_swapbytes()
150 s->lbaf[i] = sys_le32_to_cpu(s->lbaf[i]); in nvme_namespace_data_swapbytes()
Dnvme_cmd.h530 cpl->cdw0 = sys_le32_to_cpu(cpl->cdw0); in nvme_completion_swapbytes()
/Zephyr-latest/subsys/fs/ext2/
Dext2_diskops.c34 sb->s_inodes_count = sys_le32_to_cpu(disk_sb->s_inodes_count); in fill_sblock()
35 sb->s_blocks_count = sys_le32_to_cpu(disk_sb->s_blocks_count); in fill_sblock()
36 sb->s_free_blocks_count = sys_le32_to_cpu(disk_sb->s_free_blocks_count); in fill_sblock()
37 sb->s_free_inodes_count = sys_le32_to_cpu(disk_sb->s_free_inodes_count); in fill_sblock()
38 sb->s_first_data_block = sys_le32_to_cpu(disk_sb->s_first_data_block); in fill_sblock()
39 sb->s_log_block_size = sys_le32_to_cpu(disk_sb->s_log_block_size); in fill_sblock()
40 sb->s_log_frag_size = sys_le32_to_cpu(disk_sb->s_log_frag_size); in fill_sblock()
41 sb->s_blocks_per_group = sys_le32_to_cpu(disk_sb->s_blocks_per_group); in fill_sblock()
42 sb->s_frags_per_group = sys_le32_to_cpu(disk_sb->s_frags_per_group); in fill_sblock()
43 sb->s_inodes_per_group = sys_le32_to_cpu(disk_sb->s_inodes_per_group); in fill_sblock()
[all …]
Dext2_impl.c242 if (sys_le32_to_cpu(sb->s_log_block_size) != sb->s_log_frag_size) { in ext2_verify_disk_superblock()
248 if (sys_le32_to_cpu(sb->s_rev_level) != EXT2_DYNAMIC_REV) { in ext2_verify_disk_superblock()
277 if ((sys_le32_to_cpu(sb->s_feature_incompat) & EXT2_FEATURE_INCOMPAT_FILETYPE) == 0) { in ext2_verify_disk_superblock()
282 if ((sys_le32_to_cpu(sb->s_feature_incompat) & ~EXT2_FEATURE_INCOMPAT_SUPPORTED) > 0) { in ext2_verify_disk_superblock()
288 if ((sys_le32_to_cpu(sb->s_feature_ro_compat) & ~EXT2_FEATURE_RO_COMPAT_SUPPORTED) > 0) { in ext2_verify_disk_superblock()
296 sys_le32_to_cpu(sb->s_inodes_count), in ext2_verify_disk_superblock()
297 sys_le32_to_cpu(sb->s_blocks_count), in ext2_verify_disk_superblock()
298 sys_le32_to_cpu(sb->s_blocks_per_group), in ext2_verify_disk_superblock()
299 sys_le32_to_cpu(sb->s_inodes_per_group), in ext2_verify_disk_superblock()
300 sys_le32_to_cpu(sb->s_free_inodes_count), in ext2_verify_disk_superblock()
[all …]
/Zephyr-latest/subsys/dfu/boot/
Dmcuboot.c118 v1_raw->header_magic = sys_le32_to_cpu(v1_raw->header_magic); in boot_read_v1_header()
120 sys_le32_to_cpu(v1_raw->image_load_address); in boot_read_v1_header()
122 v1_raw->image_size = sys_le32_to_cpu(v1_raw->image_size); in boot_read_v1_header()
123 v1_raw->image_flags = sys_le32_to_cpu(v1_raw->image_flags); in boot_read_v1_header()
127 sys_le32_to_cpu(v1_raw->version.build_num); in boot_read_v1_header()
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_rndis.c248 sys_le32_to_cpu(hdr->type)); in parse_rndis_header()
252 len = sys_le32_to_cpu(hdr->len); in parse_rndis_header()
257 if (len < sys_le32_to_cpu(hdr->payload_offset) + in parse_rndis_header()
258 sys_le32_to_cpu(hdr->payload_len) + in parse_rndis_header()
265 len, sys_le32_to_cpu(hdr->payload_offset), in parse_rndis_header()
266 sys_le32_to_cpu(hdr->payload_len)); in parse_rndis_header()
516 object_id = sys_le32_to_cpu(cmd->object_id); in rndis_query_handle()
519 sys_le32_to_cpu(cmd->req_id), in rndis_query_handle()
521 sys_le32_to_cpu(cmd->buf_len), in rndis_query_handle()
522 sys_le32_to_cpu(cmd->buf_offset)); in rndis_query_handle()
[all …]
/Zephyr-latest/drivers/sensor/apds9253/
Dapds9253.c106 val->val1 = sys_le32_to_cpu(data->sample_crgb[0]); in apds9253_channel_get()
109 val->val1 = sys_le32_to_cpu(data->sample_crgb[1]); in apds9253_channel_get()
112 val->val1 = sys_le32_to_cpu(data->sample_crgb[2]); in apds9253_channel_get()
115 val->val1 = sys_le32_to_cpu(data->sample_crgb[3]); in apds9253_channel_get()
/Zephyr-latest/drivers/gpio/
Dgpio_pca_series.c608 cache->output = sys_le32_to_cpu(cache->output); in gpio_pca_series_reg_cache_mini_reset()
624 cache->input_old = sys_le32_to_cpu(cache->input_old); in gpio_pca_series_reg_cache_mini_reset()
938 reg_value = sys_le32_to_cpu(reg_value); in gpio_pca_series_pin_configure()
954 reg_value = sys_le32_to_cpu(reg_value); in gpio_pca_series_pin_configure()
967 reg_value = sys_le32_to_cpu(reg_value); in gpio_pca_series_pin_configure()
989 out_old = sys_le32_to_cpu(out_old); in gpio_pca_series_pin_configure()
1009 sys_le32_to_cpu(reg_value); in gpio_pca_series_pin_configure()
1016 reg_value = sys_le32_to_cpu(reg_value); in gpio_pca_series_pin_configure()
1071 value = sys_le32_to_cpu(input_data); in gpio_pca_series_port_read_standard()
1129 *value = sys_le32_to_cpu(input_data); in gpio_pca_series_port_read_extended()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Duuid.c122 sys_le32_to_cpu(tmp5), sys_le16_to_cpu(tmp4), in bt_uuid_to_str()
124 sys_le32_to_cpu(tmp1), sys_le16_to_cpu(tmp0)); in bt_uuid_to_str()
/Zephyr-latest/drivers/misc/ft8xx/
Dft8xx_common.c70 return sys_le32_to_cpu(*(const uint32_t *)buffer); in ft8xx_rd32()
/Zephyr-latest/samples/drivers/jesd216/src/
Dmain.c54 uint32_t dw1 = sys_le32_to_cpu(bfp->dw1); in summarize_dw1()
154 uint32_t dw12 = sys_le32_to_cpu(bfp->dw10[2]); in summarize_dw12()
155 uint32_t dw13 = sys_le32_to_cpu(bfp->dw10[3]); in summarize_dw12()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_ots.c91 props = sys_le32_to_cpu(cp->ots_props); in register_object()
105 obj_data.size.cur = sys_le32_to_cpu(cp->current_size); in register_object()
106 obj_data.size.alloc = sys_le32_to_cpu(cp->alloc_size); in register_object()
/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c207 src->id = sys_le32_to_cpu(src->id); in mcp251xfd_rxobj_to_canframe()
208 src->flags = sys_le32_to_cpu(src->flags); in mcp251xfd_rxobj_to_canframe()
231 dst->timestamp = sys_le32_to_cpu(src->timestamp); in mcp251xfd_rxobj_to_canframe()
269 *reg = sys_le32_to_cpu(*reg); in mcp251xfd_reg_check_value_wtimeout()
324 reg_con = sys_le32_to_cpu(*reg); in mcp251xfd_set_mode_internal()
687 tmp = sys_le32_to_cpu(*reg); in mcp251xfd_get_state()
760 fifosta = sys_le32_to_cpu(regs[0]); in mcp251xfd_handle_fifo_read()
761 ua = sys_le32_to_cpu(regs[1]); in mcp251xfd_handle_fifo_read()
965 tmp = sys_le32_to_cpu(*reg); in mcp251xfd_handle_ivmif()
1608 *reg = sys_le32_to_cpu(*reg); in mcp251xfd_init()
/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c173 rate = sys_le32_to_cpu(dev_data->line_coding.dwDTERate); in cdc_acm_class_handle_req()
176 new_rate = sys_le32_to_cpu(dev_data->line_coding.dwDTERate); in cdc_acm_class_handle_req()
203 sys_le32_to_cpu(dev_data->line_coding.dwDTERate), in cdc_acm_class_handle_req()
899 *val = sys_le32_to_cpu(dev_data->line_coding.dwDTERate); in cdc_acm_line_ctrl_get()
942 cfg->baudrate = sys_le32_to_cpu(dev_data->line_coding.dwDTERate); in cdc_acm_config_get()
/Zephyr-latest/include/zephyr/sys/
Dbyteorder.h223 #define sys_le32_to_cpu(val) (val) macro
269 #define sys_le32_to_cpu(val) BSWAP_32(val) macro
/Zephyr-latest/arch/arm64/core/
Delf.c200 uint32_t opcode = sys_le32_to_cpu(*(uint32_t *)loc); in movw_reloc_handler()
307 uint32_t opcode = sys_le32_to_cpu(*(uint32_t *)loc); in imm_reloc_handler()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_ncm.c360 if (sys_le32_to_cpu(nthdr16->dwSignature) != NTH16_SIGNATURE) { in verify_nth16()
362 (unsigned int)sys_le32_to_cpu(nthdr16->dwSignature)); in verify_nth16()
410 if ((sys_le32_to_cpu(ndphdr16->dwSignature) != NDP16_SIGNATURE_NCM0) && in verify_nth16()
411 (sys_le32_to_cpu(ndphdr16->dwSignature) != NDP16_SIGNATURE_NCM1)) { in verify_nth16()
413 (unsigned int)sys_le32_to_cpu(ndphdr16->dwSignature)); in verify_nth16()
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/
Dservice_f_1.c273 *value = sys_le32_to_cpu(value_v7_conv); in write_value_v7()
/Zephyr-latest/subsys/shell/modules/
Ddevmem_service.c76 value = sys_le32_to_cpu(sys_read32(addr + data_offset)); in memory_dump()
/Zephyr-latest/lib/net_buf/
Dbuf_simple.c249 return sys_le32_to_cpu(val); in net_buf_simple_remove_le32()
532 return sys_le32_to_cpu(val); in net_buf_simple_pull_le32()
/Zephyr-latest/samples/bluetooth/peripheral_csc/src/
Dmain.c154 c_wheel_revs = sys_le32_to_cpu(req->cwr); in write_ctrl_point()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dssp.c771 ssp_auth(conn, sys_le32_to_cpu(evt->passkey)); in bt_hci_user_confirm_req()
788 ssp_auth(conn, sys_le32_to_cpu(evt->passkey)); in bt_hci_user_passkey_notify()

12