Home
last modified time | relevance | path

Searched full:layout (Results 1 – 25 of 268) sorted by relevance

1234567891011

/Zephyr-latest/drivers/firmware/scmi/
Dshmem.c32 struct scmi_shmem_layout *layout; in scmi_shmem_get_channel_status() local
35 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_get_channel_status()
37 *status = layout->chan_status; in scmi_shmem_get_channel_status()
51 __weak int scmi_shmem_vendor_read_message(const struct scmi_shmem_layout *layout) in scmi_shmem_vendor_read_message() argument
56 __weak int scmi_shmem_vendor_write_message(struct scmi_shmem_layout *layout) in scmi_shmem_vendor_write_message() argument
63 struct scmi_shmem_layout *layout; in scmi_shmem_read_message() local
69 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_read_message()
80 if (cfg->size < (sizeof(*layout) + msg->len)) { in scmi_shmem_read_message()
86 if (msg->len != (layout->len - sizeof(layout->msg_hdr))) { in scmi_shmem_read_message()
89 (uint32_t)(layout->len - sizeof(layout->msg_hdr))); in scmi_shmem_read_message()
[all …]
/Zephyr-latest/drivers/firmware/scmi/nxp/
Dshmem.c17 int scmi_shmem_vendor_read_message(const struct scmi_shmem_layout *layout) in scmi_shmem_vendor_read_message() argument
19 uint32_t validation_type = layout->res1[0]; in scmi_shmem_vendor_read_message()
22 if (layout->res1[1] != crc32_ieee((const uint8_t *)&layout->msg_hdr, layout->len)) { in scmi_shmem_vendor_read_message()
36 int scmi_shmem_vendor_write_message(struct scmi_shmem_layout *layout) in scmi_shmem_vendor_write_message() argument
38 uint32_t validation_type = layout->res1[0]; in scmi_shmem_vendor_write_message()
41 layout->res1[1] = crc32_ieee((const uint8_t *)&layout->msg_hdr, layout->len); in scmi_shmem_vendor_write_message()
/Zephyr-latest/drivers/flash/
Dflash_page_layout.c15 const struct flash_pages_layout *layout; in flash_get_page_info() local
22 api->page_layout(dev, &layout, &layout_size); in flash_get_page_info()
25 info->size = layout->pages_size; in flash_get_page_info()
32 index_jmp = MIN(index_jmp, layout->pages_count); in flash_get_page_info()
35 if (index_jmp < layout->pages_count) { in flash_get_page_info()
39 layout++; in flash_get_page_info()
61 const struct flash_pages_layout *layout; in z_impl_flash_get_page_count() local
65 api->page_layout(dev, &layout, &layout_size); in z_impl_flash_get_page_count()
68 count += layout->pages_count; in z_impl_flash_get_page_count()
69 layout++; in z_impl_flash_get_page_count()
[all …]
Dflash_andes_qspi.c63 struct flash_pages_layout layout; member
84 struct flash_pages_layout layout; member
671 /* Error if layout page size is not a multiple of smallest in setup_pages_layout()
675 LOG_ERR("layout page %u not compatible with erase size %u", in setup_pages_layout()
680 /* Warn but accept layout page sizes that leave inaccessible in setup_pages_layout()
684 LOG_WRN("layout page %u wastes space with device size %zu", in setup_pages_layout()
688 dev_data->layout.pages_size = layout_page_size; in setup_pages_layout()
689 dev_data->layout.pages_count = flash_size / layout_page_size; in setup_pages_layout()
690 LOG_DBG("layout %zu x %zu By pages", dev_data->layout.pages_count, in setup_pages_layout()
691 dev_data->layout.pages_size); in setup_pages_layout()
[all …]
Dflash_stm32wba_fm.c171 const struct flash_pages_layout **layout, in flash_stm32wba_page_layout() argument
186 *layout = &stm32wba_flash_layout; in flash_stm32wba_page_layout()
215 const struct flash_pages_layout *layout; in stm32_flash_init() local
218 flash_stm32wba_page_layout(dev, &layout, &layout_size); in stm32_flash_init()
221 layout[i].pages_size, layout[i].pages_count); in stm32_flash_init()
Dflash_stm32f7x.c214 * manuals, but the flash layout for a given number of sectors is
225 #error "Unknown flash layout"
269 #error "Unknown flash layout"
273 const struct flash_pages_layout **layout, in flash_stm32_page_layout() argument
278 *layout = stm32f7_flash_layout_single_bank; in flash_stm32_page_layout()
281 *layout = stm32f7_flash_layout_dual_bank; in flash_stm32_page_layout()
286 *layout = stm32f7_flash_layout; in flash_stm32_page_layout()
Dflash_stm32f2x.c175 #error "Unknown flash layout"
187 #error "Unknown flash layout"
192 const struct flash_pages_layout **layout, in flash_stm32_page_layout() argument
197 *layout = stm32f2_flash_layout; in flash_stm32_page_layout()
Dspi_nor.c88 /* Flash page layout can be determined from devicetree. */
89 struct flash_pages_layout layout; member
180 * stores flash size and layout.
194 struct flash_pages_layout layout; member
1389 /* Error if layout page size is not a multiple of smallest in setup_pages_layout()
1393 LOG_ERR("layout page %u not compatible with erase size %u", in setup_pages_layout()
1398 /* Warn but accept layout page sizes that leave inaccessible in setup_pages_layout()
1402 LOG_INF("layout page %u wastes space with device size %zu", in setup_pages_layout()
1406 data->layout.pages_size = layout_page_size; in setup_pages_layout()
1407 data->layout.pages_count = flash_size / layout_page_size; in setup_pages_layout()
[all …]
/Zephyr-latest/dts/bindings/display/
Dled-strip-matrix.yaml15 Use a circulative layout that returns to the left edge of the next row
17 If not set, turn around and go left in a serpentine layout when it reaches
20 * circulative layout
26 * serpentine layout
37 * Start from the right with a serpentine layout
43 * Start from the right with a circulative layout
54 * Start from the bottom with a circulative layout
60 * Start from the bottom with a serpentine layout
85 * 8x4 display with 2 serpentine layout modules
100 * 4x8 display with 2 serpentine layout modules
[all …]
/Zephyr-latest/dts/bindings/gpio/
Dpanasonic,reduced-arduino-header.yaml27 Panasonic's reduced Arduino header is based on the Arduino UNO layout
34 1. Power Supply header exactly, like on Arduino UNO layout.
36 2. Analog Input header, like on Arduino UNO layout, but A4 and A5 are
40 Arduino UNO layout, labeled from D0 at the bottom to D7 at the top, but D6
44 Arduino UNO layout, labeled from D8 at the bottom through D15 at the top,
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/
Dshmem.h79 * @param layout layout of the message
84 int scmi_shmem_vendor_write_message(struct scmi_shmem_layout *layout);
89 * @param layout layout of the message
94 int scmi_shmem_vendor_read_message(const struct scmi_shmem_layout *layout);
/Zephyr-latest/doc/hardware/peripherals/
Dflash.rst13 all flash controller regular memory that layout is accessible via
14 API for retrieving the layout of pages (see :kconfig:option:`CONFIG_FLASH_PAGE_LAYOUT`).
18 API for retrieving the layout of pages).
/Zephyr-latest/dts/bindings/mtd/
Datmel,sam-flash.yaml5 This binding describes the Atmel SAM flash area layout.
8 and the layout of erase-blocks.
10 E.g. the flash area layout of the ATSAM4E16C:
29 This flash area layout would described as:
54 The flash area layout node flash0 should have both this
115 blocks of flash at a time. This property describes the layout of
Dinfineon,xmc4xxx-nv-flash.yaml11 description: Flash page layout description
13 description: Individual flash page layout entry
/Zephyr-latest/drivers/disk/
DKconfig.flash16 bool "Verify flashdisk partition layout"
19 Enable runtime zephyr,flash-disk partition page layout constraints
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_dirops.c85 TC_PRINT("building layout on %s\n", mp->mnt_point); in build_layout()
111 struct testfs_bcmd *layout) in check_layout() argument
114 struct testfs_bcmd *end_layout = testfs_bcmd_end(layout); in check_layout()
116 TC_PRINT("checking layout\n"); in check_layout()
122 int rc = testfs_bcmd_verify_layout(&path, layout, end_layout); in check_layout()
124 zassert_true(rc >= 0, "layout check failed"); in check_layout()
127 "layout found foreign"); in check_layout()
129 struct testfs_bcmd *cp = layout; in check_layout()
138 "Unmatched layout entry"); in check_layout()
199 "layout check failed"); in check_rename()
[all …]
/Zephyr-latest/tests/drivers/mspi/flash/src/
Dmain.c76 const struct flash_pages_layout *layout = NULL; in test_multi_sector_rw() local
84 TC_PRINT("\nTest 0: Get Flash page layout\n"); in test_multi_sector_rw()
88 api->page_layout(flash_dev, &layout, &layout_size); in test_multi_sector_rw()
90 if (layout && layout_size) { in test_multi_sector_rw()
93 TC_PRINT("%2d: 0x%-8X 0x%-8x\n", i, layout[i].pages_count, in test_multi_sector_rw()
94 layout[i].pages_size); in test_multi_sector_rw()
95 min_page_size = MIN(min_page_size, layout[i].pages_size); in test_multi_sector_rw()
/Zephyr-latest/samples/modules/lvgl/demos/
DKconfig36 bool "LVGL flex layout demo"
39 Build flex layout demo application.
/Zephyr-latest/samples/drivers/spi_flash_at45/
DREADME.rst22 enables the flash page layout API which allow show the flash information.
59 To build and flash with flash page layout enabled:
69 layout enabled:
82 layout are enabled:
/Zephyr-latest/subsys/logging/backends/
DKconfig.adsp_mtrace10 using the SOF Linux driver mtrace buffer layout.
/Zephyr-latest/
D.codecov.yml29 layout: "reach, diff, flags, files, footer"
/Zephyr-latest/tests/subsys/fs/multi-fs/src/
Dtest_ram_backend.c66 const struct flash_pages_layout **layout, in test_flash_ram_pages_layout() argument
76 *layout = dev_layout; in test_flash_ram_pages_layout()
/Zephyr-latest/soc/altr/qemu_nios2/
Dlinker.ld11 #include <layout.h>
/Zephyr-latest/soc/altr/zephyr_nios2f/
Dlinker.ld11 #include <layout.h>
/Zephyr-latest/soc/intel/intel_adsp/cavs/include/cavs25/
Dadsp_ipc_regs.h11 * @brief IPC registers layout for Intel ADSP cAVS TGL SoCs.

1234567891011