Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/media/platform/renesas/rcar-vin/
Drcar-csi2.c246 u16 mbps; member
251 { .mbps = 1500, .reg = 0xcc },
252 { .mbps = 1550, .reg = 0x1d },
253 { .mbps = 1600, .reg = 0x27 },
254 { .mbps = 1650, .reg = 0x30 },
255 { .mbps = 1700, .reg = 0x39 },
256 { .mbps = 1750, .reg = 0x42 },
257 { .mbps = 1800, .reg = 0x4b },
258 { .mbps = 1850, .reg = 0x55 },
259 { .mbps = 1900, .reg = 0x5e },
[all …]
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
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()
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()
/linux-6.6.21/drivers/media/platform/renesas/rzg2l-cru/
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()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl/
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()
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()
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()
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()
Dhw_atl_utils.h606 unsigned int hw_atl_utils_mbps_2_speed_index(unsigned int mbps);
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
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
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()
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()
Daq_hw.h76 unsigned int mbps; member
/linux-6.6.21/drivers/block/null_blk/
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()
214 MODULE_PARM_DESC(mbps, "Cache size in MiB for memory-backed device. Default: 0 (none)");
217 module_param_named(mbps, g_mbps, uint, 0444);
218 MODULE_PARM_DESC(mbps, "Limit maximum bandwidth (in MiB/s). Default: 0 (no limit)");
419 NULLB_DEVICE_ATTR(mbps, uint, NULL);
731 dev->mbps = g_mbps; in null_alloc_dev()
1503 unsigned int mbps = nullb->dev->mbps; in nullb_bwtimer_fn() local
1505 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn()
1508 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn()
[all …]
Dnull_blk.h113 unsigned int mbps; /* Bandwidth throttle cap (in MB/s) */ member
/linux-6.6.21/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c304 #define DSI_PHY_DELAY(fp, vp, mbps) DIV_ROUND_UP((fp) * (mbps) + 1000 * (vp), 8000) argument
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Drs.c212 iwl_rate_mcs(index)->mbps); in rs_pretty_print_rate()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.h268 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/
Drs.h233 char mbps[IWL_MAX_MCS_DISPLAY_SIZE]; member
/linux-6.6.21/Documentation/block/
Dnull_blk.rst94 mbps=[Maximum bandwidth in MB/s]: Default: 0 (no limit)
/linux-6.6.21/fs/smb/client/
Dcifs_debug.c172 size_t mbps = bps / 1000 / 1000; in smb_speed_to_str() local
174 switch (mbps) { in smb_speed_to_str()
/linux-6.6.21/drivers/staging/rtl8712/
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()
/linux-6.6.21/net/core/
Dpktgen.c3274 __u64 bps, mbps, pps; in show_results() local
3304 mbps = bps; in show_results()
3305 do_div(mbps, 1000000); in show_results()
3308 (unsigned long long)mbps, in show_results()
/linux-6.6.21/drivers/thunderbolt/
Dusb4.c2030 static u32 mbps_to_usb3_bw(unsigned int mbps, u8 scale) in mbps_to_usb3_bw() argument
2035 uframes = ((unsigned long)mbps * MEGA) / 8000; in mbps_to_usb3_bw()
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c2650 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()

12