Searched refs:kbps (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/avs/sdbc/ |
H A D | sd_trace.c | 339 double kbps = elapsed * 1024.0; /* for Kbytes per second */ in disp_stats() local 383 cs_persec->st_shared[i].sh_disk_write /= kbps; in disp_stats() 384 cs_persec->st_shared[i].sh_disk_read /= kbps; in disp_stats() 385 cs_persec->st_shared[i].sh_cache_write /= kbps; in disp_stats() 386 cs_persec->st_shared[i].sh_cache_read /= kbps; in disp_stats() 845 double kbps = 2.0; in disp_total_stats() local 882 cs_cur->st_shared[i].sh_disk_write /= kbps; in disp_total_stats() 883 cs_cur->st_shared[i].sh_disk_read /= kbps; in disp_total_stats() 884 cs_cur->st_shared[i].sh_cache_write /= kbps; in disp_total_stats() 885 cs_cur->st_shared[i].sh_cache_read /= kbps; in disp_total_stats()
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 558 int kbps, mbps; in dladm_bw2str() local 560 kbps = (bw%1000000)/1000; in dladm_bw2str() 562 if (kbps != 0) { in dladm_bw2str() 564 (void) snprintf(buf, DLADM_STRSIZE, "0.%03u", kbps); in dladm_bw2str() 567 kbps); in dladm_bw2str()
|
/titanic_50/usr/src/cmd/mdb/common/modules/mac/ |
H A D | mac.c | 122 int kbps, mbps; in mac_flow_bw2str() local 124 kbps = (bw % 1000000)/1000; in mac_flow_bw2str() 126 if ((mbps == 0) && (kbps != 0)) in mac_flow_bw2str() 127 mdb_snprintf(buf, len, "0.%03u", kbps); in mac_flow_bw2str()
|
/titanic_50/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.c | 3120 t4_set_sched_bps(struct adapter *adap, int sched, unsigned int kbps) in t4_set_sched_bps() argument 3126 if (kbps > 0) { in t4_set_sched_bps() 3127 kbps *= 125; /* -> bytes */ in t4_set_sched_bps() 3130 bpt = (kbps + tps / 2) / tps; in t4_set_sched_bps() 3133 delta = v >= kbps ? v - kbps : kbps - v; in t4_set_sched_bps() 3196 t4_get_tx_sched(struct adapter *adap, unsigned int sched, unsigned int *kbps, in t4_get_tx_sched() argument 3201 if (kbps != NULL) { in t4_get_tx_sched() 3210 *kbps = 0; /* scheduler disabled */ in t4_get_tx_sched() 3213 *kbps = (v * bpt) / 125; in t4_get_tx_sched()
|
H A D | common.h | 406 unsigned int *kbps, unsigned int *ipg); 424 int t4_set_sched_bps(struct adapter *adap, int sched, unsigned int kbps);
|
/titanic_50/usr/src/uts/common/io/arn/ |
H A D | arn_hw.c | 171 uint32_t kbps; in ath9k_hw_computetxtime() local 173 kbps = rates->info[rateix].ratekbps; in ath9k_hw_computetxtime() 175 if (kbps == 0) in ath9k_hw_computetxtime() 184 txTime = CCK_SIFS_TIME + phyTime + ((numBits * 1000) / kbps); in ath9k_hw_computetxtime() 189 (kbps * OFDM_SYMBOL_TIME_QUARTER) / 1000; in ath9k_hw_computetxtime() 197 bitsPerSymbol = (kbps * OFDM_SYMBOL_TIME_HALF) / 1000; in ath9k_hw_computetxtime() 204 bitsPerSymbol = (kbps * OFDM_SYMBOL_TIME) / 1000; in ath9k_hw_computetxtime()
|