Searched refs:qptr (Results 1 – 2 of 2) sorted by relevance
235 __cvmx_cmd_queue_state_t *qptr) in __cvmx_cmd_queue_lock() argument241 prefetch(qptr); in __cvmx_cmd_queue_lock()277 [now_serving] "=m"(qptr->now_serving), [ticket] "=r"(tmp), in __cvmx_cmd_queue_lock()287 static inline void __cvmx_cmd_queue_unlock(__cvmx_cmd_queue_state_t *qptr) in __cvmx_cmd_queue_unlock() argument289 qptr->now_serving++; in __cvmx_cmd_queue_unlock()330 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_write() local334 __cvmx_cmd_queue_lock(queue_id, qptr); in cvmx_cmd_queue_write()341 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write()343 (cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) { in cvmx_cmd_queue_write()345 __cvmx_cmd_queue_unlock(qptr); in cvmx_cmd_queue_write()[all …]
208 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_shutdown() local209 if (qptr == NULL) { in cvmx_cmd_queue_shutdown()221 __cvmx_cmd_queue_lock(queue_id, qptr); in cvmx_cmd_queue_shutdown()222 if (qptr->base_ptr_div128) { in cvmx_cmd_queue_shutdown()224 ((uint64_t) qptr->base_ptr_div128 << 7), in cvmx_cmd_queue_shutdown()225 qptr->fpa_pool, 0); in cvmx_cmd_queue_shutdown()226 qptr->base_ptr_div128 = 0; in cvmx_cmd_queue_shutdown()228 __cvmx_cmd_queue_unlock(qptr); in cvmx_cmd_queue_shutdown()301 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_buffer() local302 if (qptr && qptr->base_ptr_div128) in cvmx_cmd_queue_buffer()[all …]