Lines Matching defs:ctxt
317 #define MAX_EAGER_BUFFER_TOTAL (64 * (1 << 20)) /* max per ctxt 64MB */
583 static inline u64 read_kctxt_csr(const struct hfi1_devdata *dd, int ctxt,
587 return read_csr(dd, offset0 + (0x100 * ctxt));
590 static inline void write_kctxt_csr(struct hfi1_devdata *dd, int ctxt,
594 write_csr(dd, offset0 + (0x100 * ctxt), value);
606 int ctxt,
609 return get_csr_addr(dd, offset0 + (0x100 * ctxt));
618 static inline u64 read_uctxt_csr(const struct hfi1_devdata *dd, int ctxt,
622 return read_csr(dd, offset0 + (0x1000 * ctxt));
625 static inline void write_uctxt_csr(struct hfi1_devdata *dd, int ctxt,
629 write_csr(dd, offset0 + (0x1000 * ctxt), value);
664 void set_hdrq_regs(struct hfi1_devdata *dd, u8 ctxt, u8 entsize, u16 hdrcnt);
1391 int hfi1_clear_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt);
1392 int hfi1_set_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt,
1394 int hfi1_clear_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt);