/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_fw_defs.h | 18 IRO[157].m2)) 21 IRO[158].m2)) 27 (IRO[143].base + ((hcIndex) * IRO[143].m1) + ((sbId) * IRO[143].m2)) 30 * IRO[142].m2) + ((sbId) * IRO[142].m3)) 37 (IRO[316].base + ((pfId) * IRO[316].m1) + ((iscsiEqId) * IRO[316].m2)) 39 (IRO[318].base + ((pfId) * IRO[318].m1) + ((iscsiEqId) * IRO[318].m2)) 41 (IRO[317].base + ((pfId) * IRO[317].m1) + ((iscsiEqId) * IRO[317].m2)) 43 (IRO[319].base + ((pfId) * IRO[319].m1) + ((iscsiEqId) * IRO[319].m2)) 45 (IRO[315].base + ((pfId) * IRO[315].m1) + ((iscsiEqId) * IRO[315].m2)) 47 (IRO[321].base + ((pfId) * IRO[321].m1) + ((iscsiEqId) * IRO[321].m2)) [all …]
|
D | bnx2x_init.h | 538 #define BLOCK_PRTY_INFO(block, en_mask, m1, m1h, m2, m3) \ argument 542 en_mask, {m1, m1h, m2, m3}, #block \ 545 #define BLOCK_PRTY_INFO_0(block, en_mask, m1, m1h, m2, m3) \ argument 549 en_mask, {m1, m1h, m2, m3}, #block"_0" \ 552 #define BLOCK_PRTY_INFO_1(block, en_mask, m1, m1h, m2, m3) \ argument 556 en_mask, {m1, m1h, m2, m3}, #block"_1" \
|
/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 664 static int calc_vclock(int index, int m1, int m2, int n, int p1, int p2, in calc_vclock() argument 670 m = (5 * (m1 + 2)) + (m2 + 2); in calc_vclock() 714 int i, m1, m2, n, p1, p2; in intelfbhw_print_hw_state() local 727 m2 = (hw->vga0_divisor >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state() 732 m1, m2, n, p1, p2); in intelfbhw_print_hw_state() 734 calc_vclock(index, m1, m2, n, p1, p2, 0)); in intelfbhw_print_hw_state() 738 m2 = (hw->vga1_divisor >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state() 742 m1, m2, n, p1, p2); in intelfbhw_print_hw_state() 744 calc_vclock(index, m1, m2, n, p1, p2, 0)); in intelfbhw_print_hw_state() 755 m2 = (hw->fpa0 >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state() [all …]
|
/drivers/gpu/drm/gma500/ |
D | cdv_intel_display.c | 51 .m2 = {.min = 58, .max = 158}, 63 .m2 = {.min = 58, .max = 158}, 78 .m2 = {.min = 65, .max = 130}, 90 .m2 = {.min = 58, .max = 158}, 102 .m2 = {.min = 65, .max = 130}, 114 .m2 = {.min = 58, .max = 162}, 281 m |= ((clock->m2) << SB_M_DIVIDER_SHIFT); in cdv_dpll_set_clock_cdv() 404 clock->m = clock->m2 + 2; in cdv_intel_clock() 425 clock.m2 = 118; in cdv_intel_find_dp_pll() 431 clock.m2 = 98; in cdv_intel_find_dp_pll() [all …]
|
D | gma_display.c | 707 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) in gma_pll_is_valid() 712 if (clock->m1 <= clock->m2 && clock->m1 != 0) in gma_pll_is_valid() 764 for (clock.m2 = limit->m2.min; in gma_find_best_pll() 765 (clock.m2 < clock.m1 || clock.m1 == 0) && in gma_find_best_pll() 766 clock.m2 <= limit->m2.max; clock.m2++) { in gma_find_best_pll()
|
D | gma_display.h | 30 int m1, m2; member 49 struct gma_range_t dot, vco, n, m, m1, m2, p, p1; member
|
D | psb_intel_display.c | 41 .m2 = {.min = 3, .max = 7}, 53 .m2 = {.min = 3, .max = 7}, 78 clock->m = 5 * (clock->m1 + 2) + (clock->m2 + 2); in psb_intel_clock() 160 fp = clock.n << 16 | clock.m1 << 8 | clock.m2; in psb_intel_crtc_mode_set() 341 clock.m2 = (fp & FP_M2_DIV_MASK) >> FP_M2_DIV_SHIFT; in psb_intel_crtc_clock_get()
|
D | oaktrail_crtc.c | 129 clock->dot, clock->m, clock->m1, clock->m2, clock->n, in mrst_print_pll()
|
/drivers/ssb/ |
D | main.c | 1019 u32 n1, n2, clock, m1, m2, m3, mc; in ssb_calc_clock_rate() local 1060 m2 = ((m & SSB_CHIPCO_CLK_M2) >> SSB_CHIPCO_CLK_M2_SHIFT); in ssb_calc_clock_rate() 1072 m2 += SSB_CHIPCO_CLK_F5_BIAS; in ssb_calc_clock_rate() 1074 m2 = clkfactor_f6_resolve(m2); in ssb_calc_clock_rate() 1083 return (clock / (m1 * m2)); in ssb_calc_clock_rate() 1085 return (clock / (m1 * m2 * m3)); in ssb_calc_clock_rate() 1092 m2 += SSB_CHIPCO_CLK_T2M2_BIAS; in ssb_calc_clock_rate() 1095 SSB_WARN_ON(!((m2 >= 3) && (m2 <= 10))); in ssb_calc_clock_rate() 1101 clock /= m2; in ssb_calc_clock_rate()
|
/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 284 static message m2[] = { variable 297 static message *init[4] = { m0, m1, m2, m2 }; 886 m2[1].value = 0xf000 + mode; in zr364xx_vidioc_s_fmt_vid_cap() 892 m2[1].value = 0xf000 + 4; in zr364xx_vidioc_s_fmt_vid_cap() 895 m2[1].value = 0xf000 + 0; in zr364xx_vidioc_s_fmt_vid_cap() 898 m2[1].value = 0xf000 + 1; in zr364xx_vidioc_s_fmt_vid_cap() 1490 m2[1].value = 0xf000 + mode; in zr364xx_probe() 1496 m2[1].value = 0xf000 + 4; in zr364xx_probe() 1499 m2[1].value = 0xf000 + 0; in zr364xx_probe() 1502 m2[1].value = 0xf000 + 1; in zr364xx_probe()
|
/drivers/net/wireless/iwlegacy/ |
D | 4965.c | 689 const struct il_eeprom_calib_measure *m2; in il4965_interpolate_chan() local 711 m2 = &(il->calib_info->band_info[s].ch2. in il4965_interpolate_chan() 718 m2->actual_pow); in il4965_interpolate_chan() 722 m2->gain_idx); in il4965_interpolate_chan() 727 m2->temperature); in il4965_interpolate_chan() 731 m2->pa_det); in il4965_interpolate_chan() 734 m, m1->actual_pow, m2->actual_pow, in il4965_interpolate_chan() 737 m, m1->gain_idx, m2->gain_idx, in il4965_interpolate_chan() 740 m, m1->pa_det, m2->pa_det, omeas->pa_det); in il4965_interpolate_chan() 742 m, m1->temperature, m2->temperature, in il4965_interpolate_chan()
|
/drivers/scsi/ |
D | mvumi.h | 405 int size, m1, m2; \ 407 m2 = max(HSP_SIZE(2), HSP_SIZE(4)); \ 408 size = max(m1, m2); \
|
/drivers/gpu/drm/i915/ |
D | intel_display.c | 121 intel_range_t dot, vco, n, m, m1, m2, p, p1; member 151 .m2 = { .min = 6, .max = 16 }, 164 .m2 = { .min = 6, .max = 16 }, 177 .m2 = { .min = 6, .max = 16 }, 190 .m2 = { .min = 3, .max = 7 }, 203 .m2 = { .min = 3, .max = 7 }, 217 .m2 = { .min = 5, .max = 11 }, 232 .m2 = { .min = 5, .max = 11 }, 245 .m2 = { .min = 5, .max = 11 }, 259 .m2 = { .min = 5, .max = 11 }, [all …]
|
D | intel_dp.c | 50 { .p1 = 2, .p2 = 10, .n = 2, .m1 = 23, .m2 = 8 } }, 52 { .p1 = 1, .p2 = 10, .n = 1, .m1 = 14, .m2 = 2 } } 57 { .p1 = 2, .p2 = 10, .n = 1, .m1 = 12, .m2 = 9 } }, 59 { .p1 = 1, .p2 = 10, .n = 2, .m1 = 14, .m2 = 8 } } 64 { .p1 = 3, .p2 = 2, .n = 5, .m1 = 3, .m2 = 81 } }, 66 { .p1 = 2, .p2 = 2, .n = 1, .m1 = 2, .m2 = 27 } } 80 { .p1 = 4, .p2 = 2, .n = 1, .m1 = 2, .m2 = 0x819999a } }, 82 { .p1 = 4, .p2 = 1, .n = 1, .m1 = 2, .m2 = 0x6c00000 } }, 84 { .p1 = 2, .p2 = 1, .n = 1, .m1 = 2, .m2 = 0x6c00000 } }
|
/drivers/media/common/saa7146/ |
D | saa7146_video.c | 225 int i,p,m1,m2,m3,o1,o2; in saa7146_pgtable_build() local 231 m2 = ((size+(size/4)+PAGE_SIZE)/PAGE_SIZE)-1; in saa7146_pgtable_build() 236 size, m1, m2, m3, o1, o2); in saa7146_pgtable_build() 242 m2 = ((size+(size/2)+PAGE_SIZE)/PAGE_SIZE)-1; in saa7146_pgtable_build() 247 size, m1, m2, m3, o1, o2); in saa7146_pgtable_build() 280 for(i = m1; i <= m2 ; i++, ptr2++) { in saa7146_pgtable_build() 289 for(i = m2; i <= m3; i++,ptr3++) { in saa7146_pgtable_build()
|
/drivers/ata/ |
D | sata_mv.c | 3354 u32 m2, m3; in mv6_phy_errata() local 3357 m2 = readl(port_mmio + PHY_MODE2); in mv6_phy_errata() 3358 m2 &= ~(1 << 16); in mv6_phy_errata() 3359 m2 |= (1 << 31); in mv6_phy_errata() 3360 writel(m2, port_mmio + PHY_MODE2); in mv6_phy_errata() 3364 m2 = readl(port_mmio + PHY_MODE2); in mv6_phy_errata() 3365 m2 &= ~((1 << 16) | (1 << 31)); in mv6_phy_errata() 3366 writel(m2, port_mmio + PHY_MODE2); in mv6_phy_errata() 3404 m2 = readl(port_mmio + PHY_MODE2); in mv6_phy_errata() 3406 m2 &= ~MV_M2_PREAMP_MASK; in mv6_phy_errata() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 590 unsigned int m2 = PAGE_SIZE; /* or 128 if you do not need PAGE ALIGNED address */ in matroxfb_decode_var() local 596 while (m2 >= m1) m2 -= m1; in matroxfb_decode_var() 598 m1 = m2; in matroxfb_decode_var() 599 m2 = t; in matroxfb_decode_var() 601 m2 = linelen * PAGE_SIZE / m2; in matroxfb_decode_var() 602 *ydstorg = m2 = 0x400000 % m2; in matroxfb_decode_var() 603 max_yres = (vramlen - m2) / linelen; in matroxfb_decode_var()
|
/drivers/video/fbdev/ |
D | sstfb.c | 292 int m, m2, n, p, best_err, fout; in sst_calc_pll() local 305 m2 = (2 * freq * (1 << p) * (n + 2) ) / DAC_FREF - 4 ; in sst_calc_pll() 307 m = (m2 % 2 ) ? m2/2+1 : m2/2 ; in sst_calc_pll()
|
/drivers/net/wireless/ath/ath5k/ |
D | ani.c | 162 static const int m2[] = { 127, 0x40 }; in ath5k_ani_set_ofdm_weak_signal_detection() local 173 AR5K_PHY_WEAK_OFDM_HIGH_THR_M2, m2[on]); in ath5k_ani_set_ofdm_weak_signal_detection()
|
/drivers/staging/iio/adc/ |
D | mxs-lradc.c | 551 unsigned pressure, m1, m2; in mxs_lradc_read_ts_pressure() local 562 m2 = mxs_lradc_read_raw_channel(lradc, ch2); in mxs_lradc_read_ts_pressure() 564 if (m2 == 0) { in mxs_lradc_read_ts_pressure() 572 pressure /= m2; in mxs_lradc_read_ts_pressure()
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.h | 222 __le64 m2; member
|
/drivers/media/usb/gspca/ |
D | vc032x.c | 2812 u8 m2; member 3034 reg_w(gspca_dev, 0xa0, ptsensor_info->m2, 0xb300); in vc032x_probe_sensor()
|
/drivers/staging/lustre/lustre/include/ |
D | obd.h | 180 struct lov_stripe_md *m2) in lov_stripe_md_cmp() argument 186 return memcmp(&m1->lsm_wire, &m2->lsm_wire, sizeof(m1->lsm_wire)); in lov_stripe_md_cmp()
|
/drivers/net/wireless/b43legacy/ |
D | phy.c | 1970 s32 m2; in b43legacy_tssi2dbm_entry() local 1977 m2 = max(b43legacy_tssi2dbm_ad(32768 + index * pab2, 256), 1); in b43legacy_tssi2dbm_entry() 1982 b43legacy_tssi2dbm_ad(m2 * f, 16) * in b43legacy_tssi2dbm_entry()
|
/drivers/net/wireless/b43/ |
D | phy_g.c | 2334 s32 m1, m2, f = 256, q, delta; in b43_tssi2dbm_entry() local 2338 m2 = max(b43_tssi2dbm_ad(32768 + index * pab2, 256), 1); in b43_tssi2dbm_entry() 2343 b43_tssi2dbm_ad(m2 * f, 16) * f, 2048); in b43_tssi2dbm_entry()
|