/Zephyr-Core-3.4.0/soc/riscv/litex-vexriscv/ |
D | soc.h | 17 static inline unsigned char litex_read8(unsigned long addr) in litex_read8() argument 20 return sys_read8(addr); in litex_read8() 26 static inline unsigned short litex_read16(unsigned long addr) in litex_read16() argument 29 return (sys_read8(addr) << 8) in litex_read16() 30 | sys_read8(addr + 0x4); in litex_read16() 32 return sys_read16(addr); in litex_read16() 38 static inline unsigned int litex_read32(unsigned long addr) in litex_read32() argument 41 return (sys_read8(addr) << 24) in litex_read32() 42 | (sys_read8(addr + 0x4) << 16) in litex_read32() 43 | (sys_read8(addr + 0x8) << 8) in litex_read32() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/arch/common/ |
D | sys_bitops.h | 24 static ALWAYS_INLINE void sys_set_bit(mem_addr_t addr, unsigned int bit) in sys_set_bit() argument 26 uint32_t temp = *(volatile uint32_t *)addr; in sys_set_bit() 28 *(volatile uint32_t *)addr = temp | (1 << bit); in sys_set_bit() 31 static ALWAYS_INLINE void sys_clear_bit(mem_addr_t addr, unsigned int bit) in sys_clear_bit() argument 33 uint32_t temp = *(volatile uint32_t *)addr; in sys_clear_bit() 35 *(volatile uint32_t *)addr = temp & ~(1 << bit); in sys_clear_bit() 38 static ALWAYS_INLINE int sys_test_bit(mem_addr_t addr, unsigned int bit) in sys_test_bit() argument 40 uint32_t temp = *(volatile uint32_t *)addr; in sys_test_bit() 45 static ALWAYS_INLINE void sys_set_bits(mem_addr_t addr, unsigned int mask) in sys_set_bits() argument 47 uint32_t temp = *(volatile uint32_t *)addr; in sys_set_bits() [all …]
|
D | sys_io.h | 23 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() argument 25 return *(volatile uint8_t *)addr; in sys_read8() 28 static ALWAYS_INLINE void sys_write8(uint8_t data, mem_addr_t addr) in sys_write8() argument 30 *(volatile uint8_t *)addr = data; in sys_write8() 33 static ALWAYS_INLINE uint16_t sys_read16(mem_addr_t addr) in sys_read16() argument 35 return *(volatile uint16_t *)addr; in sys_read16() 38 static ALWAYS_INLINE void sys_write16(uint16_t data, mem_addr_t addr) in sys_write16() argument 40 *(volatile uint16_t *)addr = data; in sys_write16() 43 static ALWAYS_INLINE uint32_t sys_read32(mem_addr_t addr) in sys_read32() argument 45 return *(volatile uint32_t *)addr; in sys_read32() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/net/ |
D | net_ip.h | 598 static inline bool net_ipv6_is_addr_loopback(struct in6_addr *addr) in net_ipv6_is_addr_loopback() argument 600 return UNALIGNED_GET(&addr->s6_addr32[0]) == 0 && in net_ipv6_is_addr_loopback() 601 UNALIGNED_GET(&addr->s6_addr32[1]) == 0 && in net_ipv6_is_addr_loopback() 602 UNALIGNED_GET(&addr->s6_addr32[2]) == 0 && in net_ipv6_is_addr_loopback() 603 ntohl(UNALIGNED_GET(&addr->s6_addr32[3])) == 1; in net_ipv6_is_addr_loopback() 613 static inline bool net_ipv6_is_addr_mcast(const struct in6_addr *addr) in net_ipv6_is_addr_mcast() argument 615 return addr->s6_addr[0] == 0xFF; in net_ipv6_is_addr_mcast() 621 extern struct net_if_addr *net_if_ipv6_addr_lookup(const struct in6_addr *addr, 631 static inline bool net_ipv6_is_my_addr(struct in6_addr *addr) in net_ipv6_is_my_addr() argument 633 return net_if_ipv6_addr_lookup(addr, NULL) != NULL; in net_ipv6_is_my_addr() [all …]
|
D | ethernet.h | 55 uint8_t addr[6]; member 625 static inline bool net_eth_is_addr_broadcast(struct net_eth_addr *addr) in net_eth_is_addr_broadcast() argument 627 if (addr->addr[0] == 0xff && in net_eth_is_addr_broadcast() 628 addr->addr[1] == 0xff && in net_eth_is_addr_broadcast() 629 addr->addr[2] == 0xff && in net_eth_is_addr_broadcast() 630 addr->addr[3] == 0xff && in net_eth_is_addr_broadcast() 631 addr->addr[4] == 0xff && in net_eth_is_addr_broadcast() 632 addr->addr[5] == 0xff) { in net_eth_is_addr_broadcast() 639 static inline bool net_eth_is_addr_unspecified(struct net_eth_addr *addr) in net_eth_is_addr_unspecified() argument 641 if (addr->addr[0] == 0x00 && in net_eth_is_addr_unspecified() [all …]
|
/Zephyr-Core-3.4.0/arch/arm/core/aarch32/cortex_m/cmse/ |
D | arm_core_cmse.c | 10 int arm_cmse_mpu_region_get(uint32_t addr) in arm_cmse_mpu_region_get() argument 12 cmse_address_info_t addr_info = cmse_TT((void *)addr); in arm_cmse_mpu_region_get() 21 static int arm_cmse_addr_read_write_ok(uint32_t addr, int force_npriv, int rw) in arm_cmse_addr_read_write_ok() argument 25 addr_info = cmse_TTT((void *)addr); in arm_cmse_addr_read_write_ok() 27 addr_info = cmse_TT((void *)addr); in arm_cmse_addr_read_write_ok() 33 int arm_cmse_addr_read_ok(uint32_t addr, int force_npriv) in arm_cmse_addr_read_ok() argument 35 return arm_cmse_addr_read_write_ok(addr, force_npriv, 0); in arm_cmse_addr_read_ok() 38 int arm_cmse_addr_readwrite_ok(uint32_t addr, int force_npriv) in arm_cmse_addr_readwrite_ok() argument 40 return arm_cmse_addr_read_write_ok(addr, force_npriv, 1); in arm_cmse_addr_readwrite_ok() 43 static int arm_cmse_addr_range_read_write_ok(uint32_t addr, uint32_t size, in arm_cmse_addr_range_read_write_ok() argument [all …]
|
/Zephyr-Core-3.4.0/tests/subsys/modbus/src/ |
D | test_modbus_server.c | 24 static int coil_rd(uint16_t addr, bool *state) in coil_rd() argument 26 if (addr >= (sizeof(coils) * 8)) { in coil_rd() 30 if (coils & BIT(addr)) { in coil_rd() 36 LOG_DBG("Coil read, addr %u, %d", addr, (int)*state); in coil_rd() 41 static int coil_wr(uint16_t addr, bool state) in coil_wr() argument 43 if (addr >= (sizeof(coils) * 8)) { in coil_wr() 48 coils |= BIT(addr); in coil_wr() 50 coils &= ~BIT(addr); in coil_wr() 53 LOG_DBG("Coil write, addr %u, %d", addr, (int)state); in coil_wr() 58 static int discrete_input_rd(uint16_t addr, bool *state) in discrete_input_rd() argument [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/host/ |
D | addr.c | 19 static inline int create_random_addr(bt_addr_le_t *addr) in create_random_addr() argument 21 addr->type = BT_ADDR_LE_RANDOM; in create_random_addr() 23 return bt_rand(addr->a.val, 6); in create_random_addr() 26 int bt_addr_le_create_nrpa(bt_addr_le_t *addr) in bt_addr_le_create_nrpa() argument 30 err = create_random_addr(addr); in bt_addr_le_create_nrpa() 35 BT_ADDR_SET_NRPA(&addr->a); in bt_addr_le_create_nrpa() 40 int bt_addr_le_create_static(bt_addr_le_t *addr) in bt_addr_le_create_static() argument 44 err = create_random_addr(addr); in bt_addr_le_create_static() 49 BT_ADDR_SET_STATIC(&addr->a); in bt_addr_le_create_static() 54 int bt_addr_from_str(const char *str, bt_addr_t *addr) in bt_addr_from_str() argument [all …]
|
/Zephyr-Core-3.4.0/samples/bluetooth/peripheral_hids/src/ |
D | main.c | 36 char addr[BT_ADDR_LE_STR_LEN]; in connected() local 38 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in connected() 41 printk("Failed to connect to %s (%u)\n", addr, err); in connected() 45 printk("Connected %s\n", addr); in connected() 54 char addr[BT_ADDR_LE_STR_LEN]; in disconnected() local 56 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in disconnected() 58 printk("Disconnected from %s (reason 0x%02x)\n", addr, reason); in disconnected() 64 char addr[BT_ADDR_LE_STR_LEN]; in security_changed() local 66 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in security_changed() 69 printk("Security changed: %s level %u\n", addr, level); in security_changed() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/arch/ |
D | cache.h | 99 extern int arch_dcache_flush_range(void *addr, size_t size); 101 #define cache_data_flush_range(addr, size) arch_dcache_flush_range(addr, size) argument 115 extern int arch_dcache_invd_range(void *addr, size_t size); 117 #define cache_data_invd_range(addr, size) arch_dcache_invd_range(addr, size) argument 132 extern int arch_dcache_flush_and_invd_range(void *addr, size_t size); 134 #define cache_data_flush_and_invd_range(addr, size) \ argument 135 arch_dcache_flush_and_invd_range(addr, size) 231 extern int arch_icache_flush_range(void *addr, size_t size); 233 #define cache_instr_flush_range(addr, size) arch_icache_flush_range(addr, size) argument 247 extern int arch_icache_invd_range(void *addr, size_t size); [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/arch/arm64/ |
D | sys_io.h | 37 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() argument 41 __asm__ volatile("ldrb %w0, [%1]" : "=r" (val) : "r" (addr)); in sys_read8() 47 static ALWAYS_INLINE void sys_write8(uint8_t data, mem_addr_t addr) in sys_write8() argument 50 __asm__ volatile("strb %w0, [%1]" : : "r" (data), "r" (addr)); in sys_write8() 53 static ALWAYS_INLINE uint16_t sys_read16(mem_addr_t addr) in sys_read16() argument 57 __asm__ volatile("ldrh %w0, [%1]" : "=r" (val) : "r" (addr)); in sys_read16() 63 static ALWAYS_INLINE void sys_write16(uint16_t data, mem_addr_t addr) in sys_write16() argument 66 __asm__ volatile("strh %w0, [%1]" : : "r" (data), "r" (addr)); in sys_write16() 69 static ALWAYS_INLINE uint32_t sys_read32(mem_addr_t addr) in sys_read32() argument 73 __asm__ volatile("ldr %w0, [%1]" : "=r" (val) : "r" (addr)); in sys_read32() [all …]
|
/Zephyr-Core-3.4.0/arch/arm/core/aarch32/cortex_a_r/ |
D | cache.c | 97 uintptr_t addr = (uintptr_t)start_addr; in arch_dcache_flush_range() local 98 uintptr_t end_addr = addr + size; in arch_dcache_flush_range() 102 addr &= ~(line_size - 1); in arch_dcache_flush_range() 104 while (addr < end_addr) { in arch_dcache_flush_range() 105 L1C_CleanDCacheMVA((void *)addr); in arch_dcache_flush_range() 106 addr += line_size; in arch_dcache_flush_range() 115 uintptr_t addr = (uintptr_t)start_addr; in arch_dcache_invd_range() local 116 uintptr_t end_addr = addr + size; in arch_dcache_invd_range() 129 if (addr & (line_size - 1)) { in arch_dcache_invd_range() 130 addr &= ~(line_size - 1); in arch_dcache_invd_range() [all …]
|
/Zephyr-Core-3.4.0/samples/bluetooth/peripheral_sc_only/src/ |
D | main.c | 29 char addr[BT_ADDR_LE_STR_LEN]; in connected() local 31 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in connected() 34 printk("Failed to connect to %s (%u)\n", addr, err); in connected() 38 printk("Connected %s\n", addr); in connected() 47 char addr[BT_ADDR_LE_STR_LEN]; in disconnected() local 49 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in disconnected() 51 printk("Disconnected from %s (reason 0x%02x)\n", addr, reason); in disconnected() 69 char addr[BT_ADDR_LE_STR_LEN]; in security_changed() local 71 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in security_changed() 74 printk("Security changed: %s level %u\n", addr, level); in security_changed() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/arch/nios2/ |
D | asm_inline_gcc.h | 24 static ALWAYS_INLINE void sys_write32(uint32_t data, mm_reg_t addr) in sys_write32() argument 26 __builtin_stwio((void *)addr, data); in sys_write32() 29 static ALWAYS_INLINE uint32_t sys_read32(mm_reg_t addr) in sys_read32() argument 31 return __builtin_ldwio((void *)addr); in sys_read32() 34 static ALWAYS_INLINE void sys_write8(uint8_t data, mm_reg_t addr) in sys_write8() argument 36 sys_write32(data, addr); in sys_write8() 39 static ALWAYS_INLINE uint8_t sys_read8(mm_reg_t addr) in sys_read8() argument 41 return __builtin_ldbuio((void *)addr); in sys_read8() 44 static ALWAYS_INLINE void sys_write16(uint16_t data, mm_reg_t addr) in sys_write16() argument 46 sys_write32(data, addr); in sys_write16() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/ |
D | addr.h | 158 int bt_addr_le_create_nrpa(bt_addr_le_t *addr); 161 int bt_addr_le_create_static(bt_addr_le_t *addr); 170 static inline bool bt_addr_le_is_rpa(const bt_addr_le_t *addr) in bt_addr_le_is_rpa() argument 172 if (addr->type != BT_ADDR_LE_RANDOM) { in bt_addr_le_is_rpa() 176 return BT_ADDR_IS_RPA(&addr->a); in bt_addr_le_is_rpa() 188 static inline bool bt_addr_le_is_identity(const bt_addr_le_t *addr) in bt_addr_le_is_identity() argument 190 if (addr->type == BT_ADDR_LE_PUBLIC) { in bt_addr_le_is_identity() 194 return BT_ADDR_IS_STATIC(&addr->a); in bt_addr_le_is_identity() 225 static inline int bt_addr_to_str(const bt_addr_t *addr, char *str, size_t len) in bt_addr_to_str() argument 228 addr->val[5], addr->val[4], addr->val[3], in bt_addr_to_str() [all …]
|
/Zephyr-Core-3.4.0/tests/drivers/smbus/smbus_api/src/ |
D | test_smbus_qemu.c | 46 for (uint16_t addr = 0; addr < QEMU_SMBUS_EEPROM_SIZE; addr++) { in ZTEST_USER() local 48 uint8_t send_byte = (uint8_t)addr; in ZTEST_USER() 51 ret = smbus_byte_data_write(dev, QEMU_SMBUS_EEPROM_ADDR, addr, in ZTEST_USER() 55 ret = smbus_byte_data_read(dev, QEMU_SMBUS_EEPROM_ADDR, addr, in ZTEST_USER() 63 for (uint16_t addr = 0; addr < QEMU_SMBUS_EEPROM_SIZE; addr += 2) { in ZTEST_USER() local 64 uint16_t send_word = addr; in ZTEST_USER() 67 ret = smbus_word_data_write(dev, QEMU_SMBUS_EEPROM_ADDR, addr, in ZTEST_USER() 71 ret = smbus_word_data_read(dev, QEMU_SMBUS_EEPROM_ADDR, addr, in ZTEST_USER() 79 for (uint16_t addr = 0; addr < QEMU_SMBUS_EEPROM_SIZE; addr++) { in ZTEST_USER() local 81 uint8_t send_byte = (uint8_t)addr; in ZTEST_USER() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/arch/arm/aarch32/cortex_a_r/ |
D | sys_io.h | 28 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() argument 32 __asm__ volatile("ldrb %0, [%1]" : "=r" (val) : "r" (addr)); in sys_read8() 38 static ALWAYS_INLINE void sys_write8(uint8_t data, mem_addr_t addr) in sys_write8() argument 41 __asm__ volatile("strb %0, [%1]" : : "r" (data), "r" (addr)); in sys_write8() 44 static ALWAYS_INLINE uint16_t sys_read16(mem_addr_t addr) in sys_read16() argument 48 __asm__ volatile("ldrh %0, [%1]" : "=r" (val) : "r" (addr)); in sys_read16() 54 static ALWAYS_INLINE void sys_write16(uint16_t data, mem_addr_t addr) in sys_write16() argument 57 __asm__ volatile("strh %0, [%1]" : : "r" (data), "r" (addr)); in sys_write16() 60 static ALWAYS_INLINE uint32_t sys_read32(mem_addr_t addr) in sys_read32() argument 64 __asm__ volatile("ldr %0, [%1]" : "=r" (val) : "r" (addr)); in sys_read32() [all …]
|
/Zephyr-Core-3.4.0/samples/bluetooth/central_multilink/src/ |
D | central_multilink.c | 38 static void device_found(const bt_addr_le_t *addr, int8_t rssi, uint8_t type, in device_found() argument 69 bt_addr_le_to_str(addr, addr_str, sizeof(addr_str)); in device_found() 82 err = bt_conn_le_create(addr, &create_param, &conn_param, in device_found() 143 char addr[BT_ADDR_LE_STR_LEN]; in connected() local 145 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in connected() 148 printk("Failed to connect to %s (%u)\n", addr, reason); in connected() 164 printk("Connected (%u): %s\n", conn_count, addr); in connected() 181 char addr[BT_ADDR_LE_STR_LEN]; in disconnected() local 183 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in disconnected() 185 printk("Disconnected: %s (reason 0x%02x)\n", addr, reason); in disconnected() [all …]
|
/Zephyr-Core-3.4.0/samples/bluetooth/peripheral_identity/src/ |
D | peripheral_identity.c | 76 char addr[BT_ADDR_LE_STR_LEN]; in connected() local 88 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in connected() 90 printk("Connected (%u): %s\n", conn_count, addr); in connected() 95 char addr[BT_ADDR_LE_STR_LEN]; in disconnected() local 97 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in disconnected() 99 printk("Disconnected %s (reason 0x%02x)\n", addr, reason); in disconnected() 110 char addr[BT_ADDR_LE_STR_LEN]; in le_param_req() local 112 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in le_param_req() 115 addr, param->interval_min, param->interval_max, param->latency, in le_param_req() 124 char addr[BT_ADDR_LE_STR_LEN]; in le_param_updated() local [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/ |
D | cache.h | 212 __syscall_always_inline int sys_cache_data_flush_range(void *addr, size_t size); 214 static ALWAYS_INLINE int z_impl_sys_cache_data_flush_range(void *addr, size_t size) in z_impl_sys_cache_data_flush_range() argument 217 return cache_data_flush_range(addr, size); in z_impl_sys_cache_data_flush_range() 219 ARG_UNUSED(addr); in z_impl_sys_cache_data_flush_range() 237 static ALWAYS_INLINE int sys_cache_instr_flush_range(void *addr, size_t size) in sys_cache_instr_flush_range() argument 240 return cache_instr_flush_range(addr, size); in sys_cache_instr_flush_range() 242 ARG_UNUSED(addr); in sys_cache_instr_flush_range() 260 __syscall_always_inline int sys_cache_data_invd_range(void *addr, size_t size); 262 static ALWAYS_INLINE int z_impl_sys_cache_data_invd_range(void *addr, size_t size) in z_impl_sys_cache_data_invd_range() argument 265 return cache_data_invd_range(addr, size); in z_impl_sys_cache_data_invd_range() [all …]
|
/Zephyr-Core-3.4.0/tests/net/socket/ |
D | socket_helpers.h | 13 static inline int prepare_listen_sock_udp_v4(struct sockaddr_in *addr) in prepare_listen_sock_udp_v4() argument 17 zassert_not_null(addr, "null sockaddr"); in prepare_listen_sock_udp_v4() 24 zassert_equal(addr->sin_family, AF_INET, "Invalid family"); in prepare_listen_sock_udp_v4() 26 ret = bind(sock, (struct sockaddr *)addr, sizeof(*addr)); in prepare_listen_sock_udp_v4() 32 static inline int prepare_listen_sock_udp_v6(struct sockaddr_in6 *addr) in prepare_listen_sock_udp_v6() argument 36 zassert_not_null(addr, "null sockaddr"); in prepare_listen_sock_udp_v6() 43 zassert_equal(addr->sin6_family, AF_INET6, "Invalid family"); in prepare_listen_sock_udp_v6() 45 ret = bind(sock, (struct sockaddr *)addr, sizeof(*addr)); in prepare_listen_sock_udp_v6() 51 static inline void prepare_sock_udp_v4(const char *addr, uint16_t port, in prepare_sock_udp_v4() argument 56 zassert_not_null(addr, "null addr"); in prepare_sock_udp_v4() [all …]
|
/Zephyr-Core-3.4.0/samples/subsys/modbus/rtu_server/src/ |
D | main.c | 26 static int coil_rd(uint16_t addr, bool *state) in coil_rd() argument 28 if (addr >= ARRAY_SIZE(led_dev)) { in coil_rd() 32 if (coils_state & BIT(addr)) { in coil_rd() 38 LOG_INF("Coil read, addr %u, %d", addr, (int)*state); in coil_rd() 43 static int coil_wr(uint16_t addr, bool state) in coil_wr() argument 47 if (addr >= ARRAY_SIZE(led_dev)) { in coil_wr() 53 coils_state |= BIT(addr); in coil_wr() 56 coils_state &= ~BIT(addr); in coil_wr() 60 gpio_pin_set(led_dev[addr].port, led_dev[addr].pin, (int)on); in coil_wr() 62 LOG_INF("Coil write, addr %u, %d", addr, (int)state); in coil_wr() [all …]
|
/Zephyr-Core-3.4.0/drivers/cache/ |
D | cache_handlers.c | 10 static inline int z_vrfy_sys_cache_data_flush_range(void *addr, size_t size) in z_vrfy_sys_cache_data_flush_range() argument 12 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(addr, size)); in z_vrfy_sys_cache_data_flush_range() 14 return z_impl_sys_cache_data_flush_range(addr, size); in z_vrfy_sys_cache_data_flush_range() 18 static inline int z_vrfy_sys_cache_data_invd_range(void *addr, size_t size) in z_vrfy_sys_cache_data_invd_range() argument 20 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(addr, size)); in z_vrfy_sys_cache_data_invd_range() 22 return z_impl_sys_cache_data_invd_range(addr, size); in z_vrfy_sys_cache_data_invd_range() 26 static inline int z_vrfy_sys_cache_data_flush_and_invd_range(void *addr, size_t size) in z_vrfy_sys_cache_data_flush_and_invd_range() argument 28 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(addr, size)); in z_vrfy_sys_cache_data_flush_and_invd_range() 30 return z_impl_sys_cache_data_flush_and_invd_range(addr, size); in z_vrfy_sys_cache_data_flush_and_invd_range()
|
/Zephyr-Core-3.4.0/include/zephyr/arch/arc/ |
D | sys-io-common.h | 23 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() argument 28 value = *(volatile uint8_t *)addr; in sys_read8() 34 static ALWAYS_INLINE void sys_write8(uint8_t data, mem_addr_t addr) in sys_write8() argument 37 *(volatile uint8_t *)addr = data; in sys_write8() 41 static ALWAYS_INLINE uint16_t sys_read16(mem_addr_t addr) in sys_read16() argument 46 value = *(volatile uint16_t *)addr; in sys_read16() 52 static ALWAYS_INLINE void sys_write16(uint16_t data, mem_addr_t addr) in sys_write16() argument 55 *(volatile uint16_t *)addr = data; in sys_write16() 59 static ALWAYS_INLINE uint32_t sys_read32(mem_addr_t addr) in sys_read32() argument 64 value = *(volatile uint32_t *)addr; in sys_read32() [all …]
|
/Zephyr-Core-3.4.0/tests/bluetooth/host/keys/bt_keys_find_irk/src/ |
D | main.c | 54 static bool check_if_addr_is_rpa(const bt_addr_le_t *addr) in check_if_addr_is_rpa() argument 56 if (addr->type != BT_ADDR_LE_RANDOM) { in check_if_addr_is_rpa() 60 return BT_ADDR_IS_RPA(&addr->a); in check_if_addr_is_rpa() 63 static bool bt_rpa_irk_matches_unreachable_custom_fake(const uint8_t irk[16], const bt_addr_t *addr) in bt_rpa_irk_matches_unreachable_custom_fake() argument 69 static bool bt_rpa_irk_matches_custom_fake(const uint8_t irk[16], const bt_addr_t *addr) in bt_rpa_irk_matches_custom_fake() argument 71 if (irk[0] != (params_it) && bt_addr_eq(¤t_params_vector->addr->a, addr)) { in bt_rpa_irk_matches_custom_fake() 99 const bt_addr_le_t *addr; in ZTEST() local 107 addr = params_vector->addr; in ZTEST() 109 returned_ref = bt_keys_find_irk(id, addr); in ZTEST() 150 const bt_addr_le_t *addr; in ZTEST() local [all …]
|