Home
last modified time | relevance | path

Searched refs:grpcfg_offset (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/dma/idxd/
Ddevice.c757 u32 grpcfg_offset; in idxd_group_config_write() local
763 grpcfg_offset = GRPWQCFG_OFFSET(idxd, group->id, i); in idxd_group_config_write()
764 iowrite64(group->grpcfg.wqs[i], idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
766 group->id, i, grpcfg_offset, in idxd_group_config_write()
767 ioread64(idxd->reg_base + grpcfg_offset)); in idxd_group_config_write()
771 grpcfg_offset = GRPENGCFG_OFFSET(idxd, group->id); in idxd_group_config_write()
772 iowrite64(group->grpcfg.engines, idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
774 grpcfg_offset, ioread64(idxd->reg_base + grpcfg_offset)); in idxd_group_config_write()
777 grpcfg_offset = GRPFLGCFG_OFFSET(idxd, group->id); in idxd_group_config_write()
778 iowrite64(group->grpcfg.flags.bits, idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
[all …]
Dregisters.h403 #define GRPWQCFG_OFFSET(idxd_dev, n, ofs) ((idxd_dev)->grpcfg_offset +\
405 #define GRPENGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 32)
406 #define GRPFLGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 40)
Dinit.c378 idxd->grpcfg_offset = offsets.grpcfg * IDXD_TABLE_MULT; in idxd_read_table_offsets()
379 dev_dbg(dev, "IDXD Group Config Offset: %#x\n", idxd->grpcfg_offset); in idxd_read_table_offsets()
Didxd.h294 u32 grpcfg_offset; member