/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 551 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \ 555 spin_lock_bh(&lat->lock); \ 556 fsum = lat->_name.fabric.sum * adapter->timer_ticks; \ 557 fmin = lat->_name.fabric.min * adapter->timer_ticks; \ 558 fmax = lat->_name.fabric.max * adapter->timer_ticks; \ 559 csum = lat->_name.channel.sum * adapter->timer_ticks; \ 560 cmin = lat->_name.channel.min * adapter->timer_ticks; \ 561 cmax = lat->_name.channel.max * adapter->timer_ticks; \ 562 cc = lat->_name.counter; \ 563 spin_unlock_bh(&lat->lock); \ [all …]
|
D | zfcp_fsf.c | 2327 static void zfcp_fsf_update_lat(struct zfcp_latency_record *lat_rec, u32 lat) in zfcp_fsf_update_lat() argument 2329 lat_rec->sum += lat; in zfcp_fsf_update_lat() 2330 lat_rec->min = min(lat_rec->min, lat); in zfcp_fsf_update_lat() 2331 lat_rec->max = max(lat_rec->max, lat); in zfcp_fsf_update_lat() 2337 struct zfcp_latency_cont *lat = NULL; in zfcp_fsf_req_trace() local 2362 lat = &zfcp_sdev->latencies.read; in zfcp_fsf_req_trace() 2367 lat = &zfcp_sdev->latencies.write; in zfcp_fsf_req_trace() 2370 lat = &zfcp_sdev->latencies.cmd; in zfcp_fsf_req_trace() 2374 if (lat) { in zfcp_fsf_req_trace() 2376 zfcp_fsf_update_lat(&lat->channel, lat_in->channel_lat); in zfcp_fsf_req_trace() [all …]
|
/drivers/staging/greybus/ |
D | loopback.c | 779 u32 lat; in gb_loopback_calculate_latency_stats() local 782 lat = gb_loopback_nsec_to_usec_latency(gb->elapsed_nsecs); in gb_loopback_calculate_latency_stats() 785 gb_loopback_update_stats(&gb->latency, lat); in gb_loopback_calculate_latency_stats() 788 kfifo_in(&gb->kfifo_lat, (unsigned char *)&lat, sizeof(lat)); in gb_loopback_calculate_latency_stats() 800 u32 lat; in gb_loopback_calculate_stats() local 811 lat = gb_loopback_nsec_to_usec_latency(nlat); in gb_loopback_calculate_stats() 813 gb_loopback_throughput_update(gb, lat); in gb_loopback_calculate_stats() 814 gb_loopback_requests_update(gb, lat); in gb_loopback_calculate_stats()
|
/drivers/ssb/ |
D | driver_pcicore.c | 280 u8 lat; in ssb_pcicore_fixup_pcibridge() local 302 lat = 168; in ssb_pcicore_fixup_pcibridge() 305 pci_name(dev), lat); in ssb_pcicore_fixup_pcibridge() 306 pci_write_config_byte(dev, PCI_LATENCY_TIMER, lat); in ssb_pcicore_fixup_pcibridge()
|
/drivers/media/pci/bt8xx/ |
D | bt878.c | 401 unsigned char lat; in bt878_probe() local 435 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in bt878_probe() 442 bt->irq, lat, bt->bt878_adr); in bt878_probe()
|
D | bttv-driver.c | 3214 unsigned char lat; in bttv_probe() local 3282 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in bttv_probe() 3285 btv->c.pci->irq, lat, in bttv_probe()
|
/drivers/pci/ |
D | pci.c | 4508 u8 lat; in pcibios_set_master() local 4514 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in pcibios_set_master() 4515 if (lat < 16) in pcibios_set_master() 4516 lat = (64 <= pcibios_max_latency) ? 64 : pcibios_max_latency; in pcibios_set_master() 4517 else if (lat > pcibios_max_latency) in pcibios_set_master() 4518 lat = pcibios_max_latency; in pcibios_set_master() 4522 pci_write_config_byte(dev, PCI_LATENCY_TIMER, lat); in pcibios_set_master()
|
/drivers/media/pci/cx88/ |
D | cx88-cards.c | 3636 unsigned int lat = UNSET; in cx88_pci_quirks() local 3660 lat = 0x0A; in cx88_pci_quirks() 3666 lat = latency; in cx88_pci_quirks() 3674 if (lat != UNSET) { in cx88_pci_quirks()
|
/drivers/accel/habanalabs/include/common/ |
D | cpucp_if.h | 1272 struct frac_val lat; member
|
/drivers/scsi/lpfc/ |
D | lpfc_nvme.c | 948 uint32_t lat; in lpfc_nvme_io_cmd_cmpl() local 1177 lat = ktime_get_ns() - lpfc_ncmd->rx_cmd_start; in lpfc_nvme_io_cmd_cmpl() 1178 lpfc_update_cmf_cmpl(phba, lat, nCmd->payload_length, NULL); in lpfc_nvme_io_cmd_cmpl()
|
D | lpfc_scsi.c | 4011 u32 lat; in lpfc_fcp_io_cmd_wqe_cmpl() local 4293 lat = ktime_get_ns() - lpfc_cmd->rx_cmd_start; in lpfc_fcp_io_cmd_wqe_cmpl() 4294 lpfc_update_cmf_cmpl(phba, lat, scsi_bufflen(cmd), shost); in lpfc_fcp_io_cmd_wqe_cmpl()
|
D | lpfc_init.c | 5957 uint64_t total, rcv, lat, mbpi, extra, cnt; in lpfc_cmf_timer() local 6004 lat = 0; in lpfc_cmf_timer() 6010 lat += atomic64_xchg(&cgs->rx_latency, 0); in lpfc_cmf_timer() 6049 atomic64_add(lat, &phba->cgn_latency_evt); in lpfc_cmf_timer() 6075 entry.avg_io_latency = div_u64(lat, io_cnt); in lpfc_cmf_timer()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 1395 u64 req, out_req, lat, cant_alloc; in ndc_cache_stats() local 1410 lat = rvu_read64(rvu, blk_addr, NDC_AF_PORTX_RTX_RWX_LAT_PC in ndc_cache_stats() 1420 seq_printf(s, "\tTotal Time Taken:\t%lld cycles\n", lat); in ndc_cache_stats() 1421 seq_printf(s, "\tAvg Latency:\t\t%lld cycles\n", lat / req); in ndc_cache_stats()
|
/drivers/ufs/core/ |
D | ufshcd.c | 2152 ktime_t now, inc, lat; in ufshcd_update_monitor() local 2161 lat = ktime_sub(now, lrbp->issue_time_stamp); in ufshcd_update_monitor() 2162 m->lat_sum[dir] += lat; in ufshcd_update_monitor() 2163 if (m->lat_max[dir] < lat || !m->lat_max[dir]) in ufshcd_update_monitor() 2164 m->lat_max[dir] = lat; in ufshcd_update_monitor() 2165 if (m->lat_min[dir] > lat || !m->lat_min[dir]) in ufshcd_update_monitor() 2166 m->lat_min[dir] = lat; in ufshcd_update_monitor()
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 3274 u32 lat = in e1000_configure_rx() local 3286 cpu_latency_qos_update_request(&adapter->pm_qos_req, lat); in e1000_configure_rx()
|