Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/include/asm/mach-pmcs-msp71xx/
Dmsp_regs.h159 #define regptr(addr) (KSEG1ADDR(addr)) macro
161 #define regptr(addr) ((volatile u32 *const)(KSEG1ADDR(addr))) macro
171 #define DEV_ID_REG regptr(MSP_SLP_BASE + 0x00)
173 #define FWR_ID_REG regptr(MSP_SLP_BASE + 0x04)
175 #define SYS_ID_REG0 regptr(MSP_SLP_BASE + 0x08)
177 #define SYS_ID_REG1 regptr(MSP_SLP_BASE + 0x0C)
181 #define RST_STS_REG regptr(MSP_SLP_BASE + 0x10)
183 #define RST_SET_REG regptr(MSP_SLP_BASE + 0x14)
185 #define RST_CLR_REG regptr(MSP_SLP_BASE + 0x18)
189 #define PCI_SLP_REG regptr(MSP_SLP_BASE + 0x1C)
[all …]
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dvas.h415 void *regptr, u64 val) in vas_log_write() argument
420 regptr, val); in vas_log_write()
426 void *regptr; in write_uwc_reg() local
428 regptr = win->uwc_map + reg; in write_uwc_reg()
429 vas_log_write(win, name, regptr, val); in write_uwc_reg()
431 out_be64(regptr, val); in write_uwc_reg()
437 void *regptr; in write_hvwc_reg() local
439 regptr = win->hvwc_map + reg; in write_hvwc_reg()
440 vas_log_write(win, name, regptr, val); in write_hvwc_reg()
442 out_be64(regptr, val); in write_hvwc_reg()
/Linux-v4.19/sound/pci/emu10k1/
Dio.c38 unsigned int regptr, val; in snd_emu10k1_ptr_read() local
42 regptr = ((reg << 16) & mask) | (chn & PTR_CHANNELNUM_MASK); in snd_emu10k1_ptr_read()
52 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_read()
59 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_read()
70 unsigned int regptr; in snd_emu10k1_ptr_write() local
77 regptr = ((reg << 16) & mask) | (chn & PTR_CHANNELNUM_MASK); in snd_emu10k1_ptr_write()
88 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_write()
94 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_write()
107 unsigned int regptr, val; in snd_emu10k1_ptr20_read() local
109 regptr = (reg << 16) | chn; in snd_emu10k1_ptr20_read()
[all …]
Demuproc.c451 unsigned int regptr, val; in snd_ptr_read() local
453 regptr = (reg << 16) | chn; in snd_ptr_read()
456 outl(regptr, emu->port + iobase + PTR); in snd_ptr_read()
468 unsigned int regptr; in snd_ptr_write() local
471 regptr = (reg << 16) | chn; in snd_ptr_write()
474 outl(regptr, emu->port + iobase + PTR); in snd_ptr_write()
Demu10k1x.c300 unsigned int regptr, val; in snd_emu10k1x_ptr_read() local
302 regptr = (reg << 16) | chn; in snd_emu10k1x_ptr_read()
305 outl(regptr, emu->port + PTR); in snd_emu10k1x_ptr_read()
316 unsigned int regptr; in snd_emu10k1x_ptr_write() local
319 regptr = (reg << 16) | chn; in snd_emu10k1x_ptr_write()
322 outl(regptr, emu->port + PTR); in snd_emu10k1x_ptr_write()
/Linux-v4.19/sound/pci/ca0106/
Dca0106_main.c351 unsigned int regptr, val; in snd_ca0106_ptr_read() local
353 regptr = (reg << 16) | chn; in snd_ca0106_ptr_read()
356 outl(regptr, emu->port + PTR); in snd_ca0106_ptr_read()
367 unsigned int regptr; in snd_ca0106_ptr_write() local
370 regptr = (reg << 16) | chn; in snd_ca0106_ptr_write()
373 outl(regptr, emu->port + PTR); in snd_ca0106_ptr_write()
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-its.c1500 u64 reg, *regptr, clearbits = 0; in vgic_mmio_write_its_baser() local
1508 regptr = &its->baser_device_table; in vgic_mmio_write_its_baser()
1513 regptr = &its->baser_coll_table; in vgic_mmio_write_its_baser()
1522 reg = update_64bit_reg(*regptr, addr & 7, len, val); in vgic_mmio_write_its_baser()
1530 *regptr = reg; in vgic_mmio_write_its_baser()
/Linux-v4.19/drivers/net/ethernet/amd/
Ddeclance.c295 static inline void writereg(volatile unsigned short *regptr, short value) in writereg() argument
297 *regptr = value; in writereg()