Searched refs:REG_MASK (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_io.c | 74 regmap_read(port->target, ocelot->map[target][reg & REG_MASK], &val); in ocelot_port_readl() 86 regmap_write(port->target, ocelot->map[target][reg & REG_MASK], val); in ocelot_port_writel() 131 regfield.reg = ocelot->map[target][reg & REG_MASK]; in ocelot_regfields_init()
|
| H A D | ocelot_stats.c | 929 WARN(ocelot->map[SYS][last & REG_MASK] >= ocelot->map[SYS][layout[i].reg & REG_MASK], in ocelot_prepare_stats_regions() 931 last, ocelot->map[SYS][last & REG_MASK], in ocelot_prepare_stats_regions() 932 layout[i].reg, ocelot->map[SYS][layout[i].reg & REG_MASK]); in ocelot_prepare_stats_regions() 935 if (region && ocelot->map[SYS][layout[i].reg & REG_MASK] == in ocelot_prepare_stats_regions() 936 ocelot->map[SYS][last & REG_MASK] + 4) { in ocelot_prepare_stats_regions()
|
| /linux/tools/testing/selftests/kvm/riscv/ |
| H A D | get-reg-list.c | 13 #define REG_MASK (KVM_REG_ARCH_MASK | KVM_REG_SIZE_MASK) macro 34 switch (reg & ~REG_MASK) { in filter_reg() 291 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_CONFIG); in core_id_to_str() 320 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_CORE); in core_id_to_str() 446 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_CSR); in fp_f_id_to_str() 470 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_TIMER); in fp_d_id_to_str() 491 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_FP_F); in vector_id_to_str() 509 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_FP_D); in isa_ext_single_id_to_str() 527 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_VECTOR); in isa_ext_single_id_to_str() 666 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_ISA_EX in sbi_ext_multi_id_to_str() [all...] |
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | get-reg-list.c | 130 #define REG_MASK (KVM_REG_ARCH_MASK | KVM_REG_SIZE_MASK | KVM_REG_ARM_COPROC_MASK) 138 __u64 core_off = id & ~REG_MASK, idx; in core_id_to_str() 186 sve_off = id & ~(REG_MASK | ((1ULL << 5) - 1)); in sve_id_to_str() 259 TEST_ASSERT(!(id & ~(REG_MASK | KVM_REG_ARM_DEMUX_ID_MASK | KVM_REG_ARM_DEMUX_VAL_MASK)), in print_reg() 129 #define REG_MASK global() macro
|
| /linux/arch/riscv/include/asm/ |
| H A D | insn.h | 397 #define REG_MASK \ macro 401 (SHIFT_RIGHT((insn), (pos) - LOG_REGBYTES) & REG_MASK)
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | seville_vsc9953.c | 896 ocelot->map[GCB][GCB_MIIM_MII_STATUS & REG_MASK], in vsc9953_mdio_bus_alloc()
|