Lines Matching defs:index
5780 * Translate the send context (sofware index) into a VL. Return -1 if the
5960 "out of range sw index %u for send context %u\n",
8261 * Source is a bit index into an array of 64-bit integers.
8585 /* register is an index of LCB registers: (offset - base) / 8 */
8680 /* register is an index of LCB registers: (offset - base) / 8 */
9931 * index is the index into the receive array
9933 void hfi1_put_tid(struct hfi1_devdata *dd, u32 index,
9946 "unexpected receive array type %u for index %u, not handled\n",
9947 type, index);
9950 trace_hfi1_put_tid(dd, index, type, pa, order);
9957 trace_hfi1_write_rcvarray(dd->rcvarray_wc + (index * 8), reg);
9958 writeq(reg, dd->rcvarray_wc + (index * 8));
9960 if (type == PT_EAGER || type == PT_INVALID_FLUSH || (index & 3) == 3)
12053 /* set eager count and base index */
12063 * Set TID (expected) count and base index.
12425 u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl)
12430 entry = &dev_cntrs[index];
12439 u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data)
12444 entry = &dev_cntrs[index];
12453 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl)
12458 entry = &port_cntrs[index];
12464 if ((index >= C_RCV_HDR_OVF_FIRST + ppd->dd->num_rcv_contexts) &&
12465 (index <= C_RCV_HDR_OVF_LAST)) {
12473 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data)
12478 entry = &port_cntrs[index];
12484 if ((index >= C_RCV_HDR_OVF_FIRST + ppd->dd->num_rcv_contexts) &&
12485 (index <= C_RCV_HDR_OVF_LAST)) {
13176 * read_mod_write() - Calculate the IRQ register index and set/clear the bits
13178 * @src: IRQ source to determine register index from
14160 * @idx: index to read
14394 /* generate the index the hardware will produce */
14461 * RSM will extract the destination context as an index into the
14489 * Use index 1 to extract the 8-bit receive context from DestQP
14490 * (start at bit 64). Use that as the RSM map table index.
14549 /* Wrap up netdev ctx index */
14699 * AUs. The table is a an encoding: given the index, how many AUs does that
14886 unsigned long index;
14898 xa_for_each(&hfi1_dev_table, index, peer) {