Searched refs:r_base (Results 1 – 4 of 4) sorted by relevance
/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 …]
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 497 uint16_t *r_base, *g_base, *b_base; in psb_intel_crtc_init() local 525 r_base = gma_crtc->base.gamma_store; in psb_intel_crtc_init() 526 g_base = r_base + 256; in psb_intel_crtc_init() 532 r_base[i] = i << 8; in psb_intel_crtc_init()
|
/drivers/gpu/drm/ |
D | drm_fb_helper.c | 230 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_save_lut_atomic() local 236 r_base = crtc->gamma_store; in drm_fb_helper_save_lut_atomic() 237 g_base = r_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic() 241 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); in drm_fb_helper_save_lut_atomic() 246 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local 251 r_base = crtc->gamma_store; in drm_fb_helper_restore_lut_atomic() 252 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 255 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic()
|
D | drm_crtc.c | 5091 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 5117 r_base = crtc->gamma_store; in drm_mode_gamma_set_ioctl() 5118 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl() 5123 g_base = r_base + size; in drm_mode_gamma_set_ioctl() 5135 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl() 5163 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local 5184 r_base = crtc->gamma_store; in drm_mode_gamma_get_ioctl() 5185 if (copy_to_user((void __user *)(unsigned long)crtc_lut->red, r_base, size)) { in drm_mode_gamma_get_ioctl() 5190 g_base = r_base + size; in drm_mode_gamma_get_ioctl()
|