/linux-master/drivers/clk/uniphier/ |
H A D | clk-uniphier-fixed-factor.c | 16 struct clk_fixed_factor *fix; local 20 fix = devm_kzalloc(dev, sizeof(*fix), GFP_KERNEL); 21 if (!fix) 30 fix->mult = data->mult; 31 fix->div = data->div; 32 fix->hw.init = &init; 34 ret = devm_clk_hw_register(dev, &fix->hw); 38 return &fix->hw;
|
/linux-master/sound/pci/hda/ |
H A D | thinkpad_helper.c | 19 const struct hda_fixup *fix, int action) 32 const struct hda_fixup *fix, int action) 18 hda_fixup_thinkpad_acpi(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument 31 hda_fixup_thinkpad_acpi(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
|
/linux-master/drivers/clk/ |
H A D | clk-fixed-factor.c | 25 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw); local 28 rate = (unsigned long long int)parent_rate * fix->mult; 29 do_div(rate, fix->div); 36 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw); local 41 best_parent = (rate / fix->mult) * fix->div; 45 return (*prate / fix->div) * fix->mult; 63 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw); local 65 if (fix 81 struct clk_fixed_factor *fix = res; local 98 struct clk_fixed_factor *fix; local 273 struct clk_fixed_factor *fix; local [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | fb_chrdev.c | 67 struct fb_fix_screeninfo fix; local 100 memcpy(&fix, &info->fix, sizeof(fix)); 102 fix.smem_start = 0; 105 ret = copy_to_user(argp, &fix, sizeof(fix)) ? -EFAULT : 0; 228 static int do_fscreeninfo_to_user(struct fb_fix_screeninfo *fix, argument 234 err = copy_to_user(&fix32->id, &fix->id, sizeof(fix32->id)); 236 data = (__u32) (unsigned long) fix 264 struct fb_fix_screeninfo fix; local [all...] |
H A D | fb_io_fops.c | 24 total_size = info->fix.smem_len; 88 total_size = info->fix.smem_len; 143 unsigned long start = info->fix.smem_start; 144 u32 len = info->fix.smem_len; 159 start = info->fix.mmio_start; 160 len = info->fix.mmio_len;
|
/linux-master/drivers/video/fbdev/ |
H A D | sunxvr1000.c | 80 /* Fill fix common fields */ 81 strscpy(info->fix.id, "gfb", sizeof(info->fix.id)); 82 info->fix.smem_start = gp->fb_base_phys; 83 info->fix.smem_len = gp->fb_size; 84 info->fix.type = FB_TYPE_PACKED_PIXELS; 86 info->fix.visual = FB_VISUAL_TRUECOLOR; 88 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 137 info->fix.line_length = 16384; 138 gp->fb_size = info->fix [all...] |
H A D | sunxvr2500.c | 84 /* Fill fix common fields */ 85 strscpy(info->fix.id, "s3d", sizeof(info->fix.id)); 86 info->fix.smem_start = sp->fb_base_phys; 87 info->fix.smem_len = sp->fb_size; 88 info->fix.type = FB_TYPE_PACKED_PIXELS; 90 info->fix.visual = FB_VISUAL_TRUECOLOR; 92 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 171 info->fix.line_length = sp->width; 174 info->fix [all...] |
H A D | neofb.c | 227 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || 228 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || 229 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || 230 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { 687 vramlen = info->fix.smem_len; 969 switch (info->fix.accel) { 1017 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 1021 info->fix.visual = FB_VISUAL_TRUECOLOR; 1036 info->fix.visual = FB_VISUAL_TRUECOLOR; 1060 switch (info->fix [all...] |
H A D | p9100.c | 219 info->fix.smem_start, info->fix.smem_len, 227 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); 236 snprintf(info->fix.id, sizeof(info->fix.id), "%pOFn", dp); 238 info->fix.type = FB_TYPE_PACKED_PIXELS; 239 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 241 info->fix.line_length = linebytes; 243 info->fix.accel = FB_ACCEL_SUN_CGTHREE; 263 info->fix [all...] |
H A D | wm8505fb.c | 54 writel(fbi->fb.fix.smem_start, fbi->regbase + WMT_GOVR_FBADDR); 55 writel(fbi->fb.fix.smem_start, fbi->regbase + WMT_GOVR_FBADDR1); 127 info->fix.visual = FB_VISUAL_TRUECOLOR; 128 info->fix.line_length = info->var.xres_virtual << 2; 139 info->fix.visual = FB_VISUAL_TRUECOLOR; 140 info->fix.line_length = info->var.xres_virtual << 1; 205 switch (fbi->fb.fix.visual) { 281 strcpy(fbi->fb.fix.id, DRIVER_NAME); 283 fbi->fb.fix.type = FB_TYPE_PACKED_PIXELS; 284 fbi->fb.fix [all...] |
H A D | stifb.c | 156 #define READ_BYTE(fb, reg) gsc_readb((fb)->info->fix.mmio_start + (reg)) 157 #define READ_WORD(fb, reg) gsc_readl((fb)->info->fix.mmio_start + (reg)) 163 # define WRITE_BYTE(value, fb, reg) gsc_writeb((value), (fb)->info->fix.mmio_start + (reg)) 164 # define WRITE_WORD(value, fb, reg) gsc_writel((value), (fb)->info->fix.mmio_start + (reg)) 172 gsc_writeb((value), (fb)->info->fix.mmio_start + (reg)); } while (0) 176 gsc_writel((value), (fb)->info->fix.mmio_start + (reg)); } while (0) 530 fb_memset_io(fb->info->screen_base + y * fb->info->fix.line_length, 975 if (fb->info->fix.visual == FB_VISUAL_DIRECTCOLOR) { 1187 struct fb_fix_screeninfo *fix; local 1203 fix [all...] |
H A D | tcx.c | 131 for (pend = p + info->fix.smem_len; p < pend; p++) { 300 info->fix.smem_start, info->fix.smem_len, 311 info->fix.smem_len); 329 strscpy(info->fix.id, tcx_name, sizeof(info->fix.id)); 331 info->fix.type = FB_TYPE_PACKED_PIXELS; 332 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 334 info->fix.line_length = linebytes; 336 info->fix [all...] |
H A D | grvga.c | 101 if (info->fix.smem_len) { 102 if ((var->yres_virtual*var->xres_virtual*var->bits_per_pixel/8) > info->fix.smem_len) 164 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 168 info->fix.visual = FB_VISUAL_TRUECOLOR; 173 info->fix.visual = FB_VISUAL_TRUECOLOR; 183 info->fix.line_length = (info->var.xres_virtual*info->var.bits_per_pixel)/8; 212 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR) 217 else if (info->fix.visual == FB_VISUAL_TRUECOLOR) { 237 struct fb_fix_screeninfo *fix = &info->fix; local [all...] |
H A D | pmag-aa-fb.c | 173 info->fix = aafb_fix; 187 info->fix.mmio_start = start + PMAG_AA_BT455_OFFSET; 188 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); 198 info->fix.smem_start = start + PMAG_AA_ONBOARD_FBMEM_OFFSET; 199 info->screen_base = ioremap(info->fix.smem_start, 200 info->fix.smem_len); 206 info->screen_size = info->fix.smem_len; 226 info->node, info->fix.id, dev_name(dev));
|
H A D | pmag-ba-fb.c | 165 info->fix = pmagbafb_fix; 179 info->fix.mmio_start = start; 180 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); 189 info->fix.smem_start = start + PMAG_BA_FBMEM; 190 info->screen_base = ioremap(info->fix.smem_start, 191 info->fix.smem_len); 197 info->screen_size = info->fix.smem_len; 211 info->fix.id, dev_name(dev));
|
H A D | vga16fb.c | 237 info->fix.type = FB_TYPE_PACKED_PIXELS; 238 info->fix.line_length = info->var.xres_virtual / 2; 240 info->fix.type = FB_TYPE_VGA_PLANES; 241 info->fix.type_aux = FB_AUX_VGA_PLANES_VGA4; 242 info->fix.line_length = info->var.xres_virtual / 8; 245 info->fix.type = FB_TYPE_TEXT; 246 info->fix.type_aux = FB_AUX_TEXT_CGA; 247 info->fix.line_length = info->var.xres_virtual / 4; 250 info->fix.type = FB_TYPE_VGA_PLANES; 251 info->fix [all...] |
H A D | cg3.c | 226 info->fix.smem_start, info->fix.smem_len, 234 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); 244 snprintf(info->fix.id, sizeof(info->fix.id), "%pOFn", dp); 246 info->fix.type = FB_TYPE_PACKED_PIXELS; 247 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 249 info->fix.line_length = linebytes; 251 info->fix.accel = FB_ACCEL_SUN_CGTHREE; 360 info->fix [all...] |
/linux-master/drivers/video/fbdev/geode/ |
H A D | lxfb_core.c | 263 > info->fix.smem_len) 272 info->fix.visual = FB_VISUAL_TRUECOLOR; 274 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 276 info->fix.line_length = lx_get_pitch(info->var.xres, 300 if (info->fix.visual == FB_VISUAL_TRUECOLOR) { 358 info->fix.smem_start = pci_resource_start(dev, 0); 359 info->fix.smem_len = vram ? vram : lx_framebuffer_size(); 361 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); 384 write_dc(par, DC_GLIU0_MEM_OFFSET, info->fix [all...] |
H A D | gxfb_core.c | 150 if (gx_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) 161 info->fix.visual = FB_VISUAL_TRUECOLOR; 163 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 165 info->fix.line_length = gx_line_delta(info->var.xres, info->var.bits_per_pixel); 189 if (info->fix.visual == FB_VISUAL_TRUECOLOR) { 251 info->fix.smem_start = pci_resource_start(dev, 0); 252 info->fix.smem_len = vram ? vram : gx_frame_buffer_size(); 253 info->screen_base = ioremap_wc(info->fix.smem_start, 254 info->fix.smem_len); 261 write_dc(par, DC_GLIU0_MEM_OFFSET, info->fix [all...] |
H A D | gx1fb_core.c | 123 if (gx1_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) 136 info->fix.visual = FB_VISUAL_TRUECOLOR; 138 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 140 info->fix.line_length = gx1_line_delta(info->var.xres, info->var.bits_per_pixel); 166 if (info->fix.visual == FB_VISUAL_TRUECOLOR) { 225 info->fix.smem_start = gx_base + 0x800000; 226 info->fix.smem_len = fb_len; 227 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); 232 info->fix [all...] |
/linux-master/drivers/gpu/drm/xe/display/ |
H A D | intel_fbdev_fb.c | 86 info->fix.smem_start = xe_ttm_stolen_io_offset(obj, 0); 88 info->fix.smem_start = 92 info->fix.smem_len = obj->ttm.base.size; 95 info->fix.smem_start = 0; 96 info->fix.smem_len = obj->ttm.base.size;
|
/linux-master/scripts/ |
H A D | documentation-file-ref-check | 24 my $fix = 0; 33 'fix' => \$fix, 39 print "$scriptname [--help] [--fix]\n"; 44 print "Finding broken references. This may take a while... " if ($fix); 74 if ($fix && !$doc_fix) { 75 print STDERR "\nWARNING: Currently, can't fix broken :doc:`` fields\n"; 159 if ($fix) { 172 exit 0 if (!$fix);
|
/linux-master/drivers/staging/sm750fb/ |
H A D | sm750.c | 179 pitch = info->fix.line_length; 217 pitch = info->fix.line_length; 251 pitch = info->fix.line_length; 260 if (info->fix.visual == FB_VISUAL_TRUECOLOR || 261 info->fix.visual == FB_VISUAL_DIRECTCOLOR) { 304 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 309 info->fix.visual = FB_VISUAL_TRUECOLOR; 362 struct fb_fix_screeninfo *fix; local 374 fix = &info->fix; 724 struct fb_fix_screeninfo *fix; local [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_fbdev_fb.c | 80 info->fix.smem_start = 84 info->fix.smem_len = obj->base.size; 89 info->fix.smem_start = 91 info->fix.smem_len = vma->size;
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-osd.c | 109 static int vivid_fb_get_fix(struct vivid_dev *dev, struct fb_fix_screeninfo *fix) argument 112 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); 113 strscpy(fix->id, "vioverlay fb", sizeof(fix->id)); 114 fix->smem_start = dev->video_pbase; 115 fix->smem_len = dev->video_buffer_size; 116 fix->type = FB_TYPE_PACKED_PIXELS; 117 fix->visual = FB_VISUAL_TRUECOLOR; 118 fix->xpanstep = 1; 119 fix [all...] |