/drivers/soc/fsl/qbman/ |
D | qman.c | 268 struct qm_mcc_fq fq; member 957 static inline void fq_set(struct qman_fq *fq, u32 mask) in fq_set() argument 959 fq->flags |= mask; in fq_set() 962 static inline void fq_clear(struct qman_fq *fq, u32 mask) in fq_clear() argument 964 fq->flags &= ~mask; in fq_clear() 967 static inline int fq_isset(struct qman_fq *fq, u32 mask) in fq_isset() argument 969 return fq->flags & mask; in fq_isset() 972 static inline int fq_isclear(struct qman_fq *fq, u32 mask) in fq_isclear() argument 974 return !(fq->flags & mask); in fq_isclear() 1121 struct qman_fq *fq; in idx_to_fq() local [all …]
|
D | qman_test_api.c | 105 static int do_enqueues(struct qman_fq *fq) in do_enqueues() argument 111 if (qman_enqueue(fq, &fd)) { in do_enqueues() 125 struct qman_fq *fq = &fq_base; in qman_test_api() local 132 err = qman_create_fq(0, FQ_FLAGS, fq); in qman_test_api() 137 err = qman_init_fq(fq, QMAN_INITFQ_FLAG_LOCAL, NULL); in qman_test_api() 143 err = do_enqueues(fq); in qman_test_api() 148 err = qman_volatile_dequeue(fq, VDQCR_FLAGS, frmcnt); in qman_test_api() 153 err = do_enqueues(fq); in qman_test_api() 158 err = qman_volatile_dequeue(fq, VDQCR_FLAGS, frmcnt); in qman_test_api() 166 err = qman_volatile_dequeue(fq, VDQCR_FLAGS, frmcnt); in qman_test_api() [all …]
|
D | qman_test_stash.c | 277 struct qman_fq *fq, in normal_dqrr() argument 280 struct hp_handler *handler = (struct hp_handler *)fq; in normal_dqrr() 295 struct qman_fq *fq, in special_dqrr() argument 298 struct hp_handler *handler = (struct hp_handler *)fq; in special_dqrr()
|
D | qman_priv.h | 216 int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd);
|
/drivers/iommu/ |
D | iova.c | 49 iovad->fq = NULL; in init_iova_domain() 60 return !!iovad->fq; in has_iova_flush_queue() 72 free_percpu(iovad->fq); in free_iova_flush_queue() 74 iovad->fq = NULL; in free_iova_flush_queue() 96 struct iova_fq *fq; in init_iova_flush_queue() local 98 fq = per_cpu_ptr(queue, cpu); in init_iova_flush_queue() 99 fq->head = 0; in init_iova_flush_queue() 100 fq->tail = 0; in init_iova_flush_queue() 102 spin_lock_init(&fq->lock); in init_iova_flush_queue() 107 iovad->fq = queue; in init_iova_flush_queue() [all …]
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth-debugfs.c | 47 static char *fq_type_to_str(struct dpaa2_eth_fq *fq) in fq_type_to_str() argument 49 switch (fq->type) { in fq_type_to_str() 62 struct dpaa2_eth_fq *fq; in dpaa2_dbg_fqs_show() local 71 fq = &priv->fq[i]; in dpaa2_dbg_fqs_show() 72 err = dpaa2_io_query_fq_count(NULL, fq->fqid, &fcnt, &bcnt); in dpaa2_dbg_fqs_show() 77 if (!fq->stats.frames && !fcnt) in dpaa2_dbg_fqs_show() 81 fq->fqid, in dpaa2_dbg_fqs_show() 82 fq->target_cpu, in dpaa2_dbg_fqs_show() 83 fq->tc, in dpaa2_dbg_fqs_show() 84 fq_type_to_str(fq), in dpaa2_dbg_fqs_show() [all …]
|
D | dpaa2-eth.c | 254 struct dpaa2_eth_fq *fq, in dpaa2_eth_xdp_flush() argument 269 err = priv->enqueue(priv, fq, &fds[total_enqueued], in dpaa2_eth_xdp_flush() 284 struct dpaa2_eth_fq *fq) in dpaa2_eth_xdp_tx_flush() argument 293 enqueued = dpaa2_eth_xdp_flush(priv, fq, &fq->xdp_tx_fds); in dpaa2_eth_xdp_tx_flush() 297 fds = fq->xdp_tx_fds.fds; in dpaa2_eth_xdp_tx_flush() 302 for (i = enqueued; i < fq->xdp_tx_fds.num; i++) { in dpaa2_eth_xdp_tx_flush() 307 fq->xdp_tx_fds.num = 0; in dpaa2_eth_xdp_tx_flush() 317 struct dpaa2_eth_fq *fq; in dpaa2_eth_xdp_enqueue() local 334 fq = &priv->fq[queue_id]; in dpaa2_eth_xdp_enqueue() 335 dest_fd = &fq->xdp_tx_fds.fds[fq->xdp_tx_fds.num++]; in dpaa2_eth_xdp_enqueue() [all …]
|
D | dpaa2-eth.h | 432 struct dpaa2_eth_fq *fq); 495 struct dpaa2_eth_fq fq[DPAA2_ETH_MAX_QUEUES]; member 497 struct dpaa2_eth_fq *fq,
|
D | dpaa2-ethtool.c | 288 err = dpaa2_io_query_fq_count(NULL, priv->fq[j].fqid, in dpaa2_eth_get_ethtool_stats() 295 if (priv->fq[j].type == DPAA2_TX_CONF_FQ) { in dpaa2_eth_get_ethtool_stats()
|
/drivers/crypto/caam/ |
D | qi.c | 135 static void caam_fq_ern_cb(struct qman_portal *qm, struct qman_fq *fq, in caam_fq_ern_cb() argument 218 static int empty_retired_fq(struct device *qidev, struct qman_fq *fq) in empty_retired_fq() argument 222 ret = qman_volatile_dequeue(fq, QMAN_VOLATILE_FLAG_WAIT_INT | in empty_retired_fq() 227 dev_err(qidev, "Volatile dequeue fail for FQ: %u\n", fq->fqid); in empty_retired_fq() 236 } while (fq->flags & QMAN_FQ_STATE_NE); in empty_retired_fq() 241 static int kill_fq(struct device *qidev, struct qman_fq *fq) in kill_fq() argument 246 ret = qman_retire_fq(fq, &flags); in kill_fq() 260 } while (fq->state != qman_fq_state_retired); in kill_fq() 262 WARN_ON(fq->flags & QMAN_FQ_STATE_BLOCKOOS); in kill_fq() 263 WARN_ON(fq->flags & QMAN_FQ_STATE_ORL); in kill_fq() [all …]
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth_trace.h | 58 struct qman_fq *fq, 62 TP_ARGS(netdev, fq, fd), 80 __entry->fqid = fq->fqid; 104 struct qman_fq *fq, 107 TP_ARGS(netdev, fq, fd) 114 struct qman_fq *fq, 117 TP_ARGS(netdev, fq, fd) 124 struct qman_fq *fq, 127 TP_ARGS(netdev, fq, fd)
|
D | dpaa_eth_sysfs.c | 59 struct dpaa_fq *fq; in dpaa_eth_show_fqids() local 66 list_for_each_entry_safe(fq, tmp, &priv->dpaa_fq_list, list) { in dpaa_eth_show_fqids() 67 switch (fq->fq_type) { in dpaa_eth_show_fqids() 93 if (prev && (abs(fq->fqid - prev->fqid) != 1 || in dpaa_eth_show_fqids() 104 if (prev && abs(fq->fqid - prev->fqid) == 1 && in dpaa_eth_show_fqids() 106 last_fqid = fq->fqid; in dpaa_eth_show_fqids() 108 first_fqid = fq->fqid; in dpaa_eth_show_fqids() 109 last_fqid = fq->fqid; in dpaa_eth_show_fqids() 112 prev = fq; in dpaa_eth_show_fqids()
|
D | dpaa_eth.c | 638 static inline void dpaa_assign_wq(struct dpaa_fq *fq, int idx) in dpaa_assign_wq() argument 640 switch (fq->fq_type) { in dpaa_assign_wq() 643 fq->wq = 1; in dpaa_assign_wq() 647 fq->wq = 5; in dpaa_assign_wq() 651 fq->wq = 6; in dpaa_assign_wq() 657 fq->wq = 6; in dpaa_assign_wq() 661 fq->wq = 2; in dpaa_assign_wq() 665 fq->wq = 1; in dpaa_assign_wq() 669 fq->wq = 0; in dpaa_assign_wq() 678 fq->fq_type, fq->fqid); in dpaa_assign_wq() [all …]
|
/drivers/media/i2c/ |
D | imx290.c | 943 s64 fq; in imx290_probe() local 990 fq = imx290_check_link_freqs(imx290, &ep); in imx290_probe() 991 if (fq) { in imx290_probe() 992 dev_err(dev, "Link frequency of %lld is not supported\n", fq); in imx290_probe()
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 3476 u8 di0, dq0, ei, eq, fi, fq; in wlc_lcnphy_get_cc() local 3494 wlc_lcnphy_get_radio_loft(pi, &ei, &eq, &fi, &fq); in wlc_lcnphy_get_cc() 3499 wlc_lcnphy_get_radio_loft(pi, &ei, &eq, &fi, &fq); in wlc_lcnphy_get_cc() 3501 cc.im = (u16) fq; in wlc_lcnphy_get_cc()
|