Home
last modified time | relevance | path

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

/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c335 link_status->mbps = 0U; in hw_atl_utils_mpi_get_link_status()
339 link_status->mbps = 10000U; in hw_atl_utils_mpi_get_link_status()
344 link_status->mbps = 5000U; in hw_atl_utils_mpi_get_link_status()
348 link_status->mbps = 2500U; in hw_atl_utils_mpi_get_link_status()
352 link_status->mbps = 1000U; in hw_atl_utils_mpi_get_link_status()
356 link_status->mbps = 100U; in hw_atl_utils_mpi_get_link_status()
434 unsigned int hw_atl_utils_mbps_2_speed_index(unsigned int mbps) in hw_atl_utils_mbps_2_speed_index() argument
438 switch (mbps) { in hw_atl_utils_mbps_2_speed_index()
506 if (!self->aq_link_status.mbps) in hw_atl_utils_update_stats()
Dhw_atl_utils.h195 unsigned int hw_atl_utils_mbps_2_speed_index(unsigned int mbps);
Dhw_atl_a0.c794 if (n < self->aq_link_status.mbps) { in hw_atl_a0_hw_interrupt_moderation_set()
808 self->aq_link_status.mbps); in hw_atl_a0_hw_interrupt_moderation_set()
Dhw_atl_b0.c869 self->aq_link_status.mbps); in hw_atl_b0_hw_interrupt_moderation_set()
/drivers/block/
Dnull_blk.c30 static inline u64 mb_per_tick(int mbps) in mb_per_tick() argument
32 return (1 << 20) / TICKS_PER_SEC * ((u64) mbps); in mb_per_tick()
110 unsigned int mbps; /* Bandwidth throttle cap (in MB/s) */ member
350 NULLB_DEVICE_ATTR(mbps, uint);
1313 unsigned int mbps = nullb->dev->mbps; in nullb_bwtimer_fn() local
1315 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn()
1318 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn()
1332 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer()
1804 dev->mbps = min_t(unsigned int, 1024 * 40, dev->mbps); in null_validate_conf()
1807 dev->mbps = 0; in null_validate_conf()
[all …]
/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c142 if (self->link_status.mbps != self->aq_hw->aq_link_status.mbps) { in aq_nic_update_link_status()
144 AQ_CFG_DRV_NAME, self->link_status.mbps, in aq_nic_update_link_status()
145 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status()
150 if (!netif_carrier_ok(self->ndev) && self->link_status.mbps) { in aq_nic_update_link_status()
158 if (netif_carrier_ok(self->ndev) && !self->link_status.mbps) { in aq_nic_update_link_status()
733 return self->link_status.mbps; in aq_nic_get_link_speed()
Daq_hw.h46 unsigned int mbps; member
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.h288 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
Drs.c3185 iwl_rate_mcs[index].mbps); in rs_sta_dbgfs_scale_table_read()
3189 iwl_rate_mcs[index].mbps, iwl_rate_mcs[index].mcs); in rs_sta_dbgfs_scale_table_read()
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h216 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
Drs.c3631 iwl_rate_mcs[index].mbps); in rs_pretty_print_rate()
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c956 int mbps; in r871x_wx_set_priv() local
960 mbps = 0; in r871x_wx_set_priv()
962 mbps = wrqd.bitrate.value / 1000000; in r871x_wx_set_priv()
963 sprintf(ext, "LINKSPEED %d", mbps); in r871x_wx_set_priv()
/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c2671 il_rate_mcs[idx].mbps); in il4965_rs_sta_dbgfs_scale_table_read()
2678 il_rate_mcs[idx].mbps, in il4965_rs_sta_dbgfs_scale_table_read()
Dcommon.h2747 char mbps[IL_MAX_MCS_DISPLAY_SIZE]; member