/drivers/media/platform/vivid/ |
D | vivid-vbi-gen.c | 71 unsigned tot = 0; in cc_insert() local 76 tot += cc[2 * i]; in cc_insert() 78 cc[14] = cc[15] = !(tot & 1); in cc_insert() 169 unsigned tot = 0; in calc_parity() local 172 tot += (val & (1 << i)) ? 1 : 0; in calc_parity() 173 return val | ((tot & 1) ? 0 : 0x80); in calc_parity()
|
/drivers/net/ |
D | veth.c | 333 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument 340 tot->tx_dropped = veth_stats_tx(&tx, dev); in veth_get_stats64() 341 tot->tx_bytes = tx.bytes; in veth_get_stats64() 342 tot->tx_packets = tx.packets; in veth_get_stats64() 345 tot->rx_dropped = rx.xdp_drops; in veth_get_stats64() 346 tot->rx_bytes = rx.xdp_bytes; in veth_get_stats64() 347 tot->rx_packets = rx.xdp_packets; in veth_get_stats64() 352 tot->rx_dropped += veth_stats_tx(&tx, peer); in veth_get_stats64() 353 tot->rx_bytes += tx.bytes; in veth_get_stats64() 354 tot->rx_packets += tx.packets; in veth_get_stats64() [all …]
|
D | xen-netfront.c | 1096 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument 1119 tot->rx_packets += rx_packets; in xennet_get_stats64() 1120 tot->tx_packets += tx_packets; in xennet_get_stats64() 1121 tot->rx_bytes += rx_bytes; in xennet_get_stats64() 1122 tot->tx_bytes += tx_bytes; in xennet_get_stats64() 1125 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64() 1126 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
|
D | virtio_net.c | 1717 struct rtnl_link_stats64 *tot) in virtnet_stats() argument 1741 tot->rx_packets += rpackets; in virtnet_stats() 1742 tot->tx_packets += tpackets; in virtnet_stats() 1743 tot->rx_bytes += rbytes; in virtnet_stats() 1744 tot->tx_bytes += tbytes; in virtnet_stats() 1745 tot->rx_dropped += rdrops; in virtnet_stats() 1748 tot->tx_dropped = dev->stats.tx_dropped; in virtnet_stats() 1749 tot->tx_fifo_errors = dev->stats.tx_fifo_errors; in virtnet_stats() 1750 tot->rx_length_errors = dev->stats.rx_length_errors; in virtnet_stats() 1751 tot->rx_frame_errors = dev->stats.rx_frame_errors; in virtnet_stats()
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 1157 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument 1162 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats() 1178 tot->rx_packets += rx_packets; in netvsc_get_vf_stats() 1179 tot->tx_packets += tx_packets; in netvsc_get_vf_stats() 1180 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats() 1181 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats() 1182 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
|
/drivers/scsi/lpfc/ |
D | lpfc_debugfs.c | 1042 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local 1155 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data() 1156 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_debugfs_nvmestat_data() 1157 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data() 1165 tot); in lpfc_debugfs_nvmestat_data() 1189 tot = cstat->io_cmpls; in lpfc_debugfs_nvmestat_data() 1190 totin += tot; in lpfc_debugfs_nvmestat_data() 1206 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data() 1261 u64 tot, totin, totout; in lpfc_debugfs_scsistat_data() local 1275 tot = cstat->io_cmpls; in lpfc_debugfs_scsistat_data() [all …]
|
D | lpfc_attr.c | 174 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local 324 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show() 325 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show() 326 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show() 334 tot); in lpfc_nvme_info_show() 476 tot = cstat->io_cmpls; in lpfc_nvme_info_show() 477 totin += tot; in lpfc_nvme_info_show() 542 u64 tot, totin, totout; in lpfc_scsi_stat_show() local 556 tot = cstat->io_cmpls; in lpfc_scsi_stat_show() 557 totin += tot; in lpfc_scsi_stat_show() [all …]
|
/drivers/net/ethernet/intel/igc/ |
D | igc_hw.h | 261 u64 tot; member
|
D | igc_ethtool.c | 252 regs_buff[71] = adapter->stats.tot; in igc_get_regs()
|
D | igc_main.c | 2006 adapter->stats.tot += rd32(IGC_TOTH); in igc_update_stats()
|
/drivers/mtd/nand/raw/ |
D | nandsim.c | 438 unsigned long deciles[10], decile_max[10], tot = 0; in nandsim_show() local 448 tot += wear; in nandsim_show() 466 avg = tot / wear_eb_count; in nandsim_show() 469 seq_printf(m, "Total numbers of erases: %lu\n", tot); in nandsim_show()
|
/drivers/net/ethernet/toshiba/ |
D | spider_net.c | 988 int tot = 0; in show_rx_chain() local 1033 tot ++; in show_rx_chain() 1038 "for a total of %d descrs\n", cnt, cstat, tot); in show_rx_chain()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 4320 int bl, wc, pps, tot; in print_dsi_vm() local 4325 tot = bl + pps; in print_dsi_vm() 4334 bl, pps, tot, in print_dsi_vm() 4345 TO_DSI_T(tot)); in print_dsi_vm() 4352 int hact, bl, tot; in print_dispc_vm() local 4356 tot = hact + bl; in print_dispc_vm() 4365 bl, hact, tot, in print_dispc_vm() 4372 TO_DISPC_T(tot)); in print_dispc_vm()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 4216 int bl, wc, pps, tot; in print_dsi_vm() local 4221 tot = bl + pps; in print_dsi_vm() 4230 bl, pps, tot, in print_dsi_vm() 4241 TO_DSI_T(tot)); in print_dsi_vm() 4248 int hact, bl, tot; in print_dispc_vm() local 4252 tot = hact + bl; in print_dispc_vm() 4261 bl, hact, tot, in print_dispc_vm() 4268 TO_DISPC_T(tot)); in print_dispc_vm()
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_hw.h | 209 u64 tot; member
|
D | igb_ethtool.c | 585 regs_buff[98] = adapter->stats.tot; in igb_get_regs()
|
D | igb_main.c | 6364 adapter->stats.tot += rd32(E1000_TOTH); in igb_update_stats()
|
/drivers/net/ethernet/intel/e1000e/ |
D | hw.h | 378 u64 tot; member
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 1657 unsigned long tot = 0; in collect_sge_port_stats() local 1660 tot += adapter->sge.qs[i].port_stats[idx]; in collect_sge_port_stats() 1661 return tot; in collect_sge_port_stats()
|
/drivers/mmc/core/ |
D | mmc_test.c | 586 uint64_t tot = bytes * count; in mmc_test_print_avg_rate() local 591 rate = mmc_test_rate(tot, &ts); in mmc_test_print_avg_rate()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 2732 int tot; in qp_get_mtt_size() local 2737 tot = (total_mem + (page_offset << 6)) >> page_shift; in qp_get_mtt_size() 2738 total_pages = !tot ? 1 : roundup_pow_of_two(tot); in qp_get_mtt_size()
|