/linux-3.4.99/drivers/net/wireless/ath/ath9k/ |
D | common.h | 42 #define ATH_EP_MUL(x, mul) ((x) * (mul)) argument 50 #define ATH_EP_RND(x, mul) \ argument 51 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
|
/linux-3.4.99/arch/mips/ar7/ |
D | clock.c | 83 u32 mul; member 112 int *postdiv, int *mul) in approximate() argument 121 *mul = i; in approximate() 129 int *mul) in calculate() argument 136 *mul = target / tmp_gcd; in calculate() 138 if ((*mul < 1) || (*mul >= 16)) in calculate() 144 if (base / *prediv * *mul / *postdiv != target) { in calculate() 145 approximate(base, target, prediv, postdiv, mul); in calculate() 146 tmp_freq = base / *prediv * *mul / *postdiv; in calculate() 153 *prediv, *postdiv, *mul); in calculate() [all …]
|
/linux-3.4.99/drivers/cpufreq/ |
D | cpufreq-nforce2.c | 23 #define NFORCE2_PLL(mul, div) (0x100000 | (mul << 8) | div) argument 69 unsigned char mul, div; in nforce2_calc_fsb() local 71 mul = (pll >> 8) & 0xff; in nforce2_calc_fsb() 75 return NFORCE2_XTAL * mul / div; in nforce2_calc_fsb() 89 unsigned char mul = 0, div = 0; in nforce2_calc_pll() local 93 while (((mul == 0) || (div == 0)) && (tried <= 3)) { in nforce2_calc_pll() 98 mul = xmul; in nforce2_calc_pll() 104 if ((mul == 0) || (div == 0)) in nforce2_calc_pll() 107 return NFORCE2_PLL(mul, div); in nforce2_calc_pll()
|
/linux-3.4.99/arch/arm/mach-tegra/ |
D | clock.c | 87 if (c->mul != 0 && c->div != 0) { in clk_predict_rate_from_parent() 88 rate *= c->mul; in clk_predict_rate_from_parent() 284 int mul = 1; in clk_get_rate_all_locked() local 290 if (c->mul != 0 && c->div != 0) { in clk_get_rate_all_locked() 291 mul *= c->mul; in clk_get_rate_all_locked() 298 rate *= mul; in clk_get_rate_all_locked() 502 if (c->mul != 0 && c->div != 0) { in clock_tree_show_one() 503 if (c->mul > c->div) { in clock_tree_show_one() 504 int mul = c->mul / c->div; in clock_tree_show_one() local 505 int mul2 = (c->mul * 10 / c->div) % 10; in clock_tree_show_one() [all …]
|
D | tegra30_clocks.c | 566 c->mul = 1; in tegra30_pll_ref_init() 610 c->mul = 2; in tegra30_super_clk_init() 667 c->mul = 2; in tegra30_super_clk_set_parent() 704 c->mul = 2; in tegra30_super_clk_set_rate() 721 c->rate = (rate * c->mul) / c->div; in tegra30_twd_clk_set_rate() 737 c->mul = 1; in tegra30_blink_clk_init() 901 c->mul = sel->n; in tegra30_pll_clk_init() 909 c->mul = 1; in tegra30_pll_clk_init() 912 c->mul = (val & PLL_BASE_DIVN_MASK) >> PLL_BASE_DIVN_SHIFT; in tegra30_pll_clk_init() 1064 c->mul = sel->n; in tegra30_pll_clk_set_rate() [all …]
|
D | tegra2_clocks.c | 459 c->mul = 1; in tegra2_bus_clk_init() 509 c->mul = 1; in tegra2_bus_clk_set_rate() 535 c->mul = 1; in tegra2_blink_clk_init() 625 c->mul = 1; in tegra2_pll_clk_init() 628 c->mul = 1; in tegra2_pll_clk_init() 631 c->mul = (val & PLL_BASE_DIVN_MASK) >> PLL_BASE_DIVN_SHIFT; in tegra2_pll_clk_init() 676 c->mul = sel->n; in tegra2_pll_clk_set_rate() 772 c->mul = 2; in tegra2_pll_div_clk_init() 775 c->mul = 1; in tegra2_pll_div_clk_init() 778 c->mul = 1; in tegra2_pll_div_clk_init() [all …]
|
D | clock.h | 109 u32 mul; member
|
/linux-3.4.99/crypto/ |
D | tgr192.c | 401 static void tgr192_round(u64 * ra, u64 * rb, u64 * rc, u64 x, int mul) in tgr192_round() argument 412 b *= mul; in tgr192_round() 420 static void tgr192_pass(u64 * ra, u64 * rb, u64 * rc, u64 * x, int mul) in tgr192_pass() argument 426 tgr192_round(&a, &b, &c, x[0], mul); in tgr192_pass() 427 tgr192_round(&b, &c, &a, x[1], mul); in tgr192_pass() 428 tgr192_round(&c, &a, &b, x[2], mul); in tgr192_pass() 429 tgr192_round(&a, &b, &c, x[3], mul); in tgr192_pass() 430 tgr192_round(&b, &c, &a, x[4], mul); in tgr192_pass() 431 tgr192_round(&c, &a, &b, x[5], mul); in tgr192_pass() 432 tgr192_round(&a, &b, &c, x[6], mul); in tgr192_pass() [all …]
|
/linux-3.4.99/arch/arm/lib/ |
D | muldi3.S | 30 mul xh, yl, xh 37 mul yh, xl, yh 38 mul xl, yl, xl 39 mul ip, yl, ip
|
D | delay.S | 26 mul r0, r2, r0 35 mul r0, r2, r0 @ max = 2^32-1
|
/linux-3.4.99/arch/m68k/fpsp040/ |
D | binstr.S | 16 | bit 63. The fraction is multiplied by 10 using a mul by 2 17 | shift and a mul by 8 shift. The bits shifted out of the 51 | d2: upper 32-bits of fraction for mul by 8 52 | d3: lower 32-bits of fraction for mul by 8 53 | d4: upper 32-bits of fraction for mul by 2 54 | d5: lower 32-bits of fraction for mul by 2 97 asll #1,%d5 |mul d5 by 2 98 roxll #1,%d4 |mul d4 by 2 100 addxw %d6,%d1 |add in extend from mul by 2 102 | A5. Add mul by 8 to mul by 2. D1 contains the digit formed.
|
D | decbin.S | 62 | Clean up and return. Check if the final mul or div resulted 125 | 2. Calculate absolute value of exponent in d1 by mul and add. 153 mulul #TEN,%d1 |mul partial product by one digit place 463 bccs e_next |if zero, skip the mul 464 fmulx (%a1,%d3),%fp1 |mul by 10**(d3_bit_no) 483 beqs mul |if clear, go to multiply 487 mul: label 493 | If the final mul/div in decbin incurred an inex exception,
|
/linux-3.4.99/arch/arm/boot/compressed/ |
D | ll_char_wr.S | 69 mul r7, r2, r7 74 mul r7, r2, r7 88 mul r4, r2, ip 91 mul ip, r2, ip @ avoid r4 98 mul r4, r2, ip 101 mul ip, r2, ip @ avoid r4
|
/linux-3.4.99/arch/unicore32/lib/ |
D | delay.S | 28 mul r0, r2, r0 34 mul r0, r2, r0 @ max = 2^32-1
|
/linux-3.4.99/lib/mpi/ |
D | Makefile | 19 mpih-mul.o \ 31 mpi-mul.o \
|
/linux-3.4.99/arch/openrisc/ |
D | Makefile | 30 KBUILD_CFLAGS += $(call cc-option,-mhard-mul) 32 KBUILD_CFLAGS += $(call cc-option,-msoft-mul)
|
/linux-3.4.99/arch/arm/mach-at91/ |
D | clock.c | 544 unsigned mul, div; in at91_pll_rate() local 547 mul = (reg >> 16) & 0x7ff; in at91_pll_rate() 548 if (div && mul) { in at91_pll_rate() 550 freq *= mul + 1; in at91_pll_rate() 567 unsigned i, div = 0, mul = 0, diff = 1 << 30; in at91_pll_calc() local 592 if (cpu_is_at91sam9g20() && mul > 63) in at91_pll_calc() 605 mul = mul1; in at91_pll_calc() 612 return ret | ((mul - 1) << 16) | div; in at91_pll_calc()
|
/linux-3.4.99/arch/avr32/mach-at32ap/ |
D | hsmc.c | 38 unsigned long mul; in smc_set_timing() local 57 mul = (clk_get_rate(hsmc->mck) / 10000) << 16; in smc_set_timing() 58 mul /= 100000; in smc_set_timing() 60 #define ns2cyc(x) ((((x) * mul) + 65535) >> 16) in smc_set_timing()
|
/linux-3.4.99/drivers/media/radio/ |
D | si4713-i2c.c | 918 u32 **shadow, s32 *bit, s32 *mask, u16 *property, int *mul, in si4713_choose_econtrol_action() argument 927 *mul = 1; in si4713_choose_econtrol_action() 932 *mul = 1; in si4713_choose_econtrol_action() 937 *mul = 1; in si4713_choose_econtrol_action() 942 *mul = 1; in si4713_choose_econtrol_action() 947 *mul = ATTACK_TIME_UNIT; in si4713_choose_econtrol_action() 952 *mul = 10; in si4713_choose_econtrol_action() 957 *mul = 10; in si4713_choose_econtrol_action() 962 *mul = 1; in si4713_choose_econtrol_action() 1156 int mul = 0; in si4713_write_econtrol_integers() local [all …]
|
/linux-3.4.99/drivers/ata/ |
D | pata_at91.c | 181 unsigned long mul; in calc_mck_cycles() local 190 mul = (mck_hz / 10000) << 16; in calc_mck_cycles() 191 mul /= 100000; in calc_mck_cycles() 193 return (ns * mul + 65536) >> 16; /* rounding */ in calc_mck_cycles()
|
/linux-3.4.99/drivers/net/wireless/p54/ |
D | eeprom.h | 86 __le16 mul; member 91 __le16 mul; member
|
D | eeprom.c | 66 .mul = 130, 508 entry[i].mul = (s16) le16_to_cpu(cal[i].mul); in p54_parse_rssical() 526 entry[i].mul = (s16) le16_to_cpu(cal[i].mul); in p54_parse_rssical()
|
/linux-3.4.99/arch/sh/lib/ |
D | div64.S | 28 mul.l r6, r2
|
/linux-3.4.99/arch/sparc/lib/ |
D | mul.S | 18 .globl .mul 20 .mul: label
|
/linux-3.4.99/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.c | 45 u32 mul; member 824 vdev->intr_coal_timer_info.mul = 2; in vnic_dev_intr_coal_timer_info_default() 854 vdev->intr_coal_timer_info.mul = (u32) vdev->args[0]; in vnic_dev_intr_coal_timer_info() 908 return (usec * vdev->intr_coal_timer_info.mul) / in vnic_dev_intr_coal_timer_usec_to_hw() 915 vdev->intr_coal_timer_info.mul; in vnic_dev_intr_coal_timer_hw_to_usec()
|