Home
last modified time | relevance | path

Searched full:fix (Results 1 – 25 of 1533) sorted by relevance

12345678910>>...62

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_veristat.c9 if (!ASSERT_HAS_SUBSTR(fix->output, (str), (name))) \
23 struct fixture *fix = malloc(sizeof(struct fixture)); in init_fixture() local
27 strscpy(fix->veristat, "./veristat"); in init_fixture()
29 strscpy(fix->veristat, "../veristat"); in init_fixture()
33 snprintf(fix->tmpfile, sizeof(fix->tmpfile), "/tmp/test_veristat.XXXXXX"); in init_fixture()
34 fix->fd = mkstemp(fix->tmpfile); in init_fixture()
35 fix->sz = 1000000; in init_fixture()
36 fix->output = malloc(fix->sz); in init_fixture()
37 return fix; in init_fixture()
40 static void teardown_fixture(struct fixture *fix) in teardown_fixture() argument
[all …]
/linux/drivers/clk/
H A Dclk-fixed-factor.c25 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw); in clk_factor_recalc_rate() local
28 rate = (unsigned long long int)parent_rate * fix->mult; in clk_factor_recalc_rate()
29 do_div(rate, fix->div); in clk_factor_recalc_rate()
36 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw); in clk_factor_determine_rate() local
41 best_parent = (req->rate / fix->mult) * fix->div; in clk_factor_determine_rate()
45 req->rate = (req->best_parent_rate / fix->div) * fix->mult; in clk_factor_determine_rate()
65 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw); in clk_factor_recalc_accuracy() local
67 if (fix->flags & CLK_FIXED_FACTOR_FIXED_ACCURACY) in clk_factor_recalc_accuracy()
68 return fix->acc; in clk_factor_recalc_accuracy()
83 struct clk_fixed_factor *fix = res; in devm_clk_hw_register_fixed_factor_release() local
[all …]
/linux/drivers/video/fbdev/core/
H A Dfb_chrdev.c67 struct fb_fix_screeninfo fix; in do_fb_ioctl() local
100 memcpy(&fix, &info->fix, sizeof(fix)); in do_fb_ioctl()
102 fix.smem_start = 0; in do_fb_ioctl()
105 ret = copy_to_user(argp, &fix, sizeof(fix)) ? -EFAULT : 0; in do_fb_ioctl()
228 static int do_fscreeninfo_to_user(struct fb_fix_screeninfo *fix, in do_fscreeninfo_to_user() argument
234 err = copy_to_user(&fix32->id, &fix->id, sizeof(fix32->id)); in do_fscreeninfo_to_user()
236 data = (__u32) (unsigned long) fix->smem_start; in do_fscreeninfo_to_user()
239 err |= put_user(fix->smem_len, &fix32->smem_len); in do_fscreeninfo_to_user()
240 err |= put_user(fix->type, &fix32->type); in do_fscreeninfo_to_user()
241 err |= put_user(fix->type_aux, &fix32->type_aux); in do_fscreeninfo_to_user()
[all …]
/linux/drivers/clk/uniphier/
H A Dclk-uniphier-fixed-factor.c16 struct clk_fixed_factor *fix; in uniphier_clk_register_fixed_factor() local
20 fix = devm_kzalloc(dev, sizeof(*fix), GFP_KERNEL); in uniphier_clk_register_fixed_factor()
21 if (!fix) in uniphier_clk_register_fixed_factor()
30 fix->mult = data->mult; in uniphier_clk_register_fixed_factor()
31 fix->div = data->div; in uniphier_clk_register_fixed_factor()
32 fix->hw.init = &init; in uniphier_clk_register_fixed_factor()
34 ret = devm_clk_hw_register(dev, &fix->hw); in uniphier_clk_register_fixed_factor()
38 return &fix->hw; in uniphier_clk_register_fixed_factor()
/linux/Documentation/scsi/
H A DChangeLog.arcmsr9 ** 1.10.00.10 10/10/2004 Erich Chen bug fix for SMP & ioctl
10 ** 1.20.00.00 11/29/2004 Erich Chen bug fix with arcmsr_bus_reset when PHY error
11 ** 1.20.00.02 12/09/2004 Erich Chen bug fix with over 2T bytes RAID Volume
22 ** 1.20.00.06 3/12/2005 Erich Chen fix with arcmsr_pci_unmap_dma "unsigned long" cast,
25 ** 1.20.00.07 3/23/2005 Erich Chen bug fix with arcmsr_scsi_host_template_init
29 ** bug fix enormous stack usage (Adrian Bunk's comment)
30 ** 1.20.00.08 6/23/2005 Erich Chen bug fix with abort command,
33 ** 1.20.00.09 9/12/2005 Erich Chen bug fix with abort command handling, firmware versi…
34 ** and firmware update notify for hardware bug fix
40 ** 1.20.00.11 9/29/2005 Erich Chen by comment of Arjan van de Ven fix incorrect msleep…
[all …]
H A DChangeLog.lpfc15 * Fix for issue where not all luns are seen. Search all lists
37 * Allow hex format numbers in sysfs attribute setting. Fix
73 * Merged patch from Christoph Hellwig (03/19) - fix initialization
95 * Fix compile warning/resultant panic in
134 * Fix comment for lpfc_sli_iocb_cmd_type to fit within 80 columns.
220 This will fix the free of uninitialised IRQ when config_port
225 * Fix double locking bug in the error handling part of
247 * IOCB initialization fix for Raw IO.
272 * Bug fix for Raw IO errors. Reuse of IOCBs now mandates setting
297 * Fix IOERR_RCV_BUFFER_WAITING handling for CT and ELS subsystem.
[all …]
H A DChangeLog.ips43 4.70.15 - Fix Breakup for very large ( non-SG ) requests
59 4.20.13 - Fix some failure cases / reset code
65 - Fix truncation of /proc files with cat
68 4.10.13 - Fix for dynamic unload and proc file system
72 4.00.06 - Fix timeout with initial FFDC command
84 4.00.02 - Fix problem with PT DCDB with no buffer
103 0.99.05 - Fix an oops on certain passthru commands
105 0.99.04 - Fix race condition in the passthru mechanism
107 - Fix error recovery code
H A DChangeLog.megaraid_sas9 1. Fix reset_mutex leak in megasas_reset_fusion().
11 3. Fix LD/VF affiliation parsing.
23 2. Fix megasas_ioc_init_fusion to use local stack variable.
46 2. Fix the interrupt mask for Gen2 controller.
87 1. Fix Copyright dates.
105 1. Fix reglockFlags for degraded raid5/6 for MR 9360/9380.
117 3. Fix mismatch in megasas_reset_fusion() mutex lock-unlock.
130 1. Fix FastPath I/O to work with degraded RAID 1.
142 5. Fix bug where AENs could be lost in probe() and resume().
152 1. Fix some failure gotos from megasas_probe_one(), etc.
[all …]
/linux/drivers/video/fbdev/
H A Dneofb.c227 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neoCalcVCLK()
228 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neoCalcVCLK()
229 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neoCalcVCLK()
230 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neoCalcVCLK()
687 vramlen = info->fix.smem_len; in neofb_check_var()
969 switch (info->fix.accel) { in neofb_set_par()
1017 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in neofb_set_par()
1021 info->fix.visual = FB_VISUAL_TRUECOLOR; in neofb_set_par()
1036 info->fix.visual = FB_VISUAL_TRUECOLOR; in neofb_set_par()
1060 switch (info->fix.accel) { in neofb_set_par()
[all …]
H A Dsunxvr2500.c84 /* Fill fix common fields */ in s3d_set_fbinfo()
85 strscpy(info->fix.id, "s3d", sizeof(info->fix.id)); in s3d_set_fbinfo()
86 info->fix.smem_start = sp->fb_base_phys; in s3d_set_fbinfo()
87 info->fix.smem_len = sp->fb_size; in s3d_set_fbinfo()
88 info->fix.type = FB_TYPE_PACKED_PIXELS; in s3d_set_fbinfo()
90 info->fix.visual = FB_VISUAL_TRUECOLOR; in s3d_set_fbinfo()
92 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in s3d_set_fbinfo()
171 info->fix.line_length = sp->width; in s3d_pci_register()
174 info->fix.line_length = sp->width * 2; in s3d_pci_register()
177 info->fix.line_length = sp->width * 3; in s3d_pci_register()
[all …]
H A Dwm8505fb.c54 writel(fbi->fb.fix.smem_start, fbi->regbase + WMT_GOVR_FBADDR); in wm8505fb_init_hw()
55 writel(fbi->fb.fix.smem_start, fbi->regbase + WMT_GOVR_FBADDR1); in wm8505fb_init_hw()
127 info->fix.visual = FB_VISUAL_TRUECOLOR; in wm8505fb_set_par()
128 info->fix.line_length = info->var.xres_virtual << 2; in wm8505fb_set_par()
139 info->fix.visual = FB_VISUAL_TRUECOLOR; in wm8505fb_set_par()
140 info->fix.line_length = info->var.xres_virtual << 1; in wm8505fb_set_par()
205 switch (fbi->fb.fix.visual) { in wm8505fb_setcolreg()
281 strcpy(fbi->fb.fix.id, DRIVER_NAME); in wm8505fb_probe()
283 fbi->fb.fix.type = FB_TYPE_PACKED_PIXELS; in wm8505fb_probe()
284 fbi->fb.fix.xpanstep = 1; in wm8505fb_probe()
[all …]
H A Dstifb.c156 #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, in rattlerSetupPlanes()
975 if (fb->info->fix.visual == FB_VISUAL_DIRECTCOLOR) { in stifb_setcolreg()
1187 struct fb_fix_screeninfo *fix; in stifb_init_fb() local
1203 fix = &info->fix; in stifb_init_fb()
[all …]
H A Dp9100.c219 info->fix.smem_start, info->fix.smem_len, in p9100_sbusfb_mmap()
227 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); in p9100_sbusfb_ioctl()
236 snprintf(info->fix.id, sizeof(info->fix.id), "%pOFn", dp); in p9100_init_fix()
238 info->fix.type = FB_TYPE_PACKED_PIXELS; in p9100_init_fix()
239 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in p9100_init_fix()
241 info->fix.line_length = linebytes; in p9100_init_fix()
243 info->fix.accel = FB_ACCEL_SUN_CGTHREE; in p9100_init_fix()
263 info->fix.smem_start = op->resource[2].start; in p9100_probe()
272 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in p9100_probe()
281 info->fix.smem_len, "p9100 ram"); in p9100_probe()
[all …]
H A Dsunxvr1000.c80 /* Fill fix common fields */ in gfb_set_fbinfo()
81 strscpy(info->fix.id, "gfb", sizeof(info->fix.id)); in gfb_set_fbinfo()
82 info->fix.smem_start = gp->fb_base_phys; in gfb_set_fbinfo()
83 info->fix.smem_len = gp->fb_size; in gfb_set_fbinfo()
84 info->fix.type = FB_TYPE_PACKED_PIXELS; in gfb_set_fbinfo()
86 info->fix.visual = FB_VISUAL_TRUECOLOR; in gfb_set_fbinfo()
88 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in gfb_set_fbinfo()
137 info->fix.line_length = 16384; in gfb_probe()
138 gp->fb_size = info->fix.line_length * gp->height; in gfb_probe()
H A Dvalkyriefb.c108 static void valkyrie_par_to_fix(struct fb_par_valkyrie *par, struct fb_fix_screeninfo *fix);
109 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p);
133 valkyrie_par_to_fix(par, &info->fix); in valkyriefb_set_par()
374 valkyrie_init_fix(&p->info.fix, p); in valkyriefb_init()
444 * messages.) In addition, I think the new code *might* fix some vmode-
505 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p) in valkyrie_init_fix() argument
507 memset(fix, 0, sizeof(*fix)); in valkyrie_init_fix()
508 strcpy(fix->id, "valkyrie"); in valkyrie_init_fix()
509 fix->mmio_start = p->valkyrie_regs_phys; in valkyrie_init_fix()
510 fix->mmio_len = sizeof(struct valkyrie_regs); in valkyrie_init_fix()
[all …]
H A Datmel_lcdfb.c296 struct fb_fix_screeninfo *fix = &info->fix; in atmel_lcdfb_update_dma() local
299 dma_addr = (fix->smem_start + var->yoffset * fix->line_length in atmel_lcdfb_update_dma()
312 dma_free_wc(info->device, info->fix.smem_len, info->screen_base, in atmel_lcdfb_free_video_memory()
313 info->fix.smem_start); in atmel_lcdfb_free_video_memory()
331 info->fix.smem_len = max(smem_len, sinfo->smem_len); in atmel_lcdfb_alloc_video_memory()
333 info->screen_base = dma_alloc_wc(info->device, info->fix.smem_len, in atmel_lcdfb_alloc_video_memory()
334 (dma_addr_t *)&info->fix.smem_start, in atmel_lcdfb_alloc_video_memory()
341 memset(info->screen_base, 0, info->fix.smem_len); in atmel_lcdfb_alloc_video_memory()
429 if (info->fix.smem_len) { in atmel_lcdfb_check_var()
432 if (smem_len > info->fix.smem_len) { in atmel_lcdfb_check_var()
[all …]
H A Dbw2.c162 info->fix.smem_start, info->fix.smem_len, in bw2_sbusfb_mmap()
170 FBTYPE_SUN2BW, 1, info->fix.smem_len); in bw2_sbusfb_ioctl()
179 strscpy(info->fix.id, "bwtwo", sizeof(info->fix.id)); in bw2_init_fix()
181 info->fix.type = FB_TYPE_PACKED_PIXELS; in bw2_init_fix()
182 info->fix.visual = FB_VISUAL_MONO01; in bw2_init_fix()
184 info->fix.line_length = linebytes; in bw2_init_fix()
186 info->fix.accel = FB_ACCEL_SUN_BWTWO; in bw2_init_fix()
286 info->fix.smem_start = op->resource[0].start; in bw2_probe()
309 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in bw2_probe()
314 info->fix.smem_len, "bw2 ram"); in bw2_probe()
[all …]
H A Dtcx.c131 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane()
300 info->fix.smem_start, info->fix.smem_len, in tcx_sbusfb_mmap()
311 info->fix.smem_len); in tcx_sbusfb_ioctl()
329 strscpy(info->fix.id, tcx_name, sizeof(info->fix.id)); in tcx_init_fix()
331 info->fix.type = FB_TYPE_PACKED_PIXELS; in tcx_init_fix()
332 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in tcx_init_fix()
334 info->fix.line_length = linebytes; in tcx_init_fix()
336 info->fix.accel = FB_ACCEL_SUN_TCX; in tcx_init_fix()
353 par->cplane, info->fix.smem_len * sizeof(u32)); in tcx_unmap_regs()
356 info->screen_base, info->fix.smem_len); in tcx_unmap_regs()
[all …]
H A Dclps711x-fb.c113 info->fix.visual = FB_VISUAL_MONO01; in clps711x_fb_set_par()
117 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in clps711x_fb_set_par()
123 info->fix.line_length = info->var.xres * info->var.bits_per_pixel / 8; in clps711x_fb_set_par()
124 info->fix.smem_len = size; in clps711x_fb_set_par()
225 info->fix.mmio_start = res->start; in clps711x_fb_probe()
226 info->fix.mmio_len = resource_size(res); in clps711x_fb_probe()
241 info->fix.smem_start = res->start; in clps711x_fb_probe()
278 if (info->fix.smem_start != (readb(cfb->base + CLPS711X_FBADDR) << 28)) in clps711x_fb_probe()
288 writeb(info->fix.smem_start >> 28, cfb->base + CLPS711X_FBADDR); in clps711x_fb_probe()
304 info->fix.type = FB_TYPE_PACKED_PIXELS; in clps711x_fb_probe()
[all …]
H A Dpxa168fb.c173 var->yres_virtual = info->fix.smem_len / in set_mode()
224 (var->bits_per_pixel >> 3) > info->fix.smem_len) in pxa168fb_check_var()
409 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in pxa168fb_set_par()
411 info->fix.visual = FB_VISUAL_TRUECOLOR; in pxa168fb_set_par()
412 info->fix.line_length = var->xres_virtual * var->bits_per_pixel / 8; in pxa168fb_set_par()
413 info->fix.ypanstep = var->yres; in pxa168fb_set_par()
495 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 16) { in pxa168fb_setcolreg()
502 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR && regno < 256) { in pxa168fb_setcolreg()
575 var->yres_virtual = info->fix.smem_len / in pxa168fb_init_mode()
641 strscpy(info->fix.id, mi->id, 16); in pxa168fb_probe()
[all …]
H A Dacornfb.c203 if (current_par.using_vram && info->fix.smem_len == 2048*1024) in acornfb_set_timing()
273 if (regno < 16 && info->fix.visual == FB_VISUAL_DIRECTCOLOR) { in acornfb_setcolreg()
348 if (min_size > info->fix.smem_len) in acornfb_adjust_timing()
354 for (size = info->fix.smem_len; in acornfb_adjust_timing()
367 size = info->fix.smem_len; in acornfb_adjust_timing()
374 current_par.screen_end = info->fix.smem_start + size; in acornfb_adjust_timing()
377 * Fix yres & yoffset if needed. in acornfb_adjust_timing()
437 u_int off = var->yoffset * info->fix.line_length; in acornfb_update_dma()
442 iomd_writel(info->fix.smem_start + off, IOMD_VIDINIT); in acornfb_update_dma()
525 info->fix.visual = FB_VISUAL_MONO10; in acornfb_set_par()
[all …]
H A Dep93xx-fb.c177 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in ep93xxfb_set_pixelmode()
190 info->fix.visual = FB_VISUAL_TRUECOLOR; in ep93xxfb_set_pixelmode()
203 info->fix.visual = FB_VISUAL_TRUECOLOR; in ep93xxfb_set_pixelmode()
216 info->fix.visual = FB_VISUAL_TRUECOLOR; in ep93xxfb_set_pixelmode()
278 info->fix.line_length = info->var.xres_virtual * in ep93xxfb_set_par()
281 ep93xxfb_writel(fbi, info->fix.smem_start, EP93XXFB_SCREEN_PAGE); in ep93xxfb_set_par()
285 ep93xxfb_writel(fbi, info->fix.line_length / 4, EP93XXFB_VLINE_STEP); in ep93xxfb_set_par()
316 if (offset < info->fix.smem_len) { in ep93xxfb_mmap()
318 info->fix.smem_start, info->fix.smem_len); in ep93xxfb_mmap()
359 switch (info->fix.visual) { in ep93xxfb_setcolreg()
[all …]
/linux/Documentation/process/
H A Dsecurity-bugs.rst32 consider a fix as effective. This includes both a way to trigger the issue
53 * **a proposed fix**: bug reporters who have analyzed the cause of a bug in
54 the source code almost always have an accurate idea on how to fix it,
56 a tested fix will save maintainers a lot of time, even if the fix ends up
58 proposing a tested fix, please always format it in a way that can be
67 keep end users protected during the time it takes them to apply the fix.
154 who will help verify the bug report and assist developers working on a fix.
156 maintainers to understand and fix the security vulnerability.
163 reproduction steps, and follow it with a proposed fix, all in plain text.
177 Once a robust fix has been developed, the release process starts. Fixes
[all …]
/linux/drivers/video/fbdev/geode/
H A Dgx1fb_core.c123 if (gx1_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) in gx1fb_check_var()
136 info->fix.visual = FB_VISUAL_TRUECOLOR; in gx1fb_set_par()
138 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in gx1fb_set_par()
140 info->fix.line_length = gx1_line_delta(info->var.xres, info->var.bits_per_pixel); in gx1fb_set_par()
166 if (info->fix.visual == FB_VISUAL_TRUECOLOR) { in gx1fb_setcolreg()
225 info->fix.smem_start = gx_base + 0x800000; in gx1fb_map_video_memory()
226 info->fix.smem_len = fb_len; in gx1fb_map_video_memory()
227 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in gx1fb_map_video_memory()
232 info->fix.smem_len / 1024, info->fix.smem_start); in gx1fb_map_video_memory()
277 strcpy(info->fix.id, "GX1"); in gx1fb_init_fbinfo()
[all …]
/linux/drivers/staging/sm750fb/
H A Dsm750.c177 pitch = info->fix.line_length; in lynxfb_ops_fillrect()
215 pitch = info->fix.line_length; in lynxfb_ops_copyarea()
249 pitch = info->fix.line_length; in lynxfb_ops_imageblit()
258 if (info->fix.visual == FB_VISUAL_TRUECOLOR || in lynxfb_ops_imageblit()
259 info->fix.visual == FB_VISUAL_DIRECTCOLOR) { in lynxfb_ops_imageblit()
302 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in lynxfb_set_visual_mode()
307 info->fix.visual = FB_VISUAL_TRUECOLOR; in lynxfb_set_visual_mode()
360 struct fb_fix_screeninfo *fix; in lynxfb_ops_set_par() local
372 fix = &info->fix; in lynxfb_ops_set_par()
374 /* fix structure is not so FIX ... */ in lynxfb_ops_set_par()
[all …]

12345678910>>...62