Lines Matching refs:queue

78 /* Hashtable of all queue devices on the AP bus */
320 * ap_queue_info(): Check and get AP queue info.
324 * -1 invalid APQN, TAPQ error or AP queue status which
786 int rc, card, queue, devres, drvres;
790 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid);
793 test_bit_inv(queue, ap_perms.aqm);
798 pr_debug("%s reprobing queue=%02x.%04x\n",
799 __func__, card, queue);
802 AP_DBF_WARN("%s reprobing queue=%02x.%04x failed\n",
803 __func__, card, queue);
819 * @queue: the APQI of the queue to check
826 int ap_owned_by_def_drv(int card, int queue)
830 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS)
834 test_bit_inv(queue, ap_perms.aqm))
856 int card, queue, rc = 0;
861 for (queue = 0; !rc && queue < AP_DOMAINS; queue++)
862 if (test_bit_inv(queue, aqm) &&
863 test_bit_inv(queue, ap_perms.aqm))
874 int card, queue, devres, drvres, rc = -ENODEV;
887 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid);
890 test_bit_inv(queue, ap_perms.aqm);
903 /* Add queue/card to list of active queues/cards */
930 /* prepare ap queue device removal */
938 /* now do the ap queue device remove */
942 /* Remove queue/card from list of active queues/cards */
1678 AP_DBF_WARN("%s queue=%02x.%04x unsupported type %d\n",
1704 AP_DBF_WARN("%s queue=%02x.%04x unable to map type %d\n",
1708 AP_DBF_INFO("%s queue=%02x.%04x map type %d to %d\n",
1725 * matches for the queue device with a given qid
1734 * matches any queue device with given queue id
1787 * Remove card device and associated queue devices.
1813 * to the existing queue devices. Also take care of the config
1814 * and error state for the queue devices.
1825 AP_DBF_INFO("%s(%d,%d) not in config anymore, rm queue dev\n",
1836 AP_DBF_INFO("%s(%d,%d) queue_info() failed, rm queue dev\n",
1846 /* if no queue device exists, create a new one */
1862 /* register queue device */
1872 AP_DBF_INFO("%s(%d,%d) new (decfg) queue dev created\n",
1875 AP_DBF_INFO("%s(%d,%d) new (chkstop) queue dev created\n",
1878 /* nudge the queue's state machine */
1880 AP_DBF_INFO("%s(%d,%d) new queue dev created\n",
1885 /* handle state changes on already existing queue device */
1898 pr_debug("%s(%d,%d) queue dev checkstop on\n",
1909 pr_debug("%s(%d,%d) queue dev checkstop off\n",
1915 /* config off this queue device */
1922 pr_debug("%s(%d,%d) queue dev config off\n",
1929 /* config on this queue device */
1934 pr_debug("%s(%d,%d) queue dev config on\n",
1944 /* re-init (with reset) the queue device */
1946 AP_DBF_INFO("%s(%d,%d) queue dev reinit enforced\n",
1978 AP_DBF_INFO("%s(%d) ap not in config any more, rm card and queue devs\n",
2002 AP_DBF_INFO("%s(%d) no type info (no APQN found), rm card and queue devs\n",
2015 AP_DBF_INFO("%s(%d) no valid type (0) info, rm card and queue devs\n",
2029 AP_DBF_INFO("%s(%d) hwtype %d changed, rm card and queue devs\n",
2035 AP_DBF_INFO("%s(%d) functions 0x%08x changed, rm card and queue devs\n",
2116 /* Verify the domains and the queue devices for this card */
2227 /* check if there is at least one queue available with default domain */
2236 AP_DBF_INFO("%s no queue device with default domain %d available\n",