Searched refs:wqcfg (Results 1 – 4 of 4) sorted by relevance
310 memset(wq->wqcfg, 0, idxd->wqcfg_size); in idxd_wq_disable_cleanup()574 wq->wqcfg->bits[i] = ioread32(idxd->reg_base + wq_offset); in idxd_wq_config_write()578 wq->wqcfg->wq_size = wq->size; in idxd_wq_config_write()586 wq->wqcfg->wq_thresh = wq->threshold; in idxd_wq_config_write()589 wq->wqcfg->priv = !!(wq->type == IDXD_WQT_KERNEL); in idxd_wq_config_write()590 wq->wqcfg->mode = 1; in idxd_wq_config_write()591 wq->wqcfg->priority = wq->priority; in idxd_wq_config_write()594 wq->wqcfg->max_xfer_shift = ilog2(wq->max_xfer_bytes); in idxd_wq_config_write()595 wq->wqcfg->max_batch_shift = ilog2(wq->max_batch_size); in idxd_wq_config_write()600 iowrite32(wq->wqcfg->bits[i], idxd->reg_base + wq_offset); in idxd_wq_config_write()
96 u64 wqcfg:16; member291 union wqcfg { union
115 union wqcfg *wqcfg; member
181 wq->wqcfg = devm_kzalloc(dev, idxd->wqcfg_size, GFP_KERNEL); in idxd_setup_internals()182 if (!wq->wqcfg) in idxd_setup_internals()208 idxd->wqcfg_offset = offsets.wqcfg * 0x100; in idxd_read_table_offsets()