Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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
258 struct bm_portal *portal = &p->p; in portal_isr() local
260 u32 is = bm_in(portal, BM_REG_ISR) & p->irq_sources; in portal_isr()
266 bm_out(portal, BM_REG_ISR, clear); in portal_isr()
304 static int bm_rcr_get_avail(struct bm_portal *portal) in bm_rcr_get_avail() argument
311 bm_rcr_get_fill(struct bm_portal *portal) bm_rcr_get_fill() argument
318 bm_rcr_set_ithresh(struct bm_portal *portal, u8 ithresh) bm_rcr_set_ithresh() argument
326 bm_rcr_cce_prefetch(struct bm_portal *portal) bm_rcr_cce_prefetch() argument
334 bm_rcr_cce_update(struct bm_portal *portal) bm_rcr_cce_update() argument
347 bm_rcr_start(struct bm_portal *portal) bm_rcr_start() argument
361 bm_rcr_pvb_commit(struct bm_portal *portal, u8 myverb) bm_rcr_pvb_commit() argument
380 bm_rcr_init(struct bm_portal *portal, enum bm_rcr_pmode pmode, enum bm_rcr_cmode cmode) bm_rcr_init() argument
407 bm_rcr_finish(struct bm_portal *portal) bm_rcr_finish() argument
428 bm_mc_init(struct bm_portal *portal) bm_mc_init() argument
443 bm_mc_finish(struct bm_portal *portal) bm_mc_finish() argument
454 bm_mc_start(struct bm_portal *portal) bm_mc_start() argument
466 bm_mc_commit(struct bm_portal *portal, u8 myverb) bm_mc_commit() argument
481 bm_mc_result(struct bm_portal *portal) bm_mc_result() argument
504 bm_mc_result_timeout(struct bm_portal *portal, union bm_mc_result **mcr) bm_mc_result_timeout() argument
520 bm_isr_bscn_disable(struct bm_portal *portal) bm_isr_bscn_disable() argument
526 bman_create_portal(struct bman_portal *portal, const struct bm_portal_config *c) bman_create_portal() argument
596 struct bman_portal *portal; bman_create_affine_portal() local
817 bman_get_bm_portal_config(const struct bman_portal *portal) bman_get_bm_portal_config() 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, in qm_eqcr_init() argument
426 struct qm_eqcr *eqcr = &portal->eqcr; in qm_eqcr_init()
430 eqcr->ring = portal in qm_eqcr_init()
452 qm_eqcr_finish(struct qm_portal *portal) qm_eqcr_finish() argument
467 qm_eqcr_start_no_stash(struct qm_portal *portal) qm_eqcr_start_no_stash() argument
483 qm_eqcr_start_stash(struct qm_portal *portal) qm_eqcr_start_stash() argument
513 qm_eqcr_pvb_commit(struct qm_portal *portal, u8 myverb) qm_eqcr_pvb_commit() argument
531 qm_eqcr_cce_prefetch(struct qm_portal *portal) qm_eqcr_cce_prefetch() argument
536 qm_eqcr_cce_update(struct qm_portal *portal) qm_eqcr_cce_update() argument
548 qm_eqcr_set_ithresh(struct qm_portal *portal, u8 ithresh) qm_eqcr_set_ithresh() argument
556 qm_eqcr_get_avail(struct qm_portal *portal) qm_eqcr_get_avail() argument
563 qm_eqcr_get_fill(struct qm_portal *portal) qm_eqcr_get_fill() argument
595 qm_dqrr_set_maxfill(struct qm_portal *portal, u8 mf) qm_dqrr_set_maxfill() 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) qm_dqrr_init() argument
642 qm_dqrr_finish(struct qm_portal *portal) qm_dqrr_finish() argument
653 qm_dqrr_current( struct qm_portal *portal) qm_dqrr_current() argument
663 qm_dqrr_next(struct qm_portal *portal) qm_dqrr_next() argument
672 qm_dqrr_pvb_update(struct qm_portal *portal) qm_dqrr_pvb_update() argument
693 qm_dqrr_cdc_consume_1ptr(struct qm_portal *portal, const struct qm_dqrr_entry *dq, int park) qm_dqrr_cdc_consume_1ptr() argument
708 qm_dqrr_cdc_consume_n(struct qm_portal *portal, u32 bitmask) qm_dqrr_cdc_consume_n() argument
717 qm_dqrr_sdqcr_set(struct qm_portal *portal, u32 sdqcr) qm_dqrr_sdqcr_set() argument
722 qm_dqrr_vdqcr_set(struct qm_portal *portal, u32 vdqcr) qm_dqrr_vdqcr_set() argument
727 qm_dqrr_set_ithresh(struct qm_portal *portal, u8 ithresh) qm_dqrr_set_ithresh() argument
762 qm_mr_init(struct qm_portal *portal, enum qm_mr_pmode pmode, enum qm_mr_cmode cmode) qm_mr_init() argument
786 qm_mr_finish(struct qm_portal *portal) qm_mr_finish() argument
794 qm_mr_current(struct qm_portal *portal) qm_mr_current() argument
803 qm_mr_next(struct qm_portal *portal) qm_mr_next() argument
812 qm_mr_pvb_update(struct qm_portal *portal) qm_mr_pvb_update() argument
829 qm_mr_cci_consume(struct qm_portal *portal, u8 num) qm_mr_cci_consume() argument
838 qm_mr_cci_consume_to_current(struct qm_portal *portal) qm_mr_cci_consume_to_current() argument
847 qm_mr_set_ithresh(struct qm_portal *portal, u8 ithresh) qm_mr_set_ithresh() argument
854 qm_mc_init(struct qm_portal *portal) qm_mc_init() argument
881 qm_mc_finish(struct qm_portal *portal) qm_mc_finish() argument
892 qm_mc_start(struct qm_portal *portal) qm_mc_start() argument
904 qm_mc_commit(struct qm_portal *portal, u8 myverb) qm_mc_commit() argument
919 qm_mc_result(struct qm_portal *portal) qm_mc_result() argument
942 qm_mc_result_timeout(struct qm_portal *portal, union qm_mc_result **mcr) qm_mc_result_timeout() argument
1032 qman_dqrr_set_ithresh(struct qman_portal *portal, u8 ithresh) qman_dqrr_set_ithresh() argument
1049 qman_dqrr_get_ithresh(struct qman_portal *portal, u8 *ithresh) qman_dqrr_get_ithresh() argument
1056 qman_portal_get_iperiod(struct qman_portal *portal, u32 *iperiod) qman_portal_get_iperiod() argument
1063 qman_portal_set_iperiod(struct qman_portal *portal, u32 iperiod) qman_portal_set_iperiod() argument
1223 qman_create_portal(struct qman_portal *portal, const struct qm_portal_config *c, const struct qman_cgrs *cgrs) qman_create_portal() argument
1358 struct qman_portal *portal; qman_create_affine_portal() local
1731 struct qman_portal *portal = get_affine_portal(); qman_affine_channel() local
2829 qman_get_qm_portal_config( struct qman_portal *portal) qman_get_qm_portal_config() argument
[all...]
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) in qm_set_dc() argument
301 DPAA_ASSERT(!ed || portal == qm_dc_portal_fman0 || in qm_set_dc()
302 portal == qm_dc_portal_fman1); in qm_set_dc()
304 qm_ccsr_out(REG_DCP_CFG(portal), in qm_set_dc()
307 qm_ccsr_out(REG_DCP_CFG(portal), in qm_set_dc()
525 /* Is portal info valid */ in log_additional_error_info()
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_test_stash.c218 pr_crit("portal not available\n"); in allocate_frame_data()
276 static enum qman_cb_dqrr_result normal_dqrr(struct qman_portal *portal, in normal_dqrr() argument
294 static enum qman_cb_dqrr_result special_dqrr(struct qman_portal *portal, in special_dqrr() 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...]
/kernel/linux/linux-6.6/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
258 struct bm_portal *portal = &p->p; in portal_isr() local
260 u32 is = bm_in(portal, BM_REG_ISR) & p->irq_sources; in portal_isr()
266 bm_out(portal, BM_REG_ISR, clear); in portal_isr()
304 static int bm_rcr_get_avail(struct bm_portal *portal) in bm_rcr_get_avail() argument
311 bm_rcr_get_fill(struct bm_portal *portal) bm_rcr_get_fill() argument
318 bm_rcr_set_ithresh(struct bm_portal *portal, u8 ithresh) bm_rcr_set_ithresh() argument
326 bm_rcr_cce_prefetch(struct bm_portal *portal) bm_rcr_cce_prefetch() argument
334 bm_rcr_cce_update(struct bm_portal *portal) bm_rcr_cce_update() argument
347 bm_rcr_start(struct bm_portal *portal) bm_rcr_start() argument
361 bm_rcr_pvb_commit(struct bm_portal *portal, u8 myverb) bm_rcr_pvb_commit() argument
380 bm_rcr_init(struct bm_portal *portal, enum bm_rcr_pmode pmode, enum bm_rcr_cmode cmode) bm_rcr_init() argument
407 bm_rcr_finish(struct bm_portal *portal) bm_rcr_finish() argument
428 bm_mc_init(struct bm_portal *portal) bm_mc_init() argument
443 bm_mc_finish(struct bm_portal *portal) bm_mc_finish() argument
454 bm_mc_start(struct bm_portal *portal) bm_mc_start() argument
466 bm_mc_commit(struct bm_portal *portal, u8 myverb) bm_mc_commit() argument
481 bm_mc_result(struct bm_portal *portal) bm_mc_result() argument
504 bm_mc_result_timeout(struct bm_portal *portal, union bm_mc_result **mcr) bm_mc_result_timeout() argument
520 bm_isr_bscn_disable(struct bm_portal *portal) bm_isr_bscn_disable() argument
526 bman_create_portal(struct bman_portal *portal, const struct bm_portal_config *c) bman_create_portal() argument
596 struct bman_portal *portal; bman_create_affine_portal() local
816 bman_get_bm_portal_config(const struct bman_portal *portal) bman_get_bm_portal_config() 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, in qm_eqcr_init() argument
426 struct qm_eqcr *eqcr = &portal->eqcr; in qm_eqcr_init()
430 eqcr->ring = portal in qm_eqcr_init()
452 qm_eqcr_finish(struct qm_portal *portal) qm_eqcr_finish() argument
467 qm_eqcr_start_no_stash(struct qm_portal *portal) qm_eqcr_start_no_stash() argument
483 qm_eqcr_start_stash(struct qm_portal *portal) qm_eqcr_start_stash() argument
513 qm_eqcr_pvb_commit(struct qm_portal *portal, u8 myverb) qm_eqcr_pvb_commit() argument
531 qm_eqcr_cce_prefetch(struct qm_portal *portal) qm_eqcr_cce_prefetch() argument
536 qm_eqcr_cce_update(struct qm_portal *portal) qm_eqcr_cce_update() argument
548 qm_eqcr_set_ithresh(struct qm_portal *portal, u8 ithresh) qm_eqcr_set_ithresh() argument
556 qm_eqcr_get_avail(struct qm_portal *portal) qm_eqcr_get_avail() argument
563 qm_eqcr_get_fill(struct qm_portal *portal) qm_eqcr_get_fill() argument
595 qm_dqrr_set_maxfill(struct qm_portal *portal, u8 mf) qm_dqrr_set_maxfill() 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) qm_dqrr_init() argument
642 qm_dqrr_finish(struct qm_portal *portal) qm_dqrr_finish() argument
653 qm_dqrr_current( struct qm_portal *portal) qm_dqrr_current() argument
663 qm_dqrr_next(struct qm_portal *portal) qm_dqrr_next() argument
672 qm_dqrr_pvb_update(struct qm_portal *portal) qm_dqrr_pvb_update() argument
693 qm_dqrr_cdc_consume_1ptr(struct qm_portal *portal, const struct qm_dqrr_entry *dq, int park) qm_dqrr_cdc_consume_1ptr() argument
708 qm_dqrr_cdc_consume_n(struct qm_portal *portal, u32 bitmask) qm_dqrr_cdc_consume_n() argument
717 qm_dqrr_sdqcr_set(struct qm_portal *portal, u32 sdqcr) qm_dqrr_sdqcr_set() argument
722 qm_dqrr_vdqcr_set(struct qm_portal *portal, u32 vdqcr) qm_dqrr_vdqcr_set() argument
727 qm_dqrr_set_ithresh(struct qm_portal *portal, u8 ithresh) qm_dqrr_set_ithresh() argument
762 qm_mr_init(struct qm_portal *portal, enum qm_mr_pmode pmode, enum qm_mr_cmode cmode) qm_mr_init() argument
786 qm_mr_finish(struct qm_portal *portal) qm_mr_finish() argument
794 qm_mr_current(struct qm_portal *portal) qm_mr_current() argument
803 qm_mr_next(struct qm_portal *portal) qm_mr_next() argument
812 qm_mr_pvb_update(struct qm_portal *portal) qm_mr_pvb_update() argument
829 qm_mr_cci_consume(struct qm_portal *portal, u8 num) qm_mr_cci_consume() argument
838 qm_mr_cci_consume_to_current(struct qm_portal *portal) qm_mr_cci_consume_to_current() argument
847 qm_mr_set_ithresh(struct qm_portal *portal, u8 ithresh) qm_mr_set_ithresh() argument
854 qm_mc_init(struct qm_portal *portal) qm_mc_init() argument
881 qm_mc_finish(struct qm_portal *portal) qm_mc_finish() argument
892 qm_mc_start(struct qm_portal *portal) qm_mc_start() argument
904 qm_mc_commit(struct qm_portal *portal, u8 myverb) qm_mc_commit() argument
919 qm_mc_result(struct qm_portal *portal) qm_mc_result() argument
942 qm_mc_result_timeout(struct qm_portal *portal, union qm_mc_result **mcr) qm_mc_result_timeout() argument
1032 qman_dqrr_set_ithresh(struct qman_portal *portal, u8 ithresh) qman_dqrr_set_ithresh() argument
1049 qman_dqrr_get_ithresh(struct qman_portal *portal, u8 *ithresh) qman_dqrr_get_ithresh() argument
1056 qman_portal_get_iperiod(struct qman_portal *portal, u32 *iperiod) qman_portal_get_iperiod() argument
1063 qman_portal_set_iperiod(struct qman_portal *portal, u32 iperiod) qman_portal_set_iperiod() argument
1223 qman_create_portal(struct qman_portal *portal, const struct qm_portal_config *c, const struct qman_cgrs *cgrs) qman_create_portal() argument
1358 struct qman_portal *portal; qman_create_affine_portal() local
1731 struct qman_portal *portal = get_affine_portal(); qman_affine_channel() local
2882 qman_get_qm_portal_config( struct qman_portal *portal) qman_get_qm_portal_config() argument
[all...]
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) in qm_set_dc() argument
301 DPAA_ASSERT(!ed || portal == qm_dc_portal_fman0 || in qm_set_dc()
302 portal == qm_dc_portal_fman1); in qm_set_dc()
304 qm_ccsr_out(REG_DCP_CFG(portal), in qm_set_dc()
307 qm_ccsr_out(REG_DCP_CFG(portal), in qm_set_dc()
525 /* Is portal info valid */ in log_additional_error_info()
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_test_stash.c218 pr_crit("portal not available\n"); in allocate_frame_data()
276 static enum qman_cb_dqrr_result normal_dqrr(struct qman_portal *portal, in normal_dqrr() argument
295 static enum qman_cb_dqrr_result special_dqrr(struct qman_portal *portal, in special_dqrr() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c522 struct qman_portal *portal; in dpaa_get_coalesce() local
526 portal = qman_get_affine_portal(smp_processor_id()); in dpaa_get_coalesce()
527 qman_portal_get_iperiod(portal, &period); in dpaa_get_coalesce()
528 qman_dqrr_get_ithresh(portal, &thresh); in dpaa_get_coalesce()
541 struct qman_portal *portal; in dpaa_set_coalesce() local
550 portal = qman_get_affine_portal(smp_processor_id()); in dpaa_set_coalesce()
551 qman_portal_get_iperiod(portal, &prev_period); in dpaa_set_coalesce()
552 qman_dqrr_get_ithresh(portal, &prev_thresh); in dpaa_set_coalesce()
556 portal = qman_get_affine_portal(cpu); in dpaa_set_coalesce()
557 res = qman_portal_set_iperiod(portal, perio in dpaa_set_coalesce()
[all...]
H A Ddpaa_eth.c800 struct qman_portal *portal; in dpaa_eth_add_channel() local
804 portal = qman_get_affine_portal(cpu); in dpaa_eth_add_channel()
805 qman_p_static_dequeue_add(portal, pool); in dpaa_eth_add_channel()
806 qman_start_using_portal(portal, dev); in dpaa_eth_add_channel()
1023 /* Try to reduce the number of portal interrupts for in dpaa_fq_init()
2316 struct qman_portal *portal) in dpaa_eth_napi_schedule()
2320 qman_p_irqsource_remove(portal, QM_PIRQ_DQRI); in dpaa_eth_napi_schedule()
2322 percpu_priv->np.p = portal; in dpaa_eth_napi_schedule()
2330 static enum qman_cb_dqrr_result rx_error_dqrr(struct qman_portal *portal, in rx_error_dqrr() argument
2348 if (dpaa_eth_napi_schedule(percpu_priv, portal)) in rx_error_dqrr()
2315 dpaa_eth_napi_schedule(struct dpaa_percpu_priv *percpu_priv, struct qman_portal *portal) dpaa_eth_napi_schedule() argument
2357 rx_default_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq) rx_default_dqrr() argument
2474 conf_error_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq) conf_error_dqrr() argument
2495 conf_dflt_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq) conf_dflt_dqrr() argument
2519 egress_ern(struct qman_portal *portal, struct qman_fq *fq, const union qm_mr_entry *msg) egress_ern() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c440 struct qman_portal *portal; in dpaa_get_coalesce() local
444 portal = qman_get_affine_portal(smp_processor_id()); in dpaa_get_coalesce()
445 qman_portal_get_iperiod(portal, &period); in dpaa_get_coalesce()
446 qman_dqrr_get_ithresh(portal, &thresh); in dpaa_get_coalesce()
461 struct qman_portal *portal; in dpaa_set_coalesce() local
470 portal = qman_get_affine_portal(smp_processor_id()); in dpaa_set_coalesce()
471 qman_portal_get_iperiod(portal, &prev_period); in dpaa_set_coalesce()
472 qman_dqrr_get_ithresh(portal, &prev_thresh); in dpaa_set_coalesce()
476 portal = qman_get_affine_portal(cpu); in dpaa_set_coalesce()
477 res = qman_portal_set_iperiod(portal, perio in dpaa_set_coalesce()
[all...]
H A Ddpaa_eth.c798 struct qman_portal *portal; in dpaa_eth_add_channel() local
802 portal = qman_get_affine_portal(cpu); in dpaa_eth_add_channel()
803 qman_p_static_dequeue_add(portal, pool); in dpaa_eth_add_channel()
804 qman_start_using_portal(portal, dev); in dpaa_eth_add_channel()
1046 /* Try to reduce the number of portal interrupts for in dpaa_fq_init()
2452 struct qman_portal *portal, bool sched_napi) in dpaa_eth_napi_schedule()
2456 qman_p_irqsource_remove(portal, QM_PIRQ_DQRI); in dpaa_eth_napi_schedule()
2458 percpu_priv->np.p = portal; in dpaa_eth_napi_schedule()
2466 static enum qman_cb_dqrr_result rx_error_dqrr(struct qman_portal *portal, in rx_error_dqrr() argument
2485 if (dpaa_eth_napi_schedule(percpu_priv, portal, sched_nap in rx_error_dqrr()
2451 dpaa_eth_napi_schedule(struct dpaa_percpu_priv *percpu_priv, struct qman_portal *portal, bool sched_napi) dpaa_eth_napi_schedule() argument
2656 rx_default_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq, bool sched_napi) rx_default_dqrr() argument
2815 conf_error_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq, bool sched_napi) conf_error_dqrr() argument
2837 conf_dflt_dqrr(struct qman_portal *portal, struct qman_fq *fq, const struct qm_dqrr_entry *dq, bool sched_napi) conf_dflt_dqrr() argument
2862 egress_ern(struct qman_portal *portal, struct qman_fq *fq, const union qm_mr_entry *msg) egress_ern() argument
[all...]
/kernel/linux/linux-5.10/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, in mc_write_command() argument
102 /* copy command parameters into the portal */ in mc_write_command()
109 writeq_relaxed(le64_to_cpu(cmd->params[i]), &portal->params[i]); in mc_write_command()
112 writeq(le64_to_cpu(cmd->header), &portal->header); in mc_write_command()
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) mc_read_response() argument
[all...]
/kernel/linux/linux-6.6/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, in mc_write_command() argument
102 /* copy command parameters into the portal */ in mc_write_command()
109 writeq_relaxed(le64_to_cpu(cmd->params[i]), &portal->params[i]); in mc_write_command()
112 writeq(le64_to_cpu(cmd->header), &portal->header); in mc_write_command()
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) mc_read_response() argument
[all...]
/kernel/linux/linux-6.6/drivers/dma/idxd/
H A Dsubmit.c151 int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc) in idxd_enqcmds() argument
157 rc = enqcmds(portal, desc); in idxd_enqcmds()
171 void __iomem *portal; in idxd_submit_desc() local
183 portal = idxd_wq_portal_addr(wq); in idxd_submit_desc()
203 iosubmit_cmds512(portal, desc->hw, 1); in idxd_submit_desc()
205 rc = idxd_enqcmds(wq, portal, desc->hw); in idxd_submit_desc()
H A Dirq.c77 void __iomem *portal; in idxd_int_handle_revoke_drain() local
88 portal = idxd_wq_portal_addr(wq); in idxd_int_handle_revoke_drain()
96 iosubmit_cmds512(portal, &desc, 1); in idxd_int_handle_revoke_drain()
98 rc = idxd_enqcmds(wq, portal, &desc); in idxd_int_handle_revoke_drain()
H A Didxd.h187 void __iomem *portal; member
598 return wq->portal + ofs; in idxd_wq_portal_addr()
712 int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc);
/kernel/linux/linux-5.10/drivers/dma/idxd/
H A Dsubmit.c72 void __iomem *portal; in idxd_submit_desc() local
77 portal = wq->dportal; in idxd_submit_desc()
84 iosubmit_cmds512(portal, desc->hw, 1); in idxd_submit_desc()
/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/
H A DMakefile8 fsl-mc-dpio-objs := dpio.o qbman-portal.o dpio-service.o dpio-driver.o
/kernel/linux/linux-6.6/drivers/soc/fsl/dpio/
H A DMakefile8 fsl-mc-dpio-objs := dpio.o qbman-portal.o dpio-service.o dpio-driver.o
/kernel/linux/linux-5.10/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
786 u16 chan; /* portal channel this object is created on */
798 #define QMAN_INITFQ_FLAG_LOCAL 0x00000004 /* set dest portal */
903 * qman_affine_channel - return the channel ID of an portal
[all...]
/kernel/linux/linux-6.6/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 31 milliseconds

12