Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c205 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_shutdown() local
206 if (qptr == NULL) { in cvmx_cmd_queue_shutdown()
218 __cvmx_cmd_queue_lock(queue_id, qptr); in cvmx_cmd_queue_shutdown()
219 if (qptr->base_ptr_div128) { in cvmx_cmd_queue_shutdown()
221 ((uint64_t) qptr->base_ptr_div128 << 7), in cvmx_cmd_queue_shutdown()
222 qptr->fpa_pool, 0); in cvmx_cmd_queue_shutdown()
223 qptr->base_ptr_div128 = 0; in cvmx_cmd_queue_shutdown()
225 __cvmx_cmd_queue_unlock(qptr); in cvmx_cmd_queue_shutdown()
298 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_buffer() local
299 if (qptr && qptr->base_ptr_div128) in cvmx_cmd_queue_buffer()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c8082 u8 i, j, *qptr; in bnxt_hwrm_queue_qportcfg() local
8105 qptr = &resp->queue_id0; in bnxt_hwrm_queue_qportcfg()
8107 bp->q_info[j].queue_id = *qptr; in bnxt_hwrm_queue_qportcfg()
8108 bp->q_ids[i] = *qptr++; in bnxt_hwrm_queue_qportcfg()
8109 bp->q_info[j].queue_profile = *qptr++; in bnxt_hwrm_queue_qportcfg()