/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qman_low.h | 113 #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) in __qm_portal_bind() argument 163 if (!(portal->config.bound & iface)) { in __qm_portal_bind() 164 portal->config.bound |= iface; in __qm_portal_bind() [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | t4240si-post.dtsi | 317 bman-portal@0 { 318 compatible = "fsl,bman-portal"; 322 bman-portal@4000 { 323 compatible = "fsl,bman-portal"; 327 bman-portal@8000 { 328 compatible = "fsl,bman-portal"; 332 bman-portal@c000 { 333 compatible = "fsl,bman-portal"; 337 bman-portal@10000 { 338 compatible = "fsl,bman-portal"; [all …]
|
H A D | interlaken-lac-portals.dtsi | 38 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-v1.0"; [all …]
|
H A D | b4860si-post.dtsi | 111 bman-portal@38000 { 112 compatible = "fsl,bman-portal"; 116 bman-portal@3c000 { 117 compatible = "fsl,bman-portal"; 121 bman-portal@40000 { 122 compatible = "fsl,bman-portal"; 126 bman-portal@44000 { 127 compatible = "fsl,bman-portal"; 131 bman-portal@48000 { 132 compatible = "fsl,bman-portal"; [all …]
|
H A D | b4si-post.dtsi | 151 bman-portal@0 { 152 compatible = "fsl,bman-portal"; 156 bman-portal@4000 { 157 compatible = "fsl,bman-portal"; 161 bman-portal@8000 { 162 compatible = "fsl,bman-portal"; 166 bman-portal@c000 { 167 compatible = "fsl,bman-portal"; 171 bman-portal@10000 { 172 compatible = "fsl,bman-portal"; [all …]
|
H A D | t2081si-post.dtsi | 247 bman-portal@0 { 248 compatible = "fsl,bman-portal"; 252 bman-portal@4000 { 253 compatible = "fsl,bman-portal"; 257 bman-portal@8000 { 258 compatible = "fsl,bman-portal"; 262 bman-portal@c000 { 263 compatible = "fsl,bman-portal"; 267 bman-portal@10000 { 268 compatible = "fsl,bman-portal"; [all …]
|
H A D | qoriq-bman1-portals.dtsi | 40 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 D | qoriq-qman1-portals.dtsi | 40 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 D | t1040si-post.dtsi | 243 bman-portal@0 { 244 compatible = "fsl,bman-portal"; 248 bman-portal@4000 { 249 compatible = "fsl,bman-portal"; 253 bman-portal@8000 { 254 compatible = "fsl,bman-portal"; 258 bman-portal@c000 { 259 compatible = "fsl,bman-portal"; 263 bman-portal@10000 { 264 compatible = "fsl,bman-portal"; [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bman_low.c | 101 #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) 178 t_Error bm_rcr_init(struct bm_portal *portal, in bm_rcr_init() argument 182 register struct bm_rcr *rcr = &portal->rcr; in bm_rcr_init() 186 rcr->ring = ptr_ADD(portal->addr.addr_ce, CL_RCR); in bm_rcr_init() [all …]
|
H A D | fsl_bman.h | 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_t myverb); 141 void bm_rcr_pce_prefetch(struct bm_portal *portal); 142 void bm_rcr_pce_commit(struct bm_portal *portal, uint8_t myverb); 143 void bm_rcr_pvb_commit(struct bm_portal *portal, uint8_t myverb); 147 uint8_t bm_rcr_cci_update(struct bm_portal *portal); [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | qoriq-bman-portals.dtsi | 14 bman-portal@0 { 17 * "fsl,bman-portal-<hardware revision>" compatible 19 compatible = "fsl,bman-portal"; 24 bman-portal@10000 { 25 compatible = "fsl,bman-portal"; 30 bman-portal@20000 { 31 compatible = "fsl,bman-portal"; 36 bman-portal@30000 { 37 compatible = "fsl,bman-portal"; 42 bman-portal@40000 { [all …]
|
H A D | qoriq-qman-portals.dtsi | 14 qportal0: qman-portal@0 { 17 * "fsl,bman-portal-<hardware revision>" compatible 19 compatible = "fsl,qman-portal"; 25 qportal1: qman-portal@10000 { 26 compatible = "fsl,qman-portal"; 32 qportal2: qman-portal@20000 { 33 compatible = "fsl,qman-portal"; 39 qportal3: qman-portal@30000 { 40 compatible = "fsl,qman-portal"; 46 qportal4: qman-portal@40000 { [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/ |
H A D | interlaken-lac.txt | 93 Interlaken Look-Aside (ILA) commands. The Interlaken LAC software portal 94 memory map occupies 128KB of memory space. The software portal memory space is 119 of the LAC portal memory space. 125 There are up to 24 available software portals with each software portal 126 requiring 4KB of consecutive memory within the software portal memory mapped 134 Definition: Must include "fsl,interlaken-lac-portal-vX.Y" where X is 148 Interlaken LAC software portal registers. 166 lportal0: lac-portal@0 { 167 compatible = "fsl,interlaken-lac-portal-v1.0"; 172 lportal1: lac-portal@1000 { [all …]
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_rc.c | 112 if (dinfo->portal) in dpaa2_rc_detach() 113 dpaa2_mcp_free_portal(dinfo->portal); in dpaa2_rc_detach() 158 dinfo->portal = NULL; in dpaa2_rc_attach() 161 error = dpaa2_mcp_init_portal(&dinfo->portal, mcsc->res[0], in dpaa2_rc_attach() 642 struct dpaa2_mcp *portal = dpaa2_rc_select_portal(dev, child); in dpaa2_rc_mng_get_version() local 645 if (portal == NULL || cmd == NULL || major == NULL || minor == NULL || in dpaa2_rc_mng_get_version() 649 error = dpaa2_rc_exec_cmd(portal, cmd, CMDID_MNG_GET_VER); in dpaa2_rc_mng_get_version() 663 struct dpaa2_mcp *portal = dpaa2_rc_select_portal(dev, child); in dpaa2_rc_mng_get_soc_version() local 666 if (portal == NULL || cmd == NULL || pvr == NULL || svr == NULL) in dpaa2_rc_mng_get_soc_version() 669 error = dpaa2_rc_exec_cmd(portal, cmd, CMDID_MNG_GET_SOC_VER); in dpaa2_rc_mng_get_soc_version() [all …]
|
/freebsd/sys/dev/dpaa/ |
H A D | qman.c | 304 t_Handle fqrh, portal; in qman_fqr_create() local 311 portal = qman_portal_setup(sc); in qman_fqr_create() 312 if (portal == NULL) { in qman_fqr_create() 318 fqr.h_QmPortal = portal; in qman_fqr_create() 400 t_Handle portal; in qman_fqr_register_cb() local 406 portal = qman_portal_setup(sc); in qman_fqr_register_cb() 407 if (portal == NULL) { in qman_fqr_register_cb() 425 t_Handle portal; in qman_fqr_enqueue() local 431 portal = qman_portal_setup(sc); in qman_fqr_enqueue() 432 if (portal == NULL) { in qman_fqr_enqueue() [all …]
|
H A D | bman.c | 199 t_Handle pool, portal; in bman_pool_create() local 208 portal = bman_portal_setup(sc); in bman_pool_create() 209 if (portal == NULL) in bman_pool_create() 214 bpp.h_BmPortal = portal; in bman_pool_create() 294 t_Handle portal; in bman_pool_fill() local 300 portal = bman_portal_setup(sc); in bman_pool_fill() 301 if (portal == NULL) { in bman_pool_fill() 306 error = BM_POOL_FillBufs(pool, portal, nbufs); in bman_pool_fill() 317 t_Handle portal; in bman_get_buffer() local 323 portal = bman_portal_setup(sc); in bman_get_buffer() [all …]
|
H A D | qman_portals.c | 124 t_Handle portal; in qman_portal_setup() local 133 portal = NULL; in qman_portal_setup() 165 portal = QM_PORTAL_Config(&qpp); in qman_portal_setup() 166 if (portal == NULL) in qman_portal_setup() 169 if (QM_PORTAL_Init(portal) != E_OK) in qman_portal_setup() 172 if (QM_PORTAL_AddPoolChannel(portal, QMAN_COMMON_POOL_CHANNEL) != E_OK) in qman_portal_setup() 176 (uintptr_t)portal); in qman_portal_setup() 179 return (portal); in qman_portal_setup() 182 if (portal != NULL) in qman_portal_setup() 183 QM_PORTAL_Free(portal); in qman_portal_setup()
|
H A D | bman_portals.c | 117 t_Handle portal; in bman_portal_setup() local 128 portal = NULL; in bman_portal_setup() 156 portal = BM_PORTAL_Config(&bpp); in bman_portal_setup() 157 if (portal == NULL) in bman_portal_setup() 160 if (BM_PORTAL_Init(portal) != E_OK) in bman_portal_setup() 163 atomic_store_rel_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph, (uintptr_t)portal); in bman_portal_setup() 167 return (portal); in bman_portal_setup() 170 if (portal != NULL) in bman_portal_setup() 171 BM_PORTAL_Free(portal); in bman_portal_setup()
|
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/ |
H A D | bman-portals.txt | 21 Definition: Must include "fsl,bman-portal-<hardware revision>" 22 May include "fsl,<SoC>-bman-portal" or "fsl,bman-portal" 28 the portal. The second is the cache-inhibited region of 29 the portal 46 bman-portal@0 { 47 compatible = "fsl,bman-portal-1.0.0", "fsl,bman-portal"; 51 bman-portal@4000 { 52 compatible = "fsl,bman-portal-1.0.0", "fsl,bman-portal";
|
H A D | qman-portals.txt | 21 Definition: Must include "fsl,qman-portal-<hardware revision>" 22 May include "fsl,<SoC>-qman-portal" or "fsl,qman-portal" 28 the portal. The second is the cache-inhibited region of 29 the portal 57 represent the HW devices/portals that are connected to the software portal 82 portal is connected to. 94 qman-portal@0 { 95 compatible = "fsl,qman-portal-1.2.0", "fsl,qman-portal"; 114 qman-portal@4000 { 115 compatible = "fsl,qman-portal-1.2.0", "fsl,qman-portal";
|
/freebsd/sys/dts/powerpc/ |
H A D | p2041si.dtsi | 212 bman-portal@0 { 214 compatible = "fsl,p2041-bman-portal", "fsl,bman-portal"; 218 bman-portal@4000 { 220 compatible = "fsl,p2041-bman-portal", "fsl,bman-portal"; 224 bman-portal@8000 { 226 compatible = "fsl,p2041-bman-portal", "fsl,bman-portal"; 230 bman-portal@c000 { 232 compatible = "fsl,p2041-bman-portal", "fsl,bman-portal"; 236 bman-portal@10000 { 238 compatible = "fsl,p2041-bman-portal", "fsl,bman-portal"; [all …]
|
H A D | p3041si.dtsi | 213 bman-portal@0 { 215 compatible = "fsl,p3041-bman-portal", "fsl,bman-portal"; 219 bman-portal@4000 { 221 compatible = "fsl,p3041-bman-portal", "fsl,bman-portal"; 225 bman-portal@8000 { 227 compatible = "fsl,p3041-bman-portal", "fsl,bman-portal"; 231 bman-portal@c000 { 233 compatible = "fsl,p3041-bman-portal", "fsl,bman-portal"; 237 bman-portal@10000 { 239 compatible = "fsl,p3041-bman-portal", "fsl,bman-portal"; [all …]
|
H A D | p5020si.dtsi | 198 bman-portal@0 { 200 compatible = "fsl,p5020-bman-portal", "fsl,bman-portal"; 204 bman-portal@4000 { 206 compatible = "fsl,p5020-bman-portal", "fsl,bman-portal"; 210 bman-portal@8000 { 212 compatible = "fsl,p5020-bman-portal", "fsl,bman-portal"; 216 bman-portal@c000 { 218 compatible = "fsl,p5020-bman-portal", "fsl,bman-portal"; 222 bman-portal@10000 { 224 compatible = "fsl,p5020-bman-portal", "fsl,bman-portal"; [all …]
|
/freebsd/usr.sbin/ctld/ |
H A D | ctld.c | 358 auth_portal_new(struct auth_group *ag, const char *portal) in auth_portal_new() argument 368 ap->ap_initiator_portal = checked_strdup(portal); in auth_portal_new() 369 mask = str = checked_strdup(portal); in auth_portal_new() 411 log_warnx("incorrect initiator portal \"%s\"", portal); in auth_portal_new() 545 static struct portal * 548 struct portal *portal; in portal_new() local 550 portal = calloc(1, sizeof(*portal)); in portal_new() 551 if (portal == NULL) in portal_new() 553 TAILQ_INIT(&portal->p_targets); in portal_new() 554 portal->p_portal_group = pg; in portal_new() [all …]
|