Searched refs:r_base (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_color_mgmt.c | 194 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local 206 r_base = crtc->gamma_store; in drm_mode_crtc_set_gamma_size() 207 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size() 210 r_base[i] = i << 8; in drm_mode_crtc_set_gamma_size() 239 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 265 r_base = crtc->gamma_store; in drm_mode_gamma_set_ioctl() 266 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl() 271 g_base = r_base + size; in drm_mode_gamma_set_ioctl() 283 ret = crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_mode_gamma_set_ioctl() 318 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local [all …]
|
D | drm_fb_helper.c | 276 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local 281 r_base = crtc->gamma_store; in drm_fb_helper_restore_lut_atomic() 282 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 285 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()
|
/Linux-v4.19/drivers/parport/ |
D | parport_ip32.c | 2007 #define r_base(offset) ((u8 __iomem *)base + ((offset) << regshift)) in parport_ip32_make_isa_registers() macro 2010 .data = r_base(0), in parport_ip32_make_isa_registers() 2011 .dsr = r_base(1), in parport_ip32_make_isa_registers() 2012 .dcr = r_base(2), in parport_ip32_make_isa_registers() 2013 .eppAddr = r_base(3), in parport_ip32_make_isa_registers() 2014 .eppData0 = r_base(4), in parport_ip32_make_isa_registers() 2015 .eppData1 = r_base(5), in parport_ip32_make_isa_registers() 2016 .eppData2 = r_base(6), in parport_ip32_make_isa_registers() 2017 .eppData3 = r_base(7), in parport_ip32_make_isa_registers() 2018 .ecpAFifo = r_base(0), in parport_ip32_make_isa_registers() [all …]
|