Lines Matching refs:qstate
112 __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()
178 memset(qstate, 0, sizeof(*qstate)); in cvmx_cmd_queue_initialize()
179 qstate->max_depth = max_depth; in cvmx_cmd_queue_initialize()
180 qstate->fpa_pool = fpa_pool; in cvmx_cmd_queue_initialize()
181 qstate->pool_size_m1 = (pool_size >> 3) - 1; in cvmx_cmd_queue_initialize()
182 qstate->base_ptr_div128 = cvmx_ptr_to_phys(buffer) / 128; in cvmx_cmd_queue_initialize()