Home
last modified time | relevance | path

Searched refs:fix (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/drivers/clk/
Dclk-fixed-factor.c30 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw); in clk_factor_recalc_rate() local
33 rate = (unsigned long long int)parent_rate * fix->mult; in clk_factor_recalc_rate()
34 do_div(rate, fix->div); in clk_factor_recalc_rate()
41 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw); in clk_factor_round_rate() local
46 best_parent = (rate / fix->mult) * fix->div; in clk_factor_round_rate()
50 return (*prate / fix->div) * fix->mult; in clk_factor_round_rate()
76 struct clk_fixed_factor *fix; in clk_hw_register_fixed_factor() local
81 fix = kmalloc(sizeof(*fix), GFP_KERNEL); in clk_hw_register_fixed_factor()
82 if (!fix) in clk_hw_register_fixed_factor()
86 fix->mult = mult; in clk_hw_register_fixed_factor()
[all …]
/linux-4.19.296/drivers/clk/uniphier/
Dclk-uniphier-fixed-factor.c25 struct clk_fixed_factor *fix; in uniphier_clk_register_fixed_factor() local
29 fix = devm_kzalloc(dev, sizeof(*fix), GFP_KERNEL); in uniphier_clk_register_fixed_factor()
30 if (!fix) in uniphier_clk_register_fixed_factor()
39 fix->mult = data->mult; in uniphier_clk_register_fixed_factor()
40 fix->div = data->div; in uniphier_clk_register_fixed_factor()
41 fix->hw.init = &init; in uniphier_clk_register_fixed_factor()
43 ret = devm_clk_hw_register(dev, &fix->hw); in uniphier_clk_register_fixed_factor()
47 return &fix->hw; in uniphier_clk_register_fixed_factor()
/linux-4.19.296/fs/ocfs2/
Dblockcheck.c167 unsigned int fix) in ocfs2_hamming_fix() argument
177 if (hweight32(fix) == 1) in ocfs2_hamming_fix()
184 if (fix >= calc_code_bit(nr + d, NULL)) in ocfs2_hamming_fix()
194 if (fix < b) in ocfs2_hamming_fix()
211 if (b == fix) in ocfs2_hamming_fix()
223 unsigned int fix) in ocfs2_hamming_fix_block() argument
225 ocfs2_hamming_fix(data, blocksize * 8, 0, fix); in ocfs2_hamming_fix_block()
534 u32 crc, ecc, fix; in ocfs2_block_check_validate_bhs() local
570 fix = ecc ^ bc_ecc; in ocfs2_block_check_validate_bhs()
577 bhs[i]->b_size * 8 * i, fix); in ocfs2_block_check_validate_bhs()
Dblockcheck.h101 unsigned int fix);
106 unsigned int fix);
Docfs2.h936 int fix = 0, ret, tmpmax; in ocfs2_find_next_zero_bit_unaligned() local
937 bitmap = correct_addr_and_bit_unaligned(&fix, bitmap); in ocfs2_find_next_zero_bit_unaligned()
938 tmpmax = max + fix; in ocfs2_find_next_zero_bit_unaligned()
939 start += fix; in ocfs2_find_next_zero_bit_unaligned()
941 ret = ocfs2_find_next_zero_bit(bitmap, tmpmax, start) - fix; in ocfs2_find_next_zero_bit_unaligned()
Dfilecheck.c94 __ATTR(fix, S_IRUSR | S_IWUSR,
/linux-4.19.296/drivers/clk/pxa/
Dclk-pxa.c63 struct clk_fixed_factor *fix; in cken_recalc_rate() local
66 fix = &pclk->lp; in cken_recalc_rate()
68 fix = &pclk->hp; in cken_recalc_rate()
69 __clk_hw_set_clk(&fix->hw, hw); in cken_recalc_rate()
70 return clk_fixed_factor_ops.recalc_rate(&fix->hw, parent_rate); in cken_recalc_rate()
/linux-4.19.296/drivers/hid/
Dhid-picolcd_fb.c360 vfree((u8 *)info->fix.smem_start); in picolcd_fb_destroy()
414 info->fix.visual = FB_VISUAL_MONO01; in picolcd_set_par()
415 info->fix.line_length = PICOLCDFB_WIDTH / 8; in picolcd_set_par()
421 info->fix.visual = FB_VISUAL_DIRECTCOLOR; in picolcd_set_par()
422 info->fix.line_length = PICOLCDFB_WIDTH; in picolcd_set_par()
540 info->fix = picolcdfb_fix; in picolcd_init_framebuffer()
541 info->fix.smem_len = PICOLCDFB_SIZE*8; in picolcd_init_framebuffer()
557 info->fix.smem_start = (unsigned long)fbdata->bitmap; in picolcd_init_framebuffer()
DKconfig594 Support for Redragon keyboards that need fix-ups to work properly.
/linux-4.19.296/drivers/clk/rockchip/
Dclk.c330 struct clk_fixed_factor *fix = NULL; in rockchip_clk_register_factor_branch() local
348 fix = kzalloc(sizeof(*fix), GFP_KERNEL); in rockchip_clk_register_factor_branch()
349 if (!fix) { in rockchip_clk_register_factor_branch()
354 fix->mult = mult; in rockchip_clk_register_factor_branch()
355 fix->div = div; in rockchip_clk_register_factor_branch()
359 &fix->hw, &clk_fixed_factor_ops, in rockchip_clk_register_factor_branch()
362 kfree(fix); in rockchip_clk_register_factor_branch()
/linux-4.19.296/drivers/auxdisplay/
Dcfag12864bfb.c80 info->fix = cfag12864bfb_fix; in cfag12864bfb_probe()
91 fb_info(info, "%s frame buffer device\n", info->fix.id); in cfag12864bfb_probe()
Dht16k33.c488 fbdev->info->fix = ht16k33_fb_fix; in ht16k33_probe()
/linux-4.19.296/include/linux/
Dsvga.h122 …at(const struct svga_fb_format *frm, struct fb_var_screeninfo *var, struct fb_fix_screeninfo *fix);
Dfb.h476 struct fb_fix_screeninfo fix; /* Current fix */ member
645 struct fb_fix_screeninfo *fix);
/linux-4.19.296/fs/ext4/
Dmballoc.c405 int fix = 0, ret, tmpmax; in mb_find_next_zero_bit() local
406 addr = mb_correct_addr_and_bit(&fix, addr); in mb_find_next_zero_bit()
407 tmpmax = max + fix; in mb_find_next_zero_bit()
408 start += fix; in mb_find_next_zero_bit()
410 ret = ext4_find_next_zero_bit(addr, tmpmax, start) - fix; in mb_find_next_zero_bit()
418 int fix = 0, ret, tmpmax; in mb_find_next_bit() local
419 addr = mb_correct_addr_and_bit(&fix, addr); in mb_find_next_bit()
420 tmpmax = max + fix; in mb_find_next_bit()
421 start += fix; in mb_find_next_bit()
423 ret = ext4_find_next_bit(addr, tmpmax, start) - fix; in mb_find_next_bit()
/linux-4.19.296/fs/befs/
DChangeLog63 * Makefile fix for independent module when CONFIG_MODVERSION is set in
66 * Compile warning fix for namei.c. [Sergey S. Kostyliov <rathamahata@php4.ru>]
/linux-4.19.296/fs/affs/
DChanges34 - fix for a possible bitmap corruption
/linux-4.19.296/lib/
DKconfig.debug1407 YOU ARE DOING. Distros, please enable this and fix whatever
/linux-4.19.296/
DMAINTAINERS16 a magic fix you didn't know about, or some clown changed the