Home
last modified time | relevance | path

Searched refs:qstate (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c112 __cvmx_cmd_queue_state_t *qstate; in cvmx_cmd_queue_initialize() local
117 qstate = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_initialize()
118 if (qstate == NULL) in cvmx_cmd_queue_initialize()
137 if (qstate->base_ptr_div128) { in cvmx_cmd_queue_initialize()
138 if (max_depth != (int)qstate->max_depth) { in cvmx_cmd_queue_initialize()
142 (int)qstate->max_depth); in cvmx_cmd_queue_initialize()
145 if (fpa_pool != qstate->fpa_pool) { in cvmx_cmd_queue_initialize()
149 qstate->fpa_pool); in cvmx_cmd_queue_initialize()
152 if ((pool_size >> 3) - 1 != qstate->pool_size_m1) { in cvmx_cmd_queue_initialize()
156 (qstate->pool_size_m1 + 1) << 3); in cvmx_cmd_queue_initialize()
[all …]
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c172 struct bnx2x_queue_init_params *init_p = &p->qstate.params.init; in bnx2x_vfop_qctor_prep()
244 q_params = &qctor->qstate; in bnx2x_vf_queue_create()
519 struct bnx2x_queue_state_params qstate; in bnx2x_vf_queue_flr() local
521 memset(&qstate, 0, sizeof(struct bnx2x_queue_state_params)); in bnx2x_vf_queue_flr()
522 qstate.q_obj = &bnx2x_vfq(vf, qid, sp_obj); in bnx2x_vf_queue_flr()
523 qstate.q_obj->state = BNX2X_Q_STATE_STOPPED; in bnx2x_vf_queue_flr()
524 qstate.cmd = BNX2X_Q_CMD_TERMINATE; in bnx2x_vf_queue_flr()
525 set_bit(RAMROD_COMP_WAIT, &qstate.ramrod_flags); in bnx2x_vf_queue_flr()
526 rc = bnx2x_queue_state_change(bp, &qstate); in bnx2x_vf_queue_flr()
2248 struct bnx2x_queue_state_params qstate; in bnx2x_vf_tpa_update() local
[all …]
Dbnx2x_sriov.h100 struct bnx2x_queue_state_params qstate; member
Dbnx2x_vfpf.c1552 init_p = &qctor.qstate.params.init; in bnx2x_vf_mbx_setup_q()