Home
last modified time | relevance | path

Searched refs:mbps (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/drivers/media/platform/renesas/rcar-vin/
H A Drcar-csi2.c246 u16 mbps; member
705 if (mbps < priv->info->hsfreqrange->mbps) in rcsi2_set_phypll()
707 mbps, priv->info->hsfreqrange->mbps); in rcsi2_set_phypll()
710 if (hsfreq->mbps >= mbps) in rcsi2_set_phypll()
721 ((mbps - hsfreq_prev->mbps) <= (hsfreq->mbps - mbps))) in rcsi2_set_phypll()
759 mbps = div_u64(mbps * 5, 14); in rcsi2_calc_mbps()
1471 if (value->mbps >= mbps) in rcsi2_phtw_write_mbps()
1477 ((mbps - prev_value->mbps) <= (value->mbps - mbps))) in rcsi2_phtw_write_mbps()
1515 if (mbps != 0 && mbps <= 250) { in __rcsi2_init_phtw_h3_v3h_m3n()
1590 if (mbps != 0 && mbps <= 1500) in rcsi2_init_phtw_v3u()
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_utils_fw.c293 self->aq_link_status.mbps = 10000; in aq_a2_fw_update_link_status()
296 self->aq_link_status.mbps = 5000; in aq_a2_fw_update_link_status()
299 self->aq_link_status.mbps = 2500; in aq_a2_fw_update_link_status()
302 self->aq_link_status.mbps = 1000; in aq_a2_fw_update_link_status()
305 self->aq_link_status.mbps = 100; in aq_a2_fw_update_link_status()
308 self->aq_link_status.mbps = 10; in aq_a2_fw_update_link_status()
311 self->aq_link_status.mbps = 0; in aq_a2_fw_update_link_status()
353 if (self->aq_link_status.mbps) { in aq_a2_fill_a0_stats()
395 if (self->aq_link_status.mbps) { in aq_a2_fill_b0_stats()
H A Dhw_atl2.c246 const u32 link_speed = self->aq_link_status.mbps; in hw_atl2_hw_init_tx_tc_rate_limit()
571 self->aq_link_status.mbps = 0; in hw_atl2_hw_init()
718 unsigned int mbps = self->aq_link_status.mbps; in hw_atl2_hw_interrupt_moderation_set() local
721 speed_index = hw_atl_utils_mbps_2_speed_index(mbps); in hw_atl2_hw_interrupt_moderation_set()
/openbmc/linux/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-csi2.c242 u64 mbps; in rzg2l_csi2_calc_mbps() local
261 mbps = v4l2_ctrl_g_ctrl_int64(ctrl) * format->bpp; in rzg2l_csi2_calc_mbps()
262 do_div(mbps, csi2->lanes * 1000000); in rzg2l_csi2_calc_mbps()
264 return mbps; in rzg2l_csi2_calc_mbps()
299 int mbps; in rzg2l_csi2_dphy_enable() local
302 mbps = rzg2l_csi2_calc_mbps(csi2); in rzg2l_csi2_dphy_enable()
303 if (mbps < 0) in rzg2l_csi2_dphy_enable()
304 return mbps; in rzg2l_csi2_dphy_enable()
306 csi2->hsfreq = mbps; in rzg2l_csi2_dphy_enable()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils_fw2x.c260 link_status->mbps = 10000; in aq_fw2x_update_link_status()
262 link_status->mbps = 5000; in aq_fw2x_update_link_status()
264 link_status->mbps = 2500; in aq_fw2x_update_link_status()
266 link_status->mbps = 1000; in aq_fw2x_update_link_status()
268 link_status->mbps = 100; in aq_fw2x_update_link_status()
270 link_status->mbps = 10000; in aq_fw2x_update_link_status()
272 link_status->mbps = 0; in aq_fw2x_update_link_status()
H A Dhw_atl_utils.c709 link_status->mbps = 0U; in hw_atl_utils_mpi_get_link_status()
713 link_status->mbps = 10000U; in hw_atl_utils_mpi_get_link_status()
718 link_status->mbps = 5000U; in hw_atl_utils_mpi_get_link_status()
722 link_status->mbps = 2500U; in hw_atl_utils_mpi_get_link_status()
726 link_status->mbps = 1000U; in hw_atl_utils_mpi_get_link_status()
730 link_status->mbps = 100U; in hw_atl_utils_mpi_get_link_status()
798 unsigned int hw_atl_utils_mbps_2_speed_index(unsigned int mbps) in hw_atl_utils_mbps_2_speed_index() argument
802 switch (mbps) { in hw_atl_utils_mbps_2_speed_index()
885 if (self->aq_link_status.mbps) { in hw_atl_utils_update_stats()
H A Dhw_atl_a0.c378 self->aq_link_status.mbps = 0; in hw_atl_a0_hw_init()
834 if (n < self->aq_link_status.mbps) { in hw_atl_a0_hw_interrupt_moderation_set()
848 self->aq_link_status.mbps); in hw_atl_a0_hw_interrupt_moderation_set()
H A Dhw_atl_b0.c339 const u32 link_speed = self->aq_link_status.mbps; in hw_atl_b0_hw_init_tx_tc_rate_limit()
598 self->aq_link_status.mbps = 0; in hw_atl_b0_hw_init()
1162 self->aq_link_status.mbps); in hw_atl_b0_hw_interrupt_moderation_set()
H A Dhw_atl_utils.h606 unsigned int hw_atl_utils_mbps_2_speed_index(unsigned int mbps);
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.h53 void aq_ptp_tm_offset_set(struct aq_nic_s *aq_nic, unsigned int mbps);
124 unsigned int mbps) {} in aq_ptp_tm_offset_set() argument
H A Daq_nic.c168 if (self->link_status.mbps != self->aq_hw->aq_link_status.mbps) { in aq_nic_update_link_status()
170 AQ_CFG_DRV_NAME, self->link_status.mbps, in aq_nic_update_link_status()
171 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status()
177 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status()
190 if (!netif_carrier_ok(self->ndev) && self->link_status.mbps) { in aq_nic_update_link_status()
204 if (netif_carrier_ok(self->ndev) && !self->link_status.mbps) { in aq_nic_update_link_status()
987 return self->link_status.mbps; in aq_nic_get_link_speed()
1109 if (self->link_status.mbps) in aq_nic_get_link_ksettings()
H A Daq_ptp.c89 unsigned int mbps; member
96 void aq_ptp_tm_offset_set(struct aq_nic_s *aq_nic, unsigned int mbps) in aq_ptp_tm_offset_set() argument
108 if (mbps == ptp_offset[i].mbps) { in aq_ptp_tm_offset_set()
1039 ptp_offset[__idx].mbps = (__mbps); \
1309 if (aq_nic->aq_hw->aq_link_status.mbps) in aq_ptp_link_change()
H A Daq_hw.h76 unsigned int mbps; member
/openbmc/linux/drivers/block/null_blk/
H A Dmain.c28 static inline u64 mb_per_tick(int mbps) in mb_per_tick() argument
30 return (1 << 20) / TICKS_PER_SEC * ((u64) mbps); in mb_per_tick()
217 module_param_named(mbps, g_mbps, uint, 0444);
431 NULLB_DEVICE_ATTR(mbps, uint, NULL);
747 dev->mbps = g_mbps; in null_alloc_dev()
1519 unsigned int mbps = nullb->dev->mbps; in nullb_bwtimer_fn() local
1521 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn()
1524 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn()
2058 dev->mbps = min_t(unsigned int, 1024 * 40, dev->mbps); in null_validate_conf()
2061 dev->mbps = 0; in null_validate_conf()
[all …]
H A Dnull_blk.h113 unsigned int mbps; /* Bandwidth throttle cap (in MB/s) */ member
/openbmc/qemu/docs/
H A Dmulti-thread-compression.txt84 throughput(mbps): | 893.73 | 482.22
104 throughput(mbps): | 936.99 | 870.95
/openbmc/qemu/migration/
H A Dmigration.h333 double mbps; member
H A Dmigration.c1202 info->ram->mbps = s->mbps; in populate_ram_info()
1719 s->mbps = 0.0; in migrate_init()
3146 s->mbps = ((double) bytes * 8.0) / transfer_time / 1000; in migration_completion_end()
3198 s->mbps = (((double) transferred * 8.0) / in migration_update_counters()
3865 ms->mbps = -1; in migration_instance_init()
/openbmc/linux/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c304 #define DSI_PHY_DELAY(fp, vp, mbps) DIV_ROUND_UP((fp) * (mbps) + 1000 * (vp), 8000) argument
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Drs.c212 iwl_rate_mcs(index)->mbps); in rs_pretty_print_rate()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.h268 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Drs.h233 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
/openbmc/linux/Documentation/block/
H A Dnull_blk.rst94 mbps=[Maximum bandwidth in MB/s]: Default: 0 (no limit)
/openbmc/linux/fs/smb/client/
H A Dcifs_debug.c172 size_t mbps = bps / 1000 / 1000; in smb_speed_to_str() local
174 switch (mbps) { in smb_speed_to_str()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c951 int mbps; in r871x_wx_set_priv() local
955 mbps = 0; in r871x_wx_set_priv()
957 mbps = wrqd.bitrate.value / 1000000; in r871x_wx_set_priv()
958 sprintf(ext, "LINKSPEED %d", mbps); in r871x_wx_set_priv()

12