Lines Matching +full:0 +full:x3100

40 #define BM_REG_RCR_PI_CINH	0x3000
41 #define BM_REG_RCR_CI_CINH 0x3100
42 #define BM_REG_RCR_ITR 0x3200
43 #define BM_REG_CFG 0x3300
44 #define BM_REG_SCN(n) (0x3400 + ((n) << 6))
45 #define BM_REG_ISR 0x3e00
46 #define BM_REG_IER 0x3e40
47 #define BM_REG_ISDR 0x3e80
48 #define BM_REG_IIR 0x3ec0
51 #define BM_CL_CR 0x0000
52 #define BM_CL_RR0 0x0100
53 #define BM_CL_RR1 0x0140
54 #define BM_CL_RCR 0x1000
55 #define BM_CL_RCR_PI_CENA 0x3000
56 #define BM_CL_RCR_CI_CENA 0x3100
60 #define BM_REG_RCR_PI_CINH 0x0000
61 #define BM_REG_RCR_CI_CINH 0x0004
62 #define BM_REG_RCR_ITR 0x0008
63 #define BM_REG_CFG 0x0100
64 #define BM_REG_SCN(n) (0x0200 + ((n) << 2))
65 #define BM_REG_ISR 0x0e00
66 #define BM_REG_IER 0x0e04
67 #define BM_REG_ISDR 0x0e08
68 #define BM_REG_IIR 0x0e0c
71 #define BM_CL_CR 0x0000
72 #define BM_CL_RR0 0x0100
73 #define BM_CL_RR1 0x0140
74 #define BM_CL_RCR 0x1000
75 #define BM_CL_RCR_PI_CENA 0x3000
76 #define BM_CL_RCR_CI_CENA 0x3100
91 bm_rcr_pci = 0, /* PI index, cache-inhibited */
116 #define BM_RCR_VERB_VBIT 0x80
117 #define BM_RCR_VERB_CMD_MASK 0x70 /* one of two values; */
118 #define BM_RCR_VERB_CMD_BPID_SINGLE 0x20
119 #define BM_RCR_VERB_CMD_BPID_MULTI 0x30
120 #define BM_RCR_VERB_BUFCOUNT_MASK 0x0f /* values 1..8 */
138 #define BM_MCC_VERB_VBIT 0x80
139 #define BM_MCC_VERB_CMD_MASK 0x70 /* where the verb contains; */
140 #define BM_MCC_VERB_CMD_ACQUIRE 0x10
141 #define BM_MCC_VERB_CMD_QUERY 0x40
142 #define BM_MCC_VERB_ACQUIRE_BUFCOUNT 0x0f /* values 1..8 go here */
153 #define BM_MCR_VERB_VBIT 0x80
157 #define BM_MCR_VERB_CMD_ERR_INVALID 0x60
158 #define BM_MCR_VERB_CMD_ERR_ECC 0x70
159 #define BM_MCR_VERB_ACQUIRE_BUFCOUNT BM_MCC_VERB_ACQUIRE_BUFCOUNT /* 0..8 */
246 /* index of the buffer pool to encapsulate (0-63) */
376 rcr->busy = 0; in bm_rcr_pvb_commit()
392 BM_RCR_VERB_VBIT : 0; in bm_rcr_init()
397 rcr->busy = 0; in bm_rcr_init()
401 cfg = (bm_in(portal, BM_REG_CFG) & 0xffffffe0) in bm_rcr_init()
402 | (pmode & 0x3); /* BCSP_CFG::RPM */ in bm_rcr_init()
404 return 0; in bm_rcr_init()
435 0 : 1; in bm_mc_init()
436 mc->vbit = mc->rridx ? BM_MCC_VERB_VBIT : 0; in bm_mc_init()
440 return 0; in bm_mc_init()
522 bm_out(portal, BM_REG_SCN(0), 0); in bm_isr_bscn_disable()
523 bm_out(portal, BM_REG_SCN(1), 0); in bm_isr_bscn_disable()
556 bm_out(p, BM_REG_ISDR, 0xffffffff); in bman_create_portal()
557 portal->irq_sources = 0; in bman_create_portal()
558 bm_out(p, BM_REG_IER, 0); in bman_create_portal()
559 bm_out(p, BM_REG_ISR, 0xffffffff); in bman_create_portal()
561 if (request_irq(c->irq, portal_isr, 0, portal->irqname, portal)) { in bman_create_portal()
578 bm_out(p, BM_REG_ISDR, 0); in bman_create_portal()
579 bm_out(p, BM_REG_IIR, 0); in bman_create_portal()
581 return 0; in bman_create_portal()
617 bm_rcr_set_ithresh(&p->p, 0); in poll_portal_slow()
635 return 0; in bman_p_irqsource_add()
640 int err = 0; in bm_shutdown_pool()
678 return 0; in bm_alloc_bpid_range()
692 return 0; in bm_release_bpid()
747 DPAA_ASSERT(num > 0 && num <= 8); in bman_release()
776 memcpy(&r->bufs[1], &bufs[1], i * sizeof(bufs[0])); in bman_release()
783 return 0; in bman_release()
794 DPAA_ASSERT(num > 0 && num <= 8); in bman_acquire()
807 memcpy(&bufs[0], &mcr->bufs[0], num * sizeof(bufs[0])); in bman_acquire()