/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.c | 397 struct nv04_crtc_reg *regp = &state->crtc_reg[head]; in nv_save_state_ramdac() local 401 regp->nv10_cursync = NVReadRAMDAC(dev, head, NV_RAMDAC_NV10_CURSYNC); in nv_save_state_ramdac() 403 nouveau_hw_get_pllvals(dev, head ? PLL_VPLL1 : PLL_VPLL0, ®p->pllvals); in nv_save_state_ramdac() 408 regp->dither = NVReadRAMDAC(dev, head, NV_RAMDAC_DITHER_NV11); in nv_save_state_ramdac() 410 regp->ramdac_gen_ctrl = NVReadRAMDAC(dev, head, NV_PRAMDAC_GENERAL_CONTROL); in nv_save_state_ramdac() 413 regp->ramdac_630 = NVReadRAMDAC(dev, head, NV_PRAMDAC_630); in nv_save_state_ramdac() 415 regp->ramdac_634 = NVReadRAMDAC(dev, head, NV_PRAMDAC_634); in nv_save_state_ramdac() 417 regp->tv_setup = NVReadRAMDAC(dev, head, NV_PRAMDAC_TV_SETUP); in nv_save_state_ramdac() 418 regp->tv_vtotal = NVReadRAMDAC(dev, head, NV_PRAMDAC_TV_VTOTAL); in nv_save_state_ramdac() 419 regp->tv_vskew = NVReadRAMDAC(dev, head, NV_PRAMDAC_TV_VSKEW); in nv_save_state_ramdac() [all …]
|
D | crtc.c | 67 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; in nv_crtc_set_digital_vibrance() local 69 regp->CRTC[NV_CIO_CRE_CSB] = nv_crtc->saturation = level; in nv_crtc_set_digital_vibrance() 71 regp->CRTC[NV_CIO_CRE_CSB] = 0x80; in nv_crtc_set_digital_vibrance() 72 regp->CRTC[NV_CIO_CRE_5B] = nv_crtc->saturation << 2; in nv_crtc_set_digital_vibrance() 73 crtc_wr_cio_state(crtc, regp, NV_CIO_CRE_5B); in nv_crtc_set_digital_vibrance() 75 crtc_wr_cio_state(crtc, regp, NV_CIO_CRE_CSB); in nv_crtc_set_digital_vibrance() 82 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; in nv_crtc_set_image_sharpening() local 87 regp->ramdac_634 = level; in nv_crtc_set_image_sharpening() 88 NVWriteRAMDAC(crtc->dev, nv_crtc->index, NV_PRAMDAC_634, regp->ramdac_634); in nv_crtc_set_image_sharpening() 125 struct nv04_crtc_reg *regp = &state->crtc_reg[nv_crtc->index]; in nv_crtc_calc_state_ext() local [all …]
|
D | dfp.c | 288 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; in nv04_dfp_mode_set() local 301 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 302 regp->fp_horiz_regs[FP_TOTAL] = output_mode->htotal - 1; in nv04_dfp_mode_set() 306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay; in nv04_dfp_mode_set() 308 regp->fp_horiz_regs[FP_CRTC] = output_mode->hsync_start - drm->vbios.digital_min_front_porch - 1; in nv04_dfp_mode_set() 309 regp->fp_horiz_regs[FP_SYNC_START] = output_mode->hsync_start - 1; in nv04_dfp_mode_set() 310 regp->fp_horiz_regs[FP_SYNC_END] = output_mode->hsync_end - 1; in nv04_dfp_mode_set() 311 regp->fp_horiz_regs[FP_VALID_START] = output_mode->hskew; in nv04_dfp_mode_set() 312 regp->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 314 regp->fp_vert_regs[FP_DISPLAY_END] = output_mode->vdisplay - 1; in nv04_dfp_mode_set() [all …]
|
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()
|
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.12.1/arch/m68k/mm/ |
D | hwtest.c | 31 int hwreg_present(volatile void *regp) in hwreg_present() argument 52 : "a" (regp), "a" (tmp_vectors) in hwreg_present() 64 int hwreg_write(volatile void *regp, unsigned short val) in hwreg_write() argument 89 : "a" (regp), "a" (tmp_vectors), "g" (val) in hwreg_write()
|
/linux-6.12.1/arch/sparc/prom/ |
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.12.1/arch/sh/kernel/ |
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() 475 regp = dwarf_frame_alloc_reg(frame, reg); in dwarf_cfa_execute_insns() 476 regp->flags |= DWARF_UNDEFINED; in dwarf_cfa_execute_insns() 515 regp = dwarf_frame_alloc_reg(frame, reg); 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() 524 regp = dwarf_frame_alloc_reg(frame, reg); in dwarf_cfa_execute_insns() [all …]
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | hwtest.h | 13 extern int hwreg_present(volatile void *regp); 14 extern int hwreg_write(volatile void *regp, unsigned short val);
|
D | oplib.h | 279 extern void prom_adjust_regs(struct linux_prom_registers *regp, int nregs,
|
/linux-6.12.1/drivers/video/fbdev/ |
D | cg3.c | 330 u8 __iomem *regp = &((u8 __iomem *)par->regs)[p[0]]; in cg3_do_default_mode() local 331 sbus_writeb(p[1], regp); in cg3_do_default_mode() 334 u8 __iomem *regp; in cg3_do_default_mode() local 336 regp = (u8 __iomem *)&par->regs->cmap.addr; in cg3_do_default_mode() 337 sbus_writeb(p[0], regp); in cg3_do_default_mode() 338 regp = (u8 __iomem *)&par->regs->cmap.control; in cg3_do_default_mode() 339 sbus_writeb(p[1], regp); in cg3_do_default_mode()
|
D | bw2.c | 264 u8 __iomem *regp = &((u8 __iomem *)par->regs)[p[0]]; in bw2_do_default_mode() local 265 sbus_writeb(p[1], regp); in bw2_do_default_mode()
|
/linux-6.12.1/drivers/i3c/master/ |
D | ast2600-i3c-master.c | 53 static int ast2600_i3c_pullup_to_reg(unsigned int ohms, u32 *regp) in ast2600_i3c_pullup_to_reg() argument 71 if (regp) in ast2600_i3c_pullup_to_reg() 72 *regp = reg; in ast2600_i3c_pullup_to_reg()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | cpufeature.c | 818 static int search_cmp_ftr_reg(const void *id, const void *regp) in search_cmp_ftr_reg() argument 820 return (int)(unsigned long)id - (int)((const struct __ftr_reg_entry *)regp)->sys_id; in search_cmp_ftr_reg() 1189 struct arm64_ftr_reg *regp = get_arm64_ftr_reg(sys_id); in check_update_ftr_reg() local 1191 if (!regp) in check_update_ftr_reg() 1194 update_cpu_ftr_reg(regp, val); in check_update_ftr_reg() 1195 if ((boot & regp->strict_mask) == (val & regp->strict_mask)) in check_update_ftr_reg() 1198 regp->name, boot, cpu, val); in check_update_ftr_reg() 1205 struct arm64_ftr_reg *regp = get_arm64_ftr_reg(sys_id); in relax_cpu_ftr_reg() local 1207 if (!regp) in relax_cpu_ftr_reg() 1210 for (ftrp = regp->ftr_bits; ftrp->width; ftrp++) { in relax_cpu_ftr_reg() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | chan.h | 42 unsigned regp; member
|
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.12.1/drivers/edac/ |
D | pnd2_edac.c | 291 #define RD_REGP(regp, regname, port) \ argument 295 regp, sizeof(struct regname), \ 298 #define RD_REG(regp, regname) \ argument 302 regp, sizeof(struct regname), \
|
/linux-6.12.1/drivers/net/ethernet/amd/ |
D | atarilance.c | 404 static noinline int __init addr_accessible(volatile void *regp, int wordflag, in addr_accessible() argument 443 : "a" (regp), "a" (&vbr[2]), "rm" (wordflag), "rm" (writeflag) in addr_accessible()
|
/linux-6.12.1/drivers/hwmon/ |
D | nct6775-core.c | 3474 static int add_temp_sensors(struct nct6775_data *data, const u16 *regp, in add_temp_sensors() argument 3483 if (!regp[i]) in add_temp_sensors() 3485 err = nct6775_read_value(data, regp[i], &src); in add_temp_sensors()
|