/openbmc/linux/drivers/media/common/siano/ |
H A D | smsdvb-main.c | 271 c->cnr.stat[0].svalue = p->snr * 1000; in smsdvb_update_per_slices() 402 c->block_error.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats() 403 c->block_count.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats() 406 c->post_bit_error.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats() 407 c->post_bit_count.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats() 490 c->block_error.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats_ex() 491 c->block_count.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats_ex() 494 c->post_bit_error.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats_ex() 790 *stat = client->fe_status; in smsdvb_read_status() 1026 c->strength.stat[0].uvalue = 0; in smsdvb_set_frontend() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | gf100.c | 32 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); in gf100_bus_intr() local 34 if (stat & 0x0000000e) { in gf100_bus_intr() 42 (stat & 0x00000002) ? "!ENGINE " : "", in gf100_bus_intr() 43 (stat & 0x00000004) ? "PRIVRING " : "", in gf100_bus_intr() 44 (stat & 0x00000008) ? "TIMEOUT " : ""); in gf100_bus_intr() 47 nvkm_wr32(device, 0x001100, (stat & 0x0000000e)); in gf100_bus_intr() 48 stat &= ~0x0000000e; in gf100_bus_intr() 51 if (stat) { in gf100_bus_intr() 52 nvkm_error(subdev, "intr %08x\n", stat); in gf100_bus_intr() 53 nvkm_mask(device, 0x001140, stat, 0x00000000); in gf100_bus_intr()
|
H A D | nv04.c | 34 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); in nv04_bus_intr() local 36 if (stat & 0x00000001) { in nv04_bus_intr() 38 stat &= ~0x00000001; in nv04_bus_intr() 42 if (stat & 0x00000110) { in nv04_bus_intr() 46 stat &= ~0x00000110; in nv04_bus_intr() 50 if (stat) { in nv04_bus_intr() 51 nvkm_error(subdev, "intr %08x\n", stat); in nv04_bus_intr() 52 nvkm_mask(device, 0x001140, stat, 0x00000000); in nv04_bus_intr()
|
/openbmc/linux/tools/perf/tests/shell/lib/ |
H A D | stat_output.sh | 14 perf stat $2 true 27 perf stat -a $2 true 40 perf stat -A -a --no-merge $2 true 48 perf stat -I 1000 $2 true 56 perf stat -e cpu-clock $2 true 69 perf stat --per-core -a $2 true 82 perf stat --per-thread -a $2 true 95 perf stat --per-cache -a $2 true 108 perf stat --per-die -a $2 true 121 perf stat --per-node -a $2 true [all …]
|
/openbmc/linux/block/ |
H A D | blk-stat.c | 22 stat->min = -1ULL; in blk_rq_stat_init() 23 stat->max = stat->nr_samples = stat->mean = 0; in blk_rq_stat_init() 24 stat->batch = 0; in blk_rq_stat_init() 44 stat->min = min(stat->min, value); in blk_rq_stat_add() 45 stat->max = max(stat->max, value); in blk_rq_stat_add() 46 stat->batch += value; in blk_rq_stat_add() 47 stat->nr_samples++; in blk_rq_stat_add() 54 struct blk_rq_stat *stat; in blk_stat_add() local 115 if (!cb->stat) { in blk_stat_alloc_callback() 122 kfree(cb->stat); in blk_stat_alloc_callback() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gk104.c | 319 stat &= ~0x80000000; in gk104_runq_intr_1() 322 if (stat) { in gk104_runq_intr_1() 663 stat &= ~0x00000001; in gk104_fifo_intr() 669 stat &= ~0x00000010; in gk104_fifo_intr() 675 stat &= ~0x00000100; in gk104_fifo_intr() 681 stat &= ~0x00010000; in gk104_fifo_intr() 687 stat &= ~0x00800000; in gk104_fifo_intr() 693 stat &= ~0x01000000; in gk104_fifo_intr() 699 stat &= ~0x08000000; in gk104_fifo_intr() 704 stat &= ~0x10000000; in gk104_fifo_intr() [all …]
|
H A D | tu102.c | 205 if (stat & 0x00000001) { in tu102_fifo_intr() 208 stat &= ~0x00000001; in tu102_fifo_intr() 211 if (stat & 0x00000002) { in tu102_fifo_intr() 213 stat &= ~0x00000002; in tu102_fifo_intr() 216 if (stat & 0x00000100) { in tu102_fifo_intr() 219 stat &= ~0x00000100; in tu102_fifo_intr() 225 stat &= ~0x00010000; in tu102_fifo_intr() 230 stat &= ~0x20000000; in tu102_fifo_intr() 235 stat &= ~0x40000000; in tu102_fifo_intr() 241 stat &= ~0x80000000; in tu102_fifo_intr() [all …]
|
H A D | ga100.c | 189 u32 stat = intr & inte; in ga100_runq_intr_1() local 191 if (!stat) { in ga100_runq_intr_1() 209 stat &= ~0x80000000; in ga100_runq_intr_1() 212 if (stat) { in ga100_runq_intr_1() 227 u32 stat = intr & inte; in ga100_runq_intr_0() local 229 if (!stat) { in ga100_runq_intr_0() 247 stat &= ~0xc6afe000; in ga100_runq_intr_0() 250 if (stat) { in ga100_runq_intr_0() 340 if (!stat) { in ga100_runl_intr() 358 stat &= ~0x00000300; in ga100_runl_intr() [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | rpm_master_stats.c | 44 struct rpm_master_stats stat; in master_stats_show() local 46 memcpy_fromio(&stat, data->base, sizeof(stat)); in master_stats_show() 50 seq_printf(s, "\tLast shutdown @ %llu\n", stat.shutdown_req); in master_stats_show() 51 seq_printf(s, "\tLast bringup req @ %llu\n", stat.bringup_req); in master_stats_show() 52 seq_printf(s, "\tLast bringup ack @ %llu\n", stat.bringup_ack); in master_stats_show() 53 seq_printf(s, "\tLast wakeup idx: %llu\n", stat.wakeup_idx); in master_stats_show() 55 seq_printf(s, "\tLast XO shutdown exit @ %llu\n", stat.last_exit); in master_stats_show() 56 seq_printf(s, "\tXO total duration: %llu\n", stat.xo_total_dur); in master_stats_show() 59 seq_printf(s, "\tXO shutdown count: %u\n", stat.xo_count); in master_stats_show() 60 seq_printf(s, "\tWakeup reason: 0x%x\n", stat.wakeup_reason); in master_stats_show() [all …]
|
H A D | qcom_stats.c | 73 u64 accumulated = stat->accumulated; in qcom_print_stats() 78 if (stat->last_entered_at > stat->last_exited_at) in qcom_print_stats() 81 seq_printf(s, "Count: %u\n", stat->count); in qcom_print_stats() 82 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at); in qcom_print_stats() 83 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at); in qcom_print_stats() 90 struct sleep_stats *stat; in qcom_subsystem_sleep_stats_show() local 94 if (IS_ERR(stat)) in qcom_subsystem_sleep_stats_show() 97 qcom_print_stats(s, stat); in qcom_subsystem_sleep_stats_show() 106 struct sleep_stats stat; in qcom_soc_sleep_stats_show() local 108 memcpy_fromio(&stat, reg, sizeof(stat)); in qcom_soc_sleep_stats_show() [all …]
|
/openbmc/linux/drivers/media/pci/mantis/ |
H A D | mantis_cards.c | 65 u32 stat = 0, mask = 0; in mantis_irq_handler() local 76 stat = mmread(MANTIS_INT_STAT); in mantis_irq_handler() 78 if (!(stat & mask)) in mantis_irq_handler() 90 mantis->mantis_int_stat = stat; in mantis_irq_handler() 96 if (stat & MANTIS_INT_IRQ0) { in mantis_irq_handler() 102 if (stat & MANTIS_INT_IRQ1) { in mantis_irq_handler() 110 if (stat & MANTIS_INT_OCERR) { in mantis_irq_handler() 119 if (stat & MANTIS_INT_PPERR) { in mantis_irq_handler() 122 if (stat & MANTIS_INT_FTRGT) { in mantis_irq_handler() 125 if (stat & MANTIS_INT_RISCI) { in mantis_irq_handler() [all …]
|
/openbmc/linux/drivers/pcmcia/ |
H A D | soc_common.c | 151 if (skt->stat[i].irq) in __soc_pcmcia_hw_shutdown() 172 if (!skt->stat[i].name) in soc_pcmcia_request_gpiods() 182 skt->stat[i].desc = desc; in soc_pcmcia_request_gpiods() 221 skt->stat[i].desc = gpio_to_desc(skt->stat[i].gpio); in soc_pcmcia_hw_init() 235 if (skt->stat[i].irq) { in soc_pcmcia_hw_init() 255 if (skt->stat[i].irq) { in soc_pcmcia_hw_enable() 266 if (skt->stat[i].irq) in soc_pcmcia_hw_disable() 285 unsigned int stat; in soc_common_pcmcia_skt_state() local 324 stat |= SS_BATDEAD; in soc_common_pcmcia_skt_state() 326 stat |= SS_BATWARN; in soc_common_pcmcia_skt_state() [all …]
|
/openbmc/linux/arch/arm/mach-dove/ |
H A D | irq.c | 45 u32 stat; in dove_legacy_handle_irq() local 47 stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_LOW_OFF); in dove_legacy_handle_irq() 48 stat &= readl_relaxed(dove_irq_base + IRQ_MASK_LOW_OFF); in dove_legacy_handle_irq() 49 if (stat) { in dove_legacy_handle_irq() 50 unsigned int hwirq = 1 + __fls(stat); in dove_legacy_handle_irq() 54 stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_HIGH_OFF); in dove_legacy_handle_irq() 55 stat &= readl_relaxed(dove_irq_base + IRQ_MASK_HIGH_OFF); in dove_legacy_handle_irq() 56 if (stat) { in dove_legacy_handle_irq() 57 unsigned int hwirq = 33 + __fls(stat); in dove_legacy_handle_irq()
|
/openbmc/qemu/hw/i2c/ |
H A D | allwinner-i2c.c | 177 if (STAT_TO_STA(s->stat) != STAT_IDLE) { in allwinner_i2c_reset_hold() 185 s->stat = TWI_STAT_RESET; in allwinner_i2c_reset_hold() 199 if (STAT_TO_STA(s->stat) != STAT_IDLE) { in allwinner_i2c_raise_interrupt() 222 if ((STAT_TO_STA(s->stat) == STAT_M_ADDR_RD_ACK) || in allwinner_i2c_read() 223 (STAT_TO_STA(s->stat) == STAT_M_DATA_RX_ACK) || in allwinner_i2c_read() 241 value = s->stat; in allwinner_i2c_read() 246 if (STAT_TO_STA(s->stat) == STAT_M_ADDR_RD_ACK) { in allwinner_i2c_read() 303 switch (STAT_TO_STA(s->stat)) { in allwinner_i2c_write() 344 if (STAT_TO_STA(s->stat) == STAT_IDLE) { in allwinner_i2c_write() 346 s->stat = STAT_FROM_STA(STAT_M_STA_TX); in allwinner_i2c_write() [all …]
|
H A D | omap_i2c.c | 44 uint16_t stat; member 63 qemu_set_irq(s->irq, s->stat & s->mask); in omap_i2c_interrupts_update() 88 s->stat |= 1 << 4; /* XRDY */ in omap_i2c_fifo_run() 92 s->stat |= 1 << 3; /* RRDY */ in omap_i2c_fifo_run() 133 s->stat |= (!ack) << 1; /* NACK */ in omap_i2c_fifo_run() 143 s->stat = 0; in omap_i2c_reset() 178 ret = ctz32(s->stat & s->mask); in omap_i2c_read() 180 s->stat ^= 1 << ret; in omap_i2c_read() 207 s->stat |= 1 << 15; /* SBD */ in omap_i2c_read() 287 s->stat &= ~(value & 0x27); in omap_i2c_write() [all …]
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-sx8.c | 61 int stat; in get_info() local 69 return stat; in get_info() 102 int stat; in read_status() local 110 if (stat) in read_status() 111 return stat; in read_status() 121 return stat; in read_status() 264 if (stat) in start() 295 if (stat) in start() 297 return stat; in start() 331 if (stat) in start_iq() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | iostat.h | 24 enum nfs_stat_eventcounters stat) in nfs_inc_server_stats() argument 26 this_cpu_inc(server->io_stats->events[stat]); in nfs_inc_server_stats() 30 enum nfs_stat_eventcounters stat) in nfs_inc_stats() argument 32 nfs_inc_server_stats(NFS_SERVER(inode), stat); in nfs_inc_stats() 36 enum nfs_stat_bytecounters stat, in nfs_add_server_stats() argument 39 this_cpu_add(server->io_stats->bytes[stat], addend); in nfs_add_server_stats() 43 enum nfs_stat_bytecounters stat, in nfs_add_stats() argument 46 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats()
|
/openbmc/linux/lib/reed_solomon/ |
H A D | test_rslib.c | 298 stat->irv++; in test_uc() 303 stat->wepos++; in test_uc() 308 stat->dwrong++; in test_uc() 335 stat.dwrong, stat.nwords); in ex_rs_helper() 337 stat.irv, stat.nwords); in ex_rs_helper() 342 retval = stat.dwrong + stat.wepos + stat.irv; in ex_rs_helper() 399 stat->noncw++; in test_bc() 401 stat->rfail++; in test_bc() 429 stat.rfail, stat.nwords); in exercise_rs_bc() 431 stat.rsuccess, stat.nwords); in exercise_rs_bc() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | gv100.c | 840 u32 stat, mask[4]; in gv100_disp_super() local 946 stat &= ~0x00000007; in gv100_disp_intr_ctrl_disp() 953 stat &= ~0x00000008; in gv100_disp_intr_ctrl_disp() 979 if (stat) in gv100_disp_intr_ctrl_disp() 1006 if (stat) { in gv100_disp_intr_exc_other() 1023 stat &= ~BIT(wndw); in gv100_disp_intr_exc_winim() 1026 if (stat) { in gv100_disp_intr_exc_winim() 1043 stat &= ~BIT(wndw); in gv100_disp_intr_exc_win() 1046 if (stat) { in gv100_disp_intr_exc_win() 1071 if (stat) { in gv100_disp_intr_head_timing() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | mxl5xx.c | 150 int stat; in read_register_unlocked() local 159 if (stat) in read_register_unlocked() 165 if (stat) in read_register_unlocked() 175 int stat; in send_command() local 203 int stat; in write_register() local 212 if (stat) in write_register() 220 int stat; in write_firmware_block() local 235 if (stat) in write_firmware_block() 242 int stat; in read_register() local 252 if (stat) in read_register() [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 128 tmp.__st_ino = stat->ino; in cp_oldabi_stat64() 129 tmp.st_mode = stat->mode; in cp_oldabi_stat64() 130 tmp.st_nlink = stat->nlink; in cp_oldabi_stat64() 134 tmp.st_size = stat->size; in cp_oldabi_stat64() 135 tmp.st_blocks = stat->blocks; in cp_oldabi_stat64() 137 tmp.st_blksize = stat->blksize; in cp_oldabi_stat64() 144 tmp.st_ino = stat->ino; in cp_oldabi_stat64() 151 struct kstat stat; in sys_oabi_stat64() local 161 struct kstat stat; in sys_oabi_lstat64() local 171 struct kstat stat; in sys_oabi_fstat64() local [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mxcmmc.c | 346 u32 stat; in mxcmci_dma_callback() local 442 stat); in mxcmci_finish_data() 511 u32 stat; in mxcmci_poll_status() local 537 if (stat) in mxcmci_pull() 549 if (stat) in mxcmci_pull() 565 if (stat) in mxcmci_push() 576 if (stat) in mxcmci_push() 598 if (stat) in mxcmci_transfer_data() 605 if (stat) in mxcmci_transfer_data() 610 if (stat) in mxcmci_transfer_data() [all …]
|
/openbmc/u-boot/drivers/misc/ |
H A D | fsl_iim.c | 79 u32 stat; member 117 iim_setbits32(®s->stat, 0); in clear_status() 123 *stat = iim_read32(®s->stat); in finish_access() 145 u32 stat, err; in fuse_read() local 153 finish_access(regs, &stat, &err); in fuse_read() 173 finish_access(regs, stat, err); in direct_access() 179 u32 stat, err; in fuse_sense() local 193 if (!(stat & STAT_SNSD)) { in fuse_sense() 204 u32 stat, err; in prog_bit() local 220 if (!(stat & STAT_PRGD)) { in prog_bit() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-designware-slave.c | 101 unsigned int stat, dummy; in i2c_dw_read_clear_intrbits_slave() local 124 if (stat & DW_IC_INTR_TX_ABRT) in i2c_dw_read_clear_intrbits_slave() 126 if (stat & DW_IC_INTR_RX_UNDER) in i2c_dw_read_clear_intrbits_slave() 128 if (stat & DW_IC_INTR_RX_OVER) in i2c_dw_read_clear_intrbits_slave() 130 if (stat & DW_IC_INTR_TX_OVER) in i2c_dw_read_clear_intrbits_slave() 132 if (stat & DW_IC_INTR_RX_DONE) in i2c_dw_read_clear_intrbits_slave() 134 if (stat & DW_IC_INTR_ACTIVITY) in i2c_dw_read_clear_intrbits_slave() 136 if (stat & DW_IC_INTR_STOP_DET) in i2c_dw_read_clear_intrbits_slave() 140 if (stat & DW_IC_INTR_GEN_CALL) in i2c_dw_read_clear_intrbits_slave() 143 return stat; in i2c_dw_read_clear_intrbits_slave() [all …]
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | stat+json_output.sh | 49 perf stat -j -o "${stat_output}" true 62 perf stat -j -a -o "${stat_output}" true 75 perf stat -j -A -a --no-merge -o "${stat_output}" true 83 perf stat -j -I 1000 -o "${stat_output}" true 92 perf stat -j -e cpu-clock -o "${stat_output}" true 105 perf stat -j --per-core -a -o "${stat_output}" true 118 perf stat -j --per-thread -a -o "${stat_output}" true 131 perf stat -j --per-cache -a true 2>&1 | $PYTHON $pythonchecker --per-cache 143 perf stat -j --per-die -a -o "${stat_output}" true 156 perf stat -j --per-node -a -o "${stat_output}" true [all …]
|