Searched refs:gen_cap (Results 1 – 3 of 3) sorted by relevance
224 idxd->hw.gen_cap.bits = ioread64(idxd->reg_base + IDXD_GENCAP_OFFSET); in idxd_read_caps()225 dev_dbg(dev, "gen_cap: %#llx\n", idxd->hw.gen_cap.bits); in idxd_read_caps()226 idxd->max_xfer_bytes = 1ULL << idxd->hw.gen_cap.max_xfer_shift; in idxd_read_caps()228 idxd->max_batch_size = 1U << idxd->hw.gen_cap.max_batch_shift; in idxd_read_caps()230 if (idxd->hw.gen_cap.config_en) in idxd_read_caps()
140 union gen_cap_reg gen_cap; member
1282 return sprintf(buf, "%#llx\n", idxd->hw.gen_cap.bits); in gen_cap_show()1284 static DEVICE_ATTR_RO(gen_cap);