Searched refs:r_base (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_color_mgmt.c | 209 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local 221 r_base = crtc->gamma_store; in drm_mode_crtc_set_gamma_size() 222 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size() 225 r_base[i] = i << 8; in drm_mode_crtc_set_gamma_size() 364 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 386 r_base = crtc->gamma_store; in drm_mode_gamma_set_ioctl() 387 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl() 392 g_base = r_base + size; in drm_mode_gamma_set_ioctl() 404 ret = drm_crtc_legacy_gamma_set(crtc, r_base, g_base, b_base, in drm_mode_gamma_set_ioctl() 433 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local [all …]
|
D | drm_fb_helper.c | 138 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local 143 r_base = crtc->gamma_store; in drm_fb_helper_restore_lut_atomic() 144 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 147 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()
|
/linux-6.1.9/drivers/parport/ |
D | parport_ip32.c | 1996 #define r_base(offset) ((u8 __iomem *)base + ((offset) << regshift)) in parport_ip32_make_isa_registers() macro 1999 .data = r_base(0), in parport_ip32_make_isa_registers() 2000 .dsr = r_base(1), in parport_ip32_make_isa_registers() 2001 .dcr = r_base(2), in parport_ip32_make_isa_registers() 2002 .eppAddr = r_base(3), in parport_ip32_make_isa_registers() 2003 .eppData0 = r_base(4), in parport_ip32_make_isa_registers() 2004 .eppData1 = r_base(5), in parport_ip32_make_isa_registers() 2005 .eppData2 = r_base(6), in parport_ip32_make_isa_registers() 2006 .eppData3 = r_base(7), in parport_ip32_make_isa_registers() 2007 .ecpAFifo = r_base(0), in parport_ip32_make_isa_registers() [all …]
|