Home
last modified time | relevance | path

Searched full:fix (Results 1 – 25 of 1542) 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 read_output(struct fixture *fix) in read_output() 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/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 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 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 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 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 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 Dvga16fb.c238 info->fix.type = FB_TYPE_PACKED_PIXELS; in vga16fb_update_fix()
239 info->fix.line_length = info->var.xres_virtual / 2; in vga16fb_update_fix()
241 info->fix.type = FB_TYPE_VGA_PLANES; in vga16fb_update_fix()
242 info->fix.type_aux = FB_AUX_VGA_PLANES_VGA4; in vga16fb_update_fix()
243 info->fix.line_length = info->var.xres_virtual / 8; in vga16fb_update_fix()
246 info->fix.type = FB_TYPE_TEXT; in vga16fb_update_fix()
247 info->fix.type_aux = FB_AUX_TEXT_CGA; in vga16fb_update_fix()
248 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix()
251 info->fix.type = FB_TYPE_VGA_PLANES; in vga16fb_update_fix()
252 info->fix.type_aux = FB_AUX_VGA_PLANES_CFB8; in vga16fb_update_fix()
[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 Dsunxvr500.c130 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 16) in e3d_setcolreg()
211 /* Fill fix common fields */ in e3d_set_fbinfo()
212 strscpy(info->fix.id, "e3d", sizeof(info->fix.id)); in e3d_set_fbinfo()
213 info->fix.smem_start = ep->fb_base_phys; in e3d_set_fbinfo()
214 info->fix.smem_len = ep->fb_size; in e3d_set_fbinfo()
215 info->fix.type = FB_TYPE_PACKED_PIXELS; in e3d_set_fbinfo()
217 info->fix.visual = FB_VISUAL_TRUECOLOR; in e3d_set_fbinfo()
219 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in e3d_set_fbinfo()
339 info->fix.line_length = line_length; in e3d_pci_register()
342 info->fix.line_length = line_length * 2; in e3d_pci_register()
[all …]
H A Dcg3.c226 info->fix.smem_start, info->fix.smem_len, in cg3_sbusfb_mmap()
234 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); in cg3_sbusfb_ioctl()
244 snprintf(info->fix.id, sizeof(info->fix.id), "%pOFn", dp); in cg3_init_fix()
246 info->fix.type = FB_TYPE_PACKED_PIXELS; in cg3_init_fix()
247 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in cg3_init_fix()
249 info->fix.line_length = linebytes; in cg3_init_fix()
251 info->fix.accel = FB_ACCEL_SUN_CGTHREE; in cg3_init_fix()
360 info->fix.smem_start = op->resource[0].start; in cg3_probe()
374 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg3_probe()
383 info->fix.smem_len, "cg3 ram"); in cg3_probe()
[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 …]
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 Dsa1100fb.c110 * - Fix 16bpp so that (a) we use the right colours rather than some
126 * - Fix LCCR1 HSW value, fix all machine type specifications to
140 * - Fix colourmap problems.
318 switch (fbi->fb.fix.visual) { in sa1100fb_setcolreg()
445 fbi->fb.fix.visual = FB_VISUAL_TRUECOLOR; in sa1100fb_set_par()
447 fbi->fb.fix.visual = FB_VISUAL_PSEUDOCOLOR; in sa1100fb_set_par()
454 fbi->fb.fix.visual = FB_VISUAL_STATIC_PSEUDOCOLOR; in sa1100fb_set_par()
457 fbi->fb.fix.line_length = var->xres_virtual * in sa1100fb_set_par()
471 sa1100fb_set_visual(fbi, fbi->fb.fix.visual); in sa1100fb_set_par()
542 if (fbi->fb.fix.visual == FB_VISUAL_PSEUDOCOLOR || in sa1100fb_blank()
[all …]
H A Dgoldfishfb.c121 info->fix.line_length = info->var.xres * 2; in goldfish_fb_set_par()
138 writel(fb->fb.fix.smem_start + fb->fb.var.xres * 2 * var->yoffset, in goldfish_fb_pan_display()
210 fb->fb.fix.type = FB_TYPE_PACKED_PIXELS; in goldfish_fb_probe()
211 fb->fb.fix.visual = FB_VISUAL_TRUECOLOR; in goldfish_fb_probe()
212 fb->fb.fix.line_length = width * 2; in goldfish_fb_probe()
213 fb->fb.fix.accel = FB_ACCEL_NONE; in goldfish_fb_probe()
214 fb->fb.fix.ypanstep = 1; in goldfish_fb_probe()
243 fb->fb.fix.smem_start = fbpaddr; in goldfish_fb_probe()
244 fb->fb.fix.smem_len = framesize; in goldfish_fb_probe()
272 fb->fb.fix.smem_start); in goldfish_fb_probe()
[all …]
/linux/Documentation/process/
H A Dsecurity-bugs.rst36 consider a fix as effective. This includes both a way to trigger the issue
57 * **a proposed fix**: bug reporters who have analyzed the cause of a bug in
58 the source code almost always have an accurate idea on how to fix it,
60 a tested fix will save maintainers a lot of time, even if the fix ends up
62 proposing a tested fix, please always format it in a way that can be
71 keep end users protected during the time it takes them to apply the fix.
79 produce the best possible fix (e.g., risk of missing valid use cases, limited
213 * **Propose a Fix**: Many AI tools are actually better at writing code than
214 evaluating it. Please ask your tool to propose a fix and **test it** before
215 reporting the problem. If the fix cannot be tested because it relies on
[all …]
H A Dcoding-assistants.rst64 When an AI assistant is used to find and fix bugs, it **MUST** follow at least
75 4. Write a fix for the bug. This part is not optional: except in a few very
76 rare cases, an AI assistant able to find a bug is able to fix it. Note that
80 5. Build and verify that the fix works either using the reproducer or by
81 re-running a complete analysis; drop any fix that doesn't work and try
82 another one. The fix must not add build warnings and must pass the
84 6. Commit the working fix with a detailed message describing the problem, the
89 8. Indicate what could not be done. If the fix could not be built or tested, or
/linux/drivers/video/fbdev/geode/
H A Dlxfb_core.c263 > info->fix.smem_len) in lxfb_check_var()
272 info->fix.visual = FB_VISUAL_TRUECOLOR; in lxfb_set_par()
274 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in lxfb_set_par()
276 info->fix.line_length = lx_get_pitch(info->var.xres, in lxfb_set_par()
300 if (info->fix.visual == FB_VISUAL_TRUECOLOR) { in lxfb_setcolreg()
358 info->fix.smem_start = pci_resource_start(dev, 0); in lxfb_map_video_memory()
359 info->fix.smem_len = vram ? vram : lx_framebuffer_size(); in lxfb_map_video_memory()
361 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in lxfb_map_video_memory()
384 write_dc(par, DC_GLIU0_MEM_OFFSET, info->fix.smem_start & 0xFF000000); in lxfb_map_video_memory()
388 info->fix.smem_len / 1024, info->fix.smem_start); in lxfb_map_video_memory()
[all …]

12345678910>>...62