Lines Matching defs:index
5820 * Translate the send context (sofware index) into a VL. Return -1 if the
6000 "out of range sw index %u for send context %u\n",
8300 * Source is a bit index into an array of 64-bit integers.
8624 /* register is an index of LCB registers: (offset - base) / 8 */
8719 /* register is an index of LCB registers: (offset - base) / 8 */
9970 * index is the index into the receive array
9972 void hfi1_put_tid(struct hfi1_devdata *dd, u32 index,
9985 "unexpected receive array type %u for index %u, not handled\n",
9986 type, index);
9989 trace_hfi1_put_tid(dd, index, type, pa, order);
9996 trace_hfi1_write_rcvarray(dd->rcvarray_wc + (index * 8), reg);
9997 writeq(reg, dd->rcvarray_wc + (index * 8));
9999 if (type == PT_EAGER || type == PT_INVALID_FLUSH || (index & 3) == 3)
12092 /* set eager count and base index */
12102 * Set TID (expected) count and base index.
12464 u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl)
12469 entry = &dev_cntrs[index];
12478 u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data)
12483 entry = &dev_cntrs[index];
12492 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl)
12497 entry = &port_cntrs[index];
12503 if ((index >= C_RCV_HDR_OVF_FIRST + ppd->dd->num_rcv_contexts) &&
12504 (index <= C_RCV_HDR_OVF_LAST)) {
12512 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data)
12517 entry = &port_cntrs[index];
12523 if ((index >= C_RCV_HDR_OVF_FIRST + ppd->dd->num_rcv_contexts) &&
12524 (index <= C_RCV_HDR_OVF_LAST)) {
13215 * read_mod_write() - Calculate the IRQ register index and set/clear the bits
13217 * @src: IRQ source to determine register index from
14199 * @idx: index to read
14433 /* generate the index the hardware will produce */
14500 * RSM will extract the destination context as an index into the
14528 * Use index 1 to extract the 8-bit receive context from DestQP
14529 * (start at bit 64). Use that as the RSM map table index.
14588 /* Wrap up netdev ctx index */
14738 * AUs. The table is a an encoding: given the index, how many AUs does that
14925 unsigned long index;
14937 xa_for_each(&hfi1_dev_table, index, peer) {