Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 25 of 106) sorted by relevance

12345

/Zephyr-latest/drivers/disk/nvme/
Dnvme_namespace.c18 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 …]
Dnvme_disk.c24 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 …]
Dnvme_namespace.h175 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/samples/sensor/stream_fifo/
DREADME.rst80 XL data for lsm6dsv16x@6b 1680572433340ns (0.373229, -0.009569, 9.909734)
81 XL data for lsm6dsv16x@6b 1680639100006ns (0.354089, -0.023924, 9.909734)
82 XL data for lsm6dsv16x@6b 1680705766672ns (0.368444, 0.000000, 9.933659)
83 XL data for lsm6dsv16x@6b 1680772433338ns (0.373229, 0.000000, 9.924089)
84 XL data for lsm6dsv16x@6b 1680839100004ns (0.368444, -0.004784, 9.924089)
85 XL data for lsm6dsv16x@6b 1680905766670ns (0.363659, -0.009569, 9.924089)
86 XL data for lsm6dsv16x@6b 1680972433336ns (0.358874, -0.004784, 9.928874)
87 XL data for lsm6dsv16x@6b 1681039100002ns (0.363659, 0.004784, 9.928874)
88 GY data for lsm6dsv16x@6b 1680572433340ns (0.001524, -0.000609, 0.004269)
89 GY data for lsm6dsv16x@6b 1680639100006ns (-0.001219, 0.002134, 0.004879)
[all …]
/Zephyr-latest/tests/benchmarks/latency_measure/
DREADME.rst61 ….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/
Dtimer_convert.c110 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/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5.h19 #define HAL_RADIO_NS2US_CEIL(ns) ((ns + 999)/1000) argument
20 #define HAL_RADIO_NS2US_ROUND(ns) ((ns + 500)/1000) argument
/Zephyr-latest/doc/services/tfm/
Drequirements.rst12 - ``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/samples/drivers/led/led_strip/boards/
Dmimxrt1050_evk_mimxrt1052_hyperflash.overlay20 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 */
Dmimxrt1050_evk_qspi.overlay20 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 */
Desp32c3_devkitm.overlay23 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 */
Desp32s2_saola.overlay23 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 */
Desp32s3_devkitm_procpu.overlay23 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/
Dclock.c198 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/
Dmain.c51 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/
Desp32c3_rust.dts75 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/
Dadafruit_qt_py_esp32s3_procpu.dts112 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
113 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
/Zephyr-latest/samples/tfm_integration/tfm_ipc/
DREADME.rst36 #. 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/timers/src/
Dnanosleep.c149 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/drivers/rtc/
DKconfig.rx8130ce1 #Copyright (c) 2025 Måns Ansgariusson <mansgariusson@gmail.com>
/Zephyr-latest/samples/subsys/ipc/rpmsg_service/
DKconfig.sysbuild10 default "v2m_musca_b1/musca_b1/ns" if $(BOARD) = "v2m_musca_b1"
/Zephyr-latest/boards/adafruit/feather_esp32s3/
Dadafruit_feather_esp32s3_procpu.dts167 spi-one-frame = <0xf0>; /* 625 ns high and 625 ns low */
168 spi-zero-frame = <0xc0>; /* 312.5 ns high and 937.5 ns low */
/Zephyr-latest/modules/trusted-firmware-m/nordic/nrf5340_cpuapp/
DCMakeLists.txt13 install(FILES ${CMAKE_CURRENT_LIST_DIR}/ns/cpuarch_ns.cmake
/Zephyr-latest/samples/drivers/stepper/generic/
DKconfig11 int "Step interval (ns)"
/Zephyr-latest/kernel/paging/
Dstatistics.c39 #define NS_TO_CYC(ns) (CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC / 1000000U * ns) argument

12345