Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/dma/idxd/
Ddevice.c849 u32 grpcfg_offset; in idxd_group_config_write() local
855 grpcfg_offset = GRPWQCFG_OFFSET(idxd, group->id, i); in idxd_group_config_write()
856 iowrite64(group->grpcfg.wqs[i], idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
858 group->id, i, grpcfg_offset, in idxd_group_config_write()
859 ioread64(idxd->reg_base + grpcfg_offset)); in idxd_group_config_write()
863 grpcfg_offset = GRPENGCFG_OFFSET(idxd, group->id); in idxd_group_config_write()
864 iowrite64(group->grpcfg.engines, idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
866 grpcfg_offset, ioread64(idxd->reg_base + grpcfg_offset)); in idxd_group_config_write()
869 grpcfg_offset = GRPFLGCFG_OFFSET(idxd, group->id); in idxd_group_config_write()
870 iowrite64(group->grpcfg.flags.bits, idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
[all …]
Dregisters.h449 #define GRPWQCFG_OFFSET(idxd_dev, n, ofs) ((idxd_dev)->grpcfg_offset +\
451 #define GRPENGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 32)
452 #define GRPFLGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 40)
Dinit.c441 idxd->grpcfg_offset = offsets.grpcfg * IDXD_TABLE_MULT; in idxd_read_table_offsets()
442 dev_dbg(dev, "IDXD Group Config Offset: %#x\n", idxd->grpcfg_offset); in idxd_read_table_offsets()
Didxd.h345 u32 grpcfg_offset; member