Searched refs:read_idx (Results 1 – 2 of 2) sorted by relevance
/device/google/cuttlefish/common/libs/device_config/ |
D | guest_device_config.cpp | 50 size_t read_idx = 0; in GetRawFromServer() local 51 while (read_idx < kDataSize) { in GetRawFromServer() 52 auto read = config_server->Read(buffer + read_idx, kDataSize - read_idx); in GetRawFromServer() 55 << read_idx << " bytes, expected " << kDataSize; in GetRawFromServer() 63 read_idx += read; in GetRawFromServer()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-shmem.c | 154 u32 read_idx; in xf_shmem_process_input() local 159 read_idx = XF_PROXY_READ(core, cmd_read_idx); in xf_shmem_process_input() 162 TRACE(EXEC, _b("Command queue: write = %x / read = %x"), write_idx, read_idx); in xf_shmem_process_input() 165 while (!XF_QUEUE_EMPTY(read_idx, write_idx)) in xf_shmem_process_input() 174 if (XF_QUEUE_FULL(read_idx, write_idx)) in xf_shmem_process_input() 180 command = XF_PROXY_COMMAND(core, XF_QUEUE_IDX(read_idx)); in xf_shmem_process_input() 196 read_idx = XF_QUEUE_ADVANCE_IDX(read_idx); in xf_shmem_process_input() 199 XF_PROXY_WRITE(core, cmd_read_idx, read_idx); in xf_shmem_process_input() 212 u32 read_idx; in xf_shmem_process_output() local 218 read_idx = XF_PROXY_READ(core, rsp_read_idx); in xf_shmem_process_output() [all …]
|