/drivers/media/platform/rcar-vin/ |
D | rcar-csi2.c | 135 u16 mbps; member 140 { .mbps = 80, .reg = 0x86 }, 141 { .mbps = 90, .reg = 0x86 }, 142 { .mbps = 100, .reg = 0x87 }, 143 { .mbps = 110, .reg = 0x87 }, 144 { .mbps = 120, .reg = 0x88 }, 145 { .mbps = 130, .reg = 0x88 }, 146 { .mbps = 140, .reg = 0x89 }, 147 { .mbps = 150, .reg = 0x89 }, 148 { .mbps = 160, .reg = 0x8a }, [all …]
|
/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2_utils_fw.c | 293 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()
|
D | hw_atl2.c | 246 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()
|
/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_utils_fw2x.c | 260 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()
|
D | hw_atl_utils.c | 709 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()
|
D | hw_atl_a0.c | 378 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()
|
D | hw_atl_b0.c | 339 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()
|
D | hw_atl_utils.h | 606 unsigned int hw_atl_utils_mbps_2_speed_index(unsigned int mbps);
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.h | 53 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
|
D | aq_nic.c | 168 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() 840 return self->link_status.mbps; in aq_nic_get_link_speed() 962 if (self->link_status.mbps) in aq_nic_get_link_ksettings()
|
D | aq_ptp.c | 89 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() 1047 ptp_offset[__idx].mbps = (__mbps); \ 1318 if (aq_nic->aq_hw->aq_link_status.mbps) in aq_ptp_link_change()
|
D | aq_hw.h | 76 unsigned int mbps; member
|
/drivers/block/null_blk/ |
D | main.c | 29 static inline u64 mb_per_tick(int mbps) in mb_per_tick() argument 31 return (1 << 20) / TICKS_PER_SEC * ((u64) mbps); in mb_per_tick() 356 NULLB_DEVICE_ATTR(mbps, uint, NULL); 1386 unsigned int mbps = nullb->dev->mbps; in nullb_bwtimer_fn() local 1388 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn() 1391 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn() 1405 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer() 1767 dev->mbps = min_t(unsigned int, 1024 * 40, dev->mbps); in null_validate_conf() 1770 dev->mbps = 0; in null_validate_conf() 1863 if (dev->mbps) { in null_add_dev()
|
D | null_blk.h | 69 unsigned int mbps; /* Bandwidth throttle cap (in MB/s) */ member
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.h | 273 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
|
D | rs.c | 3157 iwl_rate_mcs[index].mbps); in rs_sta_dbgfs_scale_table_read() 3161 iwl_rate_mcs[index].mbps, iwl_rate_mcs[index].mcs); in rs_sta_dbgfs_scale_table_read()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs.h | 217 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
|
D | rs.c | 3709 iwl_rate_mcs[index].mbps); in rs_pretty_print_rate()
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 953 int mbps; in r871x_wx_set_priv() local 957 mbps = 0; in r871x_wx_set_priv() 959 mbps = wrqd.bitrate.value / 1000000; in r871x_wx_set_priv() 960 sprintf(ext, "LINKSPEED %d", mbps); in r871x_wx_set_priv()
|
/drivers/thunderbolt/ |
D | usb4.c | 1543 static u32 mbps_to_usb3_bw(unsigned int mbps, u8 scale) in mbps_to_usb3_bw() argument 1548 uframes = ((unsigned long)mbps * 1000 * 1000) / 8000; in mbps_to_usb3_bw()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-rs.c | 2650 il_rate_mcs[idx].mbps); in il4965_rs_sta_dbgfs_scale_table_read() 2657 il_rate_mcs[idx].mbps, in il4965_rs_sta_dbgfs_scale_table_read()
|
D | common.h | 2722 char mbps[IL_MAX_MCS_DISPLAY_SIZE]; member
|