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

/freebsd-11-stable/sys/contrib/ncsw/Peripherals/QM/
H A Dqman_low.h113 #define qm_in(reg) __qm_in(&portal->addr, REG_##reg)
114 #define qm_out(reg, val) __qm_out(&portal->addr, REG_##reg, (uint32_t)val)
143 #define qm_cl_touch_ro(reg) __qm_cl_touch_ro(&portal->addr, CL_##reg##_CENA)
144 #define qm_cl_touch_rw(reg) __qm_cl_touch_rw(&portal->addr, CL_##reg##_CENA)
145 #define qm_cl_in(reg) __qm_cl_in(&portal->addr, CL_##reg##_CENA)
146 #define qm_cl_out(reg, val) __qm_cl_out(&portal->addr, CL_##reg##_CENA, val)
147 #define qm_cl_invalidate(reg) __qm_cl_invalidate(&portal->addr, CL_##reg##_CENA)
160 static __inline__ t_Error __qm_portal_bind(struct qm_portal *portal, uint8_t iface) argument
163 if (!(portal->config.bound & iface)) {
164 portal
170 __qm_portal_unbind(struct qm_portal *portal, uint8_t iface) argument
208 qm_eqcr_init(struct qm_portal *portal, e_QmPortalProduceMode pmode, e_QmPortalEqcrConsumeMode cmode) argument
241 qm_eqcr_finish(struct qm_portal *portal) argument
259 qm_eqcr_start(struct qm_portal *portal) argument
274 qm_eqcr_abort(struct qm_portal *portal) argument
285 qm_eqcr_pend_and_next(struct qm_portal *portal, uint8_t myverb) argument
315 qmPortalEqcrPciCommit(struct qm_portal *portal, uint8_t myverb) argument
333 qmPortalEqcrPcePrefetch(struct qm_portal *portal) argument
343 qmPortalEqcrPceCommit(struct qm_portal *portal, uint8_t myverb) argument
361 qmPortalEqcrPvbCommit(struct qm_portal *portal, uint8_t myverb) argument
380 qmPortalEqcrCciUpdate(struct qm_portal *portal) argument
393 qmPortalEqcrCcePrefetch(struct qm_portal *portal) argument
402 qmPortalEqcrCceUpdate(struct qm_portal *portal) argument
416 qm_eqcr_get_ithresh(struct qm_portal *portal) argument
422 qm_eqcr_set_ithresh(struct qm_portal *portal, uint8_t ithresh) argument
429 qm_eqcr_get_avail(struct qm_portal *portal) argument
435 qm_eqcr_get_fill(struct qm_portal *portal) argument
470 qm_dqrr_set_maxfill(struct qm_portal *portal, uint8_t mf) argument
476 qm_dqrr_init(struct qm_portal *portal, e_QmPortalDequeueMode dmode, e_QmPortalProduceMode pmode, e_QmPortalDqrrConsumeMode cmode, uint8_t max_fill, int stash_ring, int stash_data) argument
527 qm_dqrr_finish(struct qm_portal *portal) argument
535 qm_dqrr_current(struct qm_portal *portal) argument
543 qm_dqrr_cursor(struct qm_portal *portal) argument
549 qm_dqrr_next(struct qm_portal *portal) argument
559 qmPortalDqrrPciUpdate(struct qm_portal *portal) argument
572 qmPortalDqrrPcePrefetch(struct qm_portal *portal) argument
582 qmPortalDqrrPceUpdate(struct qm_portal *portal) argument
595 qmPortalDqrrPvbPrefetch(struct qm_portal *portal) argument
606 qmPortalDqrrPvbUpdate(struct qm_portal *portal) argument
623 qmPortalDqrrCciConsume(struct qm_portal *portal, uint8_t num) argument
633 qmPortalDqrrCciConsumeToCurrent(struct qm_portal *portal) argument
643 qmPortalDqrrCcePrefetch(struct qm_portal *portal) argument
653 qmPortalDqrrCceConsume(struct qm_portal *portal, uint8_t num) argument
663 qmPortalDqrrCceConsume_to_current(struct qm_portal *portal) argument
673 qmPortalDqrrDcaConsume1(struct qm_portal *portal, uint8_t idx, bool park) argument
[all...]
H A Dqm.h310 #define PORTALS_OFFSET_CE(portal) (0x4000 * portal)
311 #define PORTALS_OFFSET_CI(portal) (0x1000 * portal)
H A Dfsl_qman.h50 /* QMan s/w corenet portal, low-level i/face */
99 /* Represents s/w corenet portal mapped data structures */
106 /* This type represents a s/w corenet portal space, and is used for creating the
107 * portal objects within it (EQCR, DQRR, etc) */
113 * portal from only one cpu), this is the logical CPU that the portal
119 /* portal interrupt line */
121 /* The portal's dedicated channel id, use this value for initializing
122 * frame queues to target this portal when scheduled. */
124 /* A mask of which pool channels this portal ha
477 volatile enum qm_dc_portal portal:3; member in struct:qm_mr_entry::__anon8267::__anon8269
[all...]
H A Dqm_portal_fqr.c506 XX_Print("Ignoring unowned MR frame on cpu %d, dc-portal 0x%02x.\n",
507 p_QmPortal->p_LowQmPortal->config.cpu,p_Msg->dcern.portal);
528 /* cgrs[0] is the portal mask for its cg's, cgrs[1] is the
534 /* keep only cg's that are registered for this portal */
669 /* use portal default handlers */
751 /* use portal default handlers */
825 /* use portal default handlers */
871 DBG(TRACE, ("software-portal %d got interrupt", p_QmPortal->p_LowQmPortal->config.cpu));
1660 RETURN_ERROR(MAJOR, E_NO_MEMORY, ("create portal failed"));
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/BM/
H A Dfsl_bman.h48 /* BMan s/w corenet portal, low-level i/face */
72 /* Represents s/w corenet portal mapped data structures */
77 /* This type represents a s/w corenet portal space, and is used for creating the
78 * portal objects within it (RCR, etc) */
124 t_Error bm_rcr_init(struct bm_portal *portal,
127 void bm_rcr_finish(struct bm_portal *portal);
130 struct bm_rcr_entry *bm_rcr_start(struct bm_portal *portal);
131 void bm_rcr_abort(struct bm_portal *portal);
137 struct bm_rcr_entry *bm_rcr_pend_and_next(struct bm_portal *portal, uint8_t myverb);
140 void bm_rcr_pci_commit(struct bm_portal *portal, uint8_
[all...]
H A Dbman_low.c97 #define bm_in(reg) __bm_in(&portal->addr, REG_##reg)
98 #define bm_out(reg, val) __bm_out(&portal->addr, REG_##reg, val)
127 #define bm_cl_touch_ro(reg) __bm_cl_touch_ro(&portal->addr, CL_##reg##_CENA)
128 #define bm_cl_touch_rw(reg) __bm_cl_touch_rw(&portal->addr, CL_##reg##_CENA)
129 #define bm_cl_in(reg) __bm_cl_in(&portal->addr, CL_##reg##_CENA)
130 #define bm_cl_out(reg, val) __bm_cl_out(&portal->addr, CL_##reg##_CENA, val)
131 #define bm_cl_invalidate(reg) __bm_cl_invalidate(&portal->addr, CL_##reg##_CENA)
147 /* It's safer to code in terms of the 'rcr' object than the 'portal' object,
149 * we could manipulate some other structure within 'portal'. */
150 /* #define RCR_API_START() register struct bm_rcr *rcr = &portal
174 bm_rcr_init(struct bm_portal *portal, e_BmPortalProduceMode pmode, e_BmPortalRcrConsumeMode cmode) argument
201 bm_rcr_finish(struct bm_portal *portal) argument
215 bm_rcr_start(struct bm_portal *portal) argument
228 bm_rcr_abort(struct bm_portal *portal) argument
239 bm_rcr_pend_and_next(struct bm_portal *portal, uint8_t myverb) argument
254 bm_rcr_pci_commit(struct bm_portal *portal, uint8_t myverb) argument
269 bm_rcr_pce_prefetch(struct bm_portal *portal) argument
276 bm_rcr_pce_commit(struct bm_portal *portal, uint8_t myverb) argument
291 bm_rcr_pvb_commit(struct bm_portal *portal, uint8_t myverb) argument
309 bm_rcr_cci_update(struct bm_portal *portal) argument
321 bm_rcr_cce_prefetch(struct bm_portal *portal) argument
328 bm_rcr_cce_update(struct bm_portal *portal) argument
341 bm_rcr_get_ithresh(struct bm_portal *portal) argument
348 bm_rcr_set_ithresh(struct bm_portal *portal, uint8_t ithresh) argument
356 bm_rcr_get_avail(struct bm_portal *portal) argument
363 bm_rcr_get_fill(struct bm_portal *portal) argument
379 bm_mc_init(struct bm_portal *portal) argument
394 bm_mc_finish(struct bm_portal *portal) argument
407 bm_mc_start(struct bm_portal *portal) argument
419 bm_mc_abort(struct bm_portal *portal) argument
431 bm_mc_commit(struct bm_portal *portal, uint8_t myverb) argument
445 bm_mc_result(struct bm_portal *portal) argument
470 bm_isr_bscn_mask(struct bm_portal *portal, uint8_t bpid, int enable) argument
484 __bm_isr_read(struct bm_portal *portal, enum bm_isr_reg n) argument
490 __bm_isr_write(struct bm_portal *portal, enum bm_isr_reg n, uint32_t val) argument
[all...]
H A Dbm_portal.c63 t_BmPortal *portal = ptr; local
65 if (portal->flags & BMAN_PORTAL_FLAG_IRQ_FAST)
66 __poll_portal_fast(portal);
67 __poll_portal_slow(portal);
72 * bman_create_portal - Manage a Bman s/w portal
73 * @portal: the s/w corenet portal to use
75 * @pools: bit-array of buffer pools available to this portal
76 * @portal_ctx: opaque user-supplied data to be associated with the portal
78 * Creates a managed portal objec
[all...]
/freebsd-11-stable/tools/regression/iscsi/
H A Dctl.conf5 portal-group meh {
12 portal-group meh
25 portal-group meh
/freebsd-11-stable/sys/dev/dpaa/
H A Dbman.c205 t_Handle pool, portal; local
214 portal = bman_portal_setup(sc);
215 if (portal == NULL)
220 bpp.h_BmPortal = portal;
300 t_Handle portal; local
306 portal = bman_portal_setup(sc);
307 if (portal == NULL) {
312 error = BM_POOL_FillBufs(pool, portal, nbufs);
323 t_Handle portal; local
329 portal
346 t_Handle portal; local
[all...]
H A Dqman_portals.c69 /* Map bman portal to physical address space */
74 /* Set portal properties for XX_VirtToPhys() */
124 t_Handle portal; local
133 portal = NULL;
136 /* Check if portal is ready */
141 /* Return if portal is already initialized */
153 /* Map portal registers */
156 /* Configure and initialize portal */
167 portal = QM_PORTAL_Config(&qpp);
168 if (portal
[all...]
H A Dbman_portals.c64 /* Map bman portal to physical address space */
69 /* Set portal properties for XX_VirtToPhys() */
118 t_Handle portal; local
128 portal = NULL;
131 /* Check if portal is ready */
136 /* Return if portal is already initialized */
148 /* Map portal registers */
151 /* Configure and initialize portal */
158 portal = BM_PORTAL_Config(&bpp);
159 if (portal
[all...]
H A Dqman.c308 t_Handle fqrh, portal; local
316 portal = qman_portal_setup(sc);
317 if (portal == NULL) {
318 device_printf(sc->sc_dev, "could not setup QMan portal\n");
323 fqr.h_QmPortal = portal;
405 t_Handle portal; local
411 portal = qman_portal_setup(sc);
412 if (portal == NULL) {
413 device_printf(sc->sc_dev, "could not setup QMan portal\n");
430 t_Handle portal; local
456 t_Handle portal; local
481 t_Handle portal; local
506 t_Handle portal; local
531 t_Handle portal; local
[all...]
H A Dif_dtsec_rm.c352 dtsec_rm_fqr_rx_callback(t_Handle app, t_Handle fqr, t_Handle portal, argument
399 dtsec_rm_fqr_tx_confirm_callback(t_Handle app, t_Handle fqr, t_Handle portal, argument
/freebsd-11-stable/usr.sbin/ctld/
H A Dtoken.l68 initiator-portal { return INITIATOR_PORTAL; }
81 portal-group { return PORTAL_GROUP; }
H A Dctld.c355 auth_portal_new(struct auth_group *ag, const char *portal) argument
365 ap->ap_initator_portal = checked_strdup(portal);
366 mask = str = checked_strdup(portal);
408 log_warnx("incorrect initiator portal \"%s\"", portal);
582 static struct portal *
585 struct portal *portal; local
587 portal = calloc(1, sizeof(*portal));
597 portal_delete(struct portal *portal) argument
635 struct portal *portal, *tmp; local
726 struct portal *portal; local
807 struct portal *portal; local
1582 connection_new(struct portal *portal, int fd, const char *host, const struct sockaddr *client_sa) argument
2295 handle_connection(struct portal *portal, int fd, const struct sockaddr *client_sa, bool dont_fork) argument
2376 struct portal *portal; local
[all...]
H A Ddiscovery.c171 struct portal *portal; local
181 TAILQ_FOREACH(portal, &port->p_portal_group->pg_portals, p_next) {
182 ai = portal->p_ai;
H A Dctld.h97 struct portal { struct
98 TAILQ_ENTRY(portal) p_next;
128 TAILQ_HEAD(, portal) pg_portals;
234 struct portal *conn_portal;
/freebsd-11-stable/usr.bin/iscsictl/
H A Discsictl.c525 xo_emit("{L:/%-18s}{V:portal/%s}\n",
526 "Initiator portal:", conf->isc_initiator_addr);
534 xo_emit("{L:/%-18s}{V:portal/%s}\n",
535 "Target portal:", conf->isc_target_addr);
591 "Target name", "Target portal", "State");
601 xo_emit("{V:name/%-36s/%s} {V:portal/%-16s/%s} ",
689 fprintf(stderr, "usage: iscsictl -A -p portal -t target "
695 fprintf(stderr, " iscsictl -M -i session-id [-p portal] "
699 fprintf(stderr, " iscsictl -R [-p portal] [-t target]\n");
712 char *nickname = NULL, *discovery_host = NULL, *portal local
[all...]

Completed in 260 milliseconds