/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_veristat.c | 9 if (!ASSERT_HAS_SUBSTR(fix->output, (str), (name))) \ 23 struct fixture *fix = malloc(sizeof(struct fixture)); in init_fixture() local 27 strcpy(fix->veristat, "./veristat"); in init_fixture() 29 strcpy(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 in init_fixture() 40 teardown_fixture(struct fixture * fix) teardown_fixture() argument 50 struct fixture *fix = init_fixture(); test_set_global_vars_succeeds() local 105 struct fixture *fix = init_fixture(); test_set_global_vars_from_file_succeeds() local 131 struct fixture *fix = init_fixture(); test_set_global_vars_out_of_range() local 146 struct fixture *fix = init_fixture(); test_unsupported_ptr_array_type() local 161 struct fixture *fix = init_fixture(); test_array_out_of_bounds() local 176 struct fixture *fix = init_fixture(); test_array_index_not_found() local 191 struct fixture *fix = init_fixture(); test_array_index_for_non_array() local 213 struct fixture *fix = init_fixture(); test_no_array_index_for_array() local [all...] |
/linux/drivers/clk/ |
H A D | clk-fixed-factor.c | 25 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 D | fb_chrdev.c | 67 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 D | clk-uniphier-fixed-factor.c | 16 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/sound/hda/codecs/realtek/ |
H A D | realtek.h | 124 /* for PLL fix */ 179 const struct hda_fixup *fix, int action); 181 const struct hda_fixup *fix, int action); 183 const struct hda_fixup *fix, int action); 185 const struct hda_fixup *fix, int action); 187 const struct hda_fixup *fix, int action); 258 const struct hda_fixup *fix, int action); 260 const struct hda_fixup *fix, int action); 262 const struct hda_fixup *fix, int action); 264 const struct hda_fixup *fix, in [all...] |
/linux/Documentation/process/ |
H A D | security-bugs.rst | 22 will be to diagnose and fix. Please review the procedure outlined in 30 who will help verify the bug report and develop and release a fix. 31 If you already have a fix, please include it with your report, as 34 understand and fix the security vulnerability. 41 reproduction steps, and follow it with a proposed fix, all in plain text. 49 Once a robust fix has been developed, the release process starts. Fixes 57 only valid reason for deferring the publication of a fix is to accommodate 62 order to develop a fix, such information will not be published alongside 63 the fix or on any other disclosure channel without the permission of the 88 days) start from the availability of a fix, while for "linux-distros" [all …]
|
/linux/Documentation/scsi/ |
H A D | ChangeLog.arcmsr | 9 ** 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 D | ChangeLog.lpfc | 15 * 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 D | ChangeLog.ips | 43 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 D | ChangeLog.megaraid_sas | 9 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 D | neofb.c | 227 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 D | sunxvr2500.c | 84 /* 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 D | wm8505fb.c | 54 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 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, 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 D | p9100.c | 219 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 D | sunxvr1000.c | 80 /* 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 D | valkyriefb.c | 108 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() 372 valkyrie_init_fix(&p->info.fix, p); in valkyriefb_init() 442 * messages.) In addition, I think the new code *might* fix some vmode- 503 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p) in valkyrie_init_fix() argument 505 memset(fix, 0, sizeof(*fix)); in valkyrie_init_fix() 506 strcpy(fix->id, "valkyrie"); in valkyrie_init_fix() 507 fix->mmio_start = p->valkyrie_regs_phys; in valkyrie_init_fix() 508 fix->mmio_len = sizeof(struct valkyrie_regs); in valkyrie_init_fix() [all …]
|
H A D | atmel_lcdfb.c | 296 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 D | vt8500lcdfb.c | 67 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in vt8500lcd_set_par() 68 info->fix.line_length = info->var.xres_virtual / in vt8500lcd_set_par() 101 info->fix.visual = FB_VISUAL_TRUECOLOR; in vt8500lcd_set_par() 102 info->fix.line_length = info->var.bits_per_pixel > 16 ? in vt8500lcd_set_par() 152 switch (fbi->fb.fix.visual) { in vt8500lcd_setcolreg() 203 unsigned pixlen = info->fix.line_length / info->var.xres_virtual; in vt8500lcd_pan_display() 205 + info->fix.line_length * var->yoffset; in vt8500lcd_pan_display() 229 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR || in vt8500lcd_blank() 230 info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR) in vt8500lcd_blank() 235 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR || in vt8500lcd_blank() [all …]
|
H A D | bw2.c | 162 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 D | clps711x-fb.c | 113 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() 228 info->fix.mmio_start = res->start; in clps711x_fb_probe() 229 info->fix.mmio_len = resource_size(res); in clps711x_fb_probe() 244 info->fix.smem_start = res->start; in clps711x_fb_probe() 281 if (info->fix.smem_start != (readb(cfb->base + CLPS711X_FBADDR) << 28)) in clps711x_fb_probe() 291 writeb(info->fix.smem_start >> 28, cfb->base + CLPS711X_FBADDR); in clps711x_fb_probe() 307 info->fix.type = FB_TYPE_PACKED_PIXELS; in clps711x_fb_probe() [all …]
|
H A D | tcx.c | 131 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 D | pxa168fb.c | 173 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 …]
|
/linux/drivers/staging/sm750fb/ |
H A D | sm750.c | 177 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 …]
|
/linux/drivers/video/fbdev/geode/ |
H A D | gx1fb_core.c | 123 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 …]
|