Searched refs:r_base (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/ |
D | drm_color_mgmt.c | 208 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local 220 r_base = crtc->gamma_store; in drm_mode_crtc_set_gamma_size() 221 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size() 224 r_base[i] = i << 8; in drm_mode_crtc_set_gamma_size() 253 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 275 r_base = crtc->gamma_store; in drm_mode_gamma_set_ioctl() 276 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl() 281 g_base = r_base + size; in drm_mode_gamma_set_ioctl() 293 ret = crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_mode_gamma_set_ioctl() 322 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local [all …]
|
D | drm_fb_helper.c | 137 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local 142 r_base = crtc->gamma_store; in drm_fb_helper_restore_lut_atomic() 143 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 146 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()
|
/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 …]
|