/Zephyr-latest/drivers/disk/nvme/ |
D | nvme_namespace.c | 18 uint32_t nvme_namespace_get_sector_size(struct nvme_namespace *ns) in nvme_namespace_get_sector_size() argument 22 flbas_fmt = (ns->data.flbas >> NVME_NS_DATA_FLBAS_FORMAT_SHIFT) & in nvme_namespace_get_sector_size() 24 lbads = (ns->data.lbaf[flbas_fmt] >> NVME_NS_DATA_LBAF_LBADS_SHIFT) & in nvme_namespace_get_sector_size() 30 uint64_t nvme_namespace_get_num_sectors(struct nvme_namespace *ns) in nvme_namespace_get_num_sectors() argument 32 return ns->data.nsze; in nvme_namespace_get_num_sectors() 35 uint64_t nvme_namespace_get_size(struct nvme_namespace *ns) in nvme_namespace_get_size() argument 37 return nvme_namespace_get_num_sectors(ns) * in nvme_namespace_get_size() 38 nvme_namespace_get_sector_size(ns); in nvme_namespace_get_size() 41 uint32_t nvme_namespace_get_flags(struct nvme_namespace *ns) in nvme_namespace_get_flags() argument 43 return ns->flags; in nvme_namespace_get_flags() [all …]
|
D | nvme_disk.c | 24 struct nvme_namespace *ns = CONTAINER_OF(disk->name, in nvme_disk_read() local 39 payload_size = num_sector * nvme_namespace_get_sector_size(ns); in nvme_disk_read() 48 nvme_namespace_read_cmd(&request->cmd, ns->id, in nvme_disk_read() 54 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_read() 59 start_sector, num_sector, ns->name); in nvme_disk_read() 73 struct nvme_namespace *ns = CONTAINER_OF(disk->name, in nvme_disk_write() local 88 payload_size = num_sector * nvme_namespace_get_sector_size(ns); in nvme_disk_write() 97 nvme_namespace_write_cmd(&request->cmd, ns->id, in nvme_disk_write() 103 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_write() 108 start_sector, num_sector, ns->name); in nvme_disk_write() [all …]
|
D | nvme_namespace.h | 175 uint32_t nvme_namespace_get_sector_size(struct nvme_namespace *ns); 177 uint64_t nvme_namespace_get_num_sectors(struct nvme_namespace *ns); 179 uint64_t nvme_namespace_get_size(struct nvme_namespace *ns); 181 uint32_t nvme_namespace_get_flags(struct nvme_namespace *ns); 183 const char *nvme_namespace_get_serial_number(struct nvme_namespace *ns); 185 const char *nvme_namespace_get_model_number(struct nvme_namespace *ns); 188 nvme_namespace_get_data(struct nvme_namespace *ns); 190 uint32_t nvme_namespace_get_stripesize(struct nvme_namespace *ns); 192 int nvme_namespace_construct(struct nvme_namespace *ns, 196 int nvme_namespace_disk_setup(struct nvme_namespace *ns,
|
/Zephyr-latest/tests/benchmarks/latency_measure/ |
D | README.rst | 61 ….k_to_k - Context switch via k_yield : 315 cycles , 2625 ns : 62 …x.k_to_k - Context switch via k_yield : 315 cycles , 2625 ns : 63 …ad.kernel - Return from ISR to interrupted thread : 289 cycles , 2416 ns : 64 ….kernel - Return from ISR to another thread : 374 cycles , 3124 ns : 65 …ernel - Create thread : 382 cycles , 3191 ns : 66 …rnel - Start thread : 394 cycles , 3291 ns : 67 …kernel - Suspend thread : 289 cycles , 2416 ns : 68 …ernel - Resume thread : 339 cycles , 2833 ns : 69 …rnel - Abort thread : 339 cycles , 2833 ns : 70 … - Add data to FIFO (no ctx switch) : 214 cycles , 1791 ns : [all …]
|
/Zephyr-latest/tests/kernel/timer/timer_api/src/ |
D | timer_convert.c | 110 TESTFUNC(ns, cyc, floor, 32) 111 TESTFUNC(ns, cyc, floor, 64) 112 TESTFUNC(ns, cyc, near, 32) 113 TESTFUNC(ns, cyc, near, 64) 114 TESTFUNC(ns, cyc, ceil, 32) 115 TESTFUNC(ns, cyc, ceil, 64) 116 TESTFUNC(ns, ticks, floor, 32) 117 TESTFUNC(ns, ticks, floor, 64) 118 TESTFUNC(ns, ticks, near, 32) 119 TESTFUNC(ns, ticks, near, 64) [all …]
|
/Zephyr-latest/doc/services/tfm/ |
D | requirements.rst | 12 - ``mps2/an521/cpu0/ns`` (qemu supported) 14 - ``mps3/corstone300/an547/ns`` (qemu supported) 16 - ``bl5340_dvk/nrf5340/cpuapp/ns`` 20 - ``nrf9160dk/nrf9160/ns`` 22 - ``nrf5340dk/nrf5340/cpuapp/ns`` 24 - ``b_u585i_iot02a/stm32u585xx/ns`` 26 - ``nucleo_l552ze_q/stm32l552xx/ns`` 28 - ``stm32l562e_dk/stm32l562xx/ns`` 30 - ``v2m_musca_b1/musca_b1/ns`` 32 - ``v2m_musca_s1/musca_s1/ns``
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/ |
D | radio_nrf5.h | 19 #define HAL_RADIO_NS2US_CEIL(ns) ((ns + 999)/1000) argument 20 #define HAL_RADIO_NS2US_ROUND(ns) ((ns + 500)/1000) argument
|
/Zephyr-latest/samples/drivers/led/led_strip/boards/ |
D | mimxrt1050_evk_mimxrt1052_hyperflash.overlay | 20 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 21 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
|
D | mimxrt1050_evk_qspi.overlay | 20 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 21 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
|
D | esp32c3_devkitm.overlay | 23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
|
D | esp32s2_saola.overlay | 23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
|
D | esp32s3_devkitm_procpu.overlay | 23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
|
/Zephyr-latest/lib/posix/options/ |
D | clock.c | 198 uint64_t ns; in __z_clock_nanosleep() local 220 ns = rqtp->tv_nsec + NSEC_PER_SEC + in __z_clock_nanosleep() 223 ns = (uint64_t)rqtp->tv_sec * NSEC_PER_SEC + rqtp->tv_nsec; in __z_clock_nanosleep() 230 ns -= rt_clock_base.tv_sec * NSEC_PER_SEC + rt_clock_base.tv_nsec; in __z_clock_nanosleep() 235 ns += uptime_ns; in __z_clock_nanosleep() 238 if (ns <= uptime_ns) { in __z_clock_nanosleep() 242 us = DIV_ROUND_UP(ns, NSEC_PER_USEC); in __z_clock_nanosleep()
|
/Zephyr-latest/samples/boards/nordic/coresight_stm/src/ |
D | main.c | 51 uint32_t ns = t_to_ns(t, rpt, CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC); in timing_report() local 53 LOG_RAW("%s: Timing for %s: %d.%dus\n", core_name, str, ns / 1000, (ns % 1000) / 10); in timing_report()
|
/Zephyr-latest/boards/espressif/esp32c3_rust/ |
D | esp32c3_rust.dts | 75 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 76 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
|
/Zephyr-latest/boards/adafruit/qt_py_esp32s3/ |
D | adafruit_qt_py_esp32s3_procpu.dts | 103 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 104 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
|
/Zephyr-latest/samples/tfm_integration/tfm_ipc/ |
D | README.rst | 36 #. Build Zephyr with a non-secure configuration (``-DBOARD=mps2/an521/cpu0/ns``). 43 cmake -DBOARD=mps2/an521/cpu0/ns .. 50 $ west build -p -b mps2/an521/cpu0/ns zephyr/samples/tfm_integration/tfm_ipc 85 The MPS2+ AN521 target (``mps2/an521/cpu0/ns``), which is based on a 102 $ west build -b mps2/an521/cpu0/ns zephyr/samples/tfm_integration/tfm_ipc -t run 121 $ west build -b nucleo_l552ze_q/stm32l552xx/ns samples/tfm_integration/tfm_ipc/ 127 $ west build -b stm32l562e_dk/stm32l562xx/ns samples/tfm_integration/tfm_ipc/ 178 (``-DBOARD=nrf5340dk/nrf5340/cpuapp/ns`` or ``-DBOARD=nrf9160dk/nrf9160/ns``). 187 cmake -GNinja -DBOARD=nrf9160dk/nrf9160/ns .. 210 (``-DBOARD=bl5340_dvk/nrf5340/cpuapp/ns``). [all …]
|
/Zephyr-latest/tests/posix/common/src/ |
D | nanosleep.c | 149 uint32_t ns) in common_lower_bound_check() argument 157 struct timespec req = {s, ns}; in common_lower_bound_check() 167 zassert_equal(req.tv_nsec, ns, "actual: %d expected: %d", req.tv_nsec, ns); in common_lower_bound_check() 185 exp_ns = (uint64_t)s * NSEC_PER_SEC + ns; in common_lower_bound_check()
|
/Zephyr-latest/samples/subsys/ipc/rpmsg_service/ |
D | Kconfig.sysbuild | 10 default "v2m_musca_b1/musca_b1/ns" if $(BOARD) = "v2m_musca_b1"
|
/Zephyr-latest/modules/trusted-firmware-m/nordic/nrf5340_cpuapp/ |
D | CMakeLists.txt | 13 install(FILES ${CMAKE_CURRENT_LIST_DIR}/ns/cpuarch_ns.cmake
|
/Zephyr-latest/kernel/paging/ |
D | statistics.c | 39 #define NS_TO_CYC(ns) (CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC / 1000000U * ns) argument
|
/Zephyr-latest/tests/lib/lockfree/src/ |
D | test_mpsc.c | 227 uint64_t ns = timing_cycles_to_ns(cycles); in ZTEST() local 229 TC_PRINT("%llu ns for %d iterations, %llu ns per op\n", ns, in ZTEST() 230 THROUGHPUT_ITERS, ns/THROUGHPUT_ITERS); in ZTEST()
|
D | test_spsc.c | 260 uint64_t ns = timing_cycles_to_ns(cycles); in ZTEST() local 262 TC_PRINT("%llu ns for %d iterations, %llu ns per op\n", ns, in ZTEST() 263 THROUGHPUT_ITERS, ns/THROUGHPUT_ITERS); in ZTEST()
|
/Zephyr-latest/samples/subsys/ipc/openamp/ |
D | Kconfig.sysbuild | 12 default "v2m_musca_b1/musca_b1/ns" if $(BOARD) = "v2m_musca_b1"
|
/Zephyr-latest/samples/tfm_integration/psa_crypto/ |
D | README.rst | 89 (``-DBOARD=mps2/an521/cpu0/ns``). 96 west build -p -b mps2/an521/cpu0/ns samples/tfm_integration/psa_crypto 105 cmake -GNinja -DBOARD=mps2/an521/cpu0/ns .. 115 cmake -DBOARD=mps2/an521/cpu0/ns .. 142 Build Zephyr with a non-secure configuration (``-DBOARD=mps2/an521/cpu0/ns``) 150 west build -p -b mps2/an521/cpu0/ns samples/tfm_integration/psa_crypto -t run 159 cmake -GNinja -DBOARD=mps2/an521/cpu0/ns .. 169 cmake -DBOARD=mps2/an521/cpu0/ns .. 203 (``-DBOARD=nrf5340dk/nrf5340/cpuapp/ns`` or ``-DBOARD=nrf9160dk/nrf9160/ns``). 212 cmake -GNinja -DBOARD=nrf9160dk/nrf9160/ns .. [all …]
|