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

/freebsd-12-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::__anon10899::__anon10901
[all...]
H A Dqm_portal_fqr.c545 XX_Print("Ignoring unowned MR frame on cpu %d, dc-portal 0x%02x.\n",
546 p_QmPortal->p_LowQmPortal->config.cpu,p_Msg->dcern.portal);
567 /* cgrs[0] is the portal mask for its cg's, cgrs[1] is the
573 /* keep only cg's that are registered for this portal */
708 /* use portal default handlers */
790 /* use portal default handlers */
864 /* use portal default handlers */
910 DBG(TRACE, ("software-portal %d got interrupt", p_QmPortal->p_LowQmPortal->config.cpu));
1694 RETURN_ERROR(MAJOR, E_NO_MEMORY, ("create portal failed"));
/freebsd-12-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.c101 #define bm_in(reg) __bm_in(&portal->addr, REG_##reg)
102 #define bm_out(reg, val) __bm_out(&portal->addr, REG_##reg, val)
131 #define bm_cl_touch_ro(reg) __bm_cl_touch_ro(&portal->addr, CL_##reg##_CENA)
132 #define bm_cl_touch_rw(reg) __bm_cl_touch_rw(&portal->addr, CL_##reg##_CENA)
133 #define bm_cl_in(reg) __bm_cl_in(&portal->addr, CL_##reg##_CENA)
134 #define bm_cl_out(reg, val) __bm_cl_out(&portal->addr, CL_##reg##_CENA, val)
135 #define bm_cl_invalidate(reg) __bm_cl_invalidate(&portal->addr, CL_##reg##_CENA)
151 /* It's safer to code in terms of the 'rcr' object than the 'portal' object,
153 * we could manipulate some other structure within 'portal'. */
154 /* #define RCR_API_START() register struct bm_rcr *rcr = &portal
178 bm_rcr_init(struct bm_portal *portal, e_BmPortalProduceMode pmode, e_BmPortalRcrConsumeMode cmode) argument
205 bm_rcr_finish(struct bm_portal *portal) argument
219 bm_rcr_start(struct bm_portal *portal) argument
232 bm_rcr_abort(struct bm_portal *portal) argument
243 bm_rcr_pend_and_next(struct bm_portal *portal, uint8_t myverb) argument
258 bm_rcr_pci_commit(struct bm_portal *portal, uint8_t myverb) argument
273 bm_rcr_pce_prefetch(struct bm_portal *portal) argument
280 bm_rcr_pce_commit(struct bm_portal *portal, uint8_t myverb) argument
295 bm_rcr_pvb_commit(struct bm_portal *portal, uint8_t myverb) argument
313 bm_rcr_cci_update(struct bm_portal *portal) argument
325 bm_rcr_cce_prefetch(struct bm_portal *portal) argument
332 bm_rcr_cce_update(struct bm_portal *portal) argument
345 bm_rcr_get_ithresh(struct bm_portal *portal) argument
352 bm_rcr_set_ithresh(struct bm_portal *portal, uint8_t ithresh) argument
360 bm_rcr_get_avail(struct bm_portal *portal) argument
367 bm_rcr_get_fill(struct bm_portal *portal) argument
383 bm_mc_init(struct bm_portal *portal) argument
398 bm_mc_finish(struct bm_portal *portal) argument
411 bm_mc_start(struct bm_portal *portal) argument
423 bm_mc_abort(struct bm_portal *portal) argument
435 bm_mc_commit(struct bm_portal *portal, uint8_t myverb) argument
449 bm_mc_result(struct bm_portal *portal) argument
474 bm_isr_bscn_mask(struct bm_portal *portal, uint8_t bpid, int enable) argument
488 __bm_isr_read(struct bm_portal *portal, enum bm_isr_reg n) argument
494 __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-12-stable/tools/regression/iscsi/
H A Dctl.conf5 portal-group meh {
12 portal-group meh
25 portal-group meh
/freebsd-12-stable/sys/dev/dpaa/
H A Dbman.c204 t_Handle pool, portal; local
213 portal = bman_portal_setup(sc);
214 if (portal == NULL)
219 bpp.h_BmPortal = portal;
299 t_Handle portal; local
305 portal = bman_portal_setup(sc);
306 if (portal == NULL) {
311 error = BM_POOL_FillBufs(pool, portal, nbufs);
322 t_Handle portal; local
328 portal
345 t_Handle portal; local
[all...]
H A Dqman_portals.c69 /* Map bman portal to physical address space */
74 /* Set portal properties for XX_VirtToPhys() */
125 t_Handle portal; local
134 portal = NULL;
137 /* Check if portal is ready */
142 /* Return if portal is already initialized */
154 /* Map portal registers */
157 /* Configure and initialize portal */
168 portal = QM_PORTAL_Config(&qpp);
169 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
129 portal = NULL;
132 /* Check if portal is ready */
137 /* Return if portal is already initialized */
149 /* Map portal registers */
152 /* Configure and initialize portal */
159 portal = BM_PORTAL_Config(&bpp);
160 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.c356 dtsec_rm_fqr_rx_callback(t_Handle app, t_Handle fqr, t_Handle portal, argument
405 dtsec_rm_fqr_tx_confirm_callback(t_Handle app, t_Handle fqr, t_Handle portal, argument
/freebsd-12-stable/usr.sbin/ctld/
H A Dctld.c355 auth_portal_new(struct auth_group *ag, const char *portal) argument
365 ap->ap_initiator_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
636 struct portal *portal, *tmp; local
727 struct portal *portal; local
808 struct portal *portal; local
1629 connection_new(struct portal *portal, int fd, const char *host, const struct sockaddr *client_sa) argument
2370 handle_connection(struct portal *portal, int fd, const struct sockaddr *client_sa, bool dont_fork) argument
2451 struct portal *portal; local
[all...]
H A Dtoken.l69 initiator-portal { return INITIATOR_PORTAL; }
82 portal-group { return PORTAL_GROUP; }
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.h95 struct portal { struct
96 TAILQ_ENTRY(portal) p_next;
126 TAILQ_HEAD(, portal) pg_portals;
236 struct portal *conn_portal;
/freebsd-12-stable/usr.bin/iscsictl/
H A Discsictl.c527 xo_emit("{L:/%-26s}{V:portal/%s}\n",
528 "Initiator portal:", conf->isc_initiator_addr);
536 xo_emit("{L:/%-26s}{V:portal/%s}\n",
537 "Target portal:", conf->isc_target_addr);
600 "Target name", "Target portal", "State");
610 xo_emit("{V:name/%-36s/%s} {V:portal/%-16s/%s} ",
698 fprintf(stderr, "usage: iscsictl -A -p portal -t target "
704 fprintf(stderr, " iscsictl -M -i session-id [-p portal] "
708 fprintf(stderr, " iscsictl -R [-p portal] [-t target]\n");
721 char *nickname = NULL, *discovery_host = NULL, *portal local
[all...]

Completed in 296 milliseconds