Home
last modified time | relevance | path

Searched refs:r_base (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/
Ddrm_color_mgmt.c198 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local
210 r_base = crtc->gamma_store; in drm_mode_crtc_set_gamma_size()
211 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size()
214 r_base[i] = i << 8; in drm_mode_crtc_set_gamma_size()
243 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()
312 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local
[all …]
Ddrm_fb_helper.c135 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local
140 r_base = crtc->gamma_store; in drm_fb_helper_restore_lut_atomic()
141 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
144 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()
/Linux-v5.4/drivers/parport/
Dparport_ip32.c1996 #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 …]