Home
last modified time | relevance | path

Searched refs:portal (Results 1 – 23 of 23) sorted by relevance

/drivers/soc/fsl/qbman/
Dbman.c226 struct bman_portal *portal; member
235 struct bm_portal *portal = &p->p; in portal_isr() local
237 u32 is = bm_in(portal, BM_REG_ISR) & p->irq_sources; in portal_isr()
243 bm_out(portal, BM_REG_ISR, clear); in portal_isr()
281 static int bm_rcr_get_avail(struct bm_portal *portal) in bm_rcr_get_avail() argument
283 struct bm_rcr *rcr = &portal->rcr; in bm_rcr_get_avail()
288 static int bm_rcr_get_fill(struct bm_portal *portal) in bm_rcr_get_fill() argument
290 struct bm_rcr *rcr = &portal->rcr; in bm_rcr_get_fill()
295 static void bm_rcr_set_ithresh(struct bm_portal *portal, u8 ithresh) in bm_rcr_set_ithresh() argument
297 struct bm_rcr *rcr = &portal->rcr; in bm_rcr_set_ithresh()
[all …]
Dqman.c402 static inline int qm_eqcr_init(struct qm_portal *portal, in qm_eqcr_init() argument
407 struct qm_eqcr *eqcr = &portal->eqcr; in qm_eqcr_init()
411 eqcr->ring = portal->addr.ce + QM_CL_EQCR; in qm_eqcr_init()
412 eqcr->ci = qm_in(portal, QM_REG_EQCR_CI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
413 qm_cl_invalidate(portal, QM_CL_EQCR_CI_CENA); in qm_eqcr_init()
414 pi = qm_in(portal, QM_REG_EQCR_PI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
416 eqcr->vbit = (qm_in(portal, QM_REG_EQCR_PI_CINH) & QM_EQCR_SIZE) ? in qm_eqcr_init()
420 eqcr->ithresh = qm_in(portal, QM_REG_EQCR_ITR); in qm_eqcr_init()
425 cfg = (qm_in(portal, QM_REG_CFG) & 0x00ffffff) | in qm_eqcr_init()
429 qm_out(portal, QM_REG_CFG, cfg); in qm_eqcr_init()
[all …]
Dqman_ccsr.c295 static void qm_set_dc(enum qm_dc_portal portal, int ed, u8 sernd) in qm_set_dc() argument
297 DPAA_ASSERT(!ed || portal == qm_dc_portal_fman0 || in qm_set_dc()
298 portal == qm_dc_portal_fman1); in qm_set_dc()
300 qm_ccsr_out(REG_DCP_CFG(portal), in qm_set_dc()
303 qm_ccsr_out(REG_DCP_CFG(portal), in qm_set_dc()
DKconfig41 high-level API testing with them (whichever portal(s) are affine
55 high-level API testing with them (whichever portal(s) are affine to
Dbman_priv.h80 bman_get_bm_portal_config(const struct bman_portal *portal);
Dqman_test_stash.c267 static enum qman_cb_dqrr_result normal_dqrr(struct qman_portal *portal, in normal_dqrr() argument
285 static enum qman_cb_dqrr_result special_dqrr(struct qman_portal *portal, in special_dqrr() argument
Dqman_priv.h371 struct qman_portal *portal);
/drivers/staging/fsl-mc/bus/
Dmc-sys.c124 static inline void mc_write_command(struct mc_command __iomem *portal, in mc_write_command() argument
131 __raw_writeq(cmd->params[i], &portal->params[i]); in mc_write_command()
135 __raw_writeq(cmd->header, &portal->header); in mc_write_command()
148 portal, in mc_read_response()
156 resp->header = __raw_readq(&portal->header); in mc_read_response()
164 resp->params[i] = __raw_readq(&portal->params[i]); in mc_read_response()
/drivers/staging/lustre/lnet/lnet/
Dlib-ptl.c899 LNetSetLazyPortal(int portal) in LNetSetLazyPortal() argument
903 if (portal < 0 || portal >= the_lnet.ln_nportals) in LNetSetLazyPortal()
906 CDEBUG(D_NET, "Setting portal %d lazy\n", portal); in LNetSetLazyPortal()
907 ptl = the_lnet.ln_portals[portal]; in LNetSetLazyPortal()
922 lnet_clear_lazy_portal(struct lnet_ni *ni, int portal, char *reason) in lnet_clear_lazy_portal() argument
927 if (portal < 0 || portal >= the_lnet.ln_nportals) in lnet_clear_lazy_portal()
930 ptl = the_lnet.ln_portals[portal]; in lnet_clear_lazy_portal()
952 CWARN("Active lazy portal %d on exit\n", portal); in lnet_clear_lazy_portal()
954 CDEBUG(D_NET, "clearing portal %d lazy\n", portal); in lnet_clear_lazy_portal()
980 LNetClearLazyPortal(int portal) in LNetClearLazyPortal() argument
[all …]
Dlib-me.c72 LNetMEAttach(unsigned int portal, in LNetMEAttach() argument
84 if ((int)portal >= the_lnet.ln_nportals) in LNetMEAttach()
87 mtable = lnet_mt_of_attach(portal, match_id, in LNetMEAttach()
98 me->me_portal = portal; in LNetMEAttach()
Dnet_fault.c81 lnet_nid_t dst, unsigned int type, unsigned int portal) in lnet_fault_attr_match() argument
95 !(attr->fa_ptl_mask & (1ULL << portal))) in lnet_fault_attr_match()
297 lnet_nid_t dst, unsigned int type, unsigned int portal) in drop_rule_match() argument
302 if (!lnet_fault_attr_match(attr, src, dst, type, portal)) in drop_rule_match()
464 lnet_nid_t dst, unsigned int type, unsigned int portal, in delay_rule_match() argument
470 if (!lnet_fault_attr_match(attr, src, dst, type, portal)) in delay_rule_match()
Dlib-move.c1991 lnet_process_id_t target, unsigned int portal, in LNetPut() argument
2023 match_bits, portal, libcfs_id2str(target), in LNetPut()
2041 msg->msg_hdr.msg.put.ptl_index = cpu_to_le32(portal); in LNetPut()
2196 lnet_process_id_t target, unsigned int portal, in LNetGet() argument
2226 match_bits, portal, libcfs_id2str(target), in LNetGet()
2245 msg->msg_hdr.msg.get.ptl_index = cpu_to_le32(portal); in LNetGet()
/drivers/staging/lustre/include/linux/lnet/
Dapi.h96 int LNetMEAttach(unsigned int portal,
203 int LNetSetLazyPortal(int portal);
204 int LNetClearLazyPortal(int portal);
Dlib-lnet.h480 int lnet_clear_lazy_portal(struct lnet_ni *ni, int portal, char *reason);
/drivers/staging/lustre/lustre/ptlrpc/
Dniobuf.c48 struct ptlrpc_connection *conn, int portal, __u64 xid, in ptl_send_buf() argument
54 LASSERT(portal != 0); in ptl_send_buf()
78 len, portal, xid, offset); in ptl_send_buf()
81 conn->c_peer, portal, xid, offset, 0); in ptl_send_buf()
89 libcfs_id2str(conn->c_peer), portal, xid, rc); in ptl_send_buf()
Dimport.c1610 int import_at_get_index(struct obd_import *imp, int portal) in import_at_get_index() argument
1616 if (at->iat_portal[i] == portal) in import_at_get_index()
1628 if (at->iat_portal[i] == portal) in import_at_get_index()
1638 at->iat_portal[i] = portal; in import_at_get_index()
Dptlrpc_internal.h59 unsigned type, unsigned portal);
Dclient.c99 unsigned type, unsigned portal) in ptlrpc_new_bulk() argument
113 desc->bd_portal = portal; in ptlrpc_new_bulk()
137 unsigned type, unsigned portal) in ptlrpc_prep_bulk_imp() argument
143 desc = ptlrpc_new_bulk(npages, max_brw, type, portal); in ptlrpc_prep_bulk_imp()
/drivers/staging/lustre/lnet/selftest/
Drpc.c354 srpc_post_passive_rdma(int portal, int local, __u64 matchbits, void *buf, in srpc_post_passive_rdma() argument
362 rc = LNetMEAttach(portal, peer, matchbits, 0, LNET_UNLINK, in srpc_post_passive_rdma()
388 libcfs_id2str(peer), portal, matchbits); in srpc_post_passive_rdma()
393 srpc_post_active_rdma(int portal, __u64 matchbits, void *buf, int len, in srpc_post_active_rdma() argument
421 portal, matchbits, 0, 0); in srpc_post_active_rdma()
425 rc = LNetGet(self, *mdh, peer, portal, matchbits, 0); in srpc_post_active_rdma()
431 libcfs_id2str(peer), portal, matchbits, rc); in srpc_post_active_rdma()
441 libcfs_id2str(peer), portal, matchbits); in srpc_post_active_rdma()
/drivers/staging/fsl-mc/
DREADME.txt53 +------------------------| mc portal |-+
123 A DPRC has a mappable MMIO region (an MC portal) that can be used
215 -DPMCP (Datapath MC Portal): provides an MC command portal.
218 -MMIO regions: MC command portal
/drivers/staging/lustre/lustre/include/
Dlustre_import.h348 int import_at_get_index(struct obd_import *imp, int portal);
Dlustre_net.h2468 unsigned type, unsigned portal);
/drivers/scsi/
DKconfig786 and <http://www-947.ibm.com/support/entry/portal/docdisplay?brand=5000008&lndocid=SERV-RAID>