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

/linux-4.4.14/arch/mips/cavium-octeon/executive/
H A Dcvmx-cmd-queue.c116 __cvmx_cmd_queue_state_t *qstate; cvmx_cmd_queue_initialize() local
121 qstate = __cvmx_cmd_queue_get_state(queue_id); cvmx_cmd_queue_initialize()
122 if (qstate == NULL) cvmx_cmd_queue_initialize()
141 if (qstate->base_ptr_div128) { cvmx_cmd_queue_initialize()
142 if (max_depth != (int)qstate->max_depth) { cvmx_cmd_queue_initialize()
146 (int)qstate->max_depth); cvmx_cmd_queue_initialize()
149 if (fpa_pool != qstate->fpa_pool) { cvmx_cmd_queue_initialize()
153 qstate->fpa_pool); cvmx_cmd_queue_initialize()
156 if ((pool_size >> 3) - 1 != qstate->pool_size_m1) { cvmx_cmd_queue_initialize()
160 (qstate->pool_size_m1 + 1) << 3); cvmx_cmd_queue_initialize()
182 memset(qstate, 0, sizeof(*qstate)); cvmx_cmd_queue_initialize()
183 qstate->max_depth = max_depth; cvmx_cmd_queue_initialize()
184 qstate->fpa_pool = fpa_pool; cvmx_cmd_queue_initialize()
185 qstate->pool_size_m1 = (pool_size >> 3) - 1; cvmx_cmd_queue_initialize()
186 qstate->base_ptr_div128 = cvmx_ptr_to_phys(buffer) / 128; cvmx_cmd_queue_initialize()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c174 struct bnx2x_queue_init_params *init_p = &p->qstate.params.init; bnx2x_vfop_qctor_prep()
243 q_params = &qctor->qstate; bnx2x_vf_queue_create()
533 struct bnx2x_queue_state_params qstate; bnx2x_vf_queue_flr() local
535 memset(&qstate, 0, sizeof(struct bnx2x_queue_state_params)); bnx2x_vf_queue_flr()
536 qstate.q_obj = &bnx2x_vfq(vf, qid, sp_obj); bnx2x_vf_queue_flr()
537 qstate.q_obj->state = BNX2X_Q_STATE_STOPPED; bnx2x_vf_queue_flr()
538 qstate.cmd = BNX2X_Q_CMD_TERMINATE; bnx2x_vf_queue_flr()
539 set_bit(RAMROD_COMP_WAIT, &qstate.ramrod_flags); bnx2x_vf_queue_flr()
540 rc = bnx2x_queue_state_change(bp, &qstate); bnx2x_vf_queue_flr()
2242 struct bnx2x_queue_state_params qstate; bnx2x_vf_tpa_update() local
2248 memset(&qstate, 0, sizeof(struct bnx2x_queue_state_params)); bnx2x_vf_tpa_update()
2249 memcpy(&qstate.params.update_tpa, params, bnx2x_vf_tpa_update()
2251 qstate.cmd = BNX2X_Q_CMD_UPDATE_TPA; bnx2x_vf_tpa_update()
2252 set_bit(RAMROD_COMP_WAIT, &qstate.ramrod_flags); bnx2x_vf_tpa_update()
2255 qstate.q_obj = &bnx2x_vfq(vf, qid, sp_obj); bnx2x_vf_tpa_update()
2256 qstate.params.update_tpa.sge_map = sge_addr[qid]; bnx2x_vf_tpa_update()
2260 rc = bnx2x_queue_state_change(bp, &qstate); bnx2x_vf_tpa_update()
H A Dbnx2x_sriov.h100 struct bnx2x_queue_state_params qstate; member in struct:bnx2x_vf_queue_construct_params
H A Dbnx2x_vfpf.c1552 init_p = &qctor.qstate.params.init; bnx2x_vf_mbx_setup_q()

Completed in 102 milliseconds