Lines Matching refs:status
53 int ath6kl_hif_rw_comp_handler(void *context, int status)
57 ath6kl_dbg(ATH6KL_DBG_HIF, "hif rw completion pkt 0x%p status %d\n",
58 packet, status);
60 packet->status = status;
145 int status = 0, i;
150 status = hif_read_write_sync(dev->ar, HOST_INT_STATUS_ADDRESS,
155 if (status) {
157 return status;
182 status = -ETIME;
193 return status;
203 int status = 0;
222 status = hif_read_write_sync(dev->ar, INT_STATUS_ENABLE_ADDRESS,
227 return status;
233 int status = 0;
254 status = ath6kl_hif_cp_scat_dma_buf(scat_req, false);
255 if (status) {
256 scat_req->status = status;
262 status = ath6kl_hif_scat_req_rw(dev->ar, scat_req);
266 scat_req->status = status;
267 if (!status && scat_req->virt_scat)
268 scat_req->status =
272 return status;
301 int status;
335 status = hif_read_write_sync(dev->ar, ERROR_INT_STATUS_ADDRESS,
338 WARN_ON(status);
340 return status;
345 int status;
379 status = hif_read_write_sync(dev->ar, CPU_INT_STATUS_ADDRESS,
382 WARN_ON(status);
384 return status;
391 int status = 0;
413 * will yield us the value of different int status
426 status = hif_read_write_sync(dev->ar, HOST_INT_STATUS_ADDRESS,
430 if (status)
442 /* Look at mbox status */
477 status = ath6kl_htc_rxmsg_pending_handler(dev->htc_cnxt,
479 if (status)
497 status = ath6kl_hif_proc_cpu_intr(dev);
498 if (status)
504 status = ath6kl_hif_proc_err_intr(dev);
505 if (status)
511 status = ath6kl_hif_proc_counter_intr(dev);
515 * An optimization to bypass reading the IRQ status registers
518 * taking another interrupt rather than re-checking the status
528 "bypassing irq status re-check, forcing done\n");
534 "proc_pending_irqs: (done:%d, status=%d\n", *done, status);
536 return status;
544 int status = 0;
548 * Reset counter used to flag a re-scan of IRQ status registers on
554 * IRQ processing is synchronous, interrupt status registers can be
559 status = proc_pending_irqs(dev, &done);
560 if (status)
564 return status;
571 int status;
587 /* Set up the CPU Interrupt status Register */
590 /* Set up the Error Interrupt status Register */
596 * Enable Counter interrupt status register to get fatal errors for
605 status = hif_read_write_sync(dev->ar, INT_STATUS_ENABLE_ADDRESS,
609 if (status)
611 status);
613 return status;
637 int status = 0;
651 status = ath6kl_hif_enable_intrs(dev);
653 return status;
671 int status = 0;
685 status = -EINVAL;
695 status = ath6kl_hif_disable_intrs(dev);
698 return status;