Home
last modified time | relevance | path

Searched refs:reg_rmw (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/ti/
Dnetcp_xgbepcsr.c21 #define reg_rmw(addr, value, mask) \ macro
133 reg_rmw(serdes_regs + cfg_phyb_1p25g_156p25mhz_cmu0[i].ofs, in netcp_xgbe_serdes_cmu_init()
140 reg_rmw(serdes_regs + cfg_phyb_10p3125g_156p25mhz_cmu1[i].ofs, in netcp_xgbe_serdes_cmu_init()
154 reg_rmw(serdes_regs + in netcp_xgbe_serdes_lane_config()
162 reg_rmw(serdes_regs + (0x200 * lane) + 0x0380, in netcp_xgbe_serdes_lane_config()
166 reg_rmw(serdes_regs + (0x200 * lane) + 0x03c0, in netcp_xgbe_serdes_lane_config()
175 reg_rmw(serdes_regs + cfg_phyb_10p3125g_comlane[i].ofs, in netcp_xgbe_serdes_com_enable()
190 reg_rmw(serdes_regs + 0x0a00, 0x0000001f, 0x000000ff); in netcp_xgbe_serdes_phyb_rst_clr()
253 reg_rmw(serdes_regs + 0x0008, ((select << 5) + ofs) << 24, in netcp_xgbe_serdes_write_tbus_addr()
270 reg_rmw(serdes_regs + 0x00fc, ((select << 8) + ofs) << 16, ~0xf800ffff); in netcp_xgbe_serdes_write_tbus_addr()
[all …]
/linux-6.6.21/arch/x86/kvm/
Demulate.c556 ulong *preg = reg_rmw(ctxt, reg); in register_address_increment()
563 masked_increment(reg_rmw(ctxt, VCPU_REGS_RSP), stack_mask(ctxt), inc); in rsp_increment()
981 p = (unsigned char *)reg_rmw(ctxt, modrm_reg & 3) + 1; in decode_register()
983 p = reg_rmw(ctxt, modrm_reg); in decode_register()
1925 assign_masked(reg_rmw(ctxt, VCPU_REGS_RBP), reg_read(ctxt, VCPU_REGS_RSP), in em_enter()
1927 assign_masked(reg_rmw(ctxt, VCPU_REGS_RSP), in em_enter()
1935 assign_masked(reg_rmw(ctxt, VCPU_REGS_RSP), reg_read(ctxt, VCPU_REGS_RBP), in em_leave()
1937 return emulate_pop(ctxt, reg_rmw(ctxt, VCPU_REGS_RBP), ctxt->op_bytes); in em_leave()
2013 assign_register(reg_rmw(ctxt, reg), val, ctxt->op_bytes); in em_popa()
2293 ctxt->src.addr.reg = reg_rmw(ctxt, VCPU_REGS_RAX); in em_cmpxchg()
[all …]
Dkvm_emulate.h535 static inline ulong *reg_rmw(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_rmw() function