Home
last modified time | relevance | path

Searched full:rcp (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.rcp.ll3 declare float @llvm.amdgcn.rcp.f32(float) #0
4 declare double @llvm.amdgcn.rcp.f64(double) #0
12 %rcp = call float @llvm.amdgcn.rcp.f32(float undef)
13 store float %rcp, float addrspace(1)* %out, align 4
22 %rcp = fdiv float 1.0, %src
23 store float %rcp, float addrspace(1)* %out, align 4
32 %rcp = fdiv float 1.0, %src
33 store float %rcp, float addrspace(1)* %out, align 4
40 %rcp = fdiv float 1.0, %src
41 store float %rcp, float addrspace(1)* %out, align 4
[all …]
/external/openthread/tests/scripts/expect/
Dposix-rcp-restoration.exp51 set rcp_pid [exec $::env(OT_SIMULATION_APPS)/ncp/ot-rcp 1 < $radio_pty > $radio_pty &]
52 puts "RCP PID: $rcp_pid"
59 spawn_node 1 "rcp" "spinel+hdlc_uart://$host_pty"
93 set rcp_pid [exec $::env(OT_SIMULATION_APPS)/ncp/ot-rcp 1 < $radio_pty > $radio_pty &]
94 puts "RCP PID: $rcp_pid"
112 set rcp_pid [exec $::env(OT_SIMULATION_APPS)/ncp/ot-rcp 2 < $radio_pty > $radio_pty &]
113 puts "RCP PID: $rcp_pid"
116 spawn_node 2 "rcp" "spinel+hdlc_uart://$host_pty"
147 set rcp_pid [exec $::env(OT_SIMULATION_APPS)/ncp/ot-rcp 2 < $radio_pty > $radio_pty &]
148 puts "RCP PID: $rcp_pid"
[all …]
Dposix-diag-rcp.exp34 send "diag rcp\n"
39 send "diag rcp\n"
42 send "diag rcp channel\n"
44 send "diag rcp channel 11\n"
46 send "diag rcp power\n"
48 send "diag rcp power 10\n"
50 send "diag rcp echo\n"
52 send "diag rcp echo 0123456789\n"
55 send "diag rcp echo -n 0\n"
57 send "diag rcp echo -n 253\n"
Dposix-ccathreshold.exp32 spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-ar…
42 spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-ar…
52 spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-ar…
62 spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-ar…
68 spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-ar…
/external/openthread/src/posix/
DREADME.md36 # Only build RCP so that it goes faster
45 ./build/posix/src/posix/ot-cli 'spinel+hdlc+forkpty://build/simulation/examples/apps/ncp/ot-rcp?for…
54 To build and program the device with RCP application, complete the following steps:
74 4. Build the RCP example for the hardware platform and the transport of your choice:
90 This creates an RCP image at `build/bin/ot-rcp`.
95 arm-none-eabi-objcopy -O ihex build/bin/ot-rcp build/bin/ot-rcp.hex
106 # Generate the RCP firmware package:
108 --application build/bin/ot-rcp.hex --application-version 1 build/bin/ot-rcp.zip
114 # Install the RCP firmware package onto the dongle
115 nrfutil dfu usb-serial -pkg build/bin/ot-rcp.zip -p /dev/ttyACM0
[all …]
/external/openthread/src/ncp/
Dradio.cmake29 add_library(openthread-rcp)
31 target_compile_definitions(openthread-rcp PRIVATE
39 target_compile_definitions(openthread-rcp PRIVATE OPENTHREAD_CONFIG_NCP_HDLC_ENABLE=0)
41 target_compile_definitions(openthread-rcp PRIVATE OPENTHREAD_CONFIG_NCP_HDLC_ENABLE=1)
44 target_compile_options(openthread-rcp PRIVATE
48 target_include_directories(openthread-rcp PUBLIC ${OT_PUBLIC_INCLUDES} PRIVATE ${COMMON_INCLUDES})
50 target_sources(openthread-rcp PRIVATE ${COMMON_SOURCES})
51 target_include_directories(openthread-rcp PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
53 target_link_libraries(openthread-rcp
57 openthread-spinel-rcp
[all …]
/external/openthread/examples/apps/ncp/
Drcp.cmake29 add_executable(ot-rcp
34 target_include_directories(ot-rcp PRIVATE ${COMMON_INCLUDES})
40 target_link_libraries(ot-rcp PRIVATE
41 openthread-rcp
45 openthread-rcp
52 target_link_libraries(ot-rcp PRIVATE -Wl,-map,ot-rcp.map)
54 target_link_libraries(ot-rcp PRIVATE -Wl,-Map=ot-rcp.map)
58 install(TARGETS ot-rcp DESTINATION bin)
/external/openthread/src/core/diags/
DREADME.md426 ### diag rcp
428 RCP-related diagnostics commands. These commands are used for debugging and testing only.
430 #### diag rcp start argument
432 Start RCP diagnostics mode.
435 > diag rcp start
439 #### diag rcp stop argument
441 Stop RCP diagnostics mode.
444 > diag rcp stop
448 #### diag rcp channel \<channel\> argument
450 Set the RCP IEEE 802.15.4 Channel value for diagnostics module.
[all …]
/external/openthread/tests/unit/
DCMakeLists.txt67 add_library(ot-test-platform-rcp
77 target_include_directories(ot-test-platform-rcp
87 target_compile_options(ot-test-platform-rcp
93 target_compile_options(ot-test-platform-rcp
107 target_link_libraries(ot-test-platform-rcp
126 ot-test-platform-rcp
127 openthread-rcp
274 add_executable(ot-test-multipan-rcp-instances
278 target_include_directories(ot-test-multipan-rcp-instances
283 target_compile_options(ot-test-multipan-rcp-instances
[all …]
/external/XNNPACK/scripts/
Dgenerate-f16-vsigmoid.sh45 …6-vsigmoid/avx2.c.in -D BATCH_TILE=8 -D DIV_ALGO=rcp -o src/f16-vsigmoid/gen/vsigmoid-avx2-rr1-p2…
46 …6-vsigmoid/avx2.c.in -D BATCH_TILE=16 -D DIV_ALGO=rcp -o src/f16-vsigmoid/gen/vsigmoid-avx2-rr1-p2…
47 …6-vsigmoid/avx2.c.in -D BATCH_TILE=24 -D DIV_ALGO=rcp -o src/f16-vsigmoid/gen/vsigmoid-avx2-rr1-p2…
48 …6-vsigmoid/avx2.c.in -D BATCH_TILE=32 -D DIV_ALGO=rcp -o src/f16-vsigmoid/gen/vsigmoid-avx2-rr1-p2…
49 …6-vsigmoid/avx2.c.in -D BATCH_TILE=40 -D DIV_ALGO=rcp -o src/f16-vsigmoid/gen/vsigmoid-avx2-rr1-p2…
50 …6-vsigmoid/avx2.c.in -D BATCH_TILE=48 -D DIV_ALGO=rcp -o src/f16-vsigmoid/gen/vsigmoid-avx2-rr1-p2…
51 …6-vsigmoid/avx2.c.in -D BATCH_TILE=56 -D DIV_ALGO=rcp -o src/f16-vsigmoid/gen/vsigmoid-avx2-rr1-p2…
52 …6-vsigmoid/avx2.c.in -D BATCH_TILE=64 -D DIV_ALGO=rcp -o src/f16-vsigmoid/gen/vsigmoid-avx2-rr1-p2…
/external/openthread/src/lib/spinel/
DCMakeLists.txt31 add_library(openthread-spinel-rcp)
46 target_compile_definitions(openthread-spinel-rcp PRIVATE
61 target_compile_options(openthread-spinel-rcp PRIVATE
82 …target_compile_definitions(openthread-spinel-rcp PUBLIC "OPENTHREAD_SPINEL_CONFIG_VENDOR_HOOK_ENAB…
84 …target_compile_definitions(openthread-spinel-rcp PUBLIC "OPENTHREAD_SPINEL_CONFIG_VENDOR_HOOK_HEAD…
92 target_include_directories(openthread-spinel-rcp PUBLIC ${OT_PUBLIC_INCLUDES} PRIVATE ${COMMON_INCL…
102 target_sources(openthread-spinel-rcp PRIVATE ${COMMON_SOURCES})
120 target_link_libraries(openthread-spinel-rcp
Dradio_spinel.cpp58 false; ///< RCP supports `LOG_STREAM` property with OpenThread log meta-data format.
60 bool RadioSpinel::sSupportsResetToBootloader = false; ///< RCP supports resetting into bootloader m…
62 bool RadioSpinel::sSupportsLogCrashDump = false; ///< RCP supports logging a crash dump.
159 LogDebg("RCP supports crash dump logging. Requesting crash dump."); in Init()
207 … LogCrit("Spinel version mismatch - Posix:%d.%d, RCP:%d.%d", SPINEL_PROTOCOL_VERSION_THREAD_MAJOR, in CheckSpinelVersion()
220 LogCrit("The co-processor isn't a RCP!"); in InitializeCaps()
226 LogCrit("RCP capability list does not include support for radio/raw mode"); in InitializeCaps()
252 LogCrit("RCP is missing required capabilities: "); in CheckRadioCapabilities()
278 // Make sure RCP is not too old and its version is within the in CheckRcpApiVersion()
287 LogCrit("RCP and host are using incompatible API versions"); in CheckRcpApiVersion()
[all …]
Dspinel_interface.hpp31 * This file includes definitions for the spinel interface to Radio Co-processor (RCP)
65 * Initializes the interface to the Radio Co-processor (RCP)
80 * Deinitializes the interface to the RCP.
85 * Encodes and sends a spinel frame to Radio Co-processor (RCP) over the socket.
129 * Hardware resets the RCP.
131 * @retval OT_ERROR_NONE Successfully reset the RCP.
137 * Returns the RCP interface metrics.
139 * @returns The RCP interface metrics.
Dopenthread-spinel-config.h47 …* Specifies the rx frame buffer size used by `SpinelInterface` in RCP host (posix) code. This is a…
84 * Defines the max count of RCP failures allowed to be recovered.
85 * 0 means to disable RCP failure recovering.
104 * Define 1 to abort the host when receiving unexpected reset from RCP.
113 * This setting configures the interval (in units of microseconds) for host-rcp
114 * time sync. The host will recalculate the time offset between host and RCP
Dradio_spinel_metrics.h47 uint32_t mRcpTimeoutCount; ///< The number of RCP timeouts.
48 uint32_t mRcpUnexpectedResetCount; ///< The number of RCP unexpected resets.
49 uint32_t mRcpRestorationCount; ///< The number of RCP restorations.
54 * Represents RCP interface metrics.
58 uint8_t mRcpInterfaceType; ///< The RCP interface type.
/external/openthread/tests/gtest/
DCMakeLists.txt69 add_library(ot-fake-rcp
72 target_link_libraries(ot-fake-rcp
74 openthread-rcp
80 add_executable(ot-radio-spinel-rcp-gtest
83 target_link_libraries(ot-radio-spinel-rcp-gtest
84 ot-fake-rcp
88 gtest_discover_tests(ot-radio-spinel-rcp-gtest)
/external/openthread/include/openthread/platform/
Dmultipan.h34 * Multipan RCP is a feature that allows single RCP operate in multiple networks.
36 * Currently we support two types of multipan RCP:
37 …* - Full multipan: RCP operates in parallel on both networks (for example using more than one tr…
38 …* - Switching RCP: RCP can communicate only with one network at a time and requires network swit…
42 …* Full multipan RCP and Automatic Switching RCP do not require any special care from the host si…
43 * Manual Switching RCP requires host to switch currently active network.
/external/openthread/src/posix/platform/
Dvendor_interface.hpp31 * This file includes definitions for the vendor interface to radio (RCP).
48 * Defines a vendor interface to the Radio Co-processor (RCP).
66 * Initializes the interface to the Radio Co-processor (RCP).
81 * Deinitializes the interface to the RCP.
86 * Encodes and sends a spinel frame to Radio Co-processor (RCP) over the socket.
130 * Hardware resets the RCP.
132 * @retval OT_ERROR_NONE Successfully reset the RCP.
138 * Returns the RCP interface metrics.
140 * @returns The RCP interface metrics.
Dhdlc_interface.hpp31 * This file includes definitions for the HDLC interface to radio (RCP).
49 * Defines an HDLC interface to the Radio Co-processor (RCP)
69 * Initializes the interface to the Radio Co-processor (RCP)
84 * Deinitializes the interface to the RCP.
89 * Encodes and sends a spinel frame to Radio Co-processor (RCP) over the socket.
135 * Hardware resets the RCP.
137 * @retval OT_ERROR_NONE Successfully reset the RCP.
143 * Returns the RCP interface metrics.
145 * @returns The RCP interface metrics.
165 * Is called when RCP is reset to recreate the connection with it.
[all …]
Dspi_interface.hpp31 * This file includes definitions for the SPI interface to radio (RCP).
52 * Defines an SPI interface to the Radio Co-processor (RCP).
72 * Initializes the interface to the Radio Co-processor (RCP).
87 * Deinitializes the interface to the RCP.
92 * Encodes and sends a spinel frame to Radio Co-processor (RCP) over the socket.
136 * Hardware resets the RCP.
138 * @retval OT_ERROR_NONE Successfully reset the RCP.
144 * Returns the RCP interface metrics.
146 * @returns The RCP interface metrics.
Dvendor.cmake39 add_library(rcp-vendor-intf ${OT_POSIX_CONFIG_RCP_VENDOR_INTERFACE})
41 target_link_libraries(rcp-vendor-intf PUBLIC ot-posix-config)
43 target_include_directories(rcp-vendor-intf
54 target_link_libraries(openthread-posix PUBLIC rcp-vendor-intf)
59 target_link_libraries(rcp-vendor-intf PRIVATE ${OT_POSIX_CONFIG_RCP_VENDOR_TARGET})
/external/mesa3d/src/compiler/nir/
Dnir_lower_idiv.c34 nir_def *rcp = nir_frcp(bld, nir_u2f32(bld, denom)); in emit_udiv() local
35 rcp = nir_f2u32(bld, nir_fmul_imm(bld, rcp, 4294966784.0)); in emit_udiv()
38 nir_imul(bld, rcp, nir_ineg(bld, denom)); in emit_udiv()
39 rcp = nir_iadd(bld, rcp, nir_umul_high(bld, rcp, neg_rcp_times_denom)); in emit_udiv()
43 nir_def *quotient = nir_umul_high(bld, numer, rcp); in emit_udiv()
111 nir_def *rcp = nir_iadd_imm(b, nir_frcp(b, q), 1); in convert_instr_small() local
114 nir_def *res = nir_fmul(b, p, rcp); in convert_instr_small()
/external/openthread/src/android/thread_network_hal/
Dhal_interface.hpp31 * This file includes definitions for the IPC binder interface to radio (RCP).
54 * This class defines an IPC Binder interface to the Radio Co-processor (RCP).
75 * This method initializes the interface to the Radio Co-processor (RCP).
93 * This method deinitializes the interface to the RCP.
99 * This method encodes and sends a spinel frame to Radio Co-processor (RCP) over the socket.
148 * This method hardware resets the RCP. It will be called after a software reset fails.
150 * @retval OT_ERROR_NONE Successfully reset the RCP.
157 * Returns the RCP interface metrics.
159 * @returns The RCP interface metrics.
/external/openthread/tools/cp-caps/
DCHANGE_LOG.md7 - Test whether the RCP supports all diag commands.
8 - Test whether the RCP supports the CSL transmitter.
9 - Test whether the RCP supports data poll.
10 - Test whether the RCP supports link metrics.
/external/openthread/script/
Dtest144 …# This is because the simulation RCP will have the SPINEL_CAP_RCP_RESET_TO_BOOTLOADER capabi…
145 …# causing the ot-cli POSIX app to send the reset to simulation RCP successfully instead of p…
154 if [[ ${OT_NODE_TYPE} == rcp* ]]; then
160 if [[ ${VIRTUAL_TIME} == 1 ]] && [[ ${OT_NODE_TYPE} == rcp* ]]; then
161 …OT_CMAKE_NINJA_TARGET=ot-rcp OT_CMAKE_BUILD_DIR="${OT_BUILDDIR}/openthread-simulation-${version}" …
170 if [[ ${VIRTUAL_TIME} == 1 ]] && [[ ${OT_NODE_TYPE} == rcp* ]]; then
171 …OT_CMAKE_NINJA_TARGET=ot-rcp OT_CMAKE_BUILD_DIR="${OT_BUILDDIR}/openthread-simulation-${version}-b…
228 if [[ ${OT_NODE_TYPE} == rcp* ]]; then
279 rcp | rcp-cli | cli)
282 rcp-ncp | ncp)
[all …]

12345678910>>...15