qmgr 256 drivers/soc/ti/knav_qmss.h struct knav_qmgr_info *qmgr; qmgr 368 drivers/soc/ti/knav_qmss.h #define for_each_qmgr(kdev, qmgr) \ qmgr 369 drivers/soc/ti/knav_qmss.h list_for_each_entry(qmgr, &kdev->qmgrs, list) qmgr 231 drivers/soc/ti/knav_qmss_queue.c id = inst->id - inst->qmgr->start_queue; qmgr 232 drivers/soc/ti/knav_qmss_queue.c qh->reg_push = &inst->qmgr->reg_push[id]; qmgr 233 drivers/soc/ti/knav_qmss_queue.c qh->reg_pop = &inst->qmgr->reg_pop[id]; qmgr 234 drivers/soc/ti/knav_qmss_queue.c qh->reg_peek = &inst->qmgr->reg_peek[id]; qmgr 512 drivers/soc/ti/knav_qmss_queue.c unsigned id = inst->id - inst->qmgr->start_queue; qmgr 515 drivers/soc/ti/knav_qmss_queue.c writel_relaxed(0, &inst->qmgr->reg_push[id].ptr_size_thresh); qmgr 993 drivers/soc/ti/knav_qmss_queue.c struct knav_qmgr_info *qmgr; qmgr 1054 drivers/soc/ti/knav_qmss_queue.c for_each_qmgr(kdev, qmgr) { qmgr 1055 drivers/soc/ti/knav_qmss_queue.c regs = qmgr->reg_region + id; qmgr 1191 drivers/soc/ti/knav_qmss_queue.c struct knav_qmgr_info *qmgr; qmgr 1193 drivers/soc/ti/knav_qmss_queue.c for_each_qmgr(kdev, qmgr) { qmgr 1197 drivers/soc/ti/knav_qmss_queue.c writel_relaxed((u32)block->dma, &qmgr->reg_config->link_ram_base0); qmgr 1200 drivers/soc/ti/knav_qmss_queue.c &qmgr->reg_config->link_ram_size0); qmgr 1203 drivers/soc/ti/knav_qmss_queue.c &qmgr->reg_config->link_ram_size0); qmgr 1210 drivers/soc/ti/knav_qmss_queue.c writel_relaxed(block->dma, &qmgr->reg_config->link_ram_base1); qmgr 1221 drivers/soc/ti/knav_qmss_queue.c struct knav_qmgr_info *qmgr; qmgr 1288 drivers/soc/ti/knav_qmss_queue.c for_each_qmgr(kdev, qmgr) { qmgr 1289 drivers/soc/ti/knav_qmss_queue.c start = max(qmgr->start_queue, range->queue_base); qmgr 1290 drivers/soc/ti/knav_qmss_queue.c end = min(qmgr->start_queue + qmgr->num_queues, qmgr 1293 drivers/soc/ti/knav_qmss_queue.c index = id - qmgr->start_queue; qmgr 1295 drivers/soc/ti/knav_qmss_queue.c &qmgr->reg_peek[index].ptr_size_thresh); qmgr 1297 drivers/soc/ti/knav_qmss_queue.c &qmgr->reg_push[index].ptr_size_thresh); qmgr 1401 drivers/soc/ti/knav_qmss_queue.c struct knav_qmgr_info *qmgr; qmgr 1407 drivers/soc/ti/knav_qmss_queue.c qmgr = devm_kzalloc(dev, sizeof(*qmgr), GFP_KERNEL); qmgr 1408 drivers/soc/ti/knav_qmss_queue.c if (!qmgr) { qmgr 1416 drivers/soc/ti/knav_qmss_queue.c qmgr->start_queue = temp[0]; qmgr 1417 drivers/soc/ti/knav_qmss_queue.c qmgr->num_queues = temp[1]; qmgr 1420 drivers/soc/ti/knav_qmss_queue.c devm_kfree(dev, qmgr); qmgr 1425 drivers/soc/ti/knav_qmss_queue.c qmgr->start_queue, qmgr->num_queues); qmgr 1427 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_peek = qmgr 1432 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_status = qmgr 1437 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_config = qmgr 1442 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_region = qmgr 1448 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_push = qmgr 1455 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_pop = qmgr 1460 drivers/soc/ti/knav_qmss_queue.c if (IS_ERR(qmgr->reg_peek) || qmgr 1462 drivers/soc/ti/knav_qmss_queue.c (IS_ERR(qmgr->reg_status) || IS_ERR(qmgr->reg_pop))) || qmgr 1463 drivers/soc/ti/knav_qmss_queue.c IS_ERR(qmgr->reg_config) || IS_ERR(qmgr->reg_region) || qmgr 1464 drivers/soc/ti/knav_qmss_queue.c IS_ERR(qmgr->reg_push)) { qmgr 1467 drivers/soc/ti/knav_qmss_queue.c if (!IS_ERR(qmgr->reg_status)) qmgr 1468 drivers/soc/ti/knav_qmss_queue.c devm_iounmap(dev, qmgr->reg_status); qmgr 1469 drivers/soc/ti/knav_qmss_queue.c if (!IS_ERR(qmgr->reg_pop)) qmgr 1470 drivers/soc/ti/knav_qmss_queue.c devm_iounmap(dev, qmgr->reg_pop); qmgr 1472 drivers/soc/ti/knav_qmss_queue.c if (!IS_ERR(qmgr->reg_peek)) qmgr 1473 drivers/soc/ti/knav_qmss_queue.c devm_iounmap(dev, qmgr->reg_peek); qmgr 1474 drivers/soc/ti/knav_qmss_queue.c if (!IS_ERR(qmgr->reg_config)) qmgr 1475 drivers/soc/ti/knav_qmss_queue.c devm_iounmap(dev, qmgr->reg_config); qmgr 1476 drivers/soc/ti/knav_qmss_queue.c if (!IS_ERR(qmgr->reg_region)) qmgr 1477 drivers/soc/ti/knav_qmss_queue.c devm_iounmap(dev, qmgr->reg_region); qmgr 1478 drivers/soc/ti/knav_qmss_queue.c if (!IS_ERR(qmgr->reg_push)) qmgr 1479 drivers/soc/ti/knav_qmss_queue.c devm_iounmap(dev, qmgr->reg_push); qmgr 1480 drivers/soc/ti/knav_qmss_queue.c devm_kfree(dev, qmgr); qmgr 1486 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_pop = qmgr->reg_push; qmgr 1488 drivers/soc/ti/knav_qmss_queue.c list_add_tail(&qmgr->list, &kdev->qmgrs); qmgr 1490 drivers/soc/ti/knav_qmss_queue.c qmgr->start_queue, qmgr->num_queues, qmgr 1491 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_peek, qmgr->reg_status, qmgr 1492 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_config, qmgr->reg_region, qmgr 1493 drivers/soc/ti/knav_qmss_queue.c qmgr->reg_push, qmgr->reg_pop); qmgr 1677 drivers/soc/ti/knav_qmss_queue.c struct knav_qmgr_info *qmgr; qmgr 1679 drivers/soc/ti/knav_qmss_queue.c for_each_qmgr(kdev, qmgr) { qmgr 1680 drivers/soc/ti/knav_qmss_queue.c if ((id >= qmgr->start_queue) && qmgr 1681 drivers/soc/ti/knav_qmss_queue.c (id < qmgr->start_queue + qmgr->num_queues)) qmgr 1682 drivers/soc/ti/knav_qmss_queue.c return qmgr; qmgr 1693 drivers/soc/ti/knav_qmss_queue.c inst->qmgr = knav_find_qmgr(id); qmgr 1694 drivers/soc/ti/knav_qmss_queue.c if (!inst->qmgr)