Searched refs:portal (Results 1 - 19 of 19) sorted by relevance

/linux-master/arch/powerpc/boot/dts/fsl/
H A Dinterlaken-lac-portals.dtsi38 lportal0: lac-portal@0 {
39 compatible = "fsl,interlaken-lac-portal-v1.0";
43 lportal1: lac-portal@1000 {
44 compatible = "fsl,interlaken-lac-portal-v1.0";
48 lportal2: lac-portal@2000 {
49 compatible = "fsl,interlaken-lac-portal-v1.0";
53 lportal3: lac-portal@3000 {
54 compatible = "fsl,interlaken-lac-portal-v1.0";
58 lportal4: lac-portal@4000 {
59 compatible = "fsl,interlaken-lac-portal
[all...]
H A Dqoriq-bman1-portals.dtsi40 bman-portal@0 {
41 compatible = "fsl,bman-portal";
45 bman-portal@4000 {
46 compatible = "fsl,bman-portal";
50 bman-portal@8000 {
51 compatible = "fsl,bman-portal";
55 bman-portal@c000 {
56 compatible = "fsl,bman-portal";
60 bman-portal@10000 {
61 compatible = "fsl,bman-portal";
[all...]
H A Dqoriq-qman1-portals.dtsi40 qportal0: qman-portal@0 {
41 compatible = "fsl,qman-portal";
46 qportal1: qman-portal@4000 {
47 compatible = "fsl,qman-portal";
52 qportal2: qman-portal@8000 {
53 compatible = "fsl,qman-portal";
58 qportal3: qman-portal@c000 {
59 compatible = "fsl,qman-portal";
64 qportal4: qman-portal@10000 {
65 compatible = "fsl,qman-portal";
[all...]
H A Dp1023si-post.dtsi120 qportal0: qman-portal@0 {
121 compatible = "fsl,qman-portal";
126 qportal1: qman-portal@4000 {
127 compatible = "fsl,qman-portal";
132 qportal2: qman-portal@8000 {
133 compatible = "fsl,qman-portal";
145 bman-portal@0 {
146 compatible = "fsl,bman-portal";
150 bman-portal@4000 {
151 compatible = "fsl,bman-portal";
[all...]
/linux-master/drivers/soc/fsl/qbman/
H A Dbman.c33 #define IRQNAME "BMan portal %d"
34 #define MAX_IRQNAME 16 /* big enough for "BMan portal %d" */
84 * Enum values use 3 letter codes. First letter matches the portal mode,
86 * ci == cache-inhibited portal register
87 * ce == cache-enabled portal register
249 struct bman_portal *portal; member in struct:bman_pool
258 struct bm_portal *portal = &p->p; local
260 u32 is = bm_in(portal, BM_REG_ISR) & p->irq_sources;
266 bm_out(portal, BM_REG_ISR, clear);
304 static int bm_rcr_get_avail(struct bm_portal *portal) argument
311 bm_rcr_get_fill(struct bm_portal *portal) argument
318 bm_rcr_set_ithresh(struct bm_portal *portal, u8 ithresh) argument
326 bm_rcr_cce_prefetch(struct bm_portal *portal) argument
334 bm_rcr_cce_update(struct bm_portal *portal) argument
347 bm_rcr_start(struct bm_portal *portal) argument
361 bm_rcr_pvb_commit(struct bm_portal *portal, u8 myverb) argument
380 bm_rcr_init(struct bm_portal *portal, enum bm_rcr_pmode pmode, enum bm_rcr_cmode cmode) argument
407 bm_rcr_finish(struct bm_portal *portal) argument
428 bm_mc_init(struct bm_portal *portal) argument
443 bm_mc_finish(struct bm_portal *portal) argument
454 bm_mc_start(struct bm_portal *portal) argument
466 bm_mc_commit(struct bm_portal *portal, u8 myverb) argument
481 bm_mc_result(struct bm_portal *portal) argument
504 bm_mc_result_timeout(struct bm_portal *portal, union bm_mc_result **mcr) argument
520 bm_isr_bscn_disable(struct bm_portal *portal) argument
526 bman_create_portal(struct bman_portal *portal, const struct bm_portal_config *c) argument
596 struct bman_portal *portal; local
816 bman_get_bm_portal_config(const struct bman_portal *portal) argument
[all...]
H A Dqman.c35 #define IRQNAME "QMan portal %d"
36 #define MAX_IRQNAME 16 /* big enough for "QMan portal %d" */
121 * synchronisation for portal accesses and data-dependencies. Use of barrier()s
124 * the portal registers as volatile
136 * Enum values use 3 letter codes. First letter matches the portal mode,
138 * ci == cache-inhibited portal register
139 * ce == cache-enabled portal register
421 static inline int qm_eqcr_init(struct qm_portal *portal, argument
426 struct qm_eqcr *eqcr = &portal->eqcr;
430 eqcr->ring = portal
452 qm_eqcr_finish(struct qm_portal *portal) argument
467 qm_eqcr_start_no_stash(struct qm_portal *portal) argument
483 qm_eqcr_start_stash(struct qm_portal *portal) argument
513 qm_eqcr_pvb_commit(struct qm_portal *portal, u8 myverb) argument
531 qm_eqcr_cce_prefetch(struct qm_portal *portal) argument
536 qm_eqcr_cce_update(struct qm_portal *portal) argument
548 qm_eqcr_set_ithresh(struct qm_portal *portal, u8 ithresh) argument
556 qm_eqcr_get_avail(struct qm_portal *portal) argument
563 qm_eqcr_get_fill(struct qm_portal *portal) argument
595 qm_dqrr_set_maxfill(struct qm_portal *portal, u8 mf) argument
601 qm_dqrr_init(struct qm_portal *portal, const struct qm_portal_config *config, enum qm_dqrr_dmode dmode, enum qm_dqrr_pmode pmode, enum qm_dqrr_cmode cmode, u8 max_fill) argument
642 qm_dqrr_finish(struct qm_portal *portal) argument
653 qm_dqrr_current( struct qm_portal *portal) argument
663 qm_dqrr_next(struct qm_portal *portal) argument
672 qm_dqrr_pvb_update(struct qm_portal *portal) argument
693 qm_dqrr_cdc_consume_1ptr(struct qm_portal *portal, const struct qm_dqrr_entry *dq, int park) argument
708 qm_dqrr_cdc_consume_n(struct qm_portal *portal, u32 bitmask) argument
717 qm_dqrr_sdqcr_set(struct qm_portal *portal, u32 sdqcr) argument
722 qm_dqrr_vdqcr_set(struct qm_portal *portal, u32 vdqcr) argument
727 qm_dqrr_set_ithresh(struct qm_portal *portal, u8 ithresh) argument
762 qm_mr_init(struct qm_portal *portal, enum qm_mr_pmode pmode, enum qm_mr_cmode cmode) argument
786 qm_mr_finish(struct qm_portal *portal) argument
794 qm_mr_current(struct qm_portal *portal) argument
803 qm_mr_next(struct qm_portal *portal) argument
812 qm_mr_pvb_update(struct qm_portal *portal) argument
829 qm_mr_cci_consume(struct qm_portal *portal, u8 num) argument
838 qm_mr_cci_consume_to_current(struct qm_portal *portal) argument
847 qm_mr_set_ithresh(struct qm_portal *portal, u8 ithresh) argument
854 qm_mc_init(struct qm_portal *portal) argument
881 qm_mc_finish(struct qm_portal *portal) argument
892 qm_mc_start(struct qm_portal *portal) argument
904 qm_mc_commit(struct qm_portal *portal, u8 myverb) argument
919 qm_mc_result(struct qm_portal *portal) argument
942 qm_mc_result_timeout(struct qm_portal *portal, union qm_mc_result **mcr) argument
1032 qman_dqrr_set_ithresh(struct qman_portal *portal, u8 ithresh) argument
1049 qman_dqrr_get_ithresh(struct qman_portal *portal, u8 *ithresh) argument
1056 qman_portal_get_iperiod(struct qman_portal *portal, u32 *iperiod) argument
1063 qman_portal_set_iperiod(struct qman_portal *portal, u32 iperiod) argument
1223 qman_create_portal(struct qman_portal *portal, const struct qm_portal_config *c, const struct qman_cgrs *cgrs) argument
1358 struct qman_portal *portal; local
1734 struct qman_portal *portal = get_affine_portal(); local
2885 qman_get_qm_portal_config( struct qman_portal *portal) argument
[all...]
H A Dbman_priv.h55 /* User-visible portal configuration settings */
56 /* portal is affined to this cpu */
58 /* portal interrupt line */
66 * which the portal affine to is not online yet.
67 * @bman_portal specifies which portal the API will use.
72 * Used by all portal interrupt registers except 'inhibit'
78 bman_get_bm_portal_config(const struct bman_portal *portal);
H A Dqman_ccsr.c258 { 0x01FF, 256, "SW portal ring memory" },
299 static void qm_set_dc(enum qm_dc_portal portal, int ed, u8 sernd) argument
301 DPAA_ASSERT(!ed || portal == qm_dc_portal_fman0 ||
302 portal == qm_dc_portal_fman1);
304 qm_ccsr_out(REG_DCP_CFG(portal),
307 qm_ccsr_out(REG_DCP_CFG(portal),
503 /* Is portal info valid */
H A Dqman_test_stash.c218 pr_crit("portal not available\n");
276 static enum qman_cb_dqrr_result normal_dqrr(struct qman_portal *portal, argument
295 static enum qman_cb_dqrr_result special_dqrr(struct qman_portal *portal, argument
H A Dqman_priv.h163 /* User-visible portal configuration settings */
164 /* portal is affined to this cpu */
166 /* portal interrupt line */
169 * the portal's dedicated channel id, used initialising
170 * frame queues to target this portal when scheduled
174 * mask of pool channels this portal has dequeue access to
220 /* QMan s/w corenet portal, low-level i/face */
227 * You can choose DEDICATED_PRECEDENCE if the portal channel should have
259 * Used by all portal interrupt registers except 'inhibit'
274 struct qman_portal *portal);
[all...]
/linux-master/drivers/soc/fsl/dpio/
H A DMakefile8 fsl-mc-dpio-objs := dpio.o qbman-portal.o dpio-service.o dpio-driver.o
/linux-master/drivers/bus/fsl-mc/
H A Dmc-sys.c92 * mc_write_command - writes a command to a Management Complex (MC) portal
94 * @portal: pointer to an MC portal
97 static inline void mc_write_command(struct fsl_mc_command __iomem *portal, argument
102 /* copy command parameters into the portal */
109 writeq_relaxed(le64_to_cpu(cmd->params[i]), &portal->params[i]);
112 writeq(le64_to_cpu(cmd->header), &portal->header);
117 * Management Complex (MC) portal
119 * @portal: pointer to an MC portal
124 mc_read_response(struct fsl_mc_command __iomem *portal, struct fsl_mc_command *resp) argument
[all...]
/linux-master/drivers/dma/idxd/
H A Dsubmit.c155 int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc) argument
161 rc = enqcmds(portal, desc);
175 void __iomem *portal; local
187 portal = idxd_wq_portal_addr(wq);
207 iosubmit_cmds512(portal, desc->hw, 1);
209 rc = idxd_enqcmds(wq, portal, desc->hw);
H A Dirq.c77 void __iomem *portal; local
88 portal = idxd_wq_portal_addr(wq);
96 iosubmit_cmds512(portal, &desc, 1);
98 rc = idxd_enqcmds(wq, portal, &desc);
H A Didxd.h196 void __iomem *portal; member in struct:idxd_wq
632 return wq->portal + ofs;
782 int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc);
H A Ddevice.c276 wq->portal = devm_ioremap(dev, start, IDXD_PORTAL_SIZE);
277 if (!wq->portal)
287 devm_iounmap(dev, wq->portal);
288 wq->portal = NULL;
299 if (wq->portal)
1339 rc = request_threaded_irq(ie->vector, NULL, idxd_wq_thread, 0, "idxd-portal", ie);
1456 dev_dbg(dev, "wq %d portal mapping failed: %d\n", wq->id, rc);
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c440 struct qman_portal *portal; local
444 portal = qman_get_affine_portal(smp_processor_id());
445 qman_portal_get_iperiod(portal, &period);
446 qman_dqrr_get_ithresh(portal, &thresh);
461 struct qman_portal *portal; local
470 portal = qman_get_affine_portal(smp_processor_id());
471 qman_portal_get_iperiod(portal, &prev_period);
472 qman_dqrr_get_ithresh(portal, &prev_thresh);
476 portal = qman_get_affine_portal(cpu);
477 res = qman_portal_set_iperiod(portal, perio
[all...]
H A Ddpaa_eth.c798 struct qman_portal *portal; local
802 portal = qman_get_affine_portal(cpu);
803 qman_p_static_dequeue_add(portal, pool);
804 qman_start_using_portal(portal, dev);
1046 /* Try to reduce the number of portal interrupts for
2452 struct qman_portal *portal, bool sched_napi)
2456 qman_p_irqsource_remove(portal, QM_PIRQ_DQRI);
2458 percpu_priv->np.p = portal;
2466 static enum qman_cb_dqrr_result rx_error_dqrr(struct qman_portal *portal, argument
2485 if (dpaa_eth_napi_schedule(percpu_priv, portal, sched_nap
2451 dpaa_eth_napi_schedule(struct dpaa_percpu_priv *percpu_priv, struct qman_portal *portal, bool sched_napi) argument
2656 rx_default_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq, bool sched_napi) argument
2815 conf_error_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq, bool sched_napi) argument
2837 conf_dflt_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq, bool sched_napi) argument
2862 egress_ern(struct qman_portal *portal, struct qman_fq *fq, const union qm_mr_entry *msg) argument
[all...]
/linux-master/include/soc/fsl/
H A Dqman.h372 /* Treat it as s/w portal stashing config */
508 #define QM_FQCTRL_HOLDACTIVE 0x0002 /* Hold active in portal */
572 #define QM_CGR_TARG_UDP_CTRL_WRITE_BIT 0x8000 /* value written to portal bit*/
574 #define QM_CGR_TARG_PORTAL(n) (0x80000000 >> (n)) /* s/w portal, 0-9 */
575 #define QM_CGR_TARG_FMAN0 0x00200000 /* direct-connect portal: fman0 */
650 /* Represents a managed portal */
669 * portal object (for handling dequeues that do not demux because context_b is
787 u16 chan; /* portal channel this object is created on */
799 #define QMAN_INITFQ_FLAG_LOCAL 0x00000004 /* set dest portal */
904 * qman_affine_channel - return the channel ID of an portal
[all...]

Completed in 420 milliseconds