Searched refs:open_result (Results 1 – 2 of 2) sorted by relevance
540 rt_err_t open_result = RT_EOK; in at_server_init() local595 …open_result = rt_device_open(at_server_local->device, RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_DMA_RX… in at_server_init()597 if (open_result == -RT_EIO) in at_server_init()599 …open_result = rt_device_open(at_server_local->device, RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_INT_RX… in at_server_init()601 RT_ASSERT(open_result == RT_EOK); in at_server_init()603 …open_result = rt_device_open(at_server_local->device, RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_RX_BLO… in at_server_init()604 RT_ASSERT(open_result == RT_EOK); in at_server_init()
992 rt_err_t open_result = RT_EOK; in at_client_init() local1032 open_result = rt_device_open(client->device, RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_DMA_RX); in at_client_init()1034 if (open_result == -RT_EIO) in at_client_init()1036 … open_result = rt_device_open(client->device, RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_INT_RX); in at_client_init()1038 RT_ASSERT(open_result == RT_EOK); in at_client_init()1040 …open_result = rt_device_open(client->device, RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_RX_BLOCKING | R… in at_client_init()1041 RT_ASSERT(open_result == RT_EOK); in at_client_init()
Completed in 5 milliseconds