Home
last modified time | relevance | path

Searched refs:OSI_QUEUE_SIZE (Results 1 – 3 of 3) sorted by relevance

/hardware/samsung/nfc/halimpl/osi/
Dosi_memory.cc123 memset(free_que->queue, 0, OSI_QUEUE_SIZE); in OSI_queue_allocate()
127 free_que->tail = OSI_QUEUE_SIZE; in OSI_queue_allocate()
145 OSI_loge("%s : queue is overflower (max: %d)", __func__, OSI_QUEUE_SIZE); in OSI_queue_put()
148 if (queue->head >= OSI_QUEUE_SIZE) queue->head = 0; in OSI_queue_put()
158 if (ret < 0) ret += OSI_QUEUE_SIZE; in OSI_queue_put()
171 if (queue->tail + 1 >= OSI_QUEUE_SIZE) { in queue_get()
186 if (queue->tail >= OSI_QUEUE_SIZE) queue->tail = 0; in queue_get()
Dosi_common.h42 #define OSI_QUEUE_SIZE (10) macro
77 void* queue[OSI_QUEUE_SIZE];
Dosi_main.cc64 osi_info.queue[index].tail = OSI_QUEUE_SIZE; in OSI_init()