Searched refs:ADDR_SIZE (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/misc/ft8xx/ |
D | ft8xx_drv.c | 37 #define ADDR_SIZE 3 macro 40 #define MAX_READ_LEN (UINT16_MAX - ADDR_SIZE - DUMMY_READ_SIZE) 41 #define MAX_WRITE_LEN (UINT16_MAX - ADDR_SIZE) 90 uint8_t addr_buf[ADDR_SIZE]; in ft8xx_drv_write() 123 uint8_t dummy_read_buf[ADDR_SIZE + DUMMY_READ_SIZE]; in ft8xx_drv_read() 124 uint8_t addr_buf[ADDR_SIZE]; in ft8xx_drv_read()
|
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 358 #define ADDR_SIZE(family) ((family == AF_INET) ? \ macro 387 peer_addr_len = ADDR_SIZE(family); in test_getpeername() 392 ret = zsock_connect(sock_c, &srv_addr, ADDR_SIZE(family)); in test_getpeername() 396 peer_addr_len = ADDR_SIZE(family); in test_getpeername() 399 zassert_mem_equal(&peer_addr, &srv_addr, ADDR_SIZE(family), in test_getpeername() 411 ret = zsock_bind(sock_s, &srv_addr, ADDR_SIZE(family)); in test_getpeername() 417 peer_addr_len = ADDR_SIZE(family); in test_getpeername() 422 ret = zsock_connect(sock_c, &srv_addr, ADDR_SIZE(family)); in test_getpeername() 426 peer_addr_len = ADDR_SIZE(family); in test_getpeername() 429 zassert_mem_equal(&peer_addr, &srv_addr, ADDR_SIZE(family), in test_getpeername() [all …]
|