Lines Matching refs:status

48 	struct ap_queue_status status;
52 status = ap_aqic(aq->qid, qirqctrl, virt_to_phys(ind));
53 if (status.async)
55 switch (status.response_code) {
82 * Returns AP queue status structure.
112 struct ap_queue_status status;
127 status = ap_dqap(aq->qid, &aq->reply->psmid,
131 } while (status.response_code == 0xFF && resgr0 != 0);
133 switch (status.response_code) {
136 if (!status.queue_empty && !aq->queue_count)
162 if (!status.queue_empty || aq->queue_count <= 0)
173 return status;
184 struct ap_queue_status status;
188 status = ap_sm_recv(aq);
189 if (status.async)
191 switch (status.response_code) {
207 aq->last_err_rc = status.response_code;
209 __func__, status.response_code,
223 struct ap_queue_status status;
232 status = __ap_send(qid, ap_msg->psmid,
235 if (status.async)
237 switch (status.response_code) {
269 aq->last_err_rc = status.response_code;
271 __func__, status.response_code,
296 struct ap_queue_status status;
298 status = ap_rapq(aq->qid, aq->rapq_fbit);
299 if (status.async)
301 switch (status.response_code) {
310 aq->last_err_rc = status.response_code;
312 __func__, status.response_code,
326 struct ap_queue_status status;
330 /* Try to read a completed message and get the status */
331 status = ap_sm_recv(aq);
333 /* Get the status with TAPQ */
334 status = ap_tapq(aq->qid, NULL);
336 switch (status.response_code) {
353 aq->last_err_rc = status.response_code;
355 __func__, status.response_code,
369 struct ap_queue_status status;
372 /* Try to read a completed message and get the status */
373 status = ap_sm_recv(aq);
375 /* Get the status with TAPQ */
376 status = ap_tapq(aq->qid, NULL);
378 if (status.irq_enabled == 1) {
385 switch (status.response_code) {
394 aq->last_err_rc = status.response_code;
396 __func__, status.response_code,
409 struct ap_queue_status status;
412 status = ap_test_queue(aq->qid, 1, &info);
414 if (status.async && status.response_code) {
416 aq->last_err_rc = status.response_code;
418 __func__, status.response_code,
422 if (status.response_code > AP_RESPONSE_BUSY) {
424 aq->last_err_rc = status.response_code;
426 __func__, status.response_code,
447 aq->last_err_rc = status.response_code;
670 struct ap_queue_status status;
673 status = ap_test_queue(aq->qid, 1, &info);
674 if (status.response_code > AP_RESPONSE_BUSY) {
676 __func__, status.response_code,
823 struct ap_queue_status status;
829 status = ap_test_queue(aq->qid, 1, &info);
830 if (status.response_code > AP_RESPONSE_BUSY) {
832 __func__, status.response_code,
850 struct ap_queue_status status;
869 status = ap_bapq(aq->qid);
871 if (status.response_code) {
873 __func__, status.response_code,
898 struct ap_queue_status status;
904 status = ap_test_queue(aq->qid, 1, &info);
905 if (status.response_code > AP_RESPONSE_BUSY) {
907 __func__, status.response_code,
933 struct ap_queue_status status;
962 status = ap_aapq(aq->qid, value);
963 switch (status.response_code) {
974 __func__, status.response_code,