Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h237 __cvmx_cmd_queue_state_t *qptr) in __cvmx_cmd_queue_lock() argument
243 prefetch(qptr); in __cvmx_cmd_queue_lock()
279 [now_serving] "=m"(qptr->now_serving), [ticket] "=r"(tmp), in __cvmx_cmd_queue_lock()
289 static inline void __cvmx_cmd_queue_unlock(__cvmx_cmd_queue_state_t *qptr) in __cvmx_cmd_queue_unlock() argument
291 qptr->now_serving++; in __cvmx_cmd_queue_unlock()
332 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_write() local
336 __cvmx_cmd_queue_lock(queue_id, qptr); in cvmx_cmd_queue_write()
343 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write()
345 (cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) { in cvmx_cmd_queue_write()
347 __cvmx_cmd_queue_unlock(qptr); in cvmx_cmd_queue_write()
[all …]
/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c209 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_shutdown() local
210 if (qptr == NULL) { in cvmx_cmd_queue_shutdown()
222 __cvmx_cmd_queue_lock(queue_id, qptr); in cvmx_cmd_queue_shutdown()
223 if (qptr->base_ptr_div128) { in cvmx_cmd_queue_shutdown()
225 ((uint64_t) qptr->base_ptr_div128 << 7), in cvmx_cmd_queue_shutdown()
226 qptr->fpa_pool, 0); in cvmx_cmd_queue_shutdown()
227 qptr->base_ptr_div128 = 0; in cvmx_cmd_queue_shutdown()
229 __cvmx_cmd_queue_unlock(qptr); in cvmx_cmd_queue_shutdown()
302 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_buffer() local
303 if (qptr && qptr->base_ptr_div128) in cvmx_cmd_queue_buffer()
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5292 u8 i, j, *qptr; in bnxt_hwrm_queue_qportcfg() local
5312 qptr = &resp->queue_id0; in bnxt_hwrm_queue_qportcfg()
5314 bp->q_info[j].queue_id = *qptr++; in bnxt_hwrm_queue_qportcfg()
5315 bp->q_info[j].queue_profile = *qptr++; in bnxt_hwrm_queue_qportcfg()