Lines Matching defs:which
97 /* Bit offset into the GUID which carries HFI id information */
5415 /* which engine */
5416 unsigned int which = source % TXE_NUM_SDMA_ENGINES;
5419 snprintf(buf, bsize, "%s%u", sdma_int_names[what], which);
5668 * integrity check which failed, and update relevant error counter, etc.
5750 * packet errors. Return which engine. Use of this must be guarded by
8141 /* which engine */
8142 unsigned int which = source % TXE_NUM_SDMA_ENGINES;
8145 dd_dev_err(dd, "CONFIG SDMA(%u) %s:%d %s()\n", which,
8147 sdma_dumpstate(&dd->per_sdma[which]);
8150 if (likely(what < 3 && which < dd->num_sdma)) {
8151 sdma_engine_interrupt(&dd->per_sdma[which], 1ull << source);
9275 * to that option, which includes quick link up.
10011 static const char *ib_cfg_name(int which)
10013 if (which < 0 || which >= ARRAY_SIZE(ib_cfg_name_strings))
10015 return ib_cfg_name_strings[which];
10018 int hfi1_get_ib_cfg(struct hfi1_pportdata *ppd, int which)
10023 switch (which) {
10068 "%s: which %s: not implemented\n",
10070 ib_cfg_name(which));
10084 * for this device. This count includes the ICRC which is
10114 * This routine changes all VL values except VL15, which it maintains at
10864 * interrupt with stale LNI(XX) error, which will not be
10969 int hfi1_set_ib_cfg(struct hfi1_pportdata *ppd, int which, u32 val)
10974 switch (which) {
11045 "%s: which %s, val 0x%x: not implemented\n",
11046 __func__, ib_cfg_name(which), val);
11358 const char *which)
11376 which, VL_STATUS_CLEAR_TIMEOUT, mask, reg);
11602 int fm_get_table(struct hfi1_pportdata *ppd, int which, void *t)
11608 switch (which) {
11656 int fm_set_table(struct hfi1_pportdata *ppd, int which, void *t)
11661 switch (which) {
11836 * timeout cannot be larger than rcv_intr_timeout_csr which has already
14674 * tune_pcie_caps() which is called after this routine.
15091 * obtain the hardware ID - NOT related to unit, which is a
15358 * for verbs, which does not use this PSM feature. The lone other caller
15359 * is for the diagnostic interface which calls this if the user does not
15394 * logic uses SBus interrupts, which are not supported with