/drivers/net/wireless/mwifiex/ |
D | 11ac.c | 34 u16 max_rate = 0; in mwifiex_convert_mcsmap_to_maxrate() local 81 max_rate = max_rate_lgi_160MHZ[nss][max_mcs]; in mwifiex_convert_mcsmap_to_maxrate() 82 if (!max_rate) in mwifiex_convert_mcsmap_to_maxrate() 84 max_rate = max_rate_lgi_160MHZ[nss][max_mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate() 86 max_rate = max_rate_lgi_80MHZ[nss][max_mcs]; in mwifiex_convert_mcsmap_to_maxrate() 87 if (!max_rate) in mwifiex_convert_mcsmap_to_maxrate() 89 max_rate = max_rate_lgi_80MHZ[nss][max_mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate() 92 return max_rate; in mwifiex_convert_mcsmap_to_maxrate()
|
/drivers/clk/tegra/ |
D | clk-audio-sync.c | 36 if (rate > sync->max_rate) in clk_sync_source_round_rate() 58 unsigned long rate, unsigned long max_rate) in tegra_clk_register_sync_source() argument 71 sync->max_rate = max_rate; in tegra_clk_register_sync_source()
|
D | clk.h | 33 unsigned long max_rate; member 41 unsigned long fixed_rate, unsigned long max_rate);
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 65 u16 max_rate, rate; in rtl819x_translate_scan() local 125 max_rate = 0; in rtl819x_translate_scan() 135 if (rate > max_rate) in rtl819x_translate_scan() 136 max_rate = rate; in rtl819x_translate_scan() 144 if (rate > max_rate) in rtl819x_translate_scan() 145 max_rate = rate; in rtl819x_translate_scan() 164 if (rate > max_rate) in rtl819x_translate_scan() 165 max_rate = rate; in rtl819x_translate_scan() 169 iwe.u.bitrate.value = max_rate * 500000; in rtl819x_translate_scan()
|
/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 62 u16 max_rate, rate; in rtl819x_translate_scan() local 134 max_rate = 0; in rtl819x_translate_scan() 144 if (rate > max_rate) in rtl819x_translate_scan() 145 max_rate = rate; in rtl819x_translate_scan() 153 if (rate > max_rate) in rtl819x_translate_scan() 154 max_rate = rate; in rtl819x_translate_scan() 175 if (rate > max_rate) in rtl819x_translate_scan() 176 max_rate = rate; in rtl819x_translate_scan() 180 iwe.u.bitrate.value = max_rate * 500000; in rtl819x_translate_scan()
|
/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_wx.c | 52 u8 max_rate, rate; in rtl818x_translate_scan() local 112 max_rate = 0; in rtl818x_translate_scan() 122 if (rate > max_rate) in rtl818x_translate_scan() 123 max_rate = rate; in rtl818x_translate_scan() 131 if (rate > max_rate) in rtl818x_translate_scan() 132 max_rate = rate; in rtl818x_translate_scan() 137 iwe.u.bitrate.value = max_rate * 500000; in rtl818x_translate_scan()
|
/drivers/net/irda/ |
D | bfin_sir.c | 20 static int max_rate = 57600; variable 22 static int max_rate = 115200; variable 742 switch (max_rate) { in bfin_sir_probe() 814 module_param(max_rate, int, 0); 815 MODULE_PARM_DESC(max_rate, "Maximum baud rate (115200, 57600, 38400, 19200, 9600)");
|
D | sa1100_ir.c | 45 static int max_rate = 4000000; variable 978 switch (max_rate) { in sa1100_irda_probe() 1143 module_param(max_rate, int, 0); 1150 MODULE_PARM_DESC(max_rate, "Maximum baud rate (4000000, 115200, 57600, 38400, 19200, 9600)");
|
/drivers/media/platform/omap3isp/ |
D | ispresizer.h | 138 unsigned int *max_rate);
|
D | ispccdc.h | 170 unsigned int *max_rate);
|
D | ispvideo.h | 104 unsigned int max_rate; member
|
D | ispresizer.c | 515 unsigned int *max_rate) in omap3isp_resizer_max_rate() argument 524 *max_rate = div_u64((u64)clock * res->crop.active.width, ofmt->width); in omap3isp_resizer_max_rate() 592 cycles_per_request = div_u64((u64)l3_ick / 2 * 256 + pipe->max_rate - 1, in resizer_adjust_bandwidth() 593 pipe->max_rate); in resizer_adjust_bandwidth()
|
D | ispccdc.c | 850 div = DIV_ROUND_UP(l3_ick, pipe->max_rate); in ccdc_config_vp() 948 unsigned int *max_rate) in omap3isp_ccdc_max_rate() argument 965 *max_rate = min(*max_rate, rate); in omap3isp_ccdc_max_rate()
|
D | ispvideo.c | 311 &pipe->max_rate); in isp_video_validate_pipeline() 1028 pipe->max_rate = pipe->l3_ick; in isp_video_streamon()
|
D | isppreview.c | 1195 cycles_per_request = div_u64((u64)l3_ick / 2 * 256 + pipe->max_rate - 1, in preview_adjust_bandwidth() 1196 pipe->max_rate); in preview_adjust_bandwidth()
|
D | ispccp2.c | 403 vpclk_div = max_t(unsigned int, DIV_ROUND_UP(l3_ick, pipe->max_rate), in ccp2_adjust_bandwidth()
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 1438 u16 rate, max_rate = 0, ht_cap = false; in r8711_wx_get_rate() local 1461 if (rate > max_rate) in r8711_wx_get_rate() 1462 max_rate = rate; in r8711_wx_get_rate() 1471 max_rate = (bw_40MHz) ? ((short_GI) ? 300 : in r8711_wx_get_rate() 1474 max_rate = (bw_40MHz) ? ((short_GI) ? 150 : in r8711_wx_get_rate() 1477 max_rate = (bw_40MHz) ? ((short_GI) ? 150 : in r8711_wx_get_rate() 1479 max_rate *= 2; /* Mbps/2 */ in r8711_wx_get_rate() 1480 wrqu->bitrate.value = max_rate * 500000; in r8711_wx_get_rate() 1482 wrqu->bitrate.value = max_rate * 500000; in r8711_wx_get_rate()
|
/drivers/video/exynos/ |
D | exynos_dp_core.c | 642 enum link_rate_type max_rate) in exynos_dp_init_training() argument 670 if (dp->link_train.link_rate > max_rate) in exynos_dp_init_training() 671 dp->link_train.link_rate = max_rate; in exynos_dp_init_training()
|
/drivers/spi/ |
D | spi-ep93xx.c | 117 unsigned long max_rate; member 253 rate = clamp(rate, espi->min_rate, espi->max_rate); in ep93xx_spi_calc_divisors() 1068 espi->max_rate = clk_get_rate(espi->clk) / 2; in ep93xx_spi_probe()
|
/drivers/gpu/drm/i915/ |
D | intel_dp.c | 165 int max_rate, mode_rate, max_lanes, max_link_clock; in intel_dp_mode_valid() local 180 max_rate = intel_dp_max_data_rate(max_link_clock, max_lanes); in intel_dp_mode_valid() 183 if (mode_rate > max_rate) in intel_dp_mode_valid()
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2200.c | 4266 u32 max_rate; in ipw_gather_stats() local 4323 max_rate = ipw_get_max_rate(priv); in ipw_gather_stats() 4324 rate_quality = priv->last_rate * 40 / max_rate + 60; in ipw_gather_stats()
|