Home
last modified time | relevance | path

Searched refs:regb (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_hw_reg_io.h18 #define REGB_RD32(reg) ivpu_hw_reg_rd32(vdev, vdev->regb, (reg), #reg, __func__)
19 #define REGB_RD32_SILENT(reg) readl(vdev->regb + (reg))
20 #define REGB_RD64(reg) ivpu_hw_reg_rd64(vdev, vdev->regb, (reg), #reg, __func__)
21 #define REGB_WR32(reg, val) ivpu_hw_reg_wr32(vdev, vdev->regb, (reg), (val), #reg, __func__)
22 #define REGB_WR64(reg, val) ivpu_hw_reg_wr64(vdev, vdev->regb, (reg), (val), #reg, __func__)
H A Divpu_drv.c454 vdev->regb = devm_ioremap_resource(vdev->drm.dev, bar4); in ivpu_pci_init()
455 if (IS_ERR(vdev->regb)) { in ivpu_pci_init()
456 ivpu_err(vdev, "Failed to map bar 4: %pe\n", vdev->regb); in ivpu_pci_init()
457 return PTR_ERR(vdev->regb); in ivpu_pci_init()
H A Divpu_drv.h100 void __iomem *regb; member
/openbmc/linux/drivers/video/fbdev/sis/
H A Dsis_main.c4898 static void sisfb_post_xgi_setclocks(struct sis_video_info *ivideo, u8 regb) in sisfb_post_xgi_setclocks() argument
4923 regb = 0; /* ! */ in sisfb_post_xgi_setclocks()
4925 index = regb * 3; in sisfb_post_xgi_setclocks()
4938 index = regb * 3; in sisfb_post_xgi_setclocks()
4954 u8 regb) in sisfb_post_xgi_ddr2_mrs_default() argument
4972 sisfb_post_xgi_setclocks(ivideo, regb); in sisfb_post_xgi_ddr2_mrs_default()
5035 static void sisfb_post_xgi_ddr2(struct sis_video_info *ivideo, u8 regb) in sisfb_post_xgi_ddr2() argument
5057 v1 = cs168[regb]; v2 = cs160[regb]; v3 = cs158[regb]; in sisfb_post_xgi_ddr2()
5059 v1 = bios[regb + 0x168]; in sisfb_post_xgi_ddr2()
5060 v2 = bios[regb + 0x160]; in sisfb_post_xgi_ddr2()
[all …]
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c1928 uint32_t regb = addr & ~3; in riscv_iommu_mmio_write() local
1943 switch (regb) { in riscv_iommu_mmio_write()
1947 regb = RISCV_IOMMU_REG_DDTP; in riscv_iommu_mmio_write()
1984 if (regb == RISCV_IOMMU_REG_ICVEC) { in riscv_iommu_mmio_write()
1994 regb = RISCV_IOMMU_REG_TR_REQ_CTL; in riscv_iommu_mmio_write()
2012 uint32_t rw = ldl_le_p(&s->regs_rw[regb]); in riscv_iommu_mmio_write()
2013 stl_le_p(&s->regs_rw[regb], rw | busy); in riscv_iommu_mmio_write()
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_tse.h131 u32 regb; member
/openbmc/linux/sound/soc/codecs/
H A Des8326.c196 u8 regb; member
381 coeff_div[coeff].regb); in es8326_pcm_hw_params()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c717 swreg *rega, swreg *regb) in addr40_offset() argument
721 *regb = reg_b(src_gpr + 1); in addr40_offset()
729 *regb = imm_b(nfp_prog); in addr40_offset()
940 swreg rega, regb; in data_ld_host_order_addr40() local
942 addr40_offset(nfp_prog, src_gpr, offset, &rega, &regb); in data_ld_host_order_addr40()
944 return data_ld_host_order(nfp_prog, meta, dst_gpr, rega, regb, in data_ld_host_order_addr40()