Home
last modified time | relevance | path

Searched full:ns (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/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/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/samples/tfm_integration/tfm_ipc/
Dsample.yaml3 Zephyr on the NS side, using IPC.
12 - mps2/an521/cpu0/ns
13 - nrf5340dk/nrf5340/cpuapp/ns
14 - nrf9160dk/nrf9160/ns
15 - nucleo_l552ze_q/stm32l552xx/ns
16 - stm32l562e_dk/stm32l562xx/ns
17 - v2m_musca_s1/musca_s1/ns
18 - bl5340_dvk/nrf5340/cpuapp/ns
19 - b_u585i_iot02a/stm32u585xx/ns
21 - mps2/an521/cpu0/ns
[all …]
/Zephyr-latest/samples/drivers/led/led_strip/
Df070rb-bindings.h14 * 0 bit: 300 ns high and 900 ns low.
15 * 1 bit: 900 ns high and 300 ns low.
17 * At 6 MHz, one bit represents 166.666 ns.
18 * 1200 ns -> 7.2 bits
19 * 300 ns -> 1.8 bits
20 * 900 ns -> 5.4 bits
/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/samples/tfm_integration/psa_protected_storage/
Dsample.yaml7 - mps2/an521/cpu0/ns
8 - v2m_musca_s1/musca_s1/ns
9 - nrf5340dk/nrf5340/cpuapp/ns
10 - nrf9160dk/nrf9160/ns
11 - bl5340_dvk/nrf5340/cpuapp/ns
12 - lpcxpresso55s69/lpc55s69/cpu0/ns
14 - mps2/an521/cpu0/ns
/Zephyr-latest/tests/arch/arm/arm_thread_swap_tz/
Dtestcase.yaml12 - mps3/corstone300/an547/ns
13 - nucleo_l552ze_q/stm32l552xx/ns
15 - mps2/an521/cpu0/ns
21 - mps3/corstone300/an547/ns
22 - nucleo_l552ze_q/stm32l552xx/ns
24 - mps2/an521/cpu0/ns
/Zephyr-latest/samples/tfm_integration/config_build/
Dsample.yaml8 - v2m_musca_s1/musca_s1/ns
9 - nrf5340dk/nrf5340/cpuapp/ns
10 - nrf9160dk/nrf9160/ns
11 - bl5340_dvk/nrf5340/cpuapp/ns
13 - nrf5340dk/nrf5340/cpuapp/ns
28 - stm32l562e_dk/stm32l562xx/ns
/Zephyr-latest/samples/tfm_integration/tfm_secure_partition/
Dsample.yaml5 - mps2/an521/cpu0/ns
6 - v2m_musca_s1/musca_s1/ns
7 - nrf5340dk/nrf5340/cpuapp/ns
8 - nrf9160dk/nrf9160/ns
9 - lpcxpresso55s69/lpc55s69/cpu0/ns
11 - mps2/an521/cpu0/ns
/Zephyr-latest/samples/tfm_integration/psa_crypto/
Dsample.yaml17 - mps2/an521/cpu0/ns
18 - v2m_musca_s1/musca_s1/ns
19 - nrf5340dk/nrf5340/cpuapp/ns
20 - nrf9160dk/nrf9160/ns
21 - stm32l562e_dk/stm32l562xx/ns
22 - bl5340_dvk/nrf5340/cpuapp/ns
24 - mps2/an521/cpu0/ns
/Zephyr-latest/boards/arm/mps3/
Dboard.yml10 - name: 'ns'
13 - name: 'ns'
16 - name: 'ns'
21 - name: 'ns'
24 - name: 'ns'
/Zephyr-latest/soc/nordic/
Dsoc.yml92 - nrf5340/cpuapp/ns
95 - nrf9131/ns
98 - nrf9151/ns
101 - nrf9160/ns
104 - nrf9161/ns
152 - nrf5340/cpuapp/ns
155 - nrf9131/ns
158 - nrf9151/ns
161 - nrf9160/ns
164 - nrf9161/ns
[all …]
/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/dts/bindings/led_strip/
Dws2812.yaml15 A 0 bit's pulse width is between 200 and 500 ns. A 1 bit's is
16 at least 550 ns, with 700 ns or so typical. Pixel order is GRB.
28 0 bit: 300 ns high and 900 ns low.
29 1 bit: 900 ns high and 300 ns low.
31 There is a +/- 80 ns tolerance for each timing.
/Zephyr-latest/samples/tfm_integration/tfm_psa_test/
Dsample.yaml6 - mps2/an521/cpu0/ns
7 - nrf5340dk/nrf5340/cpuapp/ns
8 - nrf9160dk/nrf9160/ns
9 - nrf9161dk/nrf9161/ns
10 - v2m_musca_s1/musca_s1/ns
15 - mps2/an521/cpu0/ns
/Zephyr-latest/samples/tfm_integration/tfm_regression_test/
Dsample.yaml8 - nrf5340dk/nrf5340/cpuapp/ns
9 - nrf9160dk/nrf9160/ns
10 - nrf9161dk/nrf9161/ns
11 - v2m_musca_s1/musca_s1/ns
13 - nrf5340dk/nrf5340/cpuapp/ns
/Zephyr-latest/include/zephyr/dt-bindings/led/
Dseagate_legend_b1414.h11 * At 6 MHz: 1 bit in 166.666 ns
12 * 1200 ns -> 7.2 bits
13 * 300 ns -> 1.8 bits
14 * 900 ns -> 5.4 bits
Dworldsemi_ws2812c.h11 * At 7 MHz: 1 bit in 142.86 ns
12 * 1090 ns -> 7.6 bits
13 * 300 ns -> 2.1 bits
14 * 790 ns -> 5.5 bits
/Zephyr-latest/tests/posix/common/src/
Dnanosleep.c136 * @p ns (in nanoseconds).
138 * @note The time specified by @p s and @p ns is assumed to be absolute (i.e. a time-point)
146 * @param ns Partial lower bound for yielded time (in nanoseconds)
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()
205 /* sleep for 1ns */ in ZTEST()
208 /* sleep for 1us + 1ns */ in ZTEST()
211 /* sleep for 500000000ns */ in ZTEST()
[all …]
/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 */

12345678910>>...14