Lines Matching refs:qstate
116 __cvmx_cmd_queue_state_t *qstate; in cvmx_cmd_queue_initialize() local
121 qstate = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_initialize()
122 if (qstate == NULL) in cvmx_cmd_queue_initialize()
141 if (qstate->base_ptr_div128) { in cvmx_cmd_queue_initialize()
142 if (max_depth != (int)qstate->max_depth) { in cvmx_cmd_queue_initialize()
146 (int)qstate->max_depth); in cvmx_cmd_queue_initialize()
149 if (fpa_pool != qstate->fpa_pool) { in cvmx_cmd_queue_initialize()
153 qstate->fpa_pool); in cvmx_cmd_queue_initialize()
156 if ((pool_size >> 3) - 1 != qstate->pool_size_m1) { in cvmx_cmd_queue_initialize()
160 (qstate->pool_size_m1 + 1) << 3); in cvmx_cmd_queue_initialize()
182 memset(qstate, 0, sizeof(*qstate)); in cvmx_cmd_queue_initialize()
183 qstate->max_depth = max_depth; in cvmx_cmd_queue_initialize()
184 qstate->fpa_pool = fpa_pool; in cvmx_cmd_queue_initialize()
185 qstate->pool_size_m1 = (pool_size >> 3) - 1; in cvmx_cmd_queue_initialize()
186 qstate->base_ptr_div128 = cvmx_ptr_to_phys(buffer) / 128; in cvmx_cmd_queue_initialize()