Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 628) sorted by relevance

12345678910>>...26

/Zephyr-Core-2.7.6/include/net/
Dnet_ip.h581 static inline bool net_ipv6_is_addr_loopback(struct in6_addr *addr) in net_ipv6_is_addr_loopback() argument
583 return UNALIGNED_GET(&addr->s6_addr32[0]) == 0 && in net_ipv6_is_addr_loopback()
584 UNALIGNED_GET(&addr->s6_addr32[1]) == 0 && in net_ipv6_is_addr_loopback()
585 UNALIGNED_GET(&addr->s6_addr32[2]) == 0 && in net_ipv6_is_addr_loopback()
586 ntohl(UNALIGNED_GET(&addr->s6_addr32[3])) == 1; in net_ipv6_is_addr_loopback()
596 static inline bool net_ipv6_is_addr_mcast(const struct in6_addr *addr) in net_ipv6_is_addr_mcast() argument
598 return addr->s6_addr[0] == 0xFF; in net_ipv6_is_addr_mcast()
604 extern struct net_if_addr *net_if_ipv6_addr_lookup(const struct in6_addr *addr,
614 static inline bool net_ipv6_is_my_addr(struct in6_addr *addr) in net_ipv6_is_my_addr() argument
616 return net_if_ipv6_addr_lookup(addr, NULL) != NULL; in net_ipv6_is_my_addr()
[all …]
Dethernet.h55 uint8_t addr[6]; member
616 static inline bool net_eth_is_addr_broadcast(struct net_eth_addr *addr) in net_eth_is_addr_broadcast() argument
618 if (addr->addr[0] == 0xff && in net_eth_is_addr_broadcast()
619 addr->addr[1] == 0xff && in net_eth_is_addr_broadcast()
620 addr->addr[2] == 0xff && in net_eth_is_addr_broadcast()
621 addr->addr[3] == 0xff && in net_eth_is_addr_broadcast()
622 addr->addr[4] == 0xff && in net_eth_is_addr_broadcast()
623 addr->addr[5] == 0xff) { in net_eth_is_addr_broadcast()
630 static inline bool net_eth_is_addr_unspecified(struct net_eth_addr *addr) in net_eth_is_addr_unspecified() argument
632 if (addr->addr[0] == 0x00 && in net_eth_is_addr_unspecified()
[all …]
/Zephyr-Core-2.7.6/soc/riscv/litex-vexriscv/
Dsoc.h23 static inline unsigned char litex_read8(unsigned long addr) in litex_read8() argument
25 return sys_read8(addr); in litex_read8()
28 static inline unsigned short litex_read16(unsigned long addr) in litex_read16() argument
30 return (sys_read8(addr) << 8) in litex_read16()
31 | sys_read8(addr + 0x4); in litex_read16()
34 static inline unsigned int litex_read32(unsigned long addr) in litex_read32() argument
36 return (sys_read8(addr) << 24) in litex_read32()
37 | (sys_read8(addr + 0x4) << 16) in litex_read32()
38 | (sys_read8(addr + 0x8) << 8) in litex_read32()
39 | sys_read8(addr + 0xc); in litex_read32()
[all …]
/Zephyr-Core-2.7.6/include/arch/common/
Dsys_bitops.h24 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()
46 void sys_bitfield_set_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_set_bit() argument
51 sys_set_bit(addr + ((bit >> 5) << 2), bit & 0x1F); in sys_bitfield_set_bit()
[all …]
Dsys_io.h23 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-2.7.6/arch/arm/core/aarch32/cortex_m/cmse/
Darm_core_cmse.c10 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-2.7.6/tests/subsys/modbus/src/
Dtest_modbus_server.c24 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-2.7.6/include/bluetooth/
Daddr.h115 int bt_addr_le_create_nrpa(bt_addr_le_t *addr);
118 int bt_addr_le_create_static(bt_addr_le_t *addr);
127 static inline bool bt_addr_le_is_rpa(const bt_addr_le_t *addr) in bt_addr_le_is_rpa() argument
129 if (addr->type != BT_ADDR_LE_RANDOM) { in bt_addr_le_is_rpa()
133 return BT_ADDR_IS_RPA(&addr->a); in bt_addr_le_is_rpa()
145 static inline bool bt_addr_le_is_identity(const bt_addr_le_t *addr) in bt_addr_le_is_identity() argument
147 if (addr->type == BT_ADDR_LE_PUBLIC) { in bt_addr_le_is_identity()
151 return BT_ADDR_IS_STATIC(&addr->a); in bt_addr_le_is_identity()
184 static inline int bt_addr_to_str(const bt_addr_t *addr, char *str, size_t len) in bt_addr_to_str() argument
187 addr->val[5], addr->val[4], addr->val[3], in bt_addr_to_str()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Daddr.c17 static inline int create_random_addr(bt_addr_le_t *addr) in create_random_addr() argument
19 addr->type = BT_ADDR_LE_RANDOM; in create_random_addr()
21 return bt_rand(addr->a.val, 6); in create_random_addr()
24 int bt_addr_le_create_nrpa(bt_addr_le_t *addr) in bt_addr_le_create_nrpa() argument
28 err = create_random_addr(addr); in bt_addr_le_create_nrpa()
33 BT_ADDR_SET_NRPA(&addr->a); in bt_addr_le_create_nrpa()
38 int bt_addr_le_create_static(bt_addr_le_t *addr) in bt_addr_le_create_static() argument
42 err = create_random_addr(addr); in bt_addr_le_create_static()
47 BT_ADDR_SET_STATIC(&addr->a); in bt_addr_le_create_static()
52 int bt_addr_from_str(const char *str, bt_addr_t *addr) in bt_addr_from_str() argument
[all …]
Dkeys.c58 if (bt_addr_cmp(&key->addr.a, &key_pool[kdata->id].addr.a) == 0) { in find_key_in_use()
76 struct bt_keys *bt_keys_get_addr(uint8_t id, const bt_addr_le_t *addr) in bt_keys_get_addr() argument
82 BT_DBG("%s", bt_addr_le_str(addr)); in bt_keys_get_addr()
87 if (keys->id == id && !bt_addr_le_cmp(&keys->addr, addr)) { in bt_keys_get_addr()
91 !bt_addr_le_cmp(&keys->addr, BT_ADDR_LE_ANY)) { in bt_keys_get_addr()
115 BT_DBG("unable to create keys for %s", bt_addr_le_str(addr)); in bt_keys_get_addr()
120 bt_addr_le_copy(&oldest_addr, &oldest->addr); in bt_keys_get_addr()
122 if (!bt_addr_le_cmp(&oldest->addr, BT_ADDR_LE_ANY)) { in bt_keys_get_addr()
131 bt_addr_le_copy(&keys->addr, addr); in bt_keys_get_addr()
136 BT_DBG("created %p for %s", keys, bt_addr_le_str(addr)); in bt_keys_get_addr()
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/peripheral_hids/src/
Dmain.c36 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-2.7.6/include/arch/arm64/
Dsys_io.h36 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() argument
40 __asm__ volatile("ldrb %w0, [%1]" : "=r" (val) : "r" (addr)); in sys_read8()
46 static ALWAYS_INLINE void sys_write8(uint8_t data, mem_addr_t addr) in sys_write8() argument
49 __asm__ volatile("strb %w0, [%1]" : : "r" (data), "r" (addr)); in sys_write8()
52 static ALWAYS_INLINE uint16_t sys_read16(mem_addr_t addr) in sys_read16() argument
56 __asm__ volatile("ldrh %w0, [%1]" : "=r" (val) : "r" (addr)); in sys_read16()
62 static ALWAYS_INLINE void sys_write16(uint16_t data, mem_addr_t addr) in sys_write16() argument
65 __asm__ volatile("strh %w0, [%1]" : : "r" (data), "r" (addr)); in sys_write16()
68 static ALWAYS_INLINE uint32_t sys_read32(mem_addr_t addr) in sys_read32() argument
72 __asm__ volatile("ldr %w0, [%1]" : "=r" (val) : "r" (addr)); in sys_read32()
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/peripheral_sc_only/src/
Dmain.c29 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-2.7.6/tests/net/socket/
Dsocket_helpers.h13 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-2.7.6/include/arch/nios2/
Dasm_inline_gcc.h24 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-2.7.6/samples/subsys/modbus/rtu_server/src/
Dmain.c24 static int coil_rd(uint16_t addr, bool *state) in coil_rd() argument
26 if (addr >= ARRAY_SIZE(led_dev)) { in coil_rd()
30 if (coils_state & BIT(addr)) { in coil_rd()
36 LOG_INF("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
45 if (addr >= ARRAY_SIZE(led_dev)) { in coil_wr()
51 coils_state |= BIT(addr); in coil_wr()
54 coils_state &= ~BIT(addr); in coil_wr()
58 gpio_pin_set(led_dev[addr].port, led_dev[addr].pin, (int)on); in coil_wr()
60 LOG_INF("Coil write, addr %u, %d", addr, (int)state); in coil_wr()
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/peripheral_identity/src/
Dperipheral_identity.c71 char addr[BT_ADDR_LE_STR_LEN]; in connected() local
83 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in connected()
85 printk("Connected (%u): %s\n", conn_count, addr); in connected()
90 char addr[BT_ADDR_LE_STR_LEN]; in disconnected() local
92 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in disconnected()
94 printk("Disconnected %s (reason 0x%02x)\n", addr, reason); in disconnected()
104 char addr[BT_ADDR_LE_STR_LEN]; in le_param_req() local
106 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in le_param_req()
109 addr, param->interval_min, param->interval_max, param->latency, in le_param_req()
118 char addr[BT_ADDR_LE_STR_LEN]; in le_param_updated() local
[all …]
/Zephyr-Core-2.7.6/drivers/flash/
Dsoc_flash_nrf.c50 static int write_synchronously(off_t addr, const void *data, size_t len);
53 static int erase_synchronously(uint32_t addr, uint32_t size);
89 static int write(off_t addr, const void *data, size_t len);
90 static int erase(uint32_t addr, uint32_t size);
97 static inline bool is_regular_addr_valid(off_t addr, size_t len) in is_regular_addr_valid() argument
101 if (addr >= flash_size || in is_regular_addr_valid()
102 addr < 0 || in is_regular_addr_valid()
104 (addr) + len > flash_size) { in is_regular_addr_valid()
112 static inline bool is_uicr_addr_valid(off_t addr, size_t len) in is_uicr_addr_valid() argument
115 if (addr >= (off_t)NRF_UICR + sizeof(*NRF_UICR) || in is_uicr_addr_valid()
[all …]
/Zephyr-Core-2.7.6/include/arch/arm/aarch32/cortex_a_r/
Dsys_io.h27 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() argument
29 uint8_t val = *(volatile uint8_t *)addr; in sys_read8()
35 static ALWAYS_INLINE void sys_write8(uint8_t data, mem_addr_t addr) in sys_write8() argument
38 *(volatile uint8_t *)addr = data; in sys_write8()
41 static ALWAYS_INLINE uint16_t sys_read16(mem_addr_t addr) in sys_read16() argument
43 uint16_t val = *(volatile uint16_t *)addr; in sys_read16()
49 static ALWAYS_INLINE void sys_write16(uint16_t data, mem_addr_t addr) in sys_write16() argument
52 *(volatile uint16_t *)addr = data; in sys_write16()
55 static ALWAYS_INLINE uint32_t sys_read32(mem_addr_t addr) in sys_read32() argument
57 uint32_t val = *(volatile uint32_t *)addr; in sys_read32()
[all …]
/Zephyr-Core-2.7.6/include/bluetooth/mesh/
Dcfg_cli.h51 int bt_mesh_cfg_node_reset(uint16_t net_idx, uint16_t addr, bool *status);
68 int bt_mesh_cfg_comp_data_get(uint16_t net_idx, uint16_t addr, uint8_t page,
81 int bt_mesh_cfg_beacon_get(uint16_t net_idx, uint16_t addr, uint8_t *status);
92 int bt_mesh_cfg_krp_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx,
106 int bt_mesh_cfg_krp_set(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx,
121 int bt_mesh_cfg_beacon_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *status);
131 int bt_mesh_cfg_ttl_get(uint16_t net_idx, uint16_t addr, uint8_t *ttl);
142 int bt_mesh_cfg_ttl_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *ttl);
154 int bt_mesh_cfg_friend_get(uint16_t net_idx, uint16_t addr, uint8_t *status);
169 int bt_mesh_cfg_friend_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *status);
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/central_multilink/src/
Dcentral_multilink.c37 static void device_found(const bt_addr_le_t *addr, int8_t rssi, uint8_t type, in device_found() argument
67 bt_addr_le_to_str(addr, addr_str, sizeof(addr_str)); in device_found()
79 err = bt_conn_le_create(addr, &create_param, &conn_param, in device_found()
140 char addr[BT_ADDR_LE_STR_LEN]; in connected() local
142 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in connected()
145 printk("Failed to connect to %s (%u)\n", addr, reason); in connected()
161 printk("Connected (%u): %s\n", conn_count, addr); in connected()
178 char addr[BT_ADDR_LE_STR_LEN]; in disconnected() local
180 bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); in disconnected()
182 printk("Disconnected: %s (reason 0x%02x)\n", addr, reason); in disconnected()
[all …]
/Zephyr-Core-2.7.6/include/arch/arc/
Dsys-io-common.h23 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-2.7.6/include/
Dcache.h51 extern int cache_data_range(void *addr, size_t size, int op);
57 extern int cache_instr_range(void *addr, size_t size, int op);
68 #define cache_data_range(addr, size, op) arch_dcache_range(addr, size, op)
70 #define cache_instr_range(addr, size, op) arch_icache_range(addr, size, op)
87 __syscall int sys_cache_data_range(void *addr, size_t size, int op);
88 static inline int z_impl_sys_cache_data_range(void *addr, size_t size, int op) in z_impl_sys_cache_data_range() argument
91 return cache_data_range(addr, size, op); in z_impl_sys_cache_data_range()
93 ARG_UNUSED(addr); in z_impl_sys_cache_data_range()
111 __syscall int sys_cache_instr_range(void *addr, size_t size, int op);
112 static inline int z_impl_sys_cache_instr_range(void *addr, size_t size, int op) in z_impl_sys_cache_instr_range() argument
[all …]
/Zephyr-Core-2.7.6/tests/net/neighbor/src/
Dmain.c98 lladdr.addr = eth_addr->addr; in test_neighbor()
104 net_sprint_ll_addr(lladdr.addr, lladdr.len), in test_neighbor()
109 net_sprint_ll_addr(eth_addr->addr, in test_neighbor()
114 lladdr.addr = addrs[0]->addr; in test_neighbor()
121 lladdr.addr = eth_addr->addr; in test_neighbor()
125 net_sprint_ll_addr(lladdr.addr, lladdr.len), in test_neighbor()
129 net_sprint_ll_addr(eth_addr->addr, in test_neighbor()
158 lladdr.addr = eth_addr->addr; in test_neighbor()
162 net_sprint_ll_addr(lladdr.addr, lladdr.len), in test_neighbor()
164 printk("Adding %s\n", net_sprint_ll_addr(eth_addr->addr, in test_neighbor()
[all …]
/Zephyr-Core-2.7.6/include/arch/x86/
Darch.h95 static ALWAYS_INLINE void sys_write8(uint8_t data, mm_reg_t addr) in sys_write8() argument
99 : "q"(data), "m" (*(volatile uint8_t *)(uintptr_t) addr) in sys_write8()
103 static ALWAYS_INLINE uint8_t sys_read8(mm_reg_t addr) in sys_read8() argument
109 : "m" (*(volatile uint8_t *)(uintptr_t) addr) in sys_read8()
115 static ALWAYS_INLINE void sys_write16(uint16_t data, mm_reg_t addr) in sys_write16() argument
119 : "r"(data), "m" (*(volatile uint16_t *)(uintptr_t) addr) in sys_write16()
123 static ALWAYS_INLINE uint16_t sys_read16(mm_reg_t addr) in sys_read16() argument
129 : "m" (*(volatile uint16_t *)(uintptr_t) addr) in sys_read16()
135 static ALWAYS_INLINE void sys_write32(uint32_t data, mm_reg_t addr) in sys_write32() argument
139 : "r"(data), "m" (*(volatile uint32_t *)(uintptr_t) addr) in sys_write32()
[all …]

12345678910>>...26