Lines Matching defs:queue

65 /* Hashtable of all queue devices on the AP bus */
296 * ap_queue_info(): Check and get AP queue info.
604 int rc, card, queue, devres, drvres;
608 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid);
611 && test_bit_inv(queue, ap_perms.aqm);
616 AP_DBF_DBG("reprobing queue=%02x.%04x\n",
617 card, queue);
630 int ap_owned_by_def_drv(int card, int queue)
634 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS)
640 && test_bit_inv(queue, ap_perms.aqm))
652 int card, queue, rc = 0;
659 for (queue = 0; !rc && queue < AP_DOMAINS; queue++)
660 if (test_bit_inv(queue, aqm) &&
661 test_bit_inv(queue, ap_perms.aqm))
674 int card, queue, devres, drvres, rc = -ENODEV;
687 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid);
690 && test_bit_inv(queue, ap_perms.aqm);
697 /* Add queue/card to list of active queues/cards */
726 /* prepare ap queue device removal */
734 /* now do the ap queue device remove */
738 /* Remove queue/card from list of active queues/cards */
1232 AP_DBF_WARN("get_comp_type queue=%02x.%04x unsupported type %d\n",
1257 AP_DBF_WARN("get_comp_type queue=%02x.%04x unable to map type %d\n",
1260 AP_DBF_INFO("get_comp_type queue=%02x.%04x map type %d to %d\n",
1277 * matches for the queue device with a given qid
1286 * matches any queue device with given queue id
1296 * Remove card device and associated queue devices.
1322 * to the existing queue devices. Also take care of the config
1323 * and error state for the queue devices.
1334 AP_DBF_INFO("%s(%d,%d) not in config any more, rm queue device\n",
1345 "%s(%d,%d) ap_queue_info() not successful, rm queue device\n",
1352 /* if no queue device exists, create a new one */
1366 /* register queue device */
1376 AP_DBF_INFO("%s(%d,%d) new (decfg) queue device created\n",
1379 AP_DBF_INFO("%s(%d,%d) new queue device created\n",
1383 /* Check config state on the already existing queue device */
1386 /* config off this queue device */
1393 AP_DBF_INFO("%s(%d,%d) queue device config off\n",
1400 /* config on this queue device */
1407 AP_DBF_INFO("%s(%d,%d) queue device config on\n",
1416 /* re-init (with reset) the queue device */
1418 AP_DBF_INFO("%s(%d,%d) queue device reinit enforced\n",
1450 AP_DBF_INFO("%s(%d) ap not in config any more, rm card and queue devices\n",
1475 "%s(%d) no type info (no APQN found), rm card and queue devices\n",
1488 AP_DBF_INFO("%s(%d) no valid type (0) info, rm card and queue devices\n",
1502 AP_DBF_INFO("%s(%d) hwtype %d changed, rm card and queue devices\n",
1508 AP_DBF_INFO("%s(%d) functions 0x%08x changed, rm card and queue devices\n",
1565 /* Verify the domains and the queue devices for this card */
1589 /* check if there is at least one queue available with default domain */
1598 AP_DBF_INFO("no queue device with default domain %d available\n",