Searched refs:TO_DEVICE (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/common/ |
D | edtt_driver_bsim.c | 41 #define TO_DEVICE 0 macro 189 fifo_path[TO_DEVICE] = (char *)bs_calloc(pb_com_path_length + 30, in edptd_create_fifo_if() 193 sprintf(fifo_path[TO_DEVICE], "%s/Device%i.PTTin", pb_com_path, device_nbr); in edptd_create_fifo_if() 196 if ((pb_create_fifo_if_not_there(fifo_path[TO_DEVICE]) != 0) in edptd_create_fifo_if() 212 fifo[TO_DEVICE] = open(fifo_path[TO_DEVICE], O_RDONLY); in edptd_create_fifo_if() 213 if (fifo[TO_DEVICE] == -1) { in edptd_create_fifo_if() 217 flags = fcntl(fifo[TO_DEVICE], F_GETFL); in edptd_create_fifo_if() 219 fcntl(fifo[TO_DEVICE], F_SETFL, flags); in edptd_create_fifo_if() 224 for (int dir = TO_DEVICE ; dir <= TO_EDTT ; dir++) { in edttd_clean_up() 242 int received_bytes = read(fifo[TO_DEVICE], bufptr, size); in fifo_low_level_read()
|