/linux/drivers/media/platform/rcar-vin/ |
A D | rcar-csi2.c | 141 u16 mbps; member 547 if (hsfreq->mbps >= mbps) in rcsi2_set_phypll() 565 u64 mbps; in rcsi2_calc_mbps() local 588 return mbps; in rcsi2_calc_mbps() 645 int mbps, ret; in rcsi2_start_receiver() local 699 if (mbps < 0) in rcsi2_start_receiver() 700 return mbps; in rcsi2_start_receiver() 1102 if (value->mbps >= mbps) in rcsi2_phtw_write_mbps() 1140 if (mbps != 0 && mbps <= 250) { in __rcsi2_init_phtw_h3_v3h_m3n() 1215 if (mbps != 0 && mbps <= 1500) in rcsi2_init_phtw_v3u() [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
A 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()
|
A 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()
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
A 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()
|
A 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()
|
A 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()
|
A 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() 1155 self->aq_link_status.mbps); in hw_atl_b0_hw_interrupt_moderation_set()
|
A D | hw_atl_utils.h | 606 unsigned int hw_atl_utils_mbps_2_speed_index(unsigned int mbps);
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A 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
|
A 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() 848 return self->link_status.mbps; in aq_nic_get_link_speed() 971 if (self->link_status.mbps) in aq_nic_get_link_ksettings()
|
A 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()
|
A D | aq_hw.h | 76 unsigned int mbps; member
|
/linux/drivers/block/null_blk/ |
A D | main.c | 25 static inline u64 mb_per_tick(int mbps) in mb_per_tick() argument 27 return (1 << 20) / TICKS_PER_SEC * ((u64) mbps); in mb_per_tick() 405 NULLB_DEVICE_ATTR(mbps, uint, NULL); 1440 unsigned int mbps = nullb->dev->mbps; in nullb_bwtimer_fn() local 1442 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn() 1445 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn() 1459 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer() 1935 dev->mbps = min_t(unsigned int, 1024 * 40, dev->mbps); in null_validate_conf() 1938 dev->mbps = 0; in null_validate_conf() 2033 if (dev->mbps) { in null_add_dev()
|
A D | null_blk.h | 99 unsigned int mbps; /* Bandwidth throttle cap (in MB/s) */ member
|
/linux/drivers/gpu/drm/stm/ |
A D | dw_mipi_dsi-stm.c | 312 #define DSI_PHY_DELAY(fp, vp, mbps) DIV_ROUND_UP((fp) * (mbps) + 1000 * (vp), 8000) argument
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | rs.c | 209 iwl_rate_mcs(index)->mbps); in rs_pretty_print_rate()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | rs.h | 268 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
|
A D | rs.c | 3152 iwl_rate_mcs[index].mbps); in rs_sta_dbgfs_scale_table_read() 3156 iwl_rate_mcs[index].mbps, iwl_rate_mcs[index].mcs); in rs_sta_dbgfs_scale_table_read()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
A D | rs.h | 191 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
|
/linux/drivers/staging/rtl8712/ |
A D | rtl871x_ioctl_linux.c | 951 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()
|
/linux/drivers/thunderbolt/ |
A D | usb4.c | 1817 static u32 mbps_to_usb3_bw(unsigned int mbps, u8 scale) in mbps_to_usb3_bw() argument 1822 uframes = ((unsigned long)mbps * 1000 * 1000) / 8000; in mbps_to_usb3_bw()
|
/linux/net/core/ |
A D | pktgen.c | 3275 __u64 bps, mbps, pps; in show_results() local 3305 mbps = bps; in show_results() 3306 do_div(mbps, 1000000); in show_results() 3309 (unsigned long long)mbps, in show_results()
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
A 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()
|
A D | common.h | 2722 char mbps[IL_MAX_MCS_DISPLAY_SIZE]; member
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_init.c | 5610 uint32_t mbps; in lpfc_cgn_save_evt_cnt() local 5742 mbps = 0; in lpfc_cgn_save_evt_cnt() 5747 mbps += le16_to_cpu(cp->cgn_bw_min[i]); in lpfc_cgn_save_evt_cnt() 5752 if (mbps) /* Avg of Bandwidth averages */ in lpfc_cgn_save_evt_cnt() 5753 mvalue = mbps / LPFC_MIN_HOUR; in lpfc_cgn_save_evt_cnt() 5813 mbps = 0; in lpfc_cgn_save_evt_cnt() 5819 mbps += le16_to_cpu(cp->cgn_bw_hr[i]); in lpfc_cgn_save_evt_cnt() 5824 if (mbps) /* Avg of Bandwidth averages */ in lpfc_cgn_save_evt_cnt() 5825 mvalue = mbps / LPFC_HOUR_DAY; in lpfc_cgn_save_evt_cnt()
|