Home
last modified time | relevance | path

Searched refs:stat (Results 76 – 100 of 1972) sorted by relevance

12345678910>>...79

/openbmc/u-boot/drivers/net/
H A Dvsc9953.c774 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_frag) + in vsc9953_port_statistics_show()
775 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_jabber) + in vsc9953_port_statistics_show()
776 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_long) + in vsc9953_port_statistics_show()
777 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_64) + in vsc9953_port_statistics_show()
783 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_jumbo); in vsc9953_port_statistics_show()
790 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_jumbo); in vsc9953_port_statistics_show()
823 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_jumbo); in vsc9953_port_statistics_show()
828 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_uc); in vsc9953_port_statistics_show()
883 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_tail) + in vsc9953_port_statistics_show()
901 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_aged); in vsc9953_port_statistics_show()
[all …]
H A Dethoc.c197 u32 stat; member
279 bd.stat |= TX_BD_WRAP; in ethoc_init_ring()
294 bd.stat |= RX_BD_WRAP; in ethoc_init_ring()
373 if (bd->stat & RX_BD_DN) in ethoc_update_rx_stats()
438 if (bd->stat & TX_BD_LC) in ethoc_update_tx_stats()
441 if (bd->stat & TX_BD_RL) in ethoc_update_tx_stats()
444 if (bd->stat & TX_BD_UR) in ethoc_update_tx_stats()
473 bd.stat |= TX_BD_PAD; in ethoc_send_common()
475 bd.stat &= ~TX_BD_PAD; in ethoc_send_common()
491 bd.stat |= TX_BD_READY; in ethoc_send_common()
[all …]
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_pmu.c69 u32 stat; in lima_pmu_hw_init() local
79 stat = pmu_read(LIMA_PMU_STATUS); in lima_pmu_hw_init()
82 if (stat) { in lima_pmu_hw_init()
83 pmu_write(LIMA_PMU_POWER_UP, stat); in lima_pmu_hw_init()
93 u32 stat; in lima_pmu_hw_fini() local
98 stat = ~pmu_read(LIMA_PMU_STATUS) & ip->data.mask; in lima_pmu_hw_fini()
99 if (stat) { in lima_pmu_hw_fini()
100 pmu_write(LIMA_PMU_POWER_DOWN, stat); in lima_pmu_hw_fini()
/openbmc/linux/block/
H A Dgenhd.c101 struct disk_stats *stat) in part_stat_read_all() argument
948 struct disk_stats stat; in part_stat_show() local
969 stat.ios[STAT_READ], in part_stat_show()
970 stat.merges[STAT_READ], in part_stat_show()
973 stat.ios[STAT_WRITE], in part_stat_show()
974 stat.merges[STAT_WRITE], in part_stat_show()
984 stat.ios[STAT_DISCARD], in part_stat_show()
988 stat.ios[STAT_FLUSH], in part_stat_show()
1237 struct disk_stats stat; in diskstats_show() local
1271 stat.ios[STAT_READ], in diskstats_show()
[all …]
/openbmc/linux/include/trace/events/
H A Dwbt.h17 TP_PROTO(struct backing_dev_info *bdi, struct blk_rq_stat *stat),
19 TP_ARGS(bdi, stat),
38 __entry->rmean = stat[0].mean;
39 __entry->rmin = stat[0].min;
40 __entry->rmax = stat[0].max;
41 __entry->rnr_samples = stat[0].nr_samples;
42 __entry->wmean = stat[1].mean;
43 __entry->wmin = stat[1].min;
44 __entry->wmax = stat[1].max;
45 __entry->wnr_samples = stat[1].nr_samples;
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dauxg94.c83 u32 ctrl, stat, timeout, retries = 0; in g94_i2c_aux_xfer() local
93 stat = nvkm_rd32(device, 0x00e4e8 + base); in g94_i2c_aux_xfer()
94 if (!(stat & 0x10000000)) { in g94_i2c_aux_xfer()
140 stat = nvkm_mask(device, 0x00e4e8 + base, 0, 0); in g94_i2c_aux_xfer()
141 if ((stat & 0x000f0000) == 0x00080000 || in g94_i2c_aux_xfer()
142 (stat & 0x000f0000) == 0x00020000) in g94_i2c_aux_xfer()
144 if ((stat & 0x00000100)) in g94_i2c_aux_xfer()
146 if ((stat & 0x00000e00)) in g94_i2c_aux_xfer()
149 AUX_TRACE(&aux->base, "%02d %08x %08x", retries, ctrl, stat); in g94_i2c_aux_xfer()
158 *size = stat & 0x0000001f; in g94_i2c_aux_xfer()
[all …]
/openbmc/linux/arch/arm/mach-orion5x/
H A Dirq.c29 u32 stat; in orion5x_legacy_handle_irq() local
31 stat = readl_relaxed(MAIN_IRQ_CAUSE); in orion5x_legacy_handle_irq()
32 stat &= readl_relaxed(MAIN_IRQ_MASK); in orion5x_legacy_handle_irq()
33 if (stat) { in orion5x_legacy_handle_irq()
34 unsigned int hwirq = 1 + __fls(stat); in orion5x_legacy_handle_irq()
/openbmc/linux/tools/testing/selftests/user_events/
H A Duser_events_selftests.h21 struct stat buf; in tracefs_enabled()
29 ret = stat("/sys/kernel/tracing", &buf); in tracefs_enabled()
37 ret = stat("/sys/kernel/tracing/README", &buf); in tracefs_enabled()
48 ret = stat("/sys/kernel/tracing/README", &buf); in tracefs_enabled()
62 struct stat buf; in user_events_enabled()
79 ret = stat("/sys/kernel/tracing/user_events_data", &buf); in user_events_enabled()
/openbmc/linux/drivers/regulator/
H A Dirq_helpers.c104 struct regulator_err_state *stat; in regulator_notifier_isr_work() local
107 stat = &rid->states[i]; in regulator_notifier_isr_work()
108 rdev = stat->rdev; in regulator_notifier_isr_work()
110 stat->possible_errs); in regulator_notifier_isr_work()
129 struct regulator_err_state *stat; in regulator_notifier_isr_work() local
132 stat = &rid->states[i]; in regulator_notifier_isr_work()
133 rdev = stat->rdev; in regulator_notifier_isr_work()
237 struct regulator_err_state *stat; in regulator_notifier_isr() local
240 stat = &rid->states[i]; in regulator_notifier_isr()
241 rdev = stat->rdev; in regulator_notifier_isr()
[all …]
/openbmc/qemu/hw/audio/
H A Dvia-ac97.c180 if (c->stat & STAT_PAUSED) { in out_cb()
183 c->stat |= STAT_ACTIVE; in out_cb()
205 c->stat |= STAT_EOL; in out_cb()
218 c->stat |= STAT_FLAG; in out_cb()
219 c->stat |= STAT_PAUSED; in out_cb()
225 c->stat |= STAT_STOP; in out_cb()
252 val = s->aur.stat; in sgd_read()
276 val = s->aur.stat & STAT_FLAG; in sgd_read()
277 if (s->aur.stat & STAT_EOL) { in sgd_read()
280 if (s->aur.stat & STAT_STOP) { in sgd_read()
[all …]
/openbmc/linux/tools/perf/tests/attr/
H A DREADME63 perf stat -e cycles kill (test-stat-basic)
64 perf stat kill (test-stat-default)
65 perf stat -d kill (test-stat-detailed-1)
66 perf stat -dd kill (test-stat-detailed-2)
67 perf stat -ddd kill (test-stat-detailed-3)
68 perf stat -e '{cycles,instructions}' kill (test-stat-group1)
69 perf stat -i -e cycles kill (test-stat-no-inherit)
/openbmc/linux/drivers/media/dvb-frontends/
H A Dmn88473.c325 c->strength.stat[0].uvalue = utmp1; in mn88473_read_status()
348 c->cnr.stat[0].svalue = stmp; in mn88473_read_status()
349 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status()
382 c->cnr.stat[0].svalue = stmp; in mn88473_read_status()
383 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status()
404 c->cnr.stat[0].svalue = stmp; in mn88473_read_status()
405 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status()
425 c->post_bit_error.stat[0].uvalue += utmp1; in mn88473_read_status()
427 c->post_bit_count.stat[0].uvalue += utmp2; in mn88473_read_status()
445 c->block_error.stat[0].uvalue += utmp1; in mn88473_read_status()
[all …]
H A Dlgdt330x.c290 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
680 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
694 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3302_read_status()
697 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
709 p->block_count.stat[0].uvalue += 10000; in lgdt3302_read_status()
711 p->block_error.stat[0].scale = FE_SCALE_COUNTER; in lgdt3302_read_status()
712 p->block_count.stat[0].scale = FE_SCALE_COUNTER; in lgdt3302_read_status()
786 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
800 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3303_read_status()
803 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
[all …]
/openbmc/linux/fs/nfsd/
H A Dnfsxdr.c219 int type = stat->mode & S_IFMT; in svcxdr_encode_fattr()
229 *p++ = cpu_to_be32((u32)stat->mode); in svcxdr_encode_fattr()
230 *p++ = cpu_to_be32((u32)stat->nlink); in svcxdr_encode_fattr()
256 fsid = new_encode_dev(stat->dev); in svcxdr_encode_fattr()
261 *p++ = cpu_to_be32((u32)stat->ino); in svcxdr_encode_fattr()
262 p = encode_timeval(p, &stat->atime); in svcxdr_encode_fattr()
263 time = stat->mtime; in svcxdr_encode_fattr()
266 encode_timeval(p, &stat->ctime); in svcxdr_encode_fattr()
544 *p++ = cpu_to_be32(stat->f_bsize); in nfssvc_encode_statfsres()
546 *p++ = cpu_to_be32(stat->f_bfree); in nfssvc_encode_statfsres()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c27 .name = #stat, \
32 .name = #stat, \
301 int stat, qidx; in nicvf_get_qset_stats() local
308 for (stat = 0; stat < nicvf_n_queue_stats; stat++) in nicvf_get_qset_stats()
315 for (stat = 0; stat < nicvf_n_queue_stats; stat++) in nicvf_get_qset_stats()
325 int stat, tmp_stats; in nicvf_get_ethtool_stats() local
333 for (stat = 0; stat < nicvf_n_hw_stats; stat++) in nicvf_get_ethtool_stats()
336 for (stat = 0; stat < nicvf_n_drv_stats; stat++) { in nicvf_get_ethtool_stats()
352 for (stat = 0; stat < BGX_RX_STATS_COUNT; stat++) in nicvf_get_ethtool_stats()
354 for (stat = 0; stat < BGX_TX_STATS_COUNT; stat++) in nicvf_get_ethtool_stats()
[all …]
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ioread.c148 int stat; in pvr2_ioread_start() local
156 if (stat < 0) { in pvr2_ioread_start()
159 cp,stat); in pvr2_ioread_start()
161 return stat; in pvr2_ioread_start()
248 int stat; in pvr2_ioread_get_buffer() local
254 if (stat < 0) { in pvr2_ioread_get_buffer()
258 cp,stat); in pvr2_ioread_get_buffer()
274 if (stat < 0) { in pvr2_ioread_get_buffer()
278 cp,stat); in pvr2_ioread_get_buffer()
393 int stat; in pvr2_ioread_read() local
[all …]
/openbmc/linux/mm/damon/
H A Dmodules-common.h36 #define DEFINE_DAMON_MODULES_DAMOS_STATS_PARAMS(stat, try_name, \ argument
38 module_param_named(nr_##try_name, stat.nr_tried, ulong, 0400); \
39 module_param_named(bytes_##try_name, stat.sz_tried, ulong, \
41 module_param_named(nr_##succ_name, stat.nr_applied, ulong, \
43 module_param_named(bytes_##succ_name, stat.sz_applied, ulong, \
45 module_param_named(nr_##qt_exceed_name, stat.qt_exceeds, ulong, \
/openbmc/u-boot/drivers/video/
H A Dda8xx-fb.c102 u32 stat; member
245 u32 stat; in lcd_disable_raster() local
259 stat = lcdc_read(&da8xx_fb_reg_base->stat); in lcd_disable_raster()
267 lcdc_write(stat, &da8xx_fb_reg_base->stat); in lcd_disable_raster()
742 u32 stat = lcdc_read(&da8xx_fb_reg_base->stat); in lcdc_irq_handler_rev01() local
745 if ((stat & LCD_SYNC_LOST) && (stat & LCD_FIFO_UNDERFLOW)) { in lcdc_irq_handler_rev01()
748 lcdc_write(stat, &da8xx_fb_reg_base->stat); in lcdc_irq_handler_rev01()
761 lcdc_write(stat, &da8xx_fb_reg_base->stat); in lcdc_irq_handler_rev01()
772 lcdc_write(stat, &da8xx_fb_reg_base->stat); in lcdc_irq_handler_rev01()
784 return stat; in lcdc_irq_handler_rev01()
[all …]
/openbmc/linux/tools/perf/util/
H A Dpath.c50 struct stat st; in is_regular_file()
52 if (stat(file, &st)) in is_regular_file()
62 struct stat st; in is_directory()
65 if (stat(path, &st)) in is_directory()
74 struct stat st; in is_executable_file()
77 if (stat(path, &st)) in is_executable_file()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c138 struct mv88e6352_serdes_hw_stat *stat; in mv88e6352_serdes_get_strings() local
146 stat = &mv88e6352_serdes_hw_stats[i]; in mv88e6352_serdes_get_strings()
154 struct mv88e6352_serdes_hw_stat *stat) in mv88e6352_serdes_get_stat() argument
168 if (stat->sizeof_stat == 32) { in mv88e6352_serdes_get_stat()
184 struct mv88e6352_serdes_hw_stat *stat; in mv88e6352_serdes_get_stats() local
196 stat = &mv88e6352_serdes_hw_stats[i]; in mv88e6352_serdes_get_stats()
400 struct mv88e6390_serdes_hw_stat *stat; in mv88e6390_serdes_get_strings() local
407 stat = &mv88e6390_serdes_hw_stats[i]; in mv88e6390_serdes_get_strings()
422 stat->reg + i, &reg[i]); in mv88e6390_serdes_get_stat()
435 struct mv88e6390_serdes_hw_stat *stat; in mv88e6390_serdes_get_stats() local
[all …]
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Drsb.c79 u32 stat; in rsb_await_trans() local
83 stat = readl(&rsb->stat); in rsb_await_trans()
84 if (stat & RSB_STAT_LBSY_INT) { in rsb_await_trans()
88 if (stat & RSB_STAT_TERR_INT) { in rsb_await_trans()
92 if (stat & RSB_STAT_TOVER_INT) { in rsb_await_trans()
101 writel(stat, &rsb->stat); /* Clear status bits */ in rsb_await_trans()
/openbmc/u-boot/drivers/serial/
H A Dserial_lpuart.c325 u32 stat, val; in _lpuart32_serial_getc() local
327 lpuart_read32(plat->flags, &base->stat, &stat); in _lpuart32_serial_getc()
328 while ((stat & STAT_RDRF) == 0) { in _lpuart32_serial_getc()
331 lpuart_read32(plat->flags, &base->stat, &stat); in _lpuart32_serial_getc()
336 lpuart_read32(plat->flags, &base->stat, &stat); in _lpuart32_serial_getc()
337 if (stat & STAT_OR) in _lpuart32_serial_getc()
347 u32 stat; in _lpuart32_serial_putc() local
353 lpuart_read32(plat->flags, &base->stat, &stat); in _lpuart32_serial_putc()
355 if ((stat & STAT_TDRE)) in _lpuart32_serial_putc()
466 u32 stat; in lpuart_serial_pending() local
[all …]
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dspu_base.c282 unsigned long stat, mask; in spu_irq_class_0() local
290 spu->class_0_pending |= stat; in spu_irq_class_0()
296 spu_int_stat_clear(spu, 0, stat); in spu_irq_class_0()
318 spu_int_stat_clear(spu, 1, stat); in spu_irq_class_1()
341 unsigned long stat; in spu_irq_class_2() local
348 stat = spu_int_stat_get(spu, 2); in spu_irq_class_2()
351 stat &= mask; in spu_irq_class_2()
354 if (stat & mailbox_intrs) in spu_irq_class_2()
361 if (stat & CLASS2_MAILBOX_INTR) in spu_irq_class_2()
364 if (stat & CLASS2_SPU_STOP_INTR) in spu_irq_class_2()
[all …]
/openbmc/linux/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c118 struct statvfs stat; in read_mnt_flags() local
121 ret = statvfs(path, &stat); in read_mnt_flags()
132 if (stat.f_flag & ST_RDONLY) in read_mnt_flags()
134 if (stat.f_flag & ST_NOSUID) in read_mnt_flags()
136 if (stat.f_flag & ST_NODEV) in read_mnt_flags()
138 if (stat.f_flag & ST_NOEXEC) in read_mnt_flags()
140 if (stat.f_flag & ST_NOATIME) in read_mnt_flags()
142 if (stat.f_flag & ST_NODIRATIME) in read_mnt_flags()
144 if (stat.f_flag & ST_RELATIME) in read_mnt_flags()
146 if (stat.f_flag & ST_SYNCHRONOUS) in read_mnt_flags()
[all …]
/openbmc/linux/drivers/net/hamradio/
H A Dscc.c373 scc->stat.txints++; in scc_txint()
437 scc->stat.exints++; in scc_exint()
522 scc->stat.rxints++; in scc_rxint()
1915 if (!arg || copy_to_user(arg, &scc->stat, sizeof(scc->stat))) in scc_net_siocdevprivate()
1964 scc->dev_stat.rx_errors = scc->stat.rxerrs + scc->stat.rx_over; in scc_net_get_stats()
1965 scc->dev_stat.tx_errors = scc->stat.txerrs + scc->stat.tx_under; in scc_net_get_stats()
2025 const struct scc_stat *stat = &scc->stat; in scc_net_seq_show() local
2048 stat->rxints, stat->txints, stat->exints, stat->spints); in scc_net_seq_show()
2050 stat->rxframes, stat->rxerrs, stat->rx_over, in scc_net_seq_show()
2051 stat->txframes, stat->txerrs, stat->tx_under, in scc_net_seq_show()
[all …]

12345678910>>...79