/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv04/ |
A D | hw.c | 463 regp->ctv_regs[i] = NVReadRAMDAC(dev, head, in nv_save_state_ramdac() 481 clk->pll_prog(clk, pllreg, ®p->pllvals); in nv_load_state_ramdac() 550 rd_cio_state(dev, head, regp, i); in nv_save_state_vga() 578 wr_cio_state(dev, head, regp, i); in nv_load_state_vga() 608 rd_cio_state(dev, head, regp, NV_CIO_CRE_21); in nv_save_state_ext() 611 rd_cio_state(dev, head, regp, NV_CIO_CRE_47); in nv_save_state_ext() 614 rd_cio_state(dev, head, regp, 0x9f); in nv_save_state_ext() 616 rd_cio_state(dev, head, regp, NV_CIO_CRE_49); in nv_save_state_ext() 644 rd_cio_state(dev, head, regp, NV_CIO_CRE_4B); in nv_save_state_ext() 727 wr_cio_state(dev, head, regp, 0x9f); in nv_load_state_ext() [all …]
|
A D | crtc.c | 87 regp->ramdac_634 = level; in nv_crtc_set_image_sharpening() 308 regp->MiscOutReg = 0x23; in nv_crtc_mode_set_vga() 310 regp->MiscOutReg |= 0x40; in nv_crtc_mode_set_vga() 312 regp->MiscOutReg |= 0x80; in nv_crtc_mode_set_vga() 390 regp->CRTC[NV_CIO_CRE_42] = in nv_crtc_mode_set_vga() 429 regp->Attribute[1] = 0x01; in nv_crtc_mode_set_vga() 496 regp->crtc_eng_ctrl = 0; in nv_crtc_mode_set_regs() 598 regp->tv_setup = 0; in nv_crtc_mode_set_regs() 603 regp->ramdac_8c0 = 0x100; in nv_crtc_mode_set_regs() 604 regp->ramdac_a20 = 0x0; in nv_crtc_mode_set_regs() [all …]
|
A D | dfp.c | 319 regp->fp_vert_regs[FP_VALID_START] = 0; in nv04_dfp_mode_set() 344 regp->fp_control |= (2 << 24); in nv04_dfp_mode_set() 356 regp->fp_control |= (8 << 28); in nv04_dfp_mode_set() 359 regp->fp_control |= (8 << 28); in nv04_dfp_mode_set() 370 regp->fp_debug_1 = 0; in nv04_dfp_mode_set() 372 regp->fp_debug_2 = 0; in nv04_dfp_mode_set() 422 regp->dither = savep->dither | 0x00010000; in nv04_dfp_mode_set() 427 regp->dither_regs[i] = 0xe4e4e4e4; in nv04_dfp_mode_set() 428 regp->dither_regs[i + 3] = 0x44444444; in nv04_dfp_mode_set() 440 regp->dither = savep->dither; in nv04_dfp_mode_set() [all …]
|
A D | cursor.c | 42 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; in nv04_cursor_set_offset() local 45 regp->CRTC[NV_CIO_CRE_HCUR_ADDR0_INDEX] = in nv04_cursor_set_offset() 48 regp->CRTC[NV_CIO_CRE_HCUR_ADDR1_INDEX] = in nv04_cursor_set_offset() 51 regp->CRTC[NV_CIO_CRE_HCUR_ADDR1_INDEX] |= in nv04_cursor_set_offset() 53 regp->CRTC[NV_CIO_CRE_HCUR_ADDR2_INDEX] = offset >> 24; in nv04_cursor_set_offset() 55 crtc_wr_cio_state(crtc, regp, NV_CIO_CRE_HCUR_ADDR0_INDEX); in nv04_cursor_set_offset() 56 crtc_wr_cio_state(crtc, regp, NV_CIO_CRE_HCUR_ADDR1_INDEX); in nv04_cursor_set_offset() 57 crtc_wr_cio_state(crtc, regp, NV_CIO_CRE_HCUR_ADDR2_INDEX); in nv04_cursor_set_offset()
|
A D | tvnv04.c | 146 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; in nv04_tv_mode_set() local 148 regp->tv_htotal = adjusted_mode->htotal; in nv04_tv_mode_set() 149 regp->tv_vtotal = adjusted_mode->vtotal; in nv04_tv_mode_set() 155 regp->tv_hskew = 1; in nv04_tv_mode_set() 156 regp->tv_hsync_delay = 1; in nv04_tv_mode_set() 157 regp->tv_hsync_delay2 = 64; in nv04_tv_mode_set() 158 regp->tv_vskew = 1; in nv04_tv_mode_set() 159 regp->tv_vsync_delay = 1; in nv04_tv_mode_set()
|
/linux-6.3-rc2/arch/m68k/mm/ |
A D | hwtest.c | 29 int hwreg_present(volatile void *regp) in hwreg_present() argument 50 : "a" (regp), "a" (tmp_vectors) in hwreg_present() 62 int hwreg_write(volatile void *regp, unsigned short val) in hwreg_write() argument 87 : "a" (regp), "a" (tmp_vectors), "g" (val) in hwreg_write()
|
/linux-6.3-rc2/arch/sparc/prom/ |
A D | ranges.c | 20 static void prom_adjust_regs(struct linux_prom_registers *regp, int nregs, in prom_adjust_regs() argument 27 if (regp[regc].which_io == rangep[rngc].ot_child_space) in prom_adjust_regs() 31 regp[regc].which_io = rangep[rngc].ot_parent_space; in prom_adjust_regs() 32 regp[regc].phys_addr -= rangep[rngc].ot_child_base; in prom_adjust_regs() 33 regp[regc].phys_addr += rangep[rngc].ot_parent_base; in prom_adjust_regs()
|
/linux-6.3-rc2/arch/sh/kernel/ |
A D | dwarf.c | 406 struct dwarf_reg *regp; in dwarf_cfa_execute_insns() local 429 regp = dwarf_frame_alloc_reg(frame, reg); in dwarf_cfa_execute_insns() 430 regp->addr = offset; in dwarf_cfa_execute_insns() 431 regp->flags |= DWARF_REG_OFFSET; in dwarf_cfa_execute_insns() 476 regp->flags |= DWARF_UNDEFINED; in dwarf_cfa_execute_insns() 516 regp->flags |= DWARF_REG_OFFSET; in dwarf_cfa_execute_insns() 517 regp->addr = offset; in dwarf_cfa_execute_insns() 525 regp->flags |= DWARF_VAL_OFFSET; in dwarf_cfa_execute_insns() 526 regp->addr = offset; in dwarf_cfa_execute_insns() 539 regp->flags |= DWARF_REG_OFFSET; in dwarf_cfa_execute_insns() [all …]
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | hwtest.h | 13 extern int hwreg_present(volatile void *regp); 14 extern int hwreg_write(volatile void *regp, unsigned short val);
|
A D | oplib.h | 277 extern void prom_adjust_regs(struct linux_prom_registers *regp, int nregs,
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | cg3.c | 336 u8 __iomem *regp = &((u8 __iomem *)par->regs)[p[0]]; in cg3_do_default_mode() local 337 sbus_writeb(p[1], regp); in cg3_do_default_mode() 340 u8 __iomem *regp; in cg3_do_default_mode() local 342 regp = (u8 __iomem *)&par->regs->cmap.addr; in cg3_do_default_mode() 343 sbus_writeb(p[0], regp); in cg3_do_default_mode() 344 regp = (u8 __iomem *)&par->regs->cmap.control; in cg3_do_default_mode() 345 sbus_writeb(p[1], regp); in cg3_do_default_mode()
|
A D | bw2.c | 270 u8 __iomem *regp = &((u8 __iomem *)par->regs)[p[0]]; in bw2_do_default_mode() local 271 sbus_writeb(p[1], regp); in bw2_do_default_mode()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | cpufeature.c | 1078 if (!regp) in check_update_ftr_reg() 1082 if ((boot & regp->strict_mask) == (val & regp->strict_mask)) in check_update_ftr_reg() 1094 if (!regp) in relax_cpu_ftr_reg() 1337 if (!regp) in read_sanitised_ftr_reg() 1339 return regp->sys_val; in read_sanitised_ftr_reg() 1352 struct arm64_ftr_reg *regp; in __read_sysreg_by_encoding() local 1401 if (regp) { in __read_sysreg_by_encoding() 1403 val |= (regp->override->val & regp->override->mask); in __read_sysreg_by_encoding() 1441 struct arm64_ftr_reg *regp; in has_user_cpuid_feature() local 1445 if (!regp) in has_user_cpuid_feature() [all …]
|
A D | cpu_errata.c | 128 struct arm64_ftr_reg *regp; in cpu_clear_bf16_from_user_emulation() local 130 regp = get_arm64_ftr_reg(SYS_ID_AA64ISAR1_EL1); in cpu_clear_bf16_from_user_emulation() 131 if (!regp) in cpu_clear_bf16_from_user_emulation() 135 if (regp->user_mask & ID_AA64ISAR1_EL1_BF16_MASK) in cpu_clear_bf16_from_user_emulation() 136 regp->user_mask &= ~ID_AA64ISAR1_EL1_BF16_MASK; in cpu_clear_bf16_from_user_emulation()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A D | chan.h | 39 unsigned regp; member
|
A D | nv04.c | 67 u32 rv = (nvkm_rd32(device, c->regp) & rm) >> c->regs; in nv04_chan_stop() 75 nvkm_wr32(device, c->regp, 0x00000000); in nv04_chan_stop()
|
/linux-6.3-rc2/drivers/edac/ |
A D | pnd2_edac.c | 290 #define RD_REGP(regp, regname, port) \ argument 294 regp, sizeof(struct regname), \ 297 #define RD_REG(regp, regname) \ argument 301 regp, sizeof(struct regname), \
|
/linux-6.3-rc2/drivers/net/ethernet/amd/ |
A D | atarilance.c | 403 static noinline int __init addr_accessible(volatile void *regp, int wordflag, in addr_accessible() argument 442 : "a" (regp), "a" (&vbr[2]), "rm" (wordflag), "rm" (writeflag) in addr_accessible()
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | unwind.c | 731 spill_next_when (struct unw_reg_info **regp, struct unw_reg_info *lim, unw_word t) in spill_next_when() argument 735 for (reg = *regp; reg <= lim; ++reg) { in spill_next_when() 738 *regp = reg + 1; in spill_next_when()
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | nct6775-core.c | 3371 static int add_temp_sensors(struct nct6775_data *data, const u16 *regp, in add_temp_sensors() argument 3380 if (!regp[i]) in add_temp_sensors() 3382 err = nct6775_read_value(data, regp[i], &src); in add_temp_sensors()
|