stat 110 arch/alpha/boot/tools/objstrip.c struct stat st; stat 355 arch/alpha/kernel/osf_sys.c struct kstat stat; stat 358 arch/alpha/kernel/osf_sys.c error = vfs_stat(name, &stat); stat 362 arch/alpha/kernel/osf_sys.c return linux_to_osf_stat(&stat, buf); stat 367 arch/alpha/kernel/osf_sys.c struct kstat stat; stat 370 arch/alpha/kernel/osf_sys.c error = vfs_lstat(name, &stat); stat 374 arch/alpha/kernel/osf_sys.c return linux_to_osf_stat(&stat, buf); stat 379 arch/alpha/kernel/osf_sys.c struct kstat stat; stat 382 arch/alpha/kernel/osf_sys.c error = vfs_fstat(fd, &stat); stat 386 arch/alpha/kernel/osf_sys.c return linux_to_osf_stat(&stat, buf); stat 115 arch/arm/kernel/sys_oabi-compat.c static long cp_oldabi_stat64(struct kstat *stat, stat 120 arch/arm/kernel/sys_oabi-compat.c tmp.st_dev = huge_encode_dev(stat->dev); stat 122 arch/arm/kernel/sys_oabi-compat.c tmp.__st_ino = stat->ino; stat 123 arch/arm/kernel/sys_oabi-compat.c tmp.st_mode = stat->mode; stat 124 arch/arm/kernel/sys_oabi-compat.c tmp.st_nlink = stat->nlink; stat 125 arch/arm/kernel/sys_oabi-compat.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); stat 126 arch/arm/kernel/sys_oabi-compat.c tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); stat 127 arch/arm/kernel/sys_oabi-compat.c tmp.st_rdev = huge_encode_dev(stat->rdev); stat 128 arch/arm/kernel/sys_oabi-compat.c tmp.st_size = stat->size; stat 129 arch/arm/kernel/sys_oabi-compat.c tmp.st_blocks = stat->blocks; stat 131 arch/arm/kernel/sys_oabi-compat.c tmp.st_blksize = stat->blksize; stat 132 arch/arm/kernel/sys_oabi-compat.c tmp.st_atime = stat->atime.tv_sec; stat 133 arch/arm/kernel/sys_oabi-compat.c tmp.st_atime_nsec = stat->atime.tv_nsec; stat 134 arch/arm/kernel/sys_oabi-compat.c tmp.st_mtime = stat->mtime.tv_sec; stat 135 arch/arm/kernel/sys_oabi-compat.c tmp.st_mtime_nsec = stat->mtime.tv_nsec; stat 136 arch/arm/kernel/sys_oabi-compat.c tmp.st_ctime = stat->ctime.tv_sec; stat 137 arch/arm/kernel/sys_oabi-compat.c tmp.st_ctime_nsec = stat->ctime.tv_nsec; stat 138 arch/arm/kernel/sys_oabi-compat.c tmp.st_ino = stat->ino; stat 145 arch/arm/kernel/sys_oabi-compat.c struct kstat stat; stat 146 arch/arm/kernel/sys_oabi-compat.c int error = vfs_stat(filename, &stat); stat 148 arch/arm/kernel/sys_oabi-compat.c error = cp_oldabi_stat64(&stat, statbuf); stat 155 arch/arm/kernel/sys_oabi-compat.c struct kstat stat; stat 156 arch/arm/kernel/sys_oabi-compat.c int error = vfs_lstat(filename, &stat); stat 158 arch/arm/kernel/sys_oabi-compat.c error = cp_oldabi_stat64(&stat, statbuf); stat 165 arch/arm/kernel/sys_oabi-compat.c struct kstat stat; stat 166 arch/arm/kernel/sys_oabi-compat.c int error = vfs_fstat(fd, &stat); stat 168 arch/arm/kernel/sys_oabi-compat.c error = cp_oldabi_stat64(&stat, statbuf); stat 177 arch/arm/kernel/sys_oabi-compat.c struct kstat stat; stat 180 arch/arm/kernel/sys_oabi-compat.c error = vfs_fstatat(dfd, filename, &stat, flag); stat 183 arch/arm/kernel/sys_oabi-compat.c return cp_oldabi_stat64(&stat, statbuf); stat 20 arch/arm/kvm/guest.c #define VM_STAT(x) { #x, offsetof(struct kvm, stat.x), KVM_STAT_VM } stat 21 arch/arm/kvm/guest.c #define VCPU_STAT(x) { #x, offsetof(struct kvm_vcpu, stat.x), KVM_STAT_VCPU } stat 25 arch/arm/kvm/handle_exit.c vcpu->stat.hvc_exit_stat++; stat 66 arch/arm/kvm/handle_exit.c vcpu->stat.wfe_exit_stat++; stat 70 arch/arm/kvm/handle_exit.c vcpu->stat.wfi_exit_stat++; stat 180 arch/arm/mach-cns3xxx/core.c u32 __iomem *stat = cns3xxx_tmr1 + TIMER1_2_INTERRUPT_STATUS_OFFSET; stat 184 arch/arm/mach-cns3xxx/core.c val = readl(stat); stat 185 arch/arm/mach-cns3xxx/core.c writel(val & ~(1 << 2), stat); stat 48 arch/arm/mach-dove/irq.c u32 stat; stat 50 arch/arm/mach-dove/irq.c stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_LOW_OFF); stat 51 arch/arm/mach-dove/irq.c stat &= readl_relaxed(dove_irq_base + IRQ_MASK_LOW_OFF); stat 52 arch/arm/mach-dove/irq.c if (stat) { stat 53 arch/arm/mach-dove/irq.c unsigned int hwirq = 1 + __fls(stat); stat 57 arch/arm/mach-dove/irq.c stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_HIGH_OFF); stat 58 arch/arm/mach-dove/irq.c stat &= readl_relaxed(dove_irq_base + IRQ_MASK_HIGH_OFF); stat 59 arch/arm/mach-dove/irq.c if (stat) { stat 60 arch/arm/mach-dove/irq.c unsigned int hwirq = 33 + __fls(stat); stat 124 arch/arm/mach-imx/tzic.c u32 stat; stat 131 arch/arm/mach-imx/tzic.c stat = imx_readl(tzic_base + TZIC_HIPND(i)) & stat 134 arch/arm/mach-imx/tzic.c while (stat) { stat 136 arch/arm/mach-imx/tzic.c irqofs = fls(stat) - 1; stat 138 arch/arm/mach-imx/tzic.c stat &= ~(1 << irqofs); stat 32 arch/arm/mach-mv78xx0/irq.c u32 stat; stat 34 arch/arm/mach-mv78xx0/irq.c stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_LOW_OFF); stat 35 arch/arm/mach-mv78xx0/irq.c stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_LOW_OFF); stat 36 arch/arm/mach-mv78xx0/irq.c if (stat) { stat 37 arch/arm/mach-mv78xx0/irq.c unsigned int hwirq = __fls(stat); stat 41 arch/arm/mach-mv78xx0/irq.c stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_HIGH_OFF); stat 42 arch/arm/mach-mv78xx0/irq.c stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_HIGH_OFF); stat 43 arch/arm/mach-mv78xx0/irq.c if (stat) { stat 44 arch/arm/mach-mv78xx0/irq.c unsigned int hwirq = 32 + __fls(stat); stat 48 arch/arm/mach-mv78xx0/irq.c stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_ERR_OFF); stat 49 arch/arm/mach-mv78xx0/irq.c stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_ERR_OFF); stat 50 arch/arm/mach-mv78xx0/irq.c if (stat) { stat 51 arch/arm/mach-mv78xx0/irq.c unsigned int hwirq = 64 + __fls(stat); stat 89 arch/arm/mach-omap1/fpga.c u32 stat; stat 92 arch/arm/mach-omap1/fpga.c stat = get_fpga_unmasked_irqs(); stat 94 arch/arm/mach-omap1/fpga.c if (!stat) stat 98 arch/arm/mach-omap1/fpga.c (fpga_irq < OMAP_FPGA_IRQ_END) && stat; stat 99 arch/arm/mach-omap1/fpga.c fpga_irq++, stat >>= 1) { stat 100 arch/arm/mach-omap1/fpga.c if (stat & 1) { stat 32 arch/arm/mach-orion5x/irq.c u32 stat; stat 34 arch/arm/mach-orion5x/irq.c stat = readl_relaxed(MAIN_IRQ_CAUSE); stat 35 arch/arm/mach-orion5x/irq.c stat &= readl_relaxed(MAIN_IRQ_MASK); stat 36 arch/arm/mach-orion5x/irq.c if (stat) { stat 37 arch/arm/mach-orion5x/irq.c unsigned int hwirq = 1 + __fls(stat); stat 89 arch/arm/mach-s3c24xx/bast-irq.c unsigned int stat; stat 93 arch/arm/mach-s3c24xx/bast-irq.c stat = __raw_readb(BAST_VA_PC104_IRQREQ) & 0xf; stat 95 arch/arm/mach-s3c24xx/bast-irq.c if (unlikely(stat == 0)) { stat 103 arch/arm/mach-s3c24xx/bast-irq.c for (i = 0; stat != 0; i++, stat >>= 1) { stat 104 arch/arm/mach-s3c24xx/bast-irq.c if (stat & 1) { stat 77 arch/arm/plat-orion/pcie.c u32 stat = readl(base + PCIE_STAT_OFF); stat 79 arch/arm/plat-orion/pcie.c return (stat >> PCIE_STAT_BUS_OFFS) & PCIE_STAT_BUS_MASK; stat 84 arch/arm/plat-orion/pcie.c u32 stat; stat 86 arch/arm/plat-orion/pcie.c stat = readl(base + PCIE_STAT_OFF); stat 87 arch/arm/plat-orion/pcie.c stat &= ~(PCIE_STAT_BUS_MASK << PCIE_STAT_BUS_OFFS); stat 88 arch/arm/plat-orion/pcie.c stat |= nr << PCIE_STAT_BUS_OFFS; stat 89 arch/arm/plat-orion/pcie.c writel(stat, base + PCIE_STAT_OFF); stat 123 arch/arm/vdso/vdsomunge.c struct stat stat; stat 142 arch/arm/vdso/vdsomunge.c if (fstat(infd, &stat) != 0) stat 145 arch/arm/vdso/vdsomunge.c inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); stat 183 arch/arm/vdso/vdsomunge.c if (ftruncate(outfd, stat.st_size) != 0) stat 186 arch/arm/vdso/vdsomunge.c outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, stat 193 arch/arm/vdso/vdsomunge.c memcpy(outbuf, inbuf, stat.st_size); stat 203 arch/arm/vdso/vdsomunge.c if (msync(outbuf, stat.st_size, MS_SYNC) != 0) stat 267 arch/arm/vfp/vfpmodule.c #define RAISE(stat,en,sig) \ stat 268 arch/arm/vfp/vfpmodule.c if (exceptions & stat && fpscr & en) \ stat 33 arch/arm64/kvm/guest.c #define VM_STAT(x) { #x, offsetof(struct kvm, stat.x), KVM_STAT_VM } stat 34 arch/arm64/kvm/guest.c #define VCPU_STAT(x) { #x, offsetof(struct kvm_vcpu, stat.x), KVM_STAT_VCPU } stat 42 arch/arm64/kvm/handle_exit.c vcpu->stat.hvc_exit_stat++; stat 94 arch/arm64/kvm/handle_exit.c vcpu->stat.wfe_exit_stat++; stat 98 arch/arm64/kvm/handle_exit.c vcpu->stat.wfi_exit_stat++; stat 94 arch/c6x/platforms/dscr.c struct devstate_stat_reg *stat; stat 190 arch/c6x/platforms/dscr.c struct devstate_stat_reg *stat; stat 204 arch/c6x/platforms/dscr.c stat = info->stat; stat 235 arch/c6x/platforms/dscr.c if (!stat) stat 238 arch/c6x/platforms/dscr.c ctl_shift = stat->shift + stat->nbits * (id - stat->start_id); stat 241 arch/c6x/platforms/dscr.c ctl_val = stat->enable; stat 243 arch/c6x/platforms/dscr.c ctl_val = stat->disable; stat 246 arch/c6x/platforms/dscr.c val = soc_readl(dscr.base + stat->reg); stat 248 arch/c6x/platforms/dscr.c val &= ((1 << stat->nbits) - 1); stat 550 arch/c6x/platforms/dscr.c dscr.devstate_info[j].stat = r; stat 18 arch/c6x/platforms/emif.c u32 stat; stat 145 arch/ia64/kernel/unwind.c } stat; stat 1234 arch/ia64/kernel/unwind.c STAT(++unw.stat.cache.lookups); stat 1240 arch/ia64/kernel/unwind.c STAT(++unw.stat.cache.hinted_hits); stat 1252 arch/ia64/kernel/unwind.c STAT(++unw.stat.cache.normal_hits); stat 1259 arch/ia64/kernel/unwind.c STAT(++unw.stat.cache.collision_chain_traversals); stat 1273 arch/ia64/kernel/unwind.c STAT(++unw.stat.script.news); stat 1324 arch/ia64/kernel/unwind.c STAT(if (script->coll_chain < UNW_CACHE_SIZE) ++unw.stat.script.collisions); stat 1542 arch/ia64/kernel/unwind.c STAT(++unw.stat.script.builds; start = ia64_get_itc()); stat 1554 arch/ia64/kernel/unwind.c STAT(unw.stat.script.build_time += ia64_get_itc() - start); stat 1593 arch/ia64/kernel/unwind.c STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); stat 1594 arch/ia64/kernel/unwind.c STAT(unw.stat.script.build_time += ia64_get_itc() - start); stat 1665 arch/ia64/kernel/unwind.c STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); stat 1707 arch/ia64/kernel/unwind.c STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); stat 1710 arch/ia64/kernel/unwind.c STAT(unw.stat.script.build_time += ia64_get_itc() - start); stat 1727 arch/ia64/kernel/unwind.c STAT(++unw.stat.script.runs; start = ia64_get_itc()); stat 1817 arch/ia64/kernel/unwind.c STAT(unw.stat.script.run_time += ia64_get_itc() - start); stat 1890 arch/ia64/kernel/unwind.c STAT(local_irq_save(flags); ++unw.stat.api.unwinds; start = ia64_get_itc()); stat 1901 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); stat 1908 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); stat 1915 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); stat 1937 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); stat 1946 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); stat 1953 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); stat 1964 arch/ia64/kernel/unwind.c STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); stat 2007 arch/ia64/kernel/unwind.c STAT(local_irq_save(flags); ++unw.stat.api.inits; start = ia64_get_itc()); stat 2048 arch/ia64/kernel/unwind.c STAT(unw.stat.api.init_time += ia64_get_itc() - start; local_irq_restore(flags)); stat 32 arch/mips/bcm63xx/timer.c u32 stat; stat 36 arch/mips/bcm63xx/timer.c stat = bcm_timer_readl(TIMER_IRQSTAT_REG); stat 37 arch/mips/bcm63xx/timer.c bcm_timer_writel(stat, TIMER_IRQSTAT_REG); stat 41 arch/mips/bcm63xx/timer.c if (!(stat & TIMER_IRQSTAT_TIMER_CAUSE(i))) stat 17 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c struct stat sb; stat 25 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c if (stat(argv[1], &sb) == -1) { stat 433 arch/mips/cavium-octeon/executive/cvmx-spi.c union cvmx_spxx_clk_stat stat; stat 449 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); stat 450 arch/mips/cavium-octeon/executive/cvmx-spi.c if (stat.s.s4clk0 && stat.s.s4clk1 && clock_transitions) { stat 456 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); stat 457 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.s.s4clk0 = 0; stat 458 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.s.s4clk1 = 0; stat 464 arch/mips/cavium-octeon/executive/cvmx-spi.c } while (stat.s.s4clk0 == 0 || stat.s.s4clk1 == 0); stat 474 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); stat 475 arch/mips/cavium-octeon/executive/cvmx-spi.c if (stat.s.d4clk0 && stat.s.d4clk1 && clock_transitions) { stat 481 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); stat 482 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.s.d4clk0 = 0; stat 483 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.s.d4clk1 = 0; stat 489 arch/mips/cavium-octeon/executive/cvmx-spi.c } while (stat.s.d4clk0 == 0 || stat.s.d4clk1 == 0); stat 511 arch/mips/cavium-octeon/executive/cvmx-spi.c union cvmx_spxx_clk_stat stat; stat 548 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); stat 549 arch/mips/cavium-octeon/executive/cvmx-spi.c if (stat.s.srxtrn && rx_training_needed) { stat 551 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); stat 552 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.s.srxtrn = 0; stat 558 arch/mips/cavium-octeon/executive/cvmx-spi.c } while (stat.s.srxtrn == 0); stat 596 arch/mips/cavium-octeon/executive/cvmx-spi.c union cvmx_spxx_clk_stat stat; stat 609 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); stat 614 arch/mips/cavium-octeon/executive/cvmx-spi.c } while (stat.s.stxcal == 0); stat 197 arch/mips/include/asm/kvm_host.h unsigned long stat[N_MIPS_COPROC_REGS][N_MIPS_COPROC_SEL]; stat 258 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t stat:12; stat 260 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t stat:12; stat 267 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t stat:9; stat 269 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t stat:9; stat 276 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t stat:10; stat 278 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t stat:10; stat 673 arch/mips/kernel/pm-cps.c unsigned int stat; stat 677 arch/mips/kernel/pm-cps.c stat = read_cpc_cl_stat_conf(); stat 688 arch/mips/kernel/pm-cps.c if (stat & CPC_Cx_STAT_CONF_EJTAG_PROBE) { stat 216 arch/mips/kernel/smp-cps.c u32 stat, seq_state; stat 254 arch/mips/kernel/smp-cps.c stat = read_cpc_co_stat_conf(); stat 255 arch/mips/kernel/smp-cps.c seq_state = stat & CPC_Cx_STAT_CONF_SEQSTATE; stat 270 arch/mips/kernel/smp-cps.c core, stat); stat 526 arch/mips/kernel/smp-cps.c unsigned stat; stat 556 arch/mips/kernel/smp-cps.c stat = read_cpc_co_stat_conf(); stat 557 arch/mips/kernel/smp-cps.c stat &= CPC_Cx_STAT_CONF_SEQSTATE; stat 558 arch/mips/kernel/smp-cps.c stat >>= __ffs(CPC_Cx_STAT_CONF_SEQSTATE); stat 562 arch/mips/kernel/smp-cps.c if (stat == CPC_Cx_STAT_CONF_SEQSTATE_D0 || stat 563 arch/mips/kernel/smp-cps.c stat == CPC_Cx_STAT_CONF_SEQSTATE_D2 || stat 564 arch/mips/kernel/smp-cps.c stat == CPC_Cx_STAT_CONF_SEQSTATE_U2) stat 580 arch/mips/kernel/smp-cps.c cpu, stat)) stat 599 arch/mips/kernel/smp-cps.c stat = read_cpc_co_vp_running(); stat 601 arch/mips/kernel/smp-cps.c } while (stat & (1 << vpe_id)); stat 974 arch/mips/kvm/emulate.c ++vcpu->stat.wait_exits; stat 1317 arch/mips/kvm/emulate.c cop0->stat[rd][sel]++; stat 1351 arch/mips/kvm/emulate.c cop0->stat[rd][sel]++; stat 1539 arch/mips/kvm/emulate.c cop0->stat[MIPS_CP0_STATUS][0]++; stat 1953 arch/mips/kvm/emulate.c ++vcpu->stat.cache_exits; stat 1961 arch/mips/kvm/emulate.c ++vcpu->stat.cache_exits; stat 42 arch/mips/kvm/mips.c #define VCPU_STAT(x) offsetof(struct kvm_vcpu, stat.x) stat 1333 arch/mips/kvm/mips.c ++vcpu->stat.int_exits; stat 1344 arch/mips/kvm/mips.c ++vcpu->stat.cop_unusable_exits; stat 1352 arch/mips/kvm/mips.c ++vcpu->stat.tlbmod_exits; stat 1361 arch/mips/kvm/mips.c ++vcpu->stat.tlbmiss_st_exits; stat 1369 arch/mips/kvm/mips.c ++vcpu->stat.tlbmiss_ld_exits; stat 1374 arch/mips/kvm/mips.c ++vcpu->stat.addrerr_st_exits; stat 1379 arch/mips/kvm/mips.c ++vcpu->stat.addrerr_ld_exits; stat 1384 arch/mips/kvm/mips.c ++vcpu->stat.syscall_exits; stat 1389 arch/mips/kvm/mips.c ++vcpu->stat.resvd_inst_exits; stat 1394 arch/mips/kvm/mips.c ++vcpu->stat.break_inst_exits; stat 1399 arch/mips/kvm/mips.c ++vcpu->stat.trap_inst_exits; stat 1404 arch/mips/kvm/mips.c ++vcpu->stat.msa_fpe_exits; stat 1409 arch/mips/kvm/mips.c ++vcpu->stat.fpe_exits; stat 1414 arch/mips/kvm/mips.c ++vcpu->stat.msa_disabled_exits; stat 1452 arch/mips/kvm/mips.c ++vcpu->stat.signal_exits; stat 57 arch/mips/kvm/stats.c if (vcpu->arch.cop0->stat[i][j]) stat 59 arch/mips/kvm/stats.c vcpu->arch.cop0->stat[i][j]); stat 937 arch/mips/kvm/vz.c cop0->stat[rd][sel]++; stat 997 arch/mips/kvm/vz.c cop0->stat[rd][sel]++; stat 1410 arch/mips/kvm/vz.c ++vcpu->stat.vz_gpsi_exits; stat 1414 arch/mips/kvm/vz.c ++vcpu->stat.vz_gsfc_exits; stat 1418 arch/mips/kvm/vz.c ++vcpu->stat.vz_hc_exits; stat 1422 arch/mips/kvm/vz.c ++vcpu->stat.vz_grr_exits; stat 1427 arch/mips/kvm/vz.c ++vcpu->stat.vz_gva_exits; stat 1432 arch/mips/kvm/vz.c ++vcpu->stat.vz_ghfc_exits; stat 1436 arch/mips/kvm/vz.c ++vcpu->stat.vz_gpa_exits; stat 1441 arch/mips/kvm/vz.c ++vcpu->stat.vz_resvd_exits; stat 270 arch/mips/pci/ops-pmcmsp.c unsigned int stat = preg->if_status; stat 275 arch/mips/pci/ops-pmcmsp.c if ((1 << i) & stat) stat 283 arch/mips/pci/ops-pmcmsp.c preg->if_status = stat; stat 44 arch/mips/sgi-ip32/crime.c unsigned long stat, addr; stat 47 arch/mips/sgi-ip32/crime.c stat = crime->mem_error_stat & CRIME_MEM_ERROR_STAT_MASK; stat 50 arch/mips/sgi-ip32/crime.c printk("CRIME memory error at 0x%08lx ST 0x%08lx<", addr, stat); stat 52 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_INV) stat 54 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_ECC) { stat 61 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_MULTIPLE) { stat 65 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_HARD_ERR) { stat 69 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_SOFT_ERR) stat 71 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_CPU_ACCESS) stat 73 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_VICE_ACCESS) stat 75 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_GBE_ACCESS) stat 77 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_RE_ACCESS) stat 78 arch/mips/sgi-ip32/crime.c printk("RE,REID=0x%02lx,", (stat & CRIME_MEM_ERROR_RE_ID)>>8); stat 79 arch/mips/sgi-ip32/crime.c if (stat & CRIME_MEM_ERROR_MACE_ACCESS) stat 80 arch/mips/sgi-ip32/crime.c printk("MACE,MACEID=0x%02lx,", stat & CRIME_MEM_ERROR_MACE_ID); stat 95 arch/mips/sgi-ip32/crime.c unsigned long stat = crime->cpu_error_stat & CRIME_CPU_ERROR_MASK; stat 99 arch/mips/sgi-ip32/crime.c printk("CRIME CPU error at 0x%09lx status 0x%08lx\n", addr, stat); stat 454 arch/mips/sni/rm200.c u8 stat; stat 462 arch/mips/sni/rm200.c stat = *(volatile u8 *)SNI_RM200_INT_STAT_REG ^ 0x14; stat 463 arch/mips/sni/rm200.c irq = ffs(stat & mask & 0x1f); stat 53 arch/mips/txx9/generic/pci.c u16 stat; stat 75 arch/mips/txx9/generic/pci.c pci_devfn, PCI_STATUS, &stat); stat 76 arch/mips/txx9/generic/pci.c if (!(stat & PCI_STATUS_66MHZ)) { stat 56 arch/mips/txx9/generic/spi_eeprom.c int stat = 0; stat 72 arch/mips/txx9/generic/spi_eeprom.c stat = spi_write_then_read(spi, cmd, sizeof(cmd), buf, c); stat 77 arch/mips/txx9/generic/spi_eeprom.c return stat; stat 111 arch/mips/vdso/genvdso.c struct stat stat; stat 122 arch/mips/vdso/genvdso.c if (fstat(fd, &stat) != 0) { stat 128 arch/mips/vdso/genvdso.c addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, stat 179 arch/mips/vdso/genvdso.c *_size = stat.st_size; stat 47 arch/powerpc/boot/mktree.c struct stat st; stat 55 arch/powerpc/boot/mktree.c if (stat(argv[1], &st) < 0) { stat 24 arch/powerpc/include/asm/spu_priv1.h void (*int_stat_clear) (struct spu *spu, int class, u64 stat); stat 69 arch/powerpc/include/asm/spu_priv1.h spu_int_stat_clear (struct spu *spu, int class, u64 stat) stat 71 arch/powerpc/include/asm/spu_priv1.h spu_priv1_ops->int_stat_clear(spu, class, stat); stat 39 arch/powerpc/kvm/book3s.c #define VM_STAT(x, ...) offsetof(struct kvm, stat.x), KVM_STAT_VM, ## __VA_ARGS__ stat 40 arch/powerpc/kvm/book3s.c #define VCPU_STAT(x, ...) offsetof(struct kvm_vcpu, stat.x), KVM_STAT_VCPU, ## __VA_ARGS__ stat 185 arch/powerpc/kvm/book3s.c vcpu->stat.queue_intr++; stat 401 arch/powerpc/kvm/book3s_64_mmu_radix.c kvm->stat.num_2M_pages--; stat 403 arch/powerpc/kvm/book3s_64_mmu_radix.c kvm->stat.num_1G_pages--; stat 881 arch/powerpc/kvm/book3s_64_mmu_radix.c kvm->stat.num_2M_pages++; stat 883 arch/powerpc/kvm/book3s_64_mmu_radix.c kvm->stat.num_1G_pages++; stat 237 arch/powerpc/kvm/book3s_hv.c ++vcpu->stat.halt_wakeup; stat 1255 arch/powerpc/kvm/book3s_hv.c vcpu->stat.sum_exits++; stat 1280 arch/powerpc/kvm/book3s_hv.c vcpu->stat.dec_exits++; stat 1286 arch/powerpc/kvm/book3s_hv.c vcpu->stat.ext_intr_exits++; stat 1444 arch/powerpc/kvm/book3s_hv.c vcpu->stat.sum_exits++; stat 1465 arch/powerpc/kvm/book3s_hv.c vcpu->stat.dec_exits++; stat 1469 arch/powerpc/kvm/book3s_hv.c vcpu->stat.ext_intr_exits++; stat 1474 arch/powerpc/kvm/book3s_hv.c vcpu->stat.ext_intr_exits++; stat 3796 arch/powerpc/kvm/book3s_hv.c ++vc->runner->stat.halt_attempted_poll; stat 3813 arch/powerpc/kvm/book3s_hv.c ++vc->runner->stat.halt_successful_poll; stat 3825 arch/powerpc/kvm/book3s_hv.c ++vc->runner->stat.halt_successful_poll; stat 3839 arch/powerpc/kvm/book3s_hv.c ++vc->runner->stat.halt_successful_wait; stat 3848 arch/powerpc/kvm/book3s_hv.c vc->runner->stat.halt_wait_ns += stat 3852 arch/powerpc/kvm/book3s_hv.c vc->runner->stat.halt_poll_fail_ns += stat 3858 arch/powerpc/kvm/book3s_hv.c vc->runner->stat.halt_poll_success_ns += stat 3978 arch/powerpc/kvm/book3s_hv.c v->stat.signal_exits++; stat 4019 arch/powerpc/kvm/book3s_hv.c vcpu->stat.signal_exits++; stat 4184 arch/powerpc/kvm/book3s_hv.c vcpu->stat.signal_exits++; stat 4206 arch/powerpc/kvm/book3s_hv.c vcpu->stat.signal_exits++; stat 135 arch/powerpc/kvm/book3s_hv_rm_xics.c vcpu->stat.queue_intr++; stat 717 arch/powerpc/kvm/book3s_hv_rm_xics.c ++vcpu->stat.pthru_all; stat 722 arch/powerpc/kvm/book3s_hv_rm_xics.c ++vcpu->stat.pthru_host; stat 724 arch/powerpc/kvm/book3s_hv_rm_xics.c ++vcpu->stat.pthru_bad_aff; stat 482 arch/powerpc/kvm/book3s_pr.c vcpu->stat.halt_wakeup++; stat 766 arch/powerpc/kvm/book3s_pr.c vcpu->stat.sp_storage++; stat 772 arch/powerpc/kvm/book3s_pr.c vcpu->stat.mmio_exits++; stat 1090 arch/powerpc/kvm/book3s_pr.c vcpu->stat.emulated_inst_exits++; stat 1125 arch/powerpc/kvm/book3s_pr.c vcpu->stat.sum_exits++; stat 1139 arch/powerpc/kvm/book3s_pr.c vcpu->stat.pf_instruc++; stat 1167 arch/powerpc/kvm/book3s_pr.c vcpu->stat.sp_instruc++; stat 1188 arch/powerpc/kvm/book3s_pr.c vcpu->stat.pf_storage++; stat 1243 arch/powerpc/kvm/book3s_pr.c vcpu->stat.dec_exits++; stat 1249 arch/powerpc/kvm/book3s_pr.c vcpu->stat.ext_intr_exits++; stat 1318 arch/powerpc/kvm/book3s_pr.c vcpu->stat.syscall_exits++; stat 381 arch/powerpc/kvm/book3s_pr_papr.c vcpu->stat.halt_wakeup++; stat 38 arch/powerpc/kvm/booke.c #define VM_STAT(x) offsetof(struct kvm, stat.x), KVM_STAT_VM stat 39 arch/powerpc/kvm/booke.c #define VCPU_STAT(x) offsetof(struct kvm_vcpu, stat.x), KVM_STAT_VCPU stat 330 arch/powerpc/kvm/powerpc.c vcpu->stat.st++; stat 373 arch/powerpc/kvm/powerpc.c vcpu->stat.ld++; stat 47 arch/powerpc/kvm/timing.h vcpu->stat.ext_intr_exits++; stat 50 arch/powerpc/kvm/timing.h vcpu->stat.dec_exits++; stat 53 arch/powerpc/kvm/timing.h vcpu->stat.emulated_inst_exits++; stat 56 arch/powerpc/kvm/timing.h vcpu->stat.dsi_exits++; stat 59 arch/powerpc/kvm/timing.h vcpu->stat.isi_exits++; stat 62 arch/powerpc/kvm/timing.h vcpu->stat.syscall_exits++; stat 65 arch/powerpc/kvm/timing.h vcpu->stat.dtlb_real_miss_exits++; stat 68 arch/powerpc/kvm/timing.h vcpu->stat.dtlb_virt_miss_exits++; stat 71 arch/powerpc/kvm/timing.h vcpu->stat.mmio_exits++; stat 74 arch/powerpc/kvm/timing.h vcpu->stat.itlb_real_miss_exits++; stat 77 arch/powerpc/kvm/timing.h vcpu->stat.itlb_virt_miss_exits++; stat 80 arch/powerpc/kvm/timing.h vcpu->stat.signal_exits++; stat 83 arch/powerpc/kvm/timing.h vcpu->stat.dbell_exits++; stat 86 arch/powerpc/kvm/timing.h vcpu->stat.gdbell_exits++; stat 31 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c u32 stat; stat 81 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c u32 stat, mask, pend; stat 85 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c stat = in_be32(&priv->regs->stat); stat 88 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c pend = stat & ~mask; stat 232 arch/powerpc/platforms/cell/iommu.c unsigned long stat, spf; stat 235 arch/powerpc/platforms/cell/iommu.c stat = in_be64(iommu->xlate_regs + IOC_IO_ExcpStat); stat 236 arch/powerpc/platforms/cell/iommu.c spf = stat & IOC_IO_ExcpStat_SPF_Mask; stat 239 arch/powerpc/platforms/cell/iommu.c printk(KERN_ERR "iommu: DMA exception 0x%016lx\n", stat); stat 241 arch/powerpc/platforms/cell/iommu.c !!(stat & IOC_IO_ExcpStat_V), stat 244 arch/powerpc/platforms/cell/iommu.c (stat & IOC_IO_ExcpStat_RW_Mask) ? "Read" : "Write", stat 245 arch/powerpc/platforms/cell/iommu.c (unsigned int)(stat & IOC_IO_ExcpStat_IOID_Mask)); stat 247 arch/powerpc/platforms/cell/iommu.c stat & IOC_IO_ExcpStat_ADDR_Mask); stat 250 arch/powerpc/platforms/cell/iommu.c stat &= ~IOC_IO_ExcpStat_V; stat 251 arch/powerpc/platforms/cell/iommu.c out_be64(iommu->xlate_regs + IOC_IO_ExcpStat, stat); stat 283 arch/powerpc/platforms/cell/spu_base.c unsigned long stat, mask; stat 289 arch/powerpc/platforms/cell/spu_base.c stat = spu_int_stat_get(spu, 0) & mask; stat 291 arch/powerpc/platforms/cell/spu_base.c spu->class_0_pending |= stat; stat 297 arch/powerpc/platforms/cell/spu_base.c spu_int_stat_clear(spu, 0, stat); stat 307 arch/powerpc/platforms/cell/spu_base.c unsigned long stat, mask, dar, dsisr; stat 314 arch/powerpc/platforms/cell/spu_base.c stat = spu_int_stat_get(spu, 1) & mask; stat 317 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS1_STORAGE_FAULT_INTR) stat 319 arch/powerpc/platforms/cell/spu_base.c spu_int_stat_clear(spu, 1, stat); stat 321 arch/powerpc/platforms/cell/spu_base.c pr_debug("%s: %lx %lx %lx %lx\n", __func__, mask, stat, stat 324 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS1_SEGMENT_FAULT_INTR) stat 327 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS1_STORAGE_FAULT_INTR) stat 330 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS1_LS_COMPARE_SUSPEND_ON_GET_INTR) stat 333 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS1_LS_COMPARE_SUSPEND_ON_PUT_INTR) stat 341 arch/powerpc/platforms/cell/spu_base.c return stat ? IRQ_HANDLED : IRQ_NONE; stat 348 arch/powerpc/platforms/cell/spu_base.c unsigned long stat; stat 355 arch/powerpc/platforms/cell/spu_base.c stat = spu_int_stat_get(spu, 2); stat 358 arch/powerpc/platforms/cell/spu_base.c stat &= mask; stat 361 arch/powerpc/platforms/cell/spu_base.c if (stat & mailbox_intrs) stat 362 arch/powerpc/platforms/cell/spu_base.c spu_int_mask_and(spu, 2, ~(stat & mailbox_intrs)); stat 364 arch/powerpc/platforms/cell/spu_base.c spu_int_stat_clear(spu, 2, stat); stat 366 arch/powerpc/platforms/cell/spu_base.c pr_debug("class 2 interrupt %d, %lx, %lx\n", irq, stat, mask); stat 368 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS2_MAILBOX_INTR) stat 371 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS2_SPU_STOP_INTR) stat 374 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS2_SPU_HALT_INTR) stat 377 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS2_SPU_DMA_TAG_GROUP_COMPLETE_INTR) stat 380 arch/powerpc/platforms/cell/spu_base.c if (stat & CLASS2_MAILBOX_THRESHOLD_INTR) stat 387 arch/powerpc/platforms/cell/spu_base.c return stat ? IRQ_HANDLED : IRQ_NONE; stat 666 arch/powerpc/platforms/cell/spu_base.c static DEVICE_ATTR(stat, 0444, spu_stat_show, NULL); stat 53 arch/powerpc/platforms/cell/spu_priv1_mmio.c static void int_stat_clear(struct spu *spu, int class, u64 stat) stat 55 arch/powerpc/platforms/cell/spu_priv1_mmio.c out_be64(&spu->priv1->int_stat_RW[class], stat); stat 80 arch/powerpc/platforms/cell/spufs/backing_ops.c u32 stat; stat 84 arch/powerpc/platforms/cell/spufs/backing_ops.c stat = ctx->csa.prob.mb_stat_R; stat 92 arch/powerpc/platforms/cell/spufs/backing_ops.c if (stat & 0xff0000) stat 102 arch/powerpc/platforms/cell/spufs/backing_ops.c if (stat & 0x00ff00) stat 55 arch/powerpc/platforms/cell/spufs/fault.c unsigned long stat = ctx->csa.class_0_pending & CLASS0_INTR_MASK; stat 57 arch/powerpc/platforms/cell/spufs/fault.c if (likely(!stat)) stat 60 arch/powerpc/platforms/cell/spufs/fault.c if (stat & CLASS0_DMA_ALIGNMENT_INTR) stat 64 arch/powerpc/platforms/cell/spufs/fault.c if (stat & CLASS0_INVALID_DMA_COMMAND_INTR) stat 68 arch/powerpc/platforms/cell/spufs/fault.c if (stat & CLASS0_SPU_ERROR_INTR) stat 1863 arch/powerpc/platforms/cell/spufs/file.c u64 stat; stat 1864 arch/powerpc/platforms/cell/spufs/file.c stat = state->spu_chnlcnt_RW[0]; stat 1865 arch/powerpc/platforms/cell/spufs/file.c if (stat) stat 50 arch/powerpc/platforms/cell/spufs/hw_ops.c u32 stat; stat 53 arch/powerpc/platforms/cell/spufs/hw_ops.c stat = in_be32(&spu->problem->mb_stat_R); stat 61 arch/powerpc/platforms/cell/spufs/hw_ops.c if (stat & 0xff0000) stat 69 arch/powerpc/platforms/cell/spufs/hw_ops.c if (stat & 0x00ff00) stat 49 arch/powerpc/platforms/cell/spufs/run.c int spu_stopped(struct spu_context *ctx, u32 *stat) stat 58 arch/powerpc/platforms/cell/spufs/run.c *stat = ctx->ops->status_read(ctx); stat 59 arch/powerpc/platforms/cell/spufs/run.c if (*stat & stopped) { stat 64 arch/powerpc/platforms/cell/spufs/run.c if (*stat & SPU_STATUS_RUNNING) stat 279 arch/powerpc/platforms/cell/spufs/spufs.h int spu_stopped(struct spu_context *ctx, u32 * stat); stat 282 arch/powerpc/platforms/powermac/nvram.c int stat; stat 298 arch/powerpc/platforms/powermac/nvram.c stat = in_8(base); stat 299 arch/powerpc/platforms/powermac/nvram.c } while (!(stat & SM_FLASH_STATUS_DONE)); stat 313 arch/powerpc/platforms/powermac/nvram.c int i, stat = 0; stat 331 arch/powerpc/platforms/powermac/nvram.c stat = in_8(base); stat 332 arch/powerpc/platforms/powermac/nvram.c } while (!(stat & SM_FLASH_STATUS_DONE)); stat 333 arch/powerpc/platforms/powermac/nvram.c if (!(stat & SM_FLASH_STATUS_DONE)) stat 347 arch/powerpc/platforms/powermac/nvram.c int stat = 0; stat 377 arch/powerpc/platforms/powermac/nvram.c stat = in_8(base) ^ in_8(base); stat 378 arch/powerpc/platforms/powermac/nvram.c } while (stat != 0); stat 393 arch/powerpc/platforms/powermac/nvram.c int i, stat = 0; stat 419 arch/powerpc/platforms/powermac/nvram.c stat = in_8(base) ^ in_8(base); stat 420 arch/powerpc/platforms/powermac/nvram.c } while (stat != 0); stat 421 arch/powerpc/platforms/powermac/nvram.c if (stat != 0) stat 491 arch/powerpc/platforms/ps3/spu.c static void int_stat_clear(struct spu *spu, int class, u64 stat) stat 496 arch/powerpc/platforms/ps3/spu.c stat, 0); stat 501 arch/powerpc/platforms/ps3/spu.c u64 stat; stat 503 arch/powerpc/platforms/ps3/spu.c lv1_get_spe_interrupt_status(spu_pdata(spu)->spe_id, class, &stat); stat 504 arch/powerpc/platforms/ps3/spu.c return stat; stat 126 arch/s390/kernel/compat_linux.c static int cp_stat64(struct stat64_emu31 __user *ubuf, struct kstat *stat) stat 132 arch/s390/kernel/compat_linux.c tmp.st_dev = huge_encode_dev(stat->dev); stat 133 arch/s390/kernel/compat_linux.c tmp.st_ino = stat->ino; stat 134 arch/s390/kernel/compat_linux.c tmp.__st_ino = (u32)stat->ino; stat 135 arch/s390/kernel/compat_linux.c tmp.st_mode = stat->mode; stat 136 arch/s390/kernel/compat_linux.c tmp.st_nlink = (unsigned int)stat->nlink; stat 137 arch/s390/kernel/compat_linux.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); stat 138 arch/s390/kernel/compat_linux.c tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); stat 139 arch/s390/kernel/compat_linux.c tmp.st_rdev = huge_encode_dev(stat->rdev); stat 140 arch/s390/kernel/compat_linux.c tmp.st_size = stat->size; stat 141 arch/s390/kernel/compat_linux.c tmp.st_blksize = (u32)stat->blksize; stat 142 arch/s390/kernel/compat_linux.c tmp.st_blocks = (u32)stat->blocks; stat 143 arch/s390/kernel/compat_linux.c tmp.st_atime = (u32)stat->atime.tv_sec; stat 144 arch/s390/kernel/compat_linux.c tmp.st_mtime = (u32)stat->mtime.tv_sec; stat 145 arch/s390/kernel/compat_linux.c tmp.st_ctime = (u32)stat->ctime.tv_sec; stat 152 arch/s390/kernel/compat_linux.c struct kstat stat; stat 153 arch/s390/kernel/compat_linux.c int ret = vfs_stat(filename, &stat); stat 155 arch/s390/kernel/compat_linux.c ret = cp_stat64(statbuf, &stat); stat 161 arch/s390/kernel/compat_linux.c struct kstat stat; stat 162 arch/s390/kernel/compat_linux.c int ret = vfs_lstat(filename, &stat); stat 164 arch/s390/kernel/compat_linux.c ret = cp_stat64(statbuf, &stat); stat 170 arch/s390/kernel/compat_linux.c struct kstat stat; stat 171 arch/s390/kernel/compat_linux.c int ret = vfs_fstat(fd, &stat); stat 173 arch/s390/kernel/compat_linux.c ret = cp_stat64(statbuf, &stat); stat 180 arch/s390/kernel/compat_linux.c struct kstat stat; stat 183 arch/s390/kernel/compat_linux.c error = vfs_fstatat(dfd, filename, &stat, flag); stat 186 arch/s390/kernel/compat_linux.c return cp_stat64(statbuf, &stat); stat 58 arch/s390/kernel/diag.c struct diag_stat *stat; stat 76 arch/s390/kernel/diag.c stat = &per_cpu(diag_stat, cpu); stat 77 arch/s390/kernel/diag.c seq_printf(m, " %10u", stat->counter[n-1]); stat 28 arch/s390/kvm/diag.c vcpu->stat.diagnose_10++; stat 78 arch/s390/kvm/diag.c vcpu->stat.diagnose_258++; stat 149 arch/s390/kvm/diag.c vcpu->stat.diagnose_44++; stat 160 arch/s390/kvm/diag.c vcpu->stat.diagnose_9c++; stat 178 arch/s390/kvm/diag.c vcpu->stat.diagnose_308++; stat 206 arch/s390/kvm/diag.c vcpu->stat.diagnose_500++; stat 260 arch/s390/kvm/diag.c vcpu->stat.diagnose_other++; stat 59 arch/s390/kvm/intercept.c vcpu->stat.exit_stop_request++; stat 91 arch/s390/kvm/intercept.c vcpu->stat.exit_validity++; stat 104 arch/s390/kvm/intercept.c vcpu->stat.exit_instruction++; stat 232 arch/s390/kvm/intercept.c vcpu->stat.exit_program_interruption++; stat 274 arch/s390/kvm/intercept.c vcpu->stat.exit_external_interrupt++; stat 346 arch/s390/kvm/intercept.c vcpu->stat.exit_pei++; stat 374 arch/s390/kvm/intercept.c vcpu->stat.instruction_sthyi++; stat 416 arch/s390/kvm/intercept.c vcpu->stat.exit_operation_exception++; stat 456 arch/s390/kvm/intercept.c vcpu->stat.exit_external_request++; stat 459 arch/s390/kvm/intercept.c vcpu->stat.exit_io_request++; stat 484 arch/s390/kvm/interrupt.c vcpu->stat.deliver_cputm++; stat 504 arch/s390/kvm/interrupt.c vcpu->stat.deliver_ckc++; stat 690 arch/s390/kvm/interrupt.c vcpu->stat.deliver_machine_check++; stat 702 arch/s390/kvm/interrupt.c vcpu->stat.deliver_restart_signal++; stat 725 arch/s390/kvm/interrupt.c vcpu->stat.deliver_prefix_signal++; stat 748 arch/s390/kvm/interrupt.c vcpu->stat.deliver_emergency_signal++; stat 775 arch/s390/kvm/interrupt.c vcpu->stat.deliver_external_call++; stat 806 arch/s390/kvm/interrupt.c vcpu->stat.deliver_program++; stat 923 arch/s390/kvm/interrupt.c vcpu->stat.deliver_service_signal++; stat 995 arch/s390/kvm/interrupt.c vcpu->stat.deliver_virtio++; stat 1072 arch/s390/kvm/interrupt.c vcpu->stat.deliver_io++; stat 1100 arch/s390/kvm/interrupt.c vcpu->stat.deliver_io++; stat 1185 arch/s390/kvm/interrupt.c vcpu->stat.exit_wait_state++; stat 1353 arch/s390/kvm/interrupt.c vcpu->stat.inject_program++; stat 1395 arch/s390/kvm/interrupt.c vcpu->stat.inject_pfault_init++; stat 1414 arch/s390/kvm/interrupt.c vcpu->stat.inject_external_call++; stat 1439 arch/s390/kvm/interrupt.c vcpu->stat.inject_set_prefix++; stat 1460 arch/s390/kvm/interrupt.c vcpu->stat.inject_stop_signal++; stat 1485 arch/s390/kvm/interrupt.c vcpu->stat.inject_restart++; stat 1498 arch/s390/kvm/interrupt.c vcpu->stat.inject_emergency_signal++; stat 1519 arch/s390/kvm/interrupt.c vcpu->stat.inject_mchk++; stat 1550 arch/s390/kvm/interrupt.c vcpu->stat.inject_ckc++; stat 1564 arch/s390/kvm/interrupt.c vcpu->stat.inject_cputm++; stat 1693 arch/s390/kvm/interrupt.c kvm->stat.inject_service_signal++; stat 1719 arch/s390/kvm/interrupt.c kvm->stat.inject_virtio++; stat 1737 arch/s390/kvm/interrupt.c kvm->stat.inject_pfault_done++; stat 1757 arch/s390/kvm/interrupt.c kvm->stat.inject_float_mchk++; stat 1774 arch/s390/kvm/interrupt.c kvm->stat.inject_io++; stat 59 arch/s390/kvm/kvm-s390.c #define VCPU_STAT(x) offsetof(struct kvm_vcpu, stat.x), KVM_STAT_VCPU stat 60 arch/s390/kvm/kvm-s390.c #define VM_STAT(x) offsetof(struct kvm, stat.x), KVM_STAT_VM stat 3179 arch/s390/kvm/kvm-s390.c vcpu->stat.halt_no_poll_steal++; stat 3810 arch/s390/kvm/kvm-s390.c vcpu->stat.exit_null++; stat 4053 arch/s390/kvm/kvm-s390.c vcpu->stat.exit_userspace++; stat 37 arch/s390/kvm/priv.c vcpu->stat.instruction_ri++; stat 58 arch/s390/kvm/priv.c vcpu->stat.instruction_gs++; stat 93 arch/s390/kvm/priv.c vcpu->stat.instruction_sck++; stat 119 arch/s390/kvm/priv.c vcpu->stat.instruction_spx++; stat 157 arch/s390/kvm/priv.c vcpu->stat.instruction_stpx++; stat 187 arch/s390/kvm/priv.c vcpu->stat.instruction_stap++; stat 254 arch/s390/kvm/priv.c vcpu->stat.instruction_iske++; stat 301 arch/s390/kvm/priv.c vcpu->stat.instruction_rrbe++; stat 352 arch/s390/kvm/priv.c vcpu->stat.instruction_sske++; stat 429 arch/s390/kvm/priv.c vcpu->stat.instruction_ipte_interlock++; stat 443 arch/s390/kvm/priv.c vcpu->stat.instruction_tb++; stat 477 arch/s390/kvm/priv.c vcpu->stat.instruction_tpi++; stat 539 arch/s390/kvm/priv.c vcpu->stat.instruction_tsch++; stat 584 arch/s390/kvm/priv.c vcpu->stat.instruction_io_other++; stat 686 arch/s390/kvm/priv.c vcpu->stat.instruction_stfl++; stat 735 arch/s390/kvm/priv.c vcpu->stat.instruction_lpsw++; stat 764 arch/s390/kvm/priv.c vcpu->stat.instruction_lpswe++; stat 788 arch/s390/kvm/priv.c vcpu->stat.instruction_stidp++; stat 854 arch/s390/kvm/priv.c vcpu->stat.instruction_stsi++; stat 982 arch/s390/kvm/priv.c vcpu->stat.instruction_epsw++; stat 1014 arch/s390/kvm/priv.c vcpu->stat.instruction_pfmf++; stat 1194 arch/s390/kvm/priv.c vcpu->stat.instruction_essa++; stat 1283 arch/s390/kvm/priv.c vcpu->stat.instruction_lctl++; stat 1322 arch/s390/kvm/priv.c vcpu->stat.instruction_stctl++; stat 1356 arch/s390/kvm/priv.c vcpu->stat.instruction_lctlg++; stat 1394 arch/s390/kvm/priv.c vcpu->stat.instruction_stctg++; stat 1443 arch/s390/kvm/priv.c vcpu->stat.instruction_tprot++; stat 1504 arch/s390/kvm/priv.c vcpu->stat.instruction_sckpf++; stat 1521 arch/s390/kvm/priv.c vcpu->stat.instruction_ptff++; stat 293 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_sense++; stat 297 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_external_call++; stat 301 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_emergency++; stat 305 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_stop++; stat 309 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_stop_store_status++; stat 313 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_store_status++; stat 318 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_prefix++; stat 322 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_cond_emergency++; stat 327 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_sense_running++; stat 331 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_start++; stat 335 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_restart++; stat 339 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_init_cpu_reset++; stat 343 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_cpu_reset++; stat 347 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_unknown++; stat 374 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_stop++; stat 377 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_stop_store_status++; stat 380 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_store_status++; stat 383 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_store_adtl_status++; stat 386 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_prefix++; stat 389 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_start++; stat 392 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_restart++; stat 395 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_init_cpu_reset++; stat 398 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_cpu_reset++; stat 401 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_unknown++; stat 434 arch/s390/kvm/sigp.c vcpu->stat.instruction_sigp_arch++; stat 1291 arch/s390/kvm/vsie.c vcpu->stat.instruction_sie++; stat 55 arch/sh/drivers/pci/common.c u16 stat; stat 74 arch/sh/drivers/pci/common.c pci_devfn, PCI_STATUS, &stat); stat 75 arch/sh/drivers/pci/common.c if (!(stat & PCI_STATUS_66MHZ)) { stat 179 arch/sparc/boot/piggyback.c struct stat s; stat 186 arch/sparc/boot/piggyback.c if (stat (argv[4], &s) < 0) stat 201 arch/sparc/include/asm/floppy_64.h void __iomem *stat = (void __iomem *) fdc_status; stat 207 arch/sparc/include/asm/floppy_64.h val = readb(stat); stat 221 arch/sparc/include/asm/floppy_64.h *vaddr++ = readb(stat + 1); stat 226 arch/sparc/include/asm/floppy_64.h writeb(data, stat + 1); stat 414 arch/sparc/kernel/ds.c __u32 stat; stat 508 arch/sparc/kernel/ds.c ent[i].stat = default_stat; stat 515 arch/sparc/kernel/ds.c u32 res, u32 stat) stat 528 arch/sparc/kernel/ds.c ent[i].stat = stat; stat 561 arch/sparc/kernel/ds.c __u32 stat = DR_CPU_STAT_UNCONFIGURED; stat 566 arch/sparc/kernel/ds.c stat = DR_CPU_STAT_NOT_PRESENT; stat 574 arch/sparc/kernel/ds.c dr_cpu_mark(resp, cpu, ncpus, res, stat); stat 586 arch/sparc/kernel/pci_schizo.c u32 stat; stat 622 arch/sparc/kernel/pci_schizo.c pbm->pci_ops->read(pbm->pci_bus, 0, PCI_STATUS, 2, &stat); stat 623 arch/sparc/kernel/pci_schizo.c if (stat & (PCI_STATUS_PARITY | stat 629 arch/sparc/kernel/pci_schizo.c pbm->name, stat); stat 257 arch/sparc/kernel/psycho_common.c u16 stat, *addr; stat 276 arch/sparc/kernel/psycho_common.c pci_config_read16(addr, &stat); stat 277 arch/sparc/kernel/psycho_common.c if (stat & (PCI_STATUS_PARITY | stat 283 arch/sparc/kernel/psycho_common.c pbm->name, stat); stat 65 arch/sparc/kernel/sys_sparc32.c static int cp_compat_stat64(struct kstat *stat, stat 70 arch/sparc/kernel/sys_sparc32.c err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); stat 71 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ino, &statbuf->st_ino); stat 72 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mode, &statbuf->st_mode); stat 73 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->nlink, &statbuf->st_nlink); stat 74 arch/sparc/kernel/sys_sparc32.c err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); stat 75 arch/sparc/kernel/sys_sparc32.c err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); stat 76 arch/sparc/kernel/sys_sparc32.c err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); stat 78 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->size, &statbuf->st_size); stat 79 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->blksize, &statbuf->st_blksize); stat 82 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->blocks, &statbuf->st_blocks); stat 83 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->atime.tv_sec, &statbuf->st_atime); stat 84 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->atime.tv_nsec, &statbuf->st_atime_nsec); stat 85 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mtime.tv_sec, &statbuf->st_mtime); stat 86 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mtime.tv_nsec, &statbuf->st_mtime_nsec); stat 87 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ctime.tv_sec, &statbuf->st_ctime); stat 88 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ctime.tv_nsec, &statbuf->st_ctime_nsec); stat 98 arch/sparc/kernel/sys_sparc32.c struct kstat stat; stat 99 arch/sparc/kernel/sys_sparc32.c int error = vfs_stat(filename, &stat); stat 102 arch/sparc/kernel/sys_sparc32.c error = cp_compat_stat64(&stat, statbuf); stat 109 arch/sparc/kernel/sys_sparc32.c struct kstat stat; stat 110 arch/sparc/kernel/sys_sparc32.c int error = vfs_lstat(filename, &stat); stat 113 arch/sparc/kernel/sys_sparc32.c error = cp_compat_stat64(&stat, statbuf); stat 120 arch/sparc/kernel/sys_sparc32.c struct kstat stat; stat 121 arch/sparc/kernel/sys_sparc32.c int error = vfs_fstat(fd, &stat); stat 124 arch/sparc/kernel/sys_sparc32.c error = cp_compat_stat64(&stat, statbuf); stat 132 arch/sparc/kernel/sys_sparc32.c struct kstat stat; stat 135 arch/sparc/kernel/sys_sparc32.c error = vfs_fstatat(dfd, filename, &stat, flag); stat 138 arch/sparc/kernel/sys_sparc32.c return cp_compat_stat64(&stat, statbuf); stat 80 arch/um/drivers/pty.c struct stat buf; stat 89 arch/um/drivers/pty.c if ((stat(line, &buf) < 0) && (errno == ENOENT)) stat 61 arch/um/os-Linux/process.c char stat[STAT_PATH_LEN]; stat 68 arch/um/os-Linux/process.c snprintf(stat, sizeof(stat), "/proc/%d/stat", pid); stat 69 arch/um/os-Linux/process.c fd = open(stat, O_RDONLY, 0); stat 71 arch/um/os-Linux/process.c printk(UM_KERN_ERR "Couldn't open '%s', errno = %d\n", stat, stat 80 arch/um/os-Linux/process.c printk(UM_KERN_ERR "Couldn't read '%s', errno = %d\n", stat, stat 337 arch/x86/boot/tools/build.c struct stat sb; stat 72 arch/x86/ia32/sys_ia32.c static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) stat 76 arch/x86/ia32/sys_ia32.c SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); stat 77 arch/x86/ia32/sys_ia32.c SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); stat 79 arch/x86/ia32/sys_ia32.c __put_user(huge_encode_dev(stat->dev), &ubuf->st_dev) || stat 80 arch/x86/ia32/sys_ia32.c __put_user(stat->ino, &ubuf->__st_ino) || stat 81 arch/x86/ia32/sys_ia32.c __put_user(stat->ino, &ubuf->st_ino) || stat 82 arch/x86/ia32/sys_ia32.c __put_user(stat->mode, &ubuf->st_mode) || stat 83 arch/x86/ia32/sys_ia32.c __put_user(stat->nlink, &ubuf->st_nlink) || stat 86 arch/x86/ia32/sys_ia32.c __put_user(huge_encode_dev(stat->rdev), &ubuf->st_rdev) || stat 87 arch/x86/ia32/sys_ia32.c __put_user(stat->size, &ubuf->st_size) || stat 88 arch/x86/ia32/sys_ia32.c __put_user(stat->atime.tv_sec, &ubuf->st_atime) || stat 89 arch/x86/ia32/sys_ia32.c __put_user(stat->atime.tv_nsec, &ubuf->st_atime_nsec) || stat 90 arch/x86/ia32/sys_ia32.c __put_user(stat->mtime.tv_sec, &ubuf->st_mtime) || stat 91 arch/x86/ia32/sys_ia32.c __put_user(stat->mtime.tv_nsec, &ubuf->st_mtime_nsec) || stat 92 arch/x86/ia32/sys_ia32.c __put_user(stat->ctime.tv_sec, &ubuf->st_ctime) || stat 93 arch/x86/ia32/sys_ia32.c __put_user(stat->ctime.tv_nsec, &ubuf->st_ctime_nsec) || stat 94 arch/x86/ia32/sys_ia32.c __put_user(stat->blksize, &ubuf->st_blksize) || stat 95 arch/x86/ia32/sys_ia32.c __put_user(stat->blocks, &ubuf->st_blocks)) stat 103 arch/x86/ia32/sys_ia32.c struct kstat stat; stat 104 arch/x86/ia32/sys_ia32.c int ret = vfs_stat(filename, &stat); stat 107 arch/x86/ia32/sys_ia32.c ret = cp_stat64(statbuf, &stat); stat 114 arch/x86/ia32/sys_ia32.c struct kstat stat; stat 115 arch/x86/ia32/sys_ia32.c int ret = vfs_lstat(filename, &stat); stat 117 arch/x86/ia32/sys_ia32.c ret = cp_stat64(statbuf, &stat); stat 124 arch/x86/ia32/sys_ia32.c struct kstat stat; stat 125 arch/x86/ia32/sys_ia32.c int ret = vfs_fstat(fd, &stat); stat 127 arch/x86/ia32/sys_ia32.c ret = cp_stat64(statbuf, &stat); stat 135 arch/x86/ia32/sys_ia32.c struct kstat stat; stat 138 arch/x86/ia32/sys_ia32.c error = vfs_fstatat(dfd, filename, &stat, flag); stat 141 arch/x86/ia32/sys_ia32.c return cp_stat64(statbuf, &stat); stat 1550 arch/x86/kvm/hyperv.c ++vcpu->stat.hypercalls; stat 1238 arch/x86/kvm/mmu.c ++kvm->stat.nx_lpage_splits; stat 1263 arch/x86/kvm/mmu.c --kvm->stat.nx_lpage_splits; stat 1609 arch/x86/kvm/mmu.c --kvm->stat.lpages; stat 2331 arch/x86/kvm/mmu.c --kvm->stat.mmu_unsync; stat 2608 arch/x86/kvm/mmu.c ++vcpu->kvm->stat.mmu_cache_miss; stat 2635 arch/x86/kvm/mmu.c if (collisions > vcpu->kvm->stat.max_mmu_page_hash_collisions) stat 2636 arch/x86/kvm/mmu.c vcpu->kvm->stat.max_mmu_page_hash_collisions = collisions; stat 2759 arch/x86/kvm/mmu.c --kvm->stat.lpages; stat 2823 arch/x86/kvm/mmu.c ++kvm->stat.mmu_shadow_zapped; stat 2957 arch/x86/kvm/mmu.c ++vcpu->kvm->stat.mmu_unsync; stat 3206 arch/x86/kvm/mmu.c ++vcpu->kvm->stat.lpages; stat 3365 arch/x86/kvm/mmu.c ++vcpu->stat.pf_fixed; stat 5308 arch/x86/kvm/mmu.c ++vcpu->kvm->stat.mmu_pde_zapped; stat 5312 arch/x86/kvm/mmu.c ++vcpu->kvm->stat.mmu_pte_updated; stat 5464 arch/x86/kvm/mmu.c ++vcpu->kvm->stat.mmu_pte_write; stat 5471 arch/x86/kvm/mmu.c ++vcpu->kvm->stat.mmu_flooded; stat 5526 arch/x86/kvm/mmu.c ++vcpu->kvm->stat.mmu_recycled; stat 5637 arch/x86/kvm/mmu.c ++vcpu->stat.invlpg; stat 5663 arch/x86/kvm/mmu.c ++vcpu->stat.invlpg; stat 6435 arch/x86/kvm/mmu.c to_zap = ratio ? DIV_ROUND_UP(kvm->stat.nx_lpage_splits, ratio) : 0; stat 707 arch/x86/kvm/paging_tmpl.h ++vcpu->stat.pf_fixed; stat 2358 arch/x86/kvm/svm.c ++vcpu->stat.host_state_reload; stat 2930 arch/x86/kvm/svm.c ++svm->vcpu.stat.io_exits; stat 2950 arch/x86/kvm/svm.c ++svm->vcpu.stat.irq_exits; stat 3965 arch/x86/kvm/svm.c ++svm->vcpu.stat.nmi_window_exits; stat 4481 arch/x86/kvm/svm.c ++svm->vcpu.stat.irq_window_exits; stat 5103 arch/x86/kvm/svm.c ++vcpu->stat.nmi_injections; stat 5126 arch/x86/kvm/svm.c ++vcpu->stat.irq_injections; stat 1183 arch/x86/kvm/vmx/vmx.c ++vmx->vcpu.stat.host_state_reload; stat 4377 arch/x86/kvm/vmx/vmx.c ++vcpu->stat.irq_injections; stat 4414 arch/x86/kvm/vmx/vmx.c ++vcpu->stat.nmi_injections; stat 4701 arch/x86/kvm/vmx/vmx.c ++vcpu->stat.irq_exits; stat 4721 arch/x86/kvm/vmx/vmx.c ++vcpu->stat.io_exits; stat 4998 arch/x86/kvm/vmx/vmx.c ++vcpu->stat.irq_window_exits; stat 5213 arch/x86/kvm/vmx/vmx.c ++vcpu->stat.nmi_window_exits; stat 5986 arch/x86/kvm/vmx/vmx.c vcpu->stat.l1d_flush++; stat 97 arch/x86/kvm/x86.c #define VM_STAT(x, ...) offsetof(struct kvm, stat.x), KVM_STAT_VM, ## __VA_ARGS__ stat 98 arch/x86/kvm/x86.c #define VCPU_STAT(x, ...) offsetof(struct kvm_vcpu, stat.x), KVM_STAT_VCPU, ## __VA_ARGS__ stat 593 arch/x86/kvm/x86.c ++vcpu->stat.pf_guest; stat 2643 arch/x86/kvm/x86.c ++vcpu->stat.tlb_flush; stat 6407 arch/x86/kvm/x86.c ++vcpu->stat.insn_emulation_fail; stat 6734 arch/x86/kvm/x86.c ++vcpu->stat.insn_emulation; stat 6818 arch/x86/kvm/x86.c ++vcpu->stat.mmio_exits; stat 7349 arch/x86/kvm/x86.c ++vcpu->stat.halt_exits; stat 7510 arch/x86/kvm/x86.c ++vcpu->stat.hypercalls; stat 8137 arch/x86/kvm/x86.c ++vcpu->stat.req_event; stat 8296 arch/x86/kvm/x86.c ++vcpu->stat.exits; stat 8409 arch/x86/kvm/x86.c ++vcpu->stat.request_irq_exits; stat 8418 arch/x86/kvm/x86.c ++vcpu->stat.signal_exits; stat 8555 arch/x86/kvm/x86.c ++vcpu->stat.fpu_reload; stat 8579 arch/x86/kvm/x86.c ++vcpu->stat.signal_exits; stat 234 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat = bcp->statp; stat 236 arch/x86/platform/uv/tlb_uv.c stat->d_retries++; stat 267 arch/x86/platform/uv/tlb_uv.c stat->d_canceled++; stat 275 arch/x86/platform/uv/tlb_uv.c stat->d_nocanceled++; stat 288 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat = bcp->statp; stat 297 arch/x86/platform/uv/tlb_uv.c stat->d_alltlb++; stat 300 arch/x86/platform/uv/tlb_uv.c stat->d_onetlb++; stat 302 arch/x86/platform/uv/tlb_uv.c stat->d_requestee++; stat 376 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat = bcp->statp; stat 378 arch/x86/platform/uv/tlb_uv.c stat->d_resets++; stat 407 arch/x86/platform/uv/tlb_uv.c stat->d_rcanceled++; stat 534 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat = bcp->statp; stat 546 arch/x86/platform/uv/tlb_uv.c stat->s_stimeout++; stat 549 arch/x86/platform/uv/tlb_uv.c stat->s_dtimeout++; stat 593 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat = bcp->statp; stat 595 arch/x86/platform/uv/tlb_uv.c stat->s_uv2_wars++; stat 609 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat = bcp->statp; stat 623 arch/x86/platform/uv/tlb_uv.c stat->s_stimeout++; stat 639 arch/x86/platform/uv/tlb_uv.c stat->s_plugged++; stat 643 arch/x86/platform/uv/tlb_uv.c stat->s_dtimeout++; stat 673 arch/x86/platform/uv/tlb_uv.c u64 stat; stat 675 arch/x86/platform/uv/tlb_uv.c stat = ((read_lmmr(status_mmr) >> index) & UV_ACT_STATUS_MASK) << 1; stat 676 arch/x86/platform/uv/tlb_uv.c stat |= (read_lmmr(UVH_LB_BAU_SB_ACTIVATION_STATUS_2) >> desc) & 0x1; stat 678 arch/x86/platform/uv/tlb_uv.c return stat; stat 684 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat = bcp->statp; stat 696 arch/x86/platform/uv/tlb_uv.c stat->s_stimeout++; stat 700 arch/x86/platform/uv/tlb_uv.c stat->s_dtimeout++; stat 705 arch/x86/platform/uv/tlb_uv.c stat->s_plugged++; stat 730 arch/x86/platform/uv/tlb_uv.c struct bau_control *hmaster, struct ptc_stats *stat) stat 747 arch/x86/platform/uv/tlb_uv.c stat->s_resets_plug++; stat 753 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat) stat 769 arch/x86/platform/uv/tlb_uv.c stat->s_resets_timeout++; stat 777 arch/x86/platform/uv/tlb_uv.c static void disable_for_period(struct bau_control *bcp, struct ptc_stats *stat) stat 787 arch/x86/platform/uv/tlb_uv.c stat->s_bau_disabled++; stat 801 arch/x86/platform/uv/tlb_uv.c static void count_max_concurr(int stat, struct bau_control *bcp, stat 806 arch/x86/platform/uv/tlb_uv.c if (stat != FLUSH_COMPLETE) stat 816 arch/x86/platform/uv/tlb_uv.c struct bau_control *bcp, struct ptc_stats *stat, stat 823 arch/x86/platform/uv/tlb_uv.c stat->s_time += elapsed; stat 832 arch/x86/platform/uv/tlb_uv.c stat->s_congested++; stat 833 arch/x86/platform/uv/tlb_uv.c disable_for_period(bcp, stat); stat 837 arch/x86/platform/uv/tlb_uv.c stat->s_requestor--; stat 840 arch/x86/platform/uv/tlb_uv.c stat->s_retriesok++; stat 842 arch/x86/platform/uv/tlb_uv.c stat->s_giveup++; stat 849 arch/x86/platform/uv/tlb_uv.c disable_for_period(bcp, stat); stat 850 arch/x86/platform/uv/tlb_uv.c stat->s_giveuplimit++; stat 859 arch/x86/platform/uv/tlb_uv.c static void uv1_throttle(struct bau_control *hmaster, struct ptc_stats *stat) stat 866 arch/x86/platform/uv/tlb_uv.c stat->s_throttles++; stat 878 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat) stat 881 arch/x86/platform/uv/tlb_uv.c destination_plugged(bau_desc, bcp, hmaster, stat); stat 883 arch/x86/platform/uv/tlb_uv.c destination_timeout(bau_desc, bcp, hmaster, stat); stat 907 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat = bcp->statp; stat 914 arch/x86/platform/uv/tlb_uv.c uv1_throttle(hmaster, stat); stat 939 arch/x86/platform/uv/tlb_uv.c stat->s_retry_messages++; stat 954 arch/x86/platform/uv/tlb_uv.c handle_cmplt(completion_stat, bau_desc, bcp, hmaster, stat); stat 958 arch/x86/platform/uv/tlb_uv.c stat->s_overipilimit++; stat 975 arch/x86/platform/uv/tlb_uv.c record_send_stats(time1, time2, bcp, stat, completion_stat, try); stat 988 arch/x86/platform/uv/tlb_uv.c static int check_enable(struct bau_control *bcp, struct ptc_stats *stat) stat 997 arch/x86/platform/uv/tlb_uv.c stat->s_bau_reenabled++; stat 1014 arch/x86/platform/uv/tlb_uv.c static void record_send_statistics(struct ptc_stats *stat, int locals, int hubs, stat 1017 arch/x86/platform/uv/tlb_uv.c stat->s_requestor++; stat 1018 arch/x86/platform/uv/tlb_uv.c stat->s_ntargcpu += remotes + locals; stat 1019 arch/x86/platform/uv/tlb_uv.c stat->s_ntargremotes += remotes; stat 1020 arch/x86/platform/uv/tlb_uv.c stat->s_ntarglocals += locals; stat 1025 arch/x86/platform/uv/tlb_uv.c stat->s_ntarglocaluvhub++; stat 1026 arch/x86/platform/uv/tlb_uv.c stat->s_ntargremoteuvhub += (hubs - 1); stat 1028 arch/x86/platform/uv/tlb_uv.c stat->s_ntargremoteuvhub += hubs; stat 1030 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub += hubs; stat 1033 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub16++; stat 1035 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub8++; stat 1037 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub4++; stat 1039 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub2++; stat 1041 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub1++; stat 1109 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat; stat 1118 arch/x86/platform/uv/tlb_uv.c stat = bcp->statp; stat 1119 arch/x86/platform/uv/tlb_uv.c stat->s_enters++; stat 1133 arch/x86/platform/uv/tlb_uv.c if (check_enable(bcp, stat)) { stat 1134 arch/x86/platform/uv/tlb_uv.c stat->s_ipifordisabled++; stat 1149 arch/x86/platform/uv/tlb_uv.c stat->s_ntargself++; stat 1157 arch/x86/platform/uv/tlb_uv.c record_send_statistics(stat, locals, hubs, remotes, bau_desc); stat 1281 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat; stat 1289 arch/x86/platform/uv/tlb_uv.c stat = bcp->statp; stat 1311 arch/x86/platform/uv/tlb_uv.c stat->d_time += (get_cycles() - time_start); stat 1313 arch/x86/platform/uv/tlb_uv.c stat->d_nomsg++; stat 1315 arch/x86/platform/uv/tlb_uv.c stat->d_multmsg++; stat 1398 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat; stat 1423 arch/x86/platform/uv/tlb_uv.c stat = bcp->statp; stat 1427 arch/x86/platform/uv/tlb_uv.c cpu, bcp->nobau, stat->s_requestor, stat 1428 arch/x86/platform/uv/tlb_uv.c cycles_2_us(stat->s_time), stat 1429 arch/x86/platform/uv/tlb_uv.c stat->s_ntargself, stat->s_ntarglocals, stat 1430 arch/x86/platform/uv/tlb_uv.c stat->s_ntargremotes, stat->s_ntargcpu, stat 1431 arch/x86/platform/uv/tlb_uv.c stat->s_ntarglocaluvhub, stat->s_ntargremoteuvhub, stat 1432 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub, stat->s_ntarguvhub16); stat 1434 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub8, stat->s_ntarguvhub4, stat 1435 arch/x86/platform/uv/tlb_uv.c stat->s_ntarguvhub2, stat->s_ntarguvhub1, stat 1436 arch/x86/platform/uv/tlb_uv.c stat->s_dtimeout, stat->s_strongnacks); stat 1438 arch/x86/platform/uv/tlb_uv.c stat->s_retry_messages, stat->s_retriesok, stat 1439 arch/x86/platform/uv/tlb_uv.c stat->s_resets_plug, stat->s_resets_timeout, stat 1440 arch/x86/platform/uv/tlb_uv.c stat->s_giveup, stat->s_stimeout, stat 1441 arch/x86/platform/uv/tlb_uv.c stat->s_busy, stat->s_throttles); stat 1443 arch/x86/platform/uv/tlb_uv.c stat->s_bau_disabled, stat->s_bau_reenabled, stat 1444 arch/x86/platform/uv/tlb_uv.c stat->s_uv2_wars, stat->s_uv2_wars_hw, stat 1445 arch/x86/platform/uv/tlb_uv.c stat->s_uv2_war_waits, stat->s_enters, stat 1446 arch/x86/platform/uv/tlb_uv.c stat->s_ipifordisabled, stat->s_plugged, stat 1447 arch/x86/platform/uv/tlb_uv.c stat->s_overipilimit, stat->s_giveuplimit, stat 1448 arch/x86/platform/uv/tlb_uv.c stat->s_congested); stat 1454 arch/x86/platform/uv/tlb_uv.c stat->d_requestee, cycles_2_us(stat->d_time), stat 1455 arch/x86/platform/uv/tlb_uv.c stat->d_alltlb, stat->d_onetlb, stat->d_multmsg, stat 1456 arch/x86/platform/uv/tlb_uv.c stat->d_nomsg, stat->d_retries, stat->d_canceled, stat 1457 arch/x86/platform/uv/tlb_uv.c stat->d_nocanceled, stat->d_resets, stat 1458 arch/x86/platform/uv/tlb_uv.c stat->d_rcanceled); stat 1502 arch/x86/platform/uv/tlb_uv.c struct ptc_stats *stat; stat 1531 arch/x86/platform/uv/tlb_uv.c stat = &per_cpu(ptcstats, cpu); stat 1532 arch/x86/platform/uv/tlb_uv.c memset(stat, 0, sizeof(struct ptc_stats)); stat 19 block/bfq-cgroup.c static int bfq_stat_init(struct bfq_stat *stat, gfp_t gfp) stat 23 block/bfq-cgroup.c ret = percpu_counter_init(&stat->cpu_cnt, 0, gfp); stat 27 block/bfq-cgroup.c atomic64_set(&stat->aux_cnt, 0); stat 31 block/bfq-cgroup.c static void bfq_stat_exit(struct bfq_stat *stat) stat 33 block/bfq-cgroup.c percpu_counter_destroy(&stat->cpu_cnt); stat 44 block/bfq-cgroup.c static inline void bfq_stat_add(struct bfq_stat *stat, uint64_t val) stat 46 block/bfq-cgroup.c percpu_counter_add_batch(&stat->cpu_cnt, val, BLKG_STAT_CPU_BATCH); stat 53 block/bfq-cgroup.c static inline uint64_t bfq_stat_read(struct bfq_stat *stat) stat 55 block/bfq-cgroup.c return percpu_counter_sum_positive(&stat->cpu_cnt); stat 62 block/bfq-cgroup.c static inline void bfq_stat_reset(struct bfq_stat *stat) stat 64 block/bfq-cgroup.c percpu_counter_set(&stat->cpu_cnt, 0); stat 65 block/bfq-cgroup.c atomic64_set(&stat->aux_cnt, 0); stat 1113 block/bfq-cgroup.c struct bfq_stat *stat; stat 1118 block/bfq-cgroup.c stat = (void *)blkg_to_pd(pos_blkg, &blkcg_policy_bfq) + off; stat 1119 block/bfq-cgroup.c sum += bfq_stat_read(stat) + atomic64_read(&stat->aux_cnt); stat 1285 block/blk-iocost.c struct ioc_pcpu_stat *stat = per_cpu_ptr(ioc->pcpu_stat, cpu); stat 1289 block/blk-iocost.c u32 this_met = READ_ONCE(stat->missed[rw].nr_met); stat 1290 block/blk-iocost.c u32 this_missed = READ_ONCE(stat->missed[rw].nr_missed); stat 1292 block/blk-iocost.c nr_met[rw] += this_met - stat->missed[rw].last_met; stat 1293 block/blk-iocost.c nr_missed[rw] += this_missed - stat->missed[rw].last_missed; stat 1294 block/blk-iocost.c stat->missed[rw].last_met = this_met; stat 1295 block/blk-iocost.c stat->missed[rw].last_missed = this_missed; stat 1298 block/blk-iocost.c this_rq_wait_ns = READ_ONCE(stat->rq_wait_ns); stat 1299 block/blk-iocost.c rq_wait_ns += this_rq_wait_ns - stat->last_rq_wait_ns; stat 1300 block/blk-iocost.c stat->last_rq_wait_ns = this_rq_wait_ns; stat 193 block/blk-iolatency.c struct latency_stat *stat) stat 196 block/blk-iolatency.c stat->ps.total = 0; stat 197 block/blk-iolatency.c stat->ps.missed = 0; stat 199 block/blk-iolatency.c blk_rq_stat_init(&stat->rqs); stat 204 block/blk-iolatency.c struct latency_stat *stat) stat 207 block/blk-iolatency.c sum->ps.total += stat->ps.total; stat 208 block/blk-iolatency.c sum->ps.missed += stat->ps.missed; stat 210 block/blk-iolatency.c blk_rq_stat_sum(&sum->rqs, &stat->rqs); stat 216 block/blk-iolatency.c struct latency_stat *stat = get_cpu_ptr(iolat->stats); stat 219 block/blk-iolatency.c stat->ps.missed++; stat 220 block/blk-iolatency.c stat->ps.total++; stat 222 block/blk-iolatency.c blk_rq_stat_add(&stat->rqs, req_time); stat 223 block/blk-iolatency.c put_cpu_ptr(stat); stat 227 block/blk-iolatency.c struct latency_stat *stat) stat 230 block/blk-iolatency.c u64 thresh = div64_u64(stat->ps.total, 10); stat 232 block/blk-iolatency.c return stat->ps.missed < thresh; stat 234 block/blk-iolatency.c return stat->rqs.mean <= iolat->min_lat_nsec; stat 238 block/blk-iolatency.c struct latency_stat *stat) stat 241 block/blk-iolatency.c return stat->ps.total; stat 242 block/blk-iolatency.c return stat->rqs.nr_samples; stat 246 block/blk-iolatency.c struct latency_stat *stat) stat 265 block/blk-iolatency.c stat->rqs.mean); stat 525 block/blk-iolatency.c struct latency_stat stat; stat 529 block/blk-iolatency.c latency_stat_init(iolat, &stat); stat 534 block/blk-iolatency.c latency_stat_sum(iolat, &stat, s); stat 545 block/blk-iolatency.c iolat_update_total_lat_avg(iolat, &stat); stat 548 block/blk-iolatency.c if (latency_sum_ok(iolat, &stat) && stat 555 block/blk-iolatency.c latency_stat_sum(iolat, &iolat->cur_stat, &stat); stat 565 block/blk-iolatency.c latency_sum_ok(iolat, &stat)) { stat 891 block/blk-iolatency.c struct latency_stat stat; stat 894 block/blk-iolatency.c latency_stat_init(iolat, &stat); stat 899 block/blk-iolatency.c latency_stat_sum(iolat, &stat, s); stat 905 block/blk-iolatency.c (unsigned long long)stat.ps.missed, stat 906 block/blk-iolatency.c (unsigned long long)stat.ps.total); stat 908 block/blk-iolatency.c (unsigned long long)stat.ps.missed, stat 909 block/blk-iolatency.c (unsigned long long)stat.ps.total, stat 970 block/blk-iolatency.c struct latency_stat *stat; stat 971 block/blk-iolatency.c stat = per_cpu_ptr(iolat->stats, cpu); stat 972 block/blk-iolatency.c latency_stat_init(iolat, stat); stat 17 block/blk-mq-debugfs.c static void print_stat(struct seq_file *m, struct blk_rq_stat *stat) stat 19 block/blk-mq-debugfs.c if (stat->nr_samples) { stat 21 block/blk-mq-debugfs.c stat->nr_samples, stat->mean, stat->min, stat->max); stat 3371 block/blk-mq.c if (cb->stat[bucket].nr_samples) stat 3372 block/blk-mq.c q->poll_stat[bucket] = cb->stat[bucket]; stat 21 block/blk-stat.c void blk_rq_stat_init(struct blk_rq_stat *stat) stat 23 block/blk-stat.c stat->min = -1ULL; stat 24 block/blk-stat.c stat->max = stat->nr_samples = stat->mean = 0; stat 25 block/blk-stat.c stat->batch = 0; stat 43 block/blk-stat.c void blk_rq_stat_add(struct blk_rq_stat *stat, u64 value) stat 45 block/blk-stat.c stat->min = min(stat->min, value); stat 46 block/blk-stat.c stat->max = max(stat->max, value); stat 47 block/blk-stat.c stat->batch += value; stat 48 block/blk-stat.c stat->nr_samples++; stat 55 block/blk-stat.c struct blk_rq_stat *stat; stat 72 block/blk-stat.c stat = &get_cpu_ptr(cb->cpu_stat)[bucket]; stat 73 block/blk-stat.c blk_rq_stat_add(stat, value); stat 86 block/blk-stat.c blk_rq_stat_init(&cb->stat[bucket]); stat 93 block/blk-stat.c blk_rq_stat_sum(&cb->stat[bucket], &cpu_stat[bucket]); stat 112 block/blk-stat.c cb->stat = kmalloc_array(buckets, sizeof(struct blk_rq_stat), stat 114 block/blk-stat.c if (!cb->stat) { stat 121 block/blk-stat.c kfree(cb->stat); stat 173 block/blk-stat.c kfree(cb->stat); stat 50 block/blk-stat.h struct blk_rq_stat *stat; stat 204 block/blk-wbt.c static inline bool stat_sample_valid(struct blk_rq_stat *stat) stat 212 block/blk-wbt.c return (stat[READ].nr_samples >= 1 && stat 213 block/blk-wbt.c stat[WRITE].nr_samples >= RWB_MIN_WRITE_SAMPLES); stat 234 block/blk-wbt.c static int latency_exceeded(struct rq_wb *rwb, struct blk_rq_stat *stat) stat 251 block/blk-wbt.c (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { stat 259 block/blk-wbt.c if (!stat_sample_valid(stat)) { stat 266 block/blk-wbt.c if (stat[WRITE].nr_samples || wb_recent_wait(rwb) || stat 275 block/blk-wbt.c if (stat[READ].min > rwb->min_lat_nsec) { stat 276 block/blk-wbt.c trace_wbt_lat(bdi, stat[READ].min); stat 277 block/blk-wbt.c trace_wbt_stat(bdi, stat); stat 282 block/blk-wbt.c trace_wbt_stat(bdi, stat); stat 359 block/blk-wbt.c status = latency_exceeded(rwb, cb->stat); stat 110 block/compat_ioctl.c compat_int_t stat; stat 1192 block/genhd.c static DEVICE_ATTR(stat, 0444, part_stat_show, NULL); stat 189 block/partition-generic.c static DEVICE_ATTR(stat, 0444, part_stat_show, NULL); stat 642 block/scsi_ioctl.c cgc.stat = err; stat 700 drivers/acpi/device_pm.c enum pm_qos_flags_status stat; stat 702 drivers/acpi/device_pm.c stat = dev_pm_qos_flags(dev, PM_QOS_FLAG_NO_POWER_OFF); stat 703 drivers/acpi/device_pm.c if (stat == PM_QOS_FLAGS_ALL) stat 1754 drivers/ata/libata-eh.c u8 stat = tf->command, err = tf->feature; stat 1756 drivers/ata/libata-eh.c if ((stat & (ATA_BUSY | ATA_DRQ | ATA_DRDY)) != ATA_DRDY) { stat 1761 drivers/ata/libata-eh.c if (stat & (ATA_ERR | ATA_DF)) { stat 1767 drivers/ata/libata-eh.c if (stat & ATA_DF) stat 1768 drivers/ata/libata-eh.c stat &= ~ATA_SENSE; stat 1775 drivers/ata/libata-eh.c if (stat & ATA_SENSE) stat 888 drivers/ata/libata-scsi.c u8 stat = tf->command, err = tf->feature; stat 890 drivers/ata/libata-scsi.c pr_warn("ata%u: status=0x%02x { ", id, stat); stat 891 drivers/ata/libata-scsi.c if (stat & ATA_BUSY) { stat 894 drivers/ata/libata-scsi.c if (stat & ATA_DRDY) pr_cont("DriveReady "); stat 895 drivers/ata/libata-scsi.c if (stat & ATA_DF) pr_cont("DeviceFault "); stat 896 drivers/ata/libata-scsi.c if (stat & ATA_DSC) pr_cont("SeekComplete "); stat 897 drivers/ata/libata-scsi.c if (stat & ATA_DRQ) pr_cont("DataRequest "); stat 898 drivers/ata/libata-scsi.c if (stat & ATA_CORR) pr_cont("CorrectedError "); stat 899 drivers/ata/libata-scsi.c if (stat & ATA_SENSE) pr_cont("Sense "); stat 900 drivers/ata/libata-scsi.c if (stat & ATA_ERR) pr_cont("Error "); stat 2208 drivers/ata/sata_mv.c u8 stat = ioread8(ap->ioaddr.status_addr); stat 2212 drivers/ata/sata_mv.c if (stat & (ATA_BUSY | ATA_DRQ | ATA_ERR)) stat 2215 drivers/ata/sata_mv.c stat = ATA_BUSY; stat 2217 drivers/ata/sata_mv.c return stat; stat 163 drivers/atm/idt77252.c u32 stat; stat 165 drivers/atm/idt77252.c stat = readl(SAR_REG_STAT); stat 166 drivers/atm/idt77252.c while (stat & SAR_STAT_CMDBZ) stat 167 drivers/atm/idt77252.c stat = readl(SAR_REG_STAT); stat 1017 drivers/atm/idt77252.c u32 stat; stat 1020 drivers/atm/idt77252.c stat = le32_to_cpu(rsqe->word_4); stat 1022 drivers/atm/idt77252.c if (stat & SAR_RSQE_IDLE) { stat 1072 drivers/atm/idt77252.c for (i = (stat & SAR_RSQE_CELLCNT); i; i--) { stat 1088 drivers/atm/idt77252.c aal0 |= (stat & SAR_RSQE_EPDU) ? 0x00000002 : 0; stat 1089 drivers/atm/idt77252.c aal0 |= (stat & SAR_RSQE_CLP) ? 0x00000001 : 0; stat 1112 drivers/atm/idt77252.c skb->len = (stat & SAR_RSQE_CELLCNT) * ATM_CELL_PAYLOAD; stat 1119 drivers/atm/idt77252.c if (stat & SAR_RSQE_EPDU) { stat 1138 drivers/atm/idt77252.c if (stat & SAR_RSQE_CRC) { stat 1408 drivers/atm/idt77252.c u32 conn, stat; stat 1422 drivers/atm/idt77252.c stat = le32_to_cpu(tsqe->word_2); stat 1424 drivers/atm/idt77252.c if (stat & SAR_TSQE_INVALID) stat 1432 drivers/atm/idt77252.c switch (stat & SAR_TSQE_TYPE) { stat 1441 drivers/atm/idt77252.c if (SAR_TSQE_TAG(stat) == 0x10) { stat 1516 drivers/atm/idt77252.c stat = le32_to_cpu(tsqe->word_2); stat 1518 drivers/atm/idt77252.c } while (!(stat & SAR_TSQE_INVALID)); stat 2715 drivers/atm/idt77252.c u32 stat; stat 2717 drivers/atm/idt77252.c stat = readl(SAR_REG_STAT) & 0xffff; stat 2718 drivers/atm/idt77252.c if (!stat) /* no interrupt for us */ stat 2726 drivers/atm/idt77252.c writel(stat, SAR_REG_STAT); /* reset interrupt */ stat 2728 drivers/atm/idt77252.c if (stat & SAR_STAT_TSIF) { /* entry written to TSQ */ stat 2733 drivers/atm/idt77252.c if (stat & SAR_STAT_TXICP) { /* Incomplete CS-PDU has */ stat 2740 drivers/atm/idt77252.c if (stat & SAR_STAT_TSQF) { /* TSQ 7/8 full */ stat 2745 drivers/atm/idt77252.c if (stat & SAR_STAT_TMROF) { /* Timer overflow */ stat 2751 drivers/atm/idt77252.c if (stat & SAR_STAT_EPDU) { /* Got complete CS-PDU */ stat 2756 drivers/atm/idt77252.c if (stat & SAR_STAT_RSQAF) { /* RSQ is 7/8 full */ stat 2761 drivers/atm/idt77252.c if (stat & SAR_STAT_RSQF) { /* RSQ is full */ stat 2766 drivers/atm/idt77252.c if (stat & SAR_STAT_RAWCF) { /* Raw cell received */ stat 2772 drivers/atm/idt77252.c if (stat & SAR_STAT_PHYI) { /* PHY device interrupt */ stat 2779 drivers/atm/idt77252.c if (stat & (SAR_STAT_FBQ0A | SAR_STAT_FBQ1A | stat 2784 drivers/atm/idt77252.c INTPRINTK("%s: FBQA: %04x\n", card->name, stat); stat 2786 drivers/atm/idt77252.c if (stat & SAR_STAT_FBQ0A) stat 2788 drivers/atm/idt77252.c if (stat & SAR_STAT_FBQ1A) stat 2790 drivers/atm/idt77252.c if (stat & SAR_STAT_FBQ2A) stat 2792 drivers/atm/idt77252.c if (stat & SAR_STAT_FBQ3A) stat 2808 drivers/atm/idt77252.c u32 stat; stat 2812 drivers/atm/idt77252.c stat = readl(SAR_REG_STAT) >> 16; stat 2814 drivers/atm/idt77252.c if ((stat & 0x0f) < SAR_FBQ0_HIGH) { stat 2819 drivers/atm/idt77252.c stat >>= 4; stat 2820 drivers/atm/idt77252.c if ((stat & 0x0f) < SAR_FBQ1_HIGH) { stat 2825 drivers/atm/idt77252.c stat >>= 4; stat 2826 drivers/atm/idt77252.c if ((stat & 0x0f) < SAR_FBQ2_HIGH) { stat 2831 drivers/atm/idt77252.c stat >>= 4; stat 2832 drivers/atm/idt77252.c if ((stat & 0x0f) < SAR_FBQ3_HIGH) { stat 292 drivers/atm/idt77252.h #define SAR_TSQE_TAG(stat) (((stat) >> 24) & 0x1f) stat 1117 drivers/atm/lanai.c #define e(flag, name, stat) \ stat 1120 drivers/atm/lanai.c ++lanai->stats.pcierr_##stat; \ stat 947 drivers/atm/nicstar.c u32 stat; stat 967 drivers/atm/nicstar.c stat = readl(card->membase + STAT); stat 968 drivers/atm/nicstar.c card->sbfqc = ns_stat_sfbqc_get(stat); stat 969 drivers/atm/nicstar.c card->lbfqc = ns_stat_lfbqc_get(stat); stat 1440 drivers/atm/nicstar.c u32 stat; stat 1442 drivers/atm/nicstar.c stat = readl(card->membase + STAT); stat 1443 drivers/atm/nicstar.c card->sbfqc = ns_stat_sfbqc_get(stat); stat 1444 drivers/atm/nicstar.c card->lbfqc = ns_stat_lfbqc_get(stat); stat 1550 drivers/atm/nicstar.c u32 stat, cfg; stat 1551 drivers/atm/nicstar.c stat = readl(card->membase + STAT); stat 1553 drivers/atm/nicstar.c printk("STAT = 0x%08X CFG = 0x%08X \n", stat, cfg); stat 1565 drivers/atm/nicstar.c ns_stat_sfbqc_get(stat), card->sbpool.count, stat 1566 drivers/atm/nicstar.c ns_stat_lfbqc_get(stat), card->lbpool.count); stat 1974 drivers/atm/nicstar.c u32 stat; stat 1977 drivers/atm/nicstar.c stat = readl(card->membase + STAT); stat 1978 drivers/atm/nicstar.c card->sbfqc = ns_stat_sfbqc_get(stat); stat 1979 drivers/atm/nicstar.c card->lbfqc = ns_stat_lfbqc_get(stat); stat 2397 drivers/atm/nicstar.c u32 stat; stat 2403 drivers/atm/nicstar.c stat = readl(card->membase + STAT); stat 2408 drivers/atm/nicstar.c ns_stat_sfbqc_get(stat), card->sbnr.min, stat 2412 drivers/atm/nicstar.c ns_stat_lfbqc_get(stat), card->lbnr.min, stat 559 drivers/atm/nicstar.h #define ns_stat_sfbqc_get(stat) (((stat) & NS_STAT_SFBQC_MASK) >> 23) stat 560 drivers/atm/nicstar.h #define ns_stat_lfbqc_get(stat) (((stat) & NS_STAT_LFBQC_MASK) >> 15) stat 291 drivers/base/devtmpfs.c static int dev_mynode(struct device *dev, struct inode *inode, struct kstat *stat) stat 299 drivers/base/devtmpfs.c if (!S_ISBLK(stat->mode)) stat 302 drivers/base/devtmpfs.c if (!S_ISCHR(stat->mode)) stat 305 drivers/base/devtmpfs.c if (stat->rdev != dev->devt) stat 324 drivers/base/devtmpfs.c struct kstat stat; stat 326 drivers/base/devtmpfs.c err = vfs_getattr(&p, &stat, STATX_TYPE | STATX_MODE, stat 328 drivers/base/devtmpfs.c if (!err && dev_mynode(dev, d_inode(dentry), &stat)) { stat 336 drivers/base/devtmpfs.c newattrs.ia_mode = stat.mode & ~0777; stat 520 drivers/base/power/domain.c enum pm_qos_flags_status stat; stat 522 drivers/base/power/domain.c stat = dev_pm_qos_flags(pdd->dev, PM_QOS_FLAG_NO_POWER_OFF); stat 523 drivers/base/power/domain.c if (stat > PM_QOS_FLAGS_NONE) stat 603 drivers/block/ataflop.c int stat; stat 616 drivers/block/ataflop.c stat = !!(FDC_READ( FDCREG_STATUS ) & FDCSTAT_WPROT); stat 619 drivers/block/ataflop.c if (stat != UD.wpstat) { stat 620 drivers/block/ataflop.c DPRINT(( "wpstat[%d] = %d\n", drive, stat )); stat 621 drivers/block/ataflop.c UD.wpstat = stat; stat 1382 drivers/block/loop.c struct kstat stat; stat 1412 drivers/block/loop.c ret = vfs_getattr(&path, &stat, STATX_INO, AT_STATX_SYNC_AS_STAT); stat 1414 drivers/block/loop.c info->lo_device = huge_encode_dev(stat.dev); stat 1415 drivers/block/loop.c info->lo_inode = stat.ino; stat 1416 drivers/block/loop.c info->lo_rdevice = huge_encode_dev(stat.rdev); stat 491 drivers/block/rsxx/core.c if (card->creg_ctrl.creg_stats.stat & CREG_STAT_LOG_PENDING) stat 249 drivers/block/rsxx/cregs.c card->creg_ctrl.creg_stats.stat = ioread32(card->regmap + CREG_STAT); stat 250 drivers/block/rsxx/cregs.c cmd->status = card->creg_ctrl.creg_stats.stat; stat 660 drivers/block/rsxx/cregs.c cmd->stream, &cmd->stat); stat 681 drivers/block/rsxx/cregs.c st = put_user(cmd.stat, &ucmd->stat); stat 21 drivers/block/rsxx/rsxx.h __u32 stat; stat 131 drivers/block/rsxx/rsxx_priv.h u32 stat; stat 1309 drivers/block/skd_main.c u8 stat; stat 1375 drivers/block/skd_main.c if (cmp_status != sns->stat) stat 295 drivers/block/swim.c int stat; stat 301 drivers/block/swim.c stat = swim_read(base, handshake); stat 303 drivers/block/swim.c return (stat & SENSE) == 0; stat 300 drivers/block/swim3.c int stat; stat 304 drivers/block/swim3.c stat = in_8(&sw->status); stat 305 drivers/block/swim3.c return (stat & DATA) == 0; stat 643 drivers/block/swim3.c int stat, resid; stat 736 drivers/block/swim3.c stat = le16_to_cpu(cp->xfer_status); stat 755 drivers/block/swim3.c if ((stat & ACTIVE) == 0 || resid != 0) { stat 757 drivers/block/swim3.c swim3_err("fd dma error: stat=%x resid=%d\n", stat, resid); stat 569 drivers/block/umem.c unsigned char stat, count, syndrome, check; stat 571 drivers/block/umem.c stat = readb(card->csr_remap + MEMCTRLCMD_ERRSTATUS); stat 587 drivers/block/umem.c if (stat & 0x01) stat 591 drivers/block/umem.c if (stat & 0x02) stat 186 drivers/bluetooth/bfusb.c data->hdev->stat.byte_tx += skb->len; stat 188 drivers/bluetooth/bfusb.c data->hdev->stat.err_tx++; stat 351 drivers/bluetooth/bfusb.c data->hdev->stat.byte_rx += count; stat 462 drivers/bluetooth/bfusb.c hdev->stat.cmd_tx++; stat 465 drivers/bluetooth/bfusb.c hdev->stat.acl_tx++; stat 468 drivers/bluetooth/bfusb.c hdev->stat.sco_tx++; stat 327 drivers/bluetooth/bluecard_cs.c info->hdev->stat.byte_tx += len; stat 436 drivers/bluetooth/bluecard_cs.c info->hdev->stat.err_rx++; stat 491 drivers/bluetooth/bluecard_cs.c info->hdev->stat.byte_rx += len; stat 658 drivers/bluetooth/bluecard_cs.c hdev->stat.cmd_tx++; stat 661 drivers/bluetooth/bluecard_cs.c hdev->stat.acl_tx++; stat 664 drivers/bluetooth/bluecard_cs.c hdev->stat.sco_tx++; stat 58 drivers/bluetooth/bpa10x.c hdev->stat.byte_tx += urb->transfer_buffer_length; stat 60 drivers/bluetooth/bpa10x.c hdev->stat.err_tx++; stat 106 drivers/bluetooth/bpa10x.c hdev->stat.err_rx++; stat 303 drivers/bluetooth/bpa10x.c hdev->stat.cmd_tx++; stat 312 drivers/bluetooth/bpa10x.c hdev->stat.acl_tx++; stat 321 drivers/bluetooth/bpa10x.c hdev->stat.sco_tx++; stat 210 drivers/bluetooth/bt3c_cs.c info->hdev->stat.byte_tx += len; stat 233 drivers/bluetooth/bt3c_cs.c info->hdev->stat.byte_rx++; stat 273 drivers/bluetooth/bt3c_cs.c info->hdev->stat.err_rx++; stat 351 drivers/bluetooth/bt3c_cs.c int stat = bt3c_read(iobase, 0x7001); stat 353 drivers/bluetooth/bt3c_cs.c if ((stat & 0xff) == 0x7f) { stat 354 drivers/bluetooth/bt3c_cs.c BT_ERR("Very strange (stat=0x%04x)", stat); stat 355 drivers/bluetooth/bt3c_cs.c } else if ((stat & 0xff) != 0xff) { stat 356 drivers/bluetooth/bt3c_cs.c if (stat & 0x0020) { stat 361 drivers/bluetooth/bt3c_cs.c if (stat & 0x0001) stat 363 drivers/bluetooth/bt3c_cs.c if (stat & 0x0002) { stat 417 drivers/bluetooth/bt3c_cs.c hdev->stat.cmd_tx++; stat 420 drivers/bluetooth/bt3c_cs.c hdev->stat.acl_tx++; stat 423 drivers/bluetooth/bt3c_cs.c hdev->stat.sco_tx++; stat 440 drivers/bluetooth/btmrvl_main.c hdev->stat.cmd_tx++; stat 444 drivers/bluetooth/btmrvl_main.c hdev->stat.acl_tx++; stat 448 drivers/bluetooth/btmrvl_main.c hdev->stat.sco_tx++; stat 658 drivers/bluetooth/btmrvl_main.c priv->btmrvl_dev.hcidev->stat.err_tx++; stat 660 drivers/bluetooth/btmrvl_main.c priv->btmrvl_dev.hcidev->stat.byte_tx += skb->len; stat 848 drivers/bluetooth/btmrvl_sdio.c hdev->stat.byte_rx += buf_len; stat 859 drivers/bluetooth/btmrvl_sdio.c hdev->stat.byte_rx += buf_len; stat 873 drivers/bluetooth/btmrvl_sdio.c hdev->stat.err_rx++; stat 1392 drivers/bluetooth/btmrvl_sdio.c enum rdwr_status stat; stat 1423 drivers/bluetooth/btmrvl_sdio.c stat = btmrvl_sdio_rdwr_firmware(priv, doneflag); stat 1424 drivers/bluetooth/btmrvl_sdio.c if (stat == RDWR_STATUS_FAILURE) stat 1440 drivers/bluetooth/btmrvl_sdio.c stat = btmrvl_sdio_rdwr_firmware(priv, doneflag); stat 1441 drivers/bluetooth/btmrvl_sdio.c if (stat == RDWR_STATUS_FAILURE) stat 1489 drivers/bluetooth/btmrvl_sdio.c stat = btmrvl_sdio_rdwr_firmware(priv, doneflag); stat 1490 drivers/bluetooth/btmrvl_sdio.c if (stat == RDWR_STATUS_FAILURE) stat 1507 drivers/bluetooth/btmrvl_sdio.c if (stat != RDWR_STATUS_DONE) { stat 286 drivers/bluetooth/btmtksdio.c bdev->hdev->stat.byte_tx += skb->len; stat 317 drivers/bluetooth/btmtksdio.c bdev->hdev->stat.err_tx++; stat 469 drivers/bluetooth/btmtksdio.c bdev->hdev->stat.byte_rx += rx_size; stat 528 drivers/bluetooth/btmtksdio.c bdev->hdev->stat.err_rx++; stat 903 drivers/bluetooth/btmtksdio.c hdev->stat.cmd_tx++; stat 907 drivers/bluetooth/btmtksdio.c hdev->stat.acl_tx++; stat 911 drivers/bluetooth/btmtksdio.c hdev->stat.sco_tx++; stat 387 drivers/bluetooth/btmtkuart.c hdev->stat.byte_tx += len; stat 397 drivers/bluetooth/btmtkuart.c hdev->stat.cmd_tx++; stat 400 drivers/bluetooth/btmtkuart.c hdev->stat.acl_tx++; stat 403 drivers/bluetooth/btmtkuart.c hdev->stat.sco_tx++; stat 530 drivers/bluetooth/btmtkuart.c bdev->hdev->stat.byte_rx += count; stat 35 drivers/bluetooth/btqcomsmd.c hdev->stat.err_rx++; stat 50 drivers/bluetooth/btqcomsmd.c btq->hdev->stat.byte_rx += count; stat 59 drivers/bluetooth/btqcomsmd.c btq->hdev->stat.byte_rx += count; stat 72 drivers/bluetooth/btqcomsmd.c hdev->stat.err_tx++; stat 75 drivers/bluetooth/btqcomsmd.c hdev->stat.acl_tx++; stat 76 drivers/bluetooth/btqcomsmd.c hdev->stat.byte_tx += skb->len; stat 81 drivers/bluetooth/btqcomsmd.c hdev->stat.err_tx++; stat 84 drivers/bluetooth/btqcomsmd.c hdev->stat.cmd_tx++; stat 85 drivers/bluetooth/btqcomsmd.c hdev->stat.byte_tx += skb->len; stat 56 drivers/bluetooth/btrsi.c hdev->stat.cmd_tx++; stat 59 drivers/bluetooth/btrsi.c hdev->stat.acl_tx++; stat 62 drivers/bluetooth/btrsi.c hdev->stat.sco_tx++; stat 103 drivers/bluetooth/btrsi.c h_adapter->hdev->stat.byte_rx += skb->len; stat 84 drivers/bluetooth/btsdio.c data->hdev->stat.byte_tx += skb->len; stat 104 drivers/bluetooth/btsdio.c data->hdev->stat.err_tx++; stat 146 drivers/bluetooth/btsdio.c data->hdev->stat.byte_rx += len; stat 171 drivers/bluetooth/btsdio.c data->hdev->stat.err_rx++; stat 244 drivers/bluetooth/btsdio.c hdev->stat.cmd_tx++; stat 248 drivers/bluetooth/btsdio.c hdev->stat.acl_tx++; stat 252 drivers/bluetooth/btsdio.c hdev->stat.sco_tx++; stat 761 drivers/bluetooth/btusb.c hdev->stat.byte_rx += urb->actual_length; stat 766 drivers/bluetooth/btusb.c hdev->stat.err_rx++; stat 851 drivers/bluetooth/btusb.c hdev->stat.byte_rx += urb->actual_length; stat 856 drivers/bluetooth/btusb.c hdev->stat.err_rx++; stat 947 drivers/bluetooth/btusb.c hdev->stat.byte_rx += length; stat 952 drivers/bluetooth/btusb.c hdev->stat.err_rx++; stat 1150 drivers/bluetooth/btusb.c hdev->stat.byte_tx += urb->transfer_buffer_length; stat 1152 drivers/bluetooth/btusb.c hdev->stat.err_tx++; stat 1176 drivers/bluetooth/btusb.c hdev->stat.byte_tx += urb->transfer_buffer_length; stat 1178 drivers/bluetooth/btusb.c hdev->stat.err_tx++; stat 1444 drivers/bluetooth/btusb.c hdev->stat.cmd_tx++; stat 1452 drivers/bluetooth/btusb.c hdev->stat.acl_tx++; stat 1463 drivers/bluetooth/btusb.c hdev->stat.sco_tx++; stat 2104 drivers/bluetooth/btusb.c hdev->stat.cmd_tx++; stat 2112 drivers/bluetooth/btusb.c hdev->stat.acl_tx++; stat 2123 drivers/bluetooth/btusb.c hdev->stat.sco_tx++; stat 2563 drivers/bluetooth/btusb.c hdev->stat.byte_rx += urb->actual_length; stat 2570 drivers/bluetooth/btusb.c hdev->stat.err_rx++; stat 54 drivers/bluetooth/btwilink.c hdev->stat.cmd_tx++; stat 58 drivers/bluetooth/btwilink.c hdev->stat.acl_tx++; stat 62 drivers/bluetooth/btwilink.c hdev->stat.sco_tx++; stat 104 drivers/bluetooth/btwilink.c lhst->hdev->stat.byte_rx += skb->len; stat 258 drivers/bluetooth/btwilink.c hdev->stat.byte_tx += len; stat 171 drivers/bluetooth/dtl1_cs.c info->hdev->stat.byte_tx += len; stat 216 drivers/bluetooth/dtl1_cs.c info->hdev->stat.byte_rx++; stat 392 drivers/bluetooth/dtl1_cs.c hdev->stat.cmd_tx++; stat 396 drivers/bluetooth/dtl1_cs.c hdev->stat.acl_tx++; stat 400 drivers/bluetooth/dtl1_cs.c hdev->stat.sco_tx++; stat 85 drivers/bluetooth/hci_ldisc.c hdev->stat.cmd_tx++; stat 89 drivers/bluetooth/hci_ldisc.c hdev->stat.acl_tx++; stat 93 drivers/bluetooth/hci_ldisc.c hdev->stat.sco_tx++; stat 165 drivers/bluetooth/hci_ldisc.c hdev->stat.byte_tx += len; stat 617 drivers/bluetooth/hci_ldisc.c hu->hdev->stat.byte_rx += count; stat 33 drivers/bluetooth/hci_serdev.c hdev->stat.cmd_tx++; stat 37 drivers/bluetooth/hci_serdev.c hdev->stat.acl_tx++; stat 41 drivers/bluetooth/hci_serdev.c hdev->stat.sco_tx++; stat 77 drivers/bluetooth/hci_serdev.c hdev->stat.byte_tx += len; stat 258 drivers/bluetooth/hci_serdev.c hu->hdev->stat.byte_rx += count; stat 230 drivers/bluetooth/hci_vhci.c data->hdev->stat.byte_tx += len; stat 234 drivers/bluetooth/hci_vhci.c data->hdev->stat.cmd_tx++; stat 237 drivers/bluetooth/hci_vhci.c data->hdev->stat.acl_tx++; stat 240 drivers/bluetooth/hci_vhci.c data->hdev->stat.sco_tx++; stat 356 drivers/cdrom/cdrom.c cgc->stat = -EIO; stat 648 drivers/char/ipmi/ipmi_msghandler.c #define ipmi_inc_stat(intf, stat) \ stat 649 drivers/char/ipmi/ipmi_msghandler.c atomic_inc(&(intf)->stats[IPMI_STAT_ ## stat]) stat 650 drivers/char/ipmi/ipmi_msghandler.c #define ipmi_get_stat(intf, stat) \ stat 651 drivers/char/ipmi/ipmi_msghandler.c ((unsigned int) atomic_read(&(intf)->stats[IPMI_STAT_ ## stat])) stat 247 drivers/char/ipmi/ipmi_si_intf.c #define smi_inc_stat(smi, stat) \ stat 248 drivers/char/ipmi/ipmi_si_intf.c atomic_inc(&(smi)->stats[SI_STAT_ ## stat]) stat 249 drivers/char/ipmi/ipmi_si_intf.c #define smi_get_stat(smi, stat) \ stat 250 drivers/char/ipmi/ipmi_si_intf.c ((unsigned int) atomic_read(&(smi)->stats[SI_STAT_ ## stat])) stat 299 drivers/char/ipmi/ipmi_ssif.c #define ssif_inc_stat(ssif, stat) \ stat 300 drivers/char/ipmi/ipmi_ssif.c atomic_inc(&(ssif)->stats[SSIF_STAT_ ## stat]) stat 301 drivers/char/ipmi/ipmi_ssif.c #define ssif_get_stat(ssif, stat) \ stat 302 drivers/char/ipmi/ipmi_ssif.c ((unsigned int) atomic_read(&(ssif)->stats[SSIF_STAT_ ## stat])) stat 400 drivers/clk/nxp/clk-lpc18xx-cgu.c u32 ctrl, stat, m; stat 434 drivers/clk/nxp/clk-lpc18xx-cgu.c stat = readl(pll->reg + LPC18XX_CGU_PLL0USB_STAT); stat 435 drivers/clk/nxp/clk-lpc18xx-cgu.c if (stat & LPC18XX_PLL0_STAT_LOCK) { stat 460 drivers/clk/nxp/clk-lpc18xx-cgu.c u32 stat, ctrl; stat 462 drivers/clk/nxp/clk-lpc18xx-cgu.c stat = readl(pll->reg + LPC18XX_CGU_PLL1_STAT); stat 241 drivers/crypto/axis/artpec6_crypto.c u32 stat[PDMA_DESCR_COUNT] __aligned(64); stat 662 drivers/crypto/axis/artpec6_crypto.c dma->stat[dma->in_cnt - 1] = 0; stat 669 drivers/crypto/axis/artpec6_crypto.c dma->stat, stat 670 drivers/crypto/axis/artpec6_crypto.c sizeof(dma->stat[0]) * dma->in_cnt, stat 2103 drivers/crypto/axis/artpec6_crypto.c u32 stat; stat 2112 drivers/crypto/axis/artpec6_crypto.c stat = req->dma->stat[req->dma->in_cnt-1]; stat 2117 drivers/crypto/axis/artpec6_crypto.c pr_debug("Request %p status is %X\n", req, stat); stat 2118 drivers/crypto/axis/artpec6_crypto.c if (!stat) stat 399 drivers/crypto/chelsio/chcr_ipsec.c eoq = (void *)q->q.stat - pos; stat 446 drivers/crypto/chelsio/chcr_ipsec.c left = (void *)q->q.stat - pos; stat 491 drivers/crypto/chelsio/chcr_ipsec.c eoq = (void *)q->q.stat - pos; stat 731 drivers/crypto/chelsio/chcr_ipsec.c left = (u8 *)end - (u8 *)q->q.stat; stat 734 drivers/crypto/chelsio/chcr_ipsec.c if (pos == (u64 *)q->q.stat) { stat 735 drivers/crypto/chelsio/chcr_ipsec.c left = (u8 *)end - (u8 *)q->q.stat; stat 1045 drivers/crypto/inside-secure/safexcel.c u32 status, stat; stat 1053 drivers/crypto/inside-secure/safexcel.c stat = readl(EIP197_HIA_RDR(priv, ring) + EIP197_HIA_xDR_STAT); stat 1055 drivers/crypto/inside-secure/safexcel.c if (unlikely(stat & EIP197_xDR_ERR)) { stat 1062 drivers/crypto/inside-secure/safexcel.c } else if (likely(stat & EIP197_xDR_THRESH)) { stat 1067 drivers/crypto/inside-secure/safexcel.c writel(stat & 0xff, stat 482 drivers/crypto/inside-secure/safexcel.h u8 stat:2; stat 137 drivers/crypto/inside-secure/safexcel_cipher.c token[0].stat = EIP197_TOKEN_STAT_LAST_PACKET | stat 160 drivers/crypto/inside-secure/safexcel_cipher.c token[12].stat = EIP197_TOKEN_STAT_LAST_HASH | stat 173 drivers/crypto/inside-secure/safexcel_cipher.c token[12].stat = EIP197_TOKEN_STAT_LAST_HASH | stat 180 drivers/crypto/inside-secure/safexcel_cipher.c token[13].stat = EIP197_TOKEN_STAT_LAST_HASH | stat 193 drivers/crypto/inside-secure/safexcel_cipher.c token[10].stat = EIP197_TOKEN_STAT_LAST_HASH; stat 199 drivers/crypto/inside-secure/safexcel_cipher.c token[6].stat = EIP197_TOKEN_STAT_LAST_HASH; stat 255 drivers/crypto/inside-secure/safexcel_cipher.c token[10].stat = 0; stat 260 drivers/crypto/inside-secure/safexcel_cipher.c token[11].stat = EIP197_TOKEN_STAT_LAST_HASH; stat 263 drivers/crypto/inside-secure/safexcel_cipher.c token[7].stat = EIP197_TOKEN_STAT_LAST_HASH; stat 67 drivers/crypto/inside-secure/safexcel_hash.c token[0].stat = EIP197_TOKEN_STAT_LAST_HASH; stat 72 drivers/crypto/inside-secure/safexcel_hash.c token[1].stat = EIP197_TOKEN_STAT_LAST_HASH | stat 173 drivers/crypto/mxs-dcp.c uint32_t stat; stat 199 drivers/crypto/mxs-dcp.c stat = readl(sdcp->base + MXS_DCP_CH_N_STAT(chan)); stat 200 drivers/crypto/mxs-dcp.c if (stat & 0xff) { stat 202 drivers/crypto/mxs-dcp.c chan, stat); stat 963 drivers/crypto/mxs-dcp.c uint32_t stat; stat 966 drivers/crypto/mxs-dcp.c stat = readl(sdcp->base + MXS_DCP_STAT); stat 967 drivers/crypto/mxs-dcp.c stat &= MXS_DCP_STAT_IRQ_MASK; stat 968 drivers/crypto/mxs-dcp.c if (!stat) stat 972 drivers/crypto/mxs-dcp.c writel(stat, sdcp->base + MXS_DCP_STAT_CLR); stat 976 drivers/crypto/mxs-dcp.c if (stat & (1 << i)) stat 78 drivers/crypto/qat/qat_common/adf_vf_isr.c int stat = pci_enable_msi(pci_dev_info->pci_dev); stat 80 drivers/crypto/qat/qat_common/adf_vf_isr.c if (stat) { stat 83 drivers/crypto/qat/qat_common/adf_vf_isr.c return stat; stat 90 drivers/crypto/qat/qat_common/adf_vf_isr.c return stat; stat 1113 drivers/crypto/qat/qat_common/qat_hal.c int stat = 0; stat 1125 drivers/crypto/qat/qat_common/qat_hal.c stat = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, inst_num, 1, stat 1127 drivers/crypto/qat/qat_common/qat_hal.c if (stat != 0) stat 1147 drivers/crypto/qat/qat_common/qat_hal.c int stat = 0; stat 1173 drivers/crypto/qat/qat_common/qat_hal.c stat = qat_hal_exec_micro_init_lm(handle, ae, 0, &first_exec, stat 1178 drivers/crypto/qat/qat_common/qat_hal.c return stat; stat 1284 drivers/crypto/qat/qat_common/qat_hal.c int stat = 0; stat 1290 drivers/crypto/qat/qat_common/qat_hal.c stat = qat_hal_put_rel_wr_xfer(handle, ae, ctx, ICP_NEIGH_REL, nn, val); stat 1292 drivers/crypto/qat/qat_common/qat_hal.c return stat; stat 1321 drivers/crypto/qat/qat_common/qat_hal.c int stat = 0; stat 1340 drivers/crypto/qat/qat_common/qat_hal.c stat = qat_hal_wr_rel_reg(handle, ae, ctx, type, reg, regdata); stat 1341 drivers/crypto/qat/qat_common/qat_hal.c if (stat) { stat 1355 drivers/crypto/qat/qat_common/qat_hal.c int stat = 0; stat 1374 drivers/crypto/qat/qat_common/qat_hal.c stat = qat_hal_put_rel_wr_xfer(handle, ae, ctx, type, reg, stat 1376 drivers/crypto/qat/qat_common/qat_hal.c if (stat) { stat 1390 drivers/crypto/qat/qat_common/qat_hal.c int stat = 0; stat 1409 drivers/crypto/qat/qat_common/qat_hal.c stat = qat_hal_put_rel_rd_xfer(handle, ae, ctx, type, reg, stat 1411 drivers/crypto/qat/qat_common/qat_hal.c if (stat) { stat 1424 drivers/crypto/qat/qat_common/qat_hal.c int stat = 0; stat 1433 drivers/crypto/qat/qat_common/qat_hal.c stat = qat_hal_put_rel_nn(handle, ae, ctx, reg_num, regdata); stat 1434 drivers/crypto/qat/qat_common/qat_hal.c if (stat) { stat 1292 drivers/crypto/sahara.c unsigned int stat = sahara_read(dev, SAHARA_REG_STATUS); stat 1298 drivers/crypto/sahara.c sahara_decode_status(dev, stat); stat 1300 drivers/crypto/sahara.c if (SAHARA_STATUS_GET_STATE(stat) == SAHARA_STATE_BUSY) { stat 1302 drivers/crypto/sahara.c } else if (SAHARA_STATUS_GET_STATE(stat) == SAHARA_STATE_COMPLETE) { stat 120 drivers/devfreq/exynos-bus.c struct devfreq_dev_status *stat) stat 126 drivers/devfreq/exynos-bus.c stat->current_frequency = bus->curr_freq; stat 130 drivers/devfreq/exynos-bus.c stat->total_time = stat->busy_time = 0; stat 134 drivers/devfreq/exynos-bus.c stat->busy_time = (edata.load_count * 100) / bus->ratio; stat 135 drivers/devfreq/exynos-bus.c stat->total_time = edata.total_count; stat 137 drivers/devfreq/exynos-bus.c dev_dbg(dev, "Usage of devfreq-event : %lu/%lu\n", stat->busy_time, stat 138 drivers/devfreq/exynos-bus.c stat->total_time); stat 22 drivers/devfreq/governor_simpleondemand.c struct devfreq_dev_status *stat; stat 32 drivers/devfreq/governor_simpleondemand.c stat = &df->last_status; stat 45 drivers/devfreq/governor_simpleondemand.c if (stat->total_time == 0) { stat 51 drivers/devfreq/governor_simpleondemand.c if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { stat 52 drivers/devfreq/governor_simpleondemand.c stat->busy_time >>= 7; stat 53 drivers/devfreq/governor_simpleondemand.c stat->total_time >>= 7; stat 57 drivers/devfreq/governor_simpleondemand.c if (stat->busy_time * 100 > stat 58 drivers/devfreq/governor_simpleondemand.c stat->total_time * dfso_upthreshold) { stat 64 drivers/devfreq/governor_simpleondemand.c if (stat->current_frequency == 0) { stat 70 drivers/devfreq/governor_simpleondemand.c if (stat->busy_time * 100 > stat 71 drivers/devfreq/governor_simpleondemand.c stat->total_time * (dfso_upthreshold - dfso_downdifferential)) { stat 72 drivers/devfreq/governor_simpleondemand.c *freq = stat->current_frequency; stat 77 drivers/devfreq/governor_simpleondemand.c a = stat->busy_time; stat 78 drivers/devfreq/governor_simpleondemand.c a *= stat->current_frequency; stat 79 drivers/devfreq/governor_simpleondemand.c b = div_u64(a, stat->total_time); stat 164 drivers/devfreq/rk3399_dmc.c struct devfreq_dev_status *stat) stat 174 drivers/devfreq/rk3399_dmc.c stat->current_frequency = dmcfreq->rate; stat 175 drivers/devfreq/rk3399_dmc.c stat->busy_time = edata.load_count; stat 176 drivers/devfreq/rk3399_dmc.c stat->total_time = edata.total_count; stat 70 drivers/devfreq/tegra20-devfreq.c struct devfreq_dev_status *stat) stat 84 drivers/devfreq/tegra20-devfreq.c stat->busy_time = readl_relaxed(tegra->regs + MC_STAT_EMC_COUNT); stat 85 drivers/devfreq/tegra20-devfreq.c stat->total_time = readl_relaxed(tegra->regs + MC_STAT_EMC_CLOCKS) / 8; stat 86 drivers/devfreq/tegra20-devfreq.c stat->current_frequency = clk_get_rate(tegra->emc_clock); stat 483 drivers/devfreq/tegra30-devfreq.c struct devfreq_dev_status *stat) stat 492 drivers/devfreq/tegra30-devfreq.c stat->private_data = tegra; stat 495 drivers/devfreq/tegra30-devfreq.c stat->current_frequency = cur_freq * KHZ; stat 500 drivers/devfreq/tegra30-devfreq.c stat->busy_time = device_readl(actmon_dev, ACTMON_DEV_AVG_COUNT); stat 503 drivers/devfreq/tegra30-devfreq.c stat->busy_time *= 100 / BUS_SATURATION_RATIO; stat 506 drivers/devfreq/tegra30-devfreq.c stat->total_time = ACTMON_SAMPLING_PERIOD * cur_freq; stat 508 drivers/devfreq/tegra30-devfreq.c stat->busy_time = min(stat->busy_time, stat->total_time); stat 522 drivers/devfreq/tegra30-devfreq.c struct devfreq_dev_status *stat; stat 533 drivers/devfreq/tegra30-devfreq.c stat = &devfreq->last_status; stat 535 drivers/devfreq/tegra30-devfreq.c tegra = stat->private_data; stat 915 drivers/dma/fsldma.c u32 stat; stat 918 drivers/dma/fsldma.c stat = get_sr(chan); stat 919 drivers/dma/fsldma.c set_sr(chan, stat); stat 920 drivers/dma/fsldma.c chan_dbg(chan, "irq: stat = 0x%x\n", stat); stat 923 drivers/dma/fsldma.c stat &= ~(FSL_DMA_SR_CB | FSL_DMA_SR_CH); stat 924 drivers/dma/fsldma.c if (!stat) stat 927 drivers/dma/fsldma.c if (stat & FSL_DMA_SR_TE) stat 935 drivers/dma/fsldma.c if (stat & FSL_DMA_SR_PE) { stat 937 drivers/dma/fsldma.c stat &= ~FSL_DMA_SR_PE; stat 946 drivers/dma/fsldma.c if (stat & FSL_DMA_SR_EOCDI) { stat 948 drivers/dma/fsldma.c stat &= ~FSL_DMA_SR_EOCDI; stat 956 drivers/dma/fsldma.c if (stat & FSL_DMA_SR_EOLNI) { stat 958 drivers/dma/fsldma.c stat &= ~FSL_DMA_SR_EOLNI; stat 966 drivers/dma/fsldma.c if (stat) stat 967 drivers/dma/fsldma.c chan_err(chan, "irq: unhandled sr 0x%08x\n", stat); stat 853 drivers/dma/imx-sdma.c unsigned long stat; stat 855 drivers/dma/imx-sdma.c stat = readl_relaxed(sdma->regs + SDMA_H_INTR); stat 856 drivers/dma/imx-sdma.c writel_relaxed(stat, sdma->regs + SDMA_H_INTR); stat 858 drivers/dma/imx-sdma.c stat &= ~1; stat 860 drivers/dma/imx-sdma.c while (stat) { stat 861 drivers/dma/imx-sdma.c int channel = fls(stat) - 1; stat 878 drivers/dma/imx-sdma.c __clear_bit(channel, &stat); stat 152 drivers/dma/ipu/ipu_idmac.c uint32_t stat = TASK_STAT_IDLE; stat 157 drivers/dma/ipu/ipu_idmac.c stat = (task_stat_reg & TSTAT_CSI2MEM_MASK) >> stat 166 drivers/dma/ipu/ipu_idmac.c return stat; stat 215 drivers/dma/k3dma.c u32 stat = readl_relaxed(d->base + INT_STAT); stat 222 drivers/dma/k3dma.c while (stat) { stat 223 drivers/dma/k3dma.c i = __ffs(stat); stat 224 drivers/dma/k3dma.c stat &= ~BIT(i); stat 1006 drivers/dma/k3dma.c u32 stat = 0; stat 1008 drivers/dma/k3dma.c stat = k3_dma_get_chan_stat(d); stat 1009 drivers/dma/k3dma.c if (stat) { stat 1011 drivers/dma/k3dma.c "chan %d is running fail to suspend\n", stat); stat 289 drivers/dma/uniphier-mdmac.c enum dma_status stat; stat 293 drivers/dma/uniphier-mdmac.c stat = dma_cookie_status(chan, cookie, txstate); stat 295 drivers/dma/uniphier-mdmac.c if (stat == DMA_COMPLETE || !txstate) stat 296 drivers/dma/uniphier-mdmac.c return stat; stat 325 drivers/dma/uniphier-mdmac.c return stat; stat 906 drivers/dma/zx_dma.c u32 stat = 0; stat 908 drivers/dma/zx_dma.c stat = zx_dma_get_chan_stat(d); stat 909 drivers/dma/zx_dma.c if (stat) { stat 911 drivers/dma/zx_dma.c "chan %d is running fail to suspend\n", stat); stat 321 drivers/edac/synopsys_edac.c struct synps_ecc_status stat; stat 364 drivers/edac/synopsys_edac.c p = &priv->stat; stat 419 drivers/edac/synopsys_edac.c p = &priv->stat; stat 545 drivers/edac/synopsys_edac.c priv->ce_cnt += priv->stat.ce_cnt; stat 546 drivers/edac/synopsys_edac.c priv->ue_cnt += priv->stat.ue_cnt; stat 547 drivers/edac/synopsys_edac.c handle_error(mci, &priv->stat); stat 574 drivers/edac/synopsys_edac.c priv->ce_cnt += priv->stat.ce_cnt; stat 575 drivers/edac/synopsys_edac.c priv->ue_cnt += priv->stat.ue_cnt; stat 576 drivers/edac/synopsys_edac.c handle_error(mci, &priv->stat); stat 1329 drivers/edac/thunderx_edac.c int lane, stat, cfg; stat 1337 drivers/edac/thunderx_edac.c for (stat = 0; stat < OCX_RX_LANE_STATS; stat++) stat 1338 drivers/edac/thunderx_edac.c readq(ocx->regs + OCX_LNE_STAT(lane, stat)); stat 213 drivers/extcon/extcon-axp288.c int ret, stat, cfg; stat 231 drivers/extcon/extcon-axp288.c ret = regmap_read(info->regmap, AXP288_BC_DET_STAT_REG, &stat); stat 235 drivers/extcon/extcon-axp288.c chrg_type = (stat & DET_STAT_MASK) >> DET_STAT_SHIFT; stat 561 drivers/firmware/arm_scpi.c int stat; stat 568 drivers/firmware/arm_scpi.c &stat, sizeof(stat)); stat 573 drivers/firmware/arm_scpi.c int stat; stat 580 drivers/firmware/arm_scpi.c &stat, sizeof(stat)); stat 596 drivers/firmware/arm_scpi.c int stat; stat 600 drivers/firmware/arm_scpi.c &stat, sizeof(stat)); stat 770 drivers/firmware/arm_scpi.c int stat; stat 777 drivers/firmware/arm_scpi.c sizeof(dev_set), &stat, sizeof(stat)); stat 278 drivers/fpga/socfpga-a10.c u32 msel, stat, mask; stat 296 drivers/fpga/socfpga-a10.c stat = socfpga_a10_fpga_read_stat(priv); stat 299 drivers/fpga/socfpga-a10.c if ((stat & mask) != mask) stat 206 drivers/fsi/fsi-core.c __be32 irq, stat; stat 219 drivers/fsi/fsi-core.c &stat, sizeof(stat)); stat 224 drivers/fsi/fsi-core.c be32_to_cpu(stat), be32_to_cpu(irq)); stat 310 drivers/fsi/fsi-master-ast-cf.c uint8_t stat; stat 328 drivers/fsi/fsi-master-ast-cf.c stat = ioread8(master->sram + CMD_STAT_REG); stat 329 drivers/fsi/fsi-master-ast-cf.c } while(stat < STAT_COMPLETE || stat == 0xff); stat 331 drivers/fsi/fsi-master-ast-cf.c if (stat == STAT_COMPLETE) stat 333 drivers/fsi/fsi-master-ast-cf.c switch(stat) { stat 112 drivers/gpio/gpio-ep93xx.c unsigned long stat; stat 123 drivers/gpio/gpio-ep93xx.c stat = readb(epg->base + EP93XX_GPIO_A_INT_STATUS); stat 124 drivers/gpio/gpio-ep93xx.c for_each_set_bit(offset, &stat, 8) stat 128 drivers/gpio/gpio-ep93xx.c stat = readb(epg->base + EP93XX_GPIO_B_INT_STATUS); stat 129 drivers/gpio/gpio-ep93xx.c for_each_set_bit(offset, &stat, 8) stat 145 drivers/gpio/gpio-ftgpio010.c unsigned long stat; stat 149 drivers/gpio/gpio-ftgpio010.c stat = readl(g->base + GPIO_INT_STAT_RAW); stat 150 drivers/gpio/gpio-ftgpio010.c if (stat) stat 151 drivers/gpio/gpio-ftgpio010.c for_each_set_bit(offset, &stat, gc->ngpio) stat 399 drivers/gpio/gpio-stmpe.c unsigned int stat = status[i]; stat 401 drivers/gpio/gpio-stmpe.c stat &= enabled; stat 402 drivers/gpio/gpio-stmpe.c if (!stat) stat 405 drivers/gpio/gpio-stmpe.c while (stat) { stat 406 drivers/gpio/gpio-stmpe.c int bit = __ffs(stat); stat 412 drivers/gpio/gpio-stmpe.c stat &= ~BIT(bit); stat 264 drivers/gpio/gpio-tc3589x.c unsigned int stat = status[i]; stat 265 drivers/gpio/gpio-tc3589x.c if (!stat) stat 268 drivers/gpio/gpio-tc3589x.c while (stat) { stat 269 drivers/gpio/gpio-tc3589x.c int bit = __ffs(stat); stat 275 drivers/gpio/gpio-tc3589x.c stat &= ~(1 << bit); stat 1110 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c int vpos, hpos, stat; stat 1136 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c stat = amdgpu_display_get_crtc_scanoutpos( stat 1142 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (((stat & (DRM_SCANOUTPOS_VALID | DRM_SCANOUTPOS_ACCURATE)) != stat 1144 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c DRM_DEBUG_VBL("Query failed! stat %d\n", stat); stat 246 drivers/gpu/drm/armada/armada_crtc.c static void armada_drm_crtc_irq(struct armada_crtc *dcrtc, u32 stat) stat 251 drivers/gpu/drm/armada/armada_crtc.c if (stat & DMA_FF_UNDERFLOW) stat 253 drivers/gpu/drm/armada/armada_crtc.c if (stat & GRA_FF_UNDERFLOW) stat 256 drivers/gpu/drm/armada/armada_crtc.c if (stat & VSYNC_IRQ) stat 260 drivers/gpu/drm/armada/armada_crtc.c if (stat & GRA_FRAME_IRQ && dcrtc->interlaced) { stat 261 drivers/gpu/drm/armada/armada_crtc.c int i = stat & GRA_FRAME_IRQ0 ? 0 : 1; stat 274 drivers/gpu/drm/armada/armada_crtc.c if (stat & dcrtc->irq_ena & DUMB_FRAMEDONE) { stat 294 drivers/gpu/drm/armada/armada_crtc.c if (stat & VSYNC_IRQ && !dcrtc->update_pending) { stat 308 drivers/gpu/drm/armada/armada_crtc.c u32 v, stat = readl_relaxed(dcrtc->base + LCD_SPU_IRQ_ISR); stat 317 drivers/gpu/drm/armada/armada_crtc.c trace_armada_drm_irq(&dcrtc->crtc, stat); stat 320 drivers/gpu/drm/armada/armada_crtc.c v = stat & dcrtc->irq_ena; stat 323 drivers/gpu/drm/armada/armada_crtc.c armada_drm_crtc_irq(dcrtc, stat); stat 16 drivers/gpu/drm/armada/armada_trace.h TP_PROTO(struct drm_crtc *crtc, u32 stat), stat 17 drivers/gpu/drm/armada/armada_trace.h TP_ARGS(crtc, stat), stat 20 drivers/gpu/drm/armada/armada_trace.h __field(u32, stat) stat 24 drivers/gpu/drm/armada/armada_trace.h __entry->stat = stat; stat 27 drivers/gpu/drm/armada/armada_trace.h __entry->crtc, __entry->stat) stat 77 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat[MHL_DST_SIZE]; stat 1590 drivers/gpu/drm/bridge/sil-sii8620.c memset(ctx->stat, 0, sizeof(ctx->stat)); stat 1611 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_CBUS_DISC_INTR0); stat 1613 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & VAL_CBUS_MHL_DISCON) stat 1616 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_RGND_READY_INT) { stat 1633 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_MHL_EST_INT) stat 1636 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_CBUS_DISC_INTR0, stat); stat 1652 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_MDT_INT_0); stat 1654 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_MDT_IDLE_AFTER_HAWB_DISABLE) stat 1659 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_MDT_RFIFO_DATA_RDY) stat 1662 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_MDT_XFIFO_EMPTY) stat 1665 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_MDT_INT_0, stat); stat 1672 drivers/gpu/drm/bridge/sil-sii8620.c mode = ctx->stat[MHL_DST_VERSION] >= 0x30 ? CM_MHL3 : CM_MHL1; stat 1689 drivers/gpu/drm/bridge/sil-sii8620.c if (ctx->stat[MHL_DST_LINK_MODE] & MHL_DST_LM_PATH_ENABLED) stat 1703 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_update_array(ctx->stat, st, MHL_DST_SIZE); stat 1706 drivers/gpu/drm/bridge/sil-sii8620.c if (ctx->stat[MHL_DST_CONNECTED_RDY] & st[MHL_DST_CONNECTED_RDY] & stat 1856 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_CBUS_INT_0); stat 1858 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & ~BIT_CBUS_HPD_CHG) stat 1859 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_CBUS_INT_0, stat & ~BIT_CBUS_HPD_CHG); stat 1861 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_CBUS_HPD_CHG) { stat 1867 drivers/gpu/drm/bridge/sil-sii8620.c stat ^= BIT_CBUS_STATUS_CBUS_HPD; stat 1873 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_CBUS_MSC_MR_WRITE_STAT) stat 1876 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_CBUS_HPD_CHG) { stat 1885 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_CBUS_MSC_MR_SET_INT) stat 1888 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_CBUS_MSC_MT_DONE) stat 1891 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_CBUS_MSC_MR_MSC_MSG) stat 1897 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_COC_INTR); stat 1899 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_COC_CALIBRATION_DONE) { stat 1912 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_COC_INTR, stat); stat 1917 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_CBUS_INT_1); stat 1919 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_CBUS_INT_1, stat); stat 1924 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_INTR9); stat 1926 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_INTR9, stat); stat 1928 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_INTR9_DEVCAP_DONE) stat 1934 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_INTR5); stat 1936 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_INTR_SCDT_CHANGE) { stat 1943 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_INTR5, stat); stat 1956 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_TRXINTH); stat 1973 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_TRXINTH, stat); stat 1978 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_EMSCINTR); stat 1980 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_EMSCINTR_SPI_DVLD) { stat 1987 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_EMSCINTR, stat); stat 1992 drivers/gpu/drm/bridge/sil-sii8620.c u8 stat = sii8620_readb(ctx, REG_INTR3); stat 1994 drivers/gpu/drm/bridge/sil-sii8620.c if (stat & BIT_DDC_CMD_DONE) { stat 2002 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_INTR3, stat); stat 273 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c unsigned stat; stat 275 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c stat = readb_relaxed(dw->data.base + HDMI_IH_AHBDMAAUD_STAT0); stat 276 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c if (!stat) stat 279 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c writeb_relaxed(stat, dw->data.base + HDMI_IH_AHBDMAAUD_STAT0); stat 282 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c if (stat & HDMI_IH_AHBDMAAUD_STAT0_DONE && substream) { stat 124 drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c unsigned int stat = dw_hdmi_read(cec, HDMI_IH_CEC_STAT0); stat 127 drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c if (stat == 0) stat 130 drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c dw_hdmi_write(cec, stat, HDMI_IH_CEC_STAT0); stat 132 drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c if (stat & CEC_STAT_ERROR_INIT) { stat 136 drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c } else if (stat & CEC_STAT_DONE) { stat 140 drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c } else if (stat & CEC_STAT_NACK) { stat 146 drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c if (stat & CEC_STAT_EOM) { stat 117 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c u8 stat; stat 309 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c int stat; stat 311 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c stat = wait_for_completion_timeout(&i2c->cmp, HZ / 10); stat 312 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c if (!stat) { stat 318 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c stat = wait_for_completion_timeout(&i2c->cmp, HZ / 10); stat 319 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c if (!stat) stat 324 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c if (i2c->stat & HDMI_IH_I2CM_STAT0_ERROR) stat 2353 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c unsigned int stat; stat 2355 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c stat = hdmi_readb(hdmi, HDMI_IH_I2CM_STAT0); stat 2356 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c if (!stat) stat 2359 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_writeb(hdmi, stat, HDMI_IH_I2CM_STAT0); stat 2361 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c i2c->stat = stat; stat 1490 drivers/gpu/drm/bridge/tc358767.c u32 stat = 0; stat 1492 drivers/gpu/drm/bridge/tc358767.c regmap_read(tc->regmap, SYSSTAT, &stat); stat 1494 drivers/gpu/drm/bridge/tc358767.c dev_err(tc->dev, "syserr %x\n", stat); stat 227 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c u32 stat; stat 229 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c stat = HDMI_READ(HDMI_HISR); stat 231 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c if (stat & HDMI_INTR_HPD) { stat 232 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c HDMI_WRITE(HDMI_HISR, stat | HDMI_INTR_HPD); stat 236 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c if (stat & HDMI_INTR_I2C_FULL) stat 239 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c if (stat & HDMI_INTR_I2C_DONE) stat 525 drivers/gpu/drm/i915/display/intel_crt.c u32 stat; stat 556 drivers/gpu/drm/i915/display/intel_crt.c stat = I915_READ(PORT_HOTPLUG_STAT); stat 557 drivers/gpu/drm/i915/display/intel_crt.c if ((stat & CRT_HOTPLUG_MONITOR_MASK) != CRT_HOTPLUG_MONITOR_NONE) stat 17183 drivers/gpu/drm/i915/display/intel_display.c u32 stat; stat 17264 drivers/gpu/drm/i915/display/intel_display.c error->pipe[i].stat = I915_READ(PIPESTAT(i)); stat 17315 drivers/gpu/drm/i915/display/intel_display.c err_printf(m, " STAT: %08x\n", error->pipe[i].stat); stat 127 drivers/gpu/drm/i915/display/intel_opregion.c u32 stat; stat 35 drivers/gpu/drm/lima/lima_pmu.c u32 stat; stat 45 drivers/gpu/drm/lima/lima_pmu.c stat = pmu_read(LIMA_PMU_STATUS); stat 48 drivers/gpu/drm/lima/lima_pmu.c if (stat) { stat 49 drivers/gpu/drm/lima/lima_pmu.c pmu_write(LIMA_PMU_POWER_UP, stat); stat 465 drivers/gpu/drm/mcde/mcde_display.c u32 stat; stat 473 drivers/gpu/drm/mcde/mcde_display.c stat = MCDE_CHNL0STAT; stat 480 drivers/gpu/drm/mcde/mcde_display.c stat = MCDE_CHNL1STAT; stat 487 drivers/gpu/drm/mcde/mcde_display.c stat = MCDE_CHNL2STAT; stat 494 drivers/gpu/drm/mcde/mcde_display.c stat = MCDE_CHNL3STAT; stat 532 drivers/gpu/drm/mcde/mcde_display.c writel(val, mcde->regs + stat); stat 569 drivers/gpu/drm/meson/meson_dw_hdmi.c u32 stat; stat 571 drivers/gpu/drm/meson/meson_dw_hdmi.c stat = dw_hdmi->data->top_read(dw_hdmi, HDMITX_TOP_INTR_STAT); stat 572 drivers/gpu/drm/meson/meson_dw_hdmi.c dw_hdmi->data->top_write(dw_hdmi, HDMITX_TOP_INTR_STAT_CLR, stat); stat 575 drivers/gpu/drm/meson/meson_dw_hdmi.c if (stat & (HDMITX_TOP_INTR_HPD_RISE | HDMITX_TOP_INTR_HPD_FALL)) { stat 576 drivers/gpu/drm/meson/meson_dw_hdmi.c dw_hdmi->irq_stat = stat; stat 581 drivers/gpu/drm/meson/meson_dw_hdmi.c if (stat & 1) stat 593 drivers/gpu/drm/meson/meson_dw_hdmi.c u32 stat = dw_hdmi->irq_stat; stat 596 drivers/gpu/drm/meson/meson_dw_hdmi.c if (stat & (HDMITX_TOP_INTR_HPD_RISE | HDMITX_TOP_INTR_HPD_FALL)) { stat 599 drivers/gpu/drm/meson/meson_dw_hdmi.c if (stat & HDMITX_TOP_INTR_HPD_RISE) stat 51 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c u32 stat = nvkm_rd32(device, 0x104f14 + base); stat 53 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c nvkm_enum_find(gk104_ce_launcherr_report, stat & 0x0000000f); stat 54 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c nvkm_warn(subdev, "LAUNCHERR %08x [%s]\n", stat, en ? en->name : ""); stat 53 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c u32 stat = nvkm_rd32(device, 0x104418 + base); stat 55 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c nvkm_enum_find(gp100_ce_launcherr_report, stat & 0x0000000f); stat 56 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c nvkm_warn(subdev, "LAUNCHERR %08x [%s]\n", stat, en ? en->name : ""); stat 86 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c u32 stat = nvkm_rd32(device, 0x102130); stat 94 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c if (stat) { stat 95 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c nvkm_snprintbf(msg, sizeof(msg), g84_cipher_intr_mask, stat); stat 97 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c "mthd %04x data %08x\n", stat, msg, stat 104 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c nvkm_wr32(device, 0x102130, stat); stat 140 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c u32 stat = nvkm_rd32(device, 0x610630); stat 141 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c if ((stat & 0x001f0000) == 0x000b0000) stat 32 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c u32 stat = nvkm_rd32(device, 0x610664 + soff); stat 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c if ((stat & 0x00070000) == 0x00040000) stat 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgv100.c u32 stat = nvkm_rd32(device, 0x610664 + soff); stat 34 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgv100.c if ((stat & 0x000f0000) == 0x00040000) stat 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 stat[6]; stat 56 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_rdaux(dp->aux, DPCD_LS02, lt->stat, 6); stat 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c lt->stat, lt->pc2stat); stat 67 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c OUTP_TRACE(&dp->outp, "status %6ph", lt->stat); stat 86 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 lane = (lt->stat[4 + (i >> 1)] >> ((i & 1) * 4)) & 0xf; stat 171 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c eq_done = !!(lt->stat[2] & DPCD_LS04_INTERLANE_ALIGN_DONE); stat 173 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; stat 201 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; stat 282 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c memset(lt.stat, 0x00, sizeof(lt.stat)); stat 455 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 stat[3]; stat 478 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_rdaux(dp->aux, DPCD_LS02, stat, 3); stat 485 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c if (stat[2] & DPCD_LS04_INTERLANE_ALIGN_DONE) { stat 487 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 lane = (stat[i >> 1] >> ((i & 1) * 4)) & 0x0f; stat 94 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c u32 stat = nvkm_rd32(device, 0x6101f0 + (chid * 12)); stat 95 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c u32 type = (stat & 0x00007000) >> 12; stat 96 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c u32 mthd = (stat & 0x00000ffc); stat 104 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c chid, stat, type, reason ? reason->name : "", stat 130 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c u32 stat = nvkm_rd32(device, 0x61008c); stat 131 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c while (stat) { stat 132 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c int chid = __ffs(stat); stat &= ~(1 << chid); stat 140 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c u32 stat = nvkm_rd32(device, 0x61009c); stat 141 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c int chid = ffs(stat) - 1; stat 148 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c u32 stat = nvkm_rd32(device, 0x6100ac); stat 149 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c if (stat & 0x00000007) { stat 150 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c disp->super = (stat & 0x00000007); stat 153 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c stat &= ~0x00000007; stat 156 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c if (stat) { stat 157 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c nvkm_warn(subdev, "intr24 %08x\n", stat); stat 158 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c nvkm_wr32(device, 0x6100ac, stat); stat 168 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c u32 stat = nvkm_rd32(device, 0x6100bc + hoff); stat 169 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c if (stat & 0x00000001) stat 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 stat = nvkm_rd32(device, 0x6107a8); stat 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat); stat 101 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 stat = nvkm_rd32(device, 0x611020 + (chid * 12)); stat 102 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 type = (stat & 0x00007000) >> 12; stat 103 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 mthd = (stat & 0x00000fff) << 2; stat 111 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c chid, stat, type, reason ? reason->name : "", stat 132 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 stat = nvkm_rd32(device, 0x611c30); stat 134 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000007) { stat 135 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c disp->super = (stat & 0x00000007); stat 138 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00000007; stat 144 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000008) stat 145 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00000008; stat 147 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000100) { stat 165 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat) stat 166 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_warn(subdev, "ctrl %08x\n", stat); stat 174 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 stat = nvkm_rd32(device, 0x611854); stat 178 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000001) { stat 181 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00000001; stat 184 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if ((mask = (stat & 0x00ff0000) >> 16)) { stat 188 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~(0x00010000 << head); stat 192 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat) { stat 193 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_warn(subdev, "exception %08x\n", stat); stat 194 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x611854, stat); stat 203 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c unsigned long stat = nvkm_rd32(device, 0x611850); stat 206 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c for_each_set_bit(wndw, &stat, disp->wndw.nr) { stat 209 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~BIT(wndw); stat 212 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat) { stat 213 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_warn(subdev, "wimm %08x\n", (u32)stat); stat 214 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x611850, stat); stat 223 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c unsigned long stat = nvkm_rd32(device, 0x61184c); stat 226 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c for_each_set_bit(wndw, &stat, disp->wndw.nr) { stat 229 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~BIT(wndw); stat 232 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat) { stat 233 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_warn(subdev, "wndw %08x\n", (u32)stat); stat 234 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x61184c, stat); stat 243 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 stat = nvkm_rd32(device, 0x611800 + (head * 0x04)); stat 246 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000003) { stat 247 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x611800 + (head * 0x04), stat & 0x00000003); stat 248 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00000003; stat 251 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000004) { stat 254 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00000004; stat 257 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat) { stat 258 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_warn(subdev, "head %08x\n", stat); stat 259 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x611800 + (head * 0x04), stat); stat 268 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 stat = nvkm_rd32(device, 0x611ec0); stat 272 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if ((mask = (stat & 0x000000ff))) { stat 275 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~BIT(head); stat 279 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000200) { stat 281 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00000200; stat 284 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000400) { stat 286 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00000400; stat 289 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00000800) { stat 291 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00000800; stat 294 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat & 0x00001000) { stat 296 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c stat &= ~0x00001000; stat 299 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c if (stat) stat 300 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_warn(subdev, "intr %08x\n", stat); stat 327 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 stat = nvkm_rd32(device, 0x002640 + (engn * 0x04)); stat 328 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 busy = (stat & 0x80000000); stat 329 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 save = (stat & 0x00100000); /* maybe? */ stat 330 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 unk0 = (stat & 0x00040000); stat 331 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 unk1 = (stat & 0x00001000); stat 332 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 chid = (stat & 0x0000007f); stat 409 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 stat = nvkm_rd32(device, 0x040108 + (unit * 0x2000)); stat 417 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 show= stat; stat 420 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x00800000) { stat 439 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c nvkm_wr32(device, 0x040108 + (unit * 0x2000), stat); stat 505 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c u32 stat = nvkm_rd32(device, 0x002100) & mask; stat 507 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x00000001) { stat 511 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c stat &= ~0x00000001; stat 514 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x00000100) { stat 517 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c stat &= ~0x00000100; stat 520 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x00010000) { stat 524 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c stat &= ~0x00010000; stat 527 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x01000000) { stat 531 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c stat &= ~0x01000000; stat 534 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x10000000) { stat 542 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c stat &= ~0x10000000; stat 545 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x20000000) { stat 553 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c stat &= ~0x20000000; stat 556 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x40000000) { stat 558 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c stat &= ~0x40000000; stat 561 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat & 0x80000000) { stat 563 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c stat &= ~0x80000000; stat 566 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c if (stat) { stat 567 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c nvkm_error(subdev, "INTR %08x\n", stat); stat 568 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c nvkm_mask(device, 0x002140, stat, 0x00000000); stat 569 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c nvkm_wr32(device, 0x002100, stat); stat 58 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c u32 stat = nvkm_rd32(device, 0x002640 + (engn * 0x08)); stat 60 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->busy = !!(stat & 0x80000000); stat 61 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->faulted = !!(stat & 0x40000000); stat 62 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->next.tsg = !!(stat & 0x10000000); stat 63 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->next.id = (stat & 0x0fff0000) >> 16; stat 64 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->chsw = !!(stat & 0x00008000); stat 65 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->save = !!(stat & 0x00004000); stat 66 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->load = !!(stat & 0x00002000); stat 67 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->prev.tsg = !!(stat & 0x00001000); stat 68 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c status->prev.id = (stat & 0x00000fff); stat 361 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c const u32 stat = nvkm_rd32(device, 0x800004 + (chid * 0x08)); stat 362 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c const u32 runl = (stat & 0x000f0000) >> 16; stat 363 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c const bool used = (stat & 0x00000001); stat 379 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_wr32(device, 0x800004 + (chid * 0x08), stat | 0x00000800); stat 635 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c u32 stat = nvkm_rd32(device, 0x00256c); stat 636 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_error(subdev, "CHSW_ERROR %08x\n", stat); stat 637 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_wr32(device, 0x00256c, stat); stat 645 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c u32 stat = nvkm_rd32(device, 0x00259c); stat 646 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_error(subdev, "DROPPED_MMU_FAULT %08x\n", stat); stat 689 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c u32 stat = nvkm_rd32(device, 0x040108 + (unit * 0x2000)) & mask; stat 695 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c u32 show = stat; stat 700 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x00800000) { stat 720 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_wr32(device, 0x040108 + (unit * 0x2000), stat); stat 738 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c u32 stat = nvkm_rd32(device, 0x040148 + (unit * 0x2000)) & mask; stat 742 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat) { stat 743 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_snprintbf(msg, sizeof(msg), gk104_fifo_pbdma_intr_1, stat); stat 745 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c unit, stat, msg, chid, stat 750 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_wr32(device, 0x040148 + (unit * 0x2000), stat); stat 779 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c u32 stat = nvkm_rd32(device, 0x002100) & mask; stat 781 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x00000001) { stat 784 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x00000001; stat 787 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x00000010) { stat 790 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x00000010; stat 793 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x00000100) { stat 796 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x00000100; stat 799 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x00010000) { stat 802 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x00010000; stat 805 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x00800000) { stat 808 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x00800000; stat 811 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x01000000) { stat 814 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x01000000; stat 817 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x08000000) { stat 820 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x08000000; stat 823 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x10000000) { stat 831 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x10000000; stat 834 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x20000000) { stat 843 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x20000000; stat 846 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x40000000) { stat 848 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x40000000; stat 851 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat & 0x80000000) { stat 854 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c stat &= ~0x80000000; stat 857 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (stat) { stat 858 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_error(subdev, "INTR %08x\n", stat); stat 859 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_mask(device, 0x002140, stat, 0x00000000); stat 860 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c nvkm_wr32(device, 0x002100, stat); stat 246 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c u32 stat = nvkm_rd32(device, NV03_PFIFO_INTR_0) & mask; stat 255 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c if (stat & NV_PFIFO_INTR_CACHE_ERROR) { stat 257 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c stat &= ~NV_PFIFO_INTR_CACHE_ERROR; stat 260 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c if (stat & NV_PFIFO_INTR_DMA_PUSHER) { stat 262 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c stat &= ~NV_PFIFO_INTR_DMA_PUSHER; stat 265 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c if (stat & NV_PFIFO_INTR_SEMAPHORE) { stat 266 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c stat &= ~NV_PFIFO_INTR_SEMAPHORE; stat 277 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c if (stat & 0x00000010) { stat 278 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c stat &= ~0x00000010; stat 282 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c if (stat & 0x40000000) { stat 285 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c stat &= ~0x40000000; stat 289 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c if (stat) { stat 290 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c nvkm_warn(subdev, "intr %08x\n", stat); stat 291 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c nvkm_mask(device, NV03_PFIFO_INTR_EN_0, stat, 0x00000000); stat 292 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c nvkm_wr32(device, NV03_PFIFO_INTR_0, stat); stat 99 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c u32 stat = status; stat 111 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c nvkm_error(subdev, "PGRAPH_VSTATUS%d: %08x [%s]\n", r, stat, msg); stat 734 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x409804); stat 735 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat == 0x00000002) stat 737 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat == 0x00000001) stat 783 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x409800); stat 784 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000020) stat 786 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000010) stat 1260 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0508)); stat 1262 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000001) { stat 1266 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000001; stat 1269 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000002) { stat 1271 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000002; stat 1274 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000004) { stat 1278 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000004; stat 1281 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000008) { stat 1285 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000008; stat 1288 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000010) { stat 1292 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000010; stat 1295 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat) { stat 1296 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "GPC%d/TPC%d/%08x: unknown\n", gpc, tpc, stat); stat 1305 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, GPC_UNIT(gpc, 0x2c90)); stat 1308 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000001) { stat 1310 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000001; stat 1313 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000002) { stat 1317 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000002; stat 1320 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000004) { stat 1324 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000004; stat 1327 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000008) { stat 1331 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000009; stat 1336 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & mask) { stat 1339 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~mask; stat 1343 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat) { stat 1344 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "GPC%d/%08x: unknown\n", gpc, stat); stat 1358 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x404000); stat 1361 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat & 0x3fffffff); stat 1362 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "DISPATCH %08x [%s]\n", stat, error); stat 1369 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x404600); stat 1372 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat & 0x3fffffff); stat 1373 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "M2MF %08x [%s]\n", stat, error); stat 1381 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x408030); stat 1384 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat & 0x3fffffff); stat 1385 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "CCACHE %08x [%s]\n", stat, error); stat 1392 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x405840); stat 1394 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat, stat & 0xffffff, (stat >> 24) & 0x3f); stat 1401 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x40601c); stat 1404 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat & 0x3fffffff); stat 1405 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "UNK6 %08x [%s]\n", stat, error); stat 1413 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x404490); stat 1418 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat & 0x1fffffff); stat 1420 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat, error, pc & 0x7ff, stat 1430 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x407020) & 0x3fffffff; stat 1432 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_snprintbf(error, sizeof(error), gk104_sked_error, stat); stat 1433 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "SKED: %08x [%s]\n", stat, error); stat 1435 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat) stat 1442 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x400118); stat 1443 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c for (gpc = 0; stat && gpc < gr->gpc_nr; gpc++) { stat 1445 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & mask) { stat 1448 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~mask; stat 1510 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x409c18); stat 1512 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (!gr->firmware && (stat & 0x00000001)) { stat 1528 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000001; stat 1531 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (!gr->firmware && (stat & 0x00080000)) { stat 1535 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00080000; stat 1538 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat) { stat 1539 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "FECS %08x\n", stat); stat 1541 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_wr32(device, 0x409c20, stat); stat 1554 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 stat = nvkm_rd32(device, 0x400100); stat 1575 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000001) { stat 1581 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000001; stat 1584 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000010) { stat 1592 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000010; stat 1595 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00000020) { stat 1600 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00000020; stat 1603 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00100000) { stat 1611 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00100000; stat 1614 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00200000) { stat 1619 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00200000; stat 1622 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat & 0x00080000) { stat 1625 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c stat &= ~0x00080000; stat 1628 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (stat) { stat 1629 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_error(subdev, "intr %08x\n", stat); stat 1630 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_wr32(device, 0x400100, stat); stat 1277 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c u32 stat = nvkm_rd32(device, NV03_PGRAPH_INTR); stat 1287 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c u32 show = stat; stat 1295 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (stat & NV_PGRAPH_INTR_NOTIFY) { stat 1302 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (stat & NV_PGRAPH_INTR_CONTEXT_SWITCH) { stat 1304 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c stat &= ~NV_PGRAPH_INTR_CONTEXT_SWITCH; stat 1309 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c nvkm_wr32(device, NV03_PGRAPH_INTR, stat); stat 1086 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c u32 stat = nvkm_rd32(device, NV03_PGRAPH_INTR); stat 1095 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c u32 show = stat; stat 1103 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c if (stat & NV_PGRAPH_INTR_ERROR) { stat 1110 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c if (stat & NV_PGRAPH_INTR_CONTEXT_SWITCH) { stat 1112 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c stat &= ~NV_PGRAPH_INTR_CONTEXT_SWITCH; stat 1117 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c nvkm_wr32(device, NV03_PGRAPH_INTR, stat); stat 186 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c u32 stat = nvkm_rd32(device, NV03_PGRAPH_INTR); stat 195 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c u32 show = stat; stat 201 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nvkm_wr32(device, NV03_PGRAPH_INTR, stat); stat 238 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c u32 stat = nvkm_rd32(device, NV03_PGRAPH_INTR); stat 247 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c u32 show = stat; stat 261 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c if (stat & NV_PGRAPH_INTR_ERROR) { stat 267 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c nvkm_wr32(device, NV03_PGRAPH_INTR, stat); stat 626 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c u32 stat = nvkm_rd32(device, 0x400100); stat 633 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c u32 show = stat, show_bitfield = stat; stat 654 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c if (stat & 0x00200000) { stat 660 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c nvkm_wr32(device, 0x400100, stat); stat 668 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c stat, msg, chid, (u64)inst << 12, name, stat 189 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c u32 stat = nvkm_rd32(device, 0x00b100); stat 193 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c u32 show = stat; stat 198 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c if (stat & 0x01000000) { stat 211 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c nvkm_wr32(device, 0x00b100, stat); stat 218 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c "unknown", stat, type, mthd, data); stat 151 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c u32 stat = nvkm_rd32(device, 0x00b100); stat 155 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c u32 show = stat; stat 167 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c if (stat & 0x01000000) { stat 180 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c nvkm_wr32(device, 0x00b100, stat); stat 187 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c stat, type, mthd, data); stat 65 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c u32 stat = nvkm_rd32(device, 0x00b100); stat 69 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c u32 show = stat; stat 71 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c if (stat & 0x01000000) { stat 81 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c stat, type, mthd, data); stat 84 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c nvkm_wr32(device, 0x00b100, stat); stat 32 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); stat 34 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c if (stat & 0x0000000e) { stat 42 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c (stat & 0x00000002) ? "!ENGINE " : "", stat 43 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c (stat & 0x00000004) ? "IBUS " : "", stat 44 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c (stat & 0x00000008) ? "TIMEOUT " : ""); stat 47 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c nvkm_wr32(device, 0x001100, (stat & 0x0000000e)); stat 48 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c stat &= ~0x0000000e; stat 51 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c if (stat) { stat 52 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c nvkm_error(subdev, "intr %08x\n", stat); stat 53 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c nvkm_mask(device, 0x001140, stat, 0x00000000); stat 34 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); stat 36 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c if (stat & 0x00000001) { stat 38 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c stat &= ~0x00000001; stat 42 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c if (stat & 0x00000110) { stat 46 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c stat &= ~0x00000110; stat 50 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c if (stat) { stat 51 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c nvkm_error(subdev, "intr %08x\n", stat); stat 52 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c nvkm_mask(device, 0x001140, stat, 0x00000000); stat 35 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); stat 44 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c if (stat & 0x00000008) { /* NV41- */ stat 52 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c stat &= ~0x00000008; stat 56 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c if (stat & 0x00070000) { stat 60 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c stat &= ~0x00070000; stat 64 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c if (stat) { stat 65 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c nvkm_error(subdev, "intr %08x\n", stat); stat 66 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c nvkm_mask(device, 0x001140, stat, 0x00000000); stat 57 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); stat 59 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c if (stat & 0x00000008) { stat 67 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c stat &= ~0x00000008; stat 71 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c if (stat & 0x00010000) { stat 75 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c stat &= ~0x00010000; stat 79 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c if (stat) { stat 80 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c nvkm_error(subdev, "intr %08x\n", stat); stat 81 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c nvkm_mask(device, 0x001140, stat, 0); stat 156 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c u32 stat = nvkm_rd32(device, 0x100a20); stat 158 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c if (stat & 0x80000000) { stat 161 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c stat &= ~0x80000000; stat 164 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c if (stat & 0x20000000) { stat 167 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c stat &= ~0x20000000; stat 171 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c if (stat & 0x08000000) { stat 174 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c stat &= ~0x08000000; stat 178 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c if (stat) { stat 179 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c nvkm_debug(subdev, "intr %08x\n", stat); stat 103 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c u32 stat = nvkm_rd32(device, 0xb83094); stat 105 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c if (stat & 0x80000000) { stat 108 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c stat &= ~0x80000000; stat 111 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c if (stat & 0x00000200) { stat 114 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c stat &= ~0x00000200; stat 119 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c if (stat & 0x00000100) { stat 122 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c stat &= ~0x00000100; stat 126 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c if (stat) { stat 127 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c nvkm_debug(subdev, "intr %08x\n", stat); stat 87 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c u32 stat = nvkm_rd32(device, 0x001144) & intr; stat 88 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c *lo = (stat & 0xffff0000) >> 16; stat 89 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c *hi = (stat & 0x0000ffff); stat 100 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c u32 stat = nvkm_rd32(device, 0x00e050) & intr; stat 101 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c *lo = (stat & 0xffff0000) >> 16; stat 102 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c *hi = (stat & 0x0000ffff); stat 82 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c u32 ctrl, stat, timeout, retries = 0; stat 92 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c stat = nvkm_rd32(device, 0x00e4e8 + base); stat 93 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c if (!(stat & 0x10000000)) { stat 137 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c stat = nvkm_mask(device, 0x00e4e8 + base, 0, 0); stat 138 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c if ((stat & 0x000f0000) == 0x00080000 || stat 139 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c (stat & 0x000f0000) == 0x00020000) stat 141 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c if ((stat & 0x00000100)) stat 143 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c if ((stat & 0x00000e00)) stat 146 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_TRACE(&aux->base, "%02d %08x %08x", retries, ctrl, stat); stat 155 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c *size = stat & 0x0000001f; stat 160 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c return ret < 0 ? ret : (stat & 0x000f0000) >> 16; stat 82 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c u32 ctrl, stat, timeout, retries = 0; stat 92 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c stat = nvkm_rd32(device, 0x00d958 + base); stat 93 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c if (!(stat & 0x10000000)) { stat 137 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c stat = nvkm_mask(device, 0x00d958 + base, 0, 0); stat 138 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c if ((stat & 0x000f0000) == 0x00080000 || stat 139 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c (stat & 0x000f0000) == 0x00020000) stat 141 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c if ((stat & 0x00000100)) stat 143 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c if ((stat & 0x00000e00)) stat 146 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_TRACE(&aux->base, "%02d %08x %08x", retries, ctrl, stat); stat 155 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c *size = stat & 0x0000001f; stat 160 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c return ret < 0 ? ret : (stat & 0x000f0000) >> 16; stat 32 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c u32 stat = nvkm_rd32(device, 0x00e068) & intr, i; stat 34 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c if ((stat & (1 << (i * 4)))) *hi |= 1 << i; stat 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c if ((stat & (2 << (i * 4)))) *lo |= 1 << i; stat 36 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c if ((stat & (4 << (i * 4)))) *rq |= 1 << i; stat 37 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c if ((stat & (8 << (i * 4)))) *tx |= 1 << i; stat 32 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c u32 stat = nvkm_rd32(device, 0x00dc68) & intr, i; stat 34 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c if ((stat & (1 << (i * 4)))) *hi |= 1 << i; stat 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c if ((stat & (2 << (i * 4)))) *lo |= 1 << i; stat 36 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c if ((stat & (4 << (i * 4)))) *rq |= 1 << i; stat 37 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c if ((stat & (8 << (i * 4)))) *tx |= 1 << i; stat 32 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0400)); stat 33 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c nvkm_debug(ibus, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); stat 43 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0400)); stat 44 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c nvkm_debug(ibus, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); stat 54 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0400)); stat 55 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c nvkm_debug(ibus, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); stat 71 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c u32 stat = 0x00000100 << i; stat 72 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c if (intr0 & stat) { stat 74 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c intr0 &= ~stat; stat 79 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c u32 stat = 0x00010000 << i; stat 80 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c if (intr0 & stat) { stat 82 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c intr0 &= ~stat; stat 87 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c u32 stat = 0x00000001 << i; stat 88 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c if (intr1 & stat) { stat 90 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c intr1 &= ~stat; stat 32 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0800)); stat 33 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c nvkm_debug(ibus, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); stat 43 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0800)); stat 44 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c nvkm_debug(ibus, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); stat 54 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0800)); stat 55 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c nvkm_debug(ibus, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); stat 71 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c u32 stat = 0x00000100 << i; stat 72 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c if (intr0 & stat) { stat 74 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c intr0 &= ~stat; stat 79 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c u32 stat = 0x00010000 << i; stat 80 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c if (intr0 & stat) { stat 82 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c intr0 &= ~stat; stat 87 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c u32 stat = 0x00000001 << i; stat 88 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c if (intr1 & stat) { stat 90 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c intr1 &= ~stat; stat 99 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c u32 stat = intr & 0x0000ffff; stat 102 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c if (stat) { stat 103 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c nvkm_snprintbf(msg, sizeof(msg), gf100_ltc_lts_intr_name, stat); stat 104 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c nvkm_error(subdev, "LTC%d_LTS%d: %08x [%s]\n", c, s, stat, msg); stat 78 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c u16 stat = intr & 0x0000ffff; stat 81 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c if (stat) { stat 82 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c nvkm_snprintbf(msg, sizeof(msg), gf100_ltc_lts_intr_name, stat); stat 44 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c for (map = mc->func->intr; !mask && map->stat; map++) { stat 46 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c mask = map->stat; stat 83 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c u32 stat, intr; stat 90 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c stat = nvkm_top_intr(device, intr, &subdevs); stat 99 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c for (map = mc->func->intr; map->stat; map++) { stat 100 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c if (intr & map->stat) { stat 104 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c stat &= ~map->stat; stat 108 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c if (stat) stat 109 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_error(&mc->subdev, "intr %08x\n", stat); stat 125 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c for (map = mc->func->reset; map && map->stat; map++) { stat 128 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c pmc_enable = map->stat; stat 89 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c gf100_mc_intr_mask(struct nvkm_mc *mc, u32 mask, u32 stat) stat 92 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c nvkm_mask(device, 0x000640, mask, stat); stat 93 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c nvkm_mask(device, 0x000644, mask, stat); stat 57 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c gt215_mc_intr_mask(struct nvkm_mc *mc, u32 mask, u32 stat) stat 59 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c nvkm_mask(mc->subdev.device, 0x000640, mask, stat); stat 13 drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h u32 stat; stat 26 drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h void (*intr_mask)(struct nvkm_mc *, u32 mask, u32 stat); stat 28 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c u32 stat = nvkm_rd32(device, 0xb81010); stat 29 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c if (stat & 0x00000050) { stat 32 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c nvkm_wr32(device, 0xb81010, stat & 0x00000050); stat 147 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c u32 stat = nvkm_rd32(device, 0x10a16c); stat 148 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c if (stat & 0x80000000) { stat 150 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c stat & 0x00ffffff, stat 172 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c uint32_t stat = nvkm_rd32(device, 0x1100); stat 179 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c nvkm_error(subdev, "THERM received an IRQ: stat = %x\n", stat); stat 76 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c u32 stat = nvkm_rd32(device, NV04_PTIMER_INTR_0); stat 78 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c if (stat & 0x00000001) { stat 81 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c stat &= ~0x00000001; stat 84 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c if (stat) { stat 85 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c nvkm_error(subdev, "intr %08x\n", stat); stat 86 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c nvkm_wr32(device, NV04_PTIMER_INTR_0, stat); stat 157 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c u32 stat; stat 159 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c stat = REG_GET(base, HDMI_CORE_IH_I2CM_STAT0, 1, 0); stat 162 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c if (stat & 1) { stat 168 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c if (stat & (1 << 1)) stat 374 drivers/gpu/drm/omapdrm/dss/pll.c static bool pll_is_locked(u32 stat) stat 387 drivers/gpu/drm/omapdrm/dss/pll.c return ((stat & 0x6f) == 0x3); stat 163 drivers/gpu/drm/panfrost/panfrost_gpu.c #define GPU_REV_EXT(name, _rev, _p, _s, stat) \ stat 166 drivers/gpu/drm/panfrost/panfrost_gpu.c .issues = hw_issues_##name##_r##_rev##p##_p##stat, \ stat 756 drivers/gpu/drm/radeon/radeon_kms.c int vpos, hpos, stat; stat 783 drivers/gpu/drm/radeon/radeon_kms.c stat = radeon_get_crtc_scanoutpos( stat 789 drivers/gpu/drm/radeon/radeon_kms.c if (((stat & (DRM_SCANOUTPOS_VALID | DRM_SCANOUTPOS_ACCURATE)) != stat 791 drivers/gpu/drm/radeon/radeon_kms.c DRM_DEBUG_VBL("Query failed! stat %d\n", stat); stat 638 drivers/gpu/drm/rockchip/inno_hdmi.c u8 stat; stat 640 drivers/gpu/drm/rockchip/inno_hdmi.c stat = hdmi_readb(hdmi, HDMI_INTERRUPT_STATUS1); stat 641 drivers/gpu/drm/rockchip/inno_hdmi.c if (!(stat & m_INT_EDID_READY)) stat 34 drivers/gpu/drm/rockchip/rk3066_hdmi.c u8 stat; stat 590 drivers/gpu/drm/rockchip/rk3066_hdmi.c hdmi->i2c->stat = interrupt; stat 616 drivers/gpu/drm/rockchip/rk3066_hdmi.c if (!ret || hdmi->i2c->stat & HDMI_INTR_EDID_ERR) stat 666 drivers/gpu/drm/rockchip/rk3066_hdmi.c i2c->stat = 0; stat 870 drivers/gpu/drm/tilcdc/tilcdc_crtc.c uint32_t stat, reg; stat 872 drivers/gpu/drm/tilcdc/tilcdc_crtc.c stat = tilcdc_read_irqstatus(dev); stat 873 drivers/gpu/drm/tilcdc/tilcdc_crtc.c tilcdc_clear_irqstatus(dev, stat); stat 875 drivers/gpu/drm/tilcdc/tilcdc_crtc.c if (stat & LCDC_END_OF_FRAME0) { stat 915 drivers/gpu/drm/tilcdc/tilcdc_crtc.c if (stat & LCDC_FIFO_UNDERFLOW) stat 917 drivers/gpu/drm/tilcdc/tilcdc_crtc.c __func__, stat); stat 919 drivers/gpu/drm/tilcdc/tilcdc_crtc.c if (stat & LCDC_PL_LOAD_DONE) { stat 929 drivers/gpu/drm/tilcdc/tilcdc_crtc.c if (stat & LCDC_SYNC_LOST) { stat 931 drivers/gpu/drm/tilcdc/tilcdc_crtc.c __func__, stat); stat 946 drivers/gpu/drm/tilcdc/tilcdc_crtc.c __func__, stat); stat 956 drivers/gpu/drm/tilcdc/tilcdc_crtc.c if (stat & LCDC_FRAME_DONE) { stat 30 drivers/gpu/drm/tve200/tve200_display.c u32 stat; stat 33 drivers/gpu/drm/tve200/tve200_display.c stat = readl(priv->regs + TVE200_INT_STAT); stat 35 drivers/gpu/drm/tve200/tve200_display.c if (!stat) stat 49 drivers/gpu/drm/tve200/tve200_display.c if (stat & TVE200_INT_V_STATUS) { stat 62 drivers/gpu/drm/tve200/tve200_display.c dev_err(priv->drm->dev, "stray IRQ %08x\n", stat); stat 65 drivers/gpu/drm/tve200/tve200_display.c writel(stat, priv->regs + TVE200_INT_CLR); stat 819 drivers/gpu/drm/vc4/vc4_crtc.c u32 stat = CRTC_READ(PV_INTSTAT); stat 822 drivers/gpu/drm/vc4/vc4_crtc.c if (stat & PV_INT_VFP_START) { stat 1304 drivers/gpu/drm/vc4/vc4_dsi.c irqreturn_t *ret, u32 stat, u32 bit, stat 1307 drivers/gpu/drm/vc4/vc4_dsi.c if (!(stat & bit)) stat 1323 drivers/gpu/drm/vc4/vc4_dsi.c u32 stat = DSI_PORT_READ(INT_STAT); stat 1325 drivers/gpu/drm/vc4/vc4_dsi.c if (!stat) stat 1338 drivers/gpu/drm/vc4/vc4_dsi.c u32 stat = DSI_PORT_READ(INT_STAT); stat 1341 drivers/gpu/drm/vc4/vc4_dsi.c DSI_PORT_WRITE(INT_STAT, stat); stat 1343 drivers/gpu/drm/vc4/vc4_dsi.c dsi_handle_error(dsi, &ret, stat, stat 1345 drivers/gpu/drm/vc4/vc4_dsi.c dsi_handle_error(dsi, &ret, stat, stat 1347 drivers/gpu/drm/vc4/vc4_dsi.c dsi_handle_error(dsi, &ret, stat, stat 1349 drivers/gpu/drm/vc4/vc4_dsi.c dsi_handle_error(dsi, &ret, stat, stat 1351 drivers/gpu/drm/vc4/vc4_dsi.c dsi_handle_error(dsi, &ret, stat, stat 1353 drivers/gpu/drm/vc4/vc4_dsi.c dsi_handle_error(dsi, &ret, stat, stat 1355 drivers/gpu/drm/vc4/vc4_dsi.c dsi_handle_error(dsi, &ret, stat, stat 1357 drivers/gpu/drm/vc4/vc4_dsi.c dsi_handle_error(dsi, &ret, stat, stat 1360 drivers/gpu/drm/vc4/vc4_dsi.c if (stat & (DSI1_INT_TXPKT1_DONE | DSI1_INT_PHY_DIR_RTF)) { stat 1363 drivers/gpu/drm/vc4/vc4_dsi.c } else if (stat & DSI1_INT_HSTX_TO) { stat 1189 drivers/gpu/drm/vc4/vc4_hdmi.c u32 stat = HDMI_READ(VC4_HDMI_CPU_STATUS); stat 1192 drivers/gpu/drm/vc4/vc4_hdmi.c if (!(stat & VC4_HDMI_CPU_CEC)) stat 350 drivers/gpu/drm/zte/zx_hdmi.c u8 stat; stat 352 drivers/gpu/drm/zte/zx_hdmi.c stat = hdmi_readb(hdmi, INTR1_STAT); stat 353 drivers/gpu/drm/zte/zx_hdmi.c hdmi_writeb(hdmi, INTR1_STAT, stat); stat 355 drivers/gpu/drm/zte/zx_hdmi.c if (stat & INTR1_MONITOR_DETECT) stat 60 drivers/hwmon/mlxreg-fan.c #define MLXREG_FAN_PWM_STATE2DUTY(stat) (DIV_ROUND_CLOSEST((stat) * \ stat 72 drivers/i2c/busses/i2c-au1550.c unsigned long stat; stat 77 drivers/i2c/busses/i2c-au1550.c stat = RD(adap, PSC_SMBEVNT); stat 78 drivers/i2c/busses/i2c-au1550.c if ((stat & (PSC_SMBEVNT_DN | PSC_SMBEVNT_AN | PSC_SMBEVNT_AL)) != 0) stat 101 drivers/i2c/busses/i2c-au1550.c unsigned long stat; stat 104 drivers/i2c/busses/i2c-au1550.c stat = RD(adap, PSC_SMBSTAT); stat 107 drivers/i2c/busses/i2c-au1550.c if (!(stat & PSC_SMBSTAT_TE) || !(stat & PSC_SMBSTAT_RE)) { stat 605 drivers/i2c/busses/i2c-davinci.c u32 stat; stat 612 drivers/i2c/busses/i2c-davinci.c while ((stat = davinci_i2c_read_reg(dev, DAVINCI_I2C_IVR_REG))) { stat 613 drivers/i2c/busses/i2c-davinci.c dev_dbg(dev->dev, "%s: stat=0x%x\n", __func__, stat); stat 619 drivers/i2c/busses/i2c-davinci.c switch (stat) { stat 696 drivers/i2c/busses/i2c-davinci.c dev_warn(dev->dev, "Unrecognized irq stat %d\n", stat); stat 520 drivers/i2c/busses/i2c-designware-master.c u32 stat; stat 534 drivers/i2c/busses/i2c-designware-master.c stat = dw_readl(dev, DW_IC_INTR_STAT); stat 543 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_RX_UNDER) stat 545 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_RX_OVER) stat 547 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_TX_OVER) stat 549 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_RD_REQ) stat 551 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_TX_ABRT) { stat 559 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_RX_DONE) stat 561 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_ACTIVITY) stat 563 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_STOP_DET) stat 565 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_START_DET) stat 567 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_GEN_CALL) stat 570 drivers/i2c/busses/i2c-designware-master.c return stat; stat 579 drivers/i2c/busses/i2c-designware-master.c u32 stat; stat 581 drivers/i2c/busses/i2c-designware-master.c stat = i2c_dw_read_clear_intrbits(dev); stat 582 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_TX_ABRT) { stat 594 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_RX_FULL) stat 597 drivers/i2c/busses/i2c-designware-master.c if (stat & DW_IC_INTR_TX_EMPTY) stat 607 drivers/i2c/busses/i2c-designware-master.c if ((stat & (DW_IC_INTR_TX_ABRT | DW_IC_INTR_STOP_DET)) || dev->msg_err) stat 611 drivers/i2c/busses/i2c-designware-master.c stat = dw_readl(dev, DW_IC_INTR_MASK); stat 613 drivers/i2c/busses/i2c-designware-master.c dw_writel(dev, stat, DW_IC_INTR_MASK); stat 622 drivers/i2c/busses/i2c-designware-master.c u32 stat, enabled; stat 625 drivers/i2c/busses/i2c-designware-master.c stat = dw_readl(dev, DW_IC_RAW_INTR_STAT); stat 626 drivers/i2c/busses/i2c-designware-master.c dev_dbg(dev->dev, "enabled=%#x stat=%#x\n", enabled, stat); stat 627 drivers/i2c/busses/i2c-designware-master.c if (!enabled || !(stat & ~DW_IC_INTR_ACTIVITY)) stat 106 drivers/i2c/busses/i2c-designware-slave.c u32 stat; stat 120 drivers/i2c/busses/i2c-designware-slave.c stat = dw_readl(dev, DW_IC_INTR_STAT); stat 129 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_TX_ABRT) stat 131 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_RX_UNDER) stat 133 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_RX_OVER) stat 135 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_TX_OVER) stat 137 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_RX_DONE) stat 139 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_ACTIVITY) stat 141 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_STOP_DET) stat 143 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_START_DET) stat 145 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_GEN_CALL) stat 148 drivers/i2c/busses/i2c-designware-slave.c return stat; stat 158 drivers/i2c/busses/i2c-designware-slave.c u32 raw_stat, stat, enabled; stat 161 drivers/i2c/busses/i2c-designware-slave.c stat = dw_readl(dev, DW_IC_INTR_STAT); stat 172 drivers/i2c/busses/i2c-designware-slave.c enabled, slave_activity, raw_stat, stat); stat 174 drivers/i2c/busses/i2c-designware-slave.c if ((stat & DW_IC_INTR_RX_FULL) && (stat & DW_IC_INTR_STOP_DET)) stat 177 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_RD_REQ) { stat 179 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_RX_FULL) { stat 189 drivers/i2c/busses/i2c-designware-slave.c stat = i2c_dw_read_clear_intrbits_slave(dev); stat 193 drivers/i2c/busses/i2c-designware-slave.c stat = i2c_dw_read_clear_intrbits_slave(dev); stat 202 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_RX_DONE) { stat 208 drivers/i2c/busses/i2c-designware-slave.c stat = i2c_dw_read_clear_intrbits_slave(dev); stat 212 drivers/i2c/busses/i2c-designware-slave.c if (stat & DW_IC_INTR_RX_FULL) { stat 219 drivers/i2c/busses/i2c-designware-slave.c stat = i2c_dw_read_clear_intrbits_slave(dev); stat 331 drivers/i2c/busses/i2c-fsi.c u32 stat = 0; stat 335 drivers/i2c/busses/i2c-fsi.c fsi_i2c_read_reg(i2c->fsi, I2C_FSI_STAT, &stat); stat 337 drivers/i2c/busses/i2c-fsi.c return !!(stat & I2C_STAT_SCL_IN); stat 354 drivers/i2c/busses/i2c-fsi.c u32 stat = 0; stat 358 drivers/i2c/busses/i2c-fsi.c fsi_i2c_read_reg(i2c->fsi, I2C_FSI_STAT, &stat); stat 360 drivers/i2c/busses/i2c-fsi.c return !!(stat & I2C_STAT_SDA_IN); stat 409 drivers/i2c/busses/i2c-fsi.c u32 stat, dummy = 0; stat 422 drivers/i2c/busses/i2c-fsi.c rc = fsi_i2c_read_reg(i2c->fsi, I2C_FSI_STAT, &stat); stat 426 drivers/i2c/busses/i2c-fsi.c if (stat & I2C_STAT_CMD_COMP) stat 480 drivers/i2c/busses/i2c-fsi.c u32 stat; stat 488 drivers/i2c/busses/i2c-fsi.c rc = fsi_i2c_read_reg(fsi, I2C_FSI_STAT, &stat); stat 493 drivers/i2c/busses/i2c-fsi.c if (!(stat & I2C_STAT_SDA_IN)) { stat 682 drivers/i2c/busses/i2c-fsi.c u32 port_no, ports, stat; stat 697 drivers/i2c/busses/i2c-fsi.c rc = fsi_i2c_read_reg(i2c->fsi, I2C_FSI_STAT, &stat); stat 701 drivers/i2c/busses/i2c-fsi.c ports = FIELD_GET(I2C_STAT_MAX_PORT, stat) + 1; stat 85 drivers/i2c/busses/i2c-kempld.c u8 stat = kempld_read8(pld, KEMPLD_I2C_STAT); stat 90 drivers/i2c/busses/i2c-kempld.c if (stat & I2C_STAT_TIP) stat 102 drivers/i2c/busses/i2c-kempld.c if (stat & I2C_STAT_ARBLOST) { stat 109 drivers/i2c/busses/i2c-kempld.c if (stat & I2C_STAT_BUSY) stat 145 drivers/i2c/busses/i2c-kempld.c if (stat & I2C_STAT_NACK) { stat 228 drivers/i2c/busses/i2c-kempld.c u8 stat; stat 268 drivers/i2c/busses/i2c-kempld.c stat = kempld_read8(pld, KEMPLD_I2C_STAT); stat 269 drivers/i2c/busses/i2c-kempld.c if (stat & I2C_STAT_BUSY) stat 298 drivers/i2c/busses/i2c-lpc2k.c u32 stat; stat 301 drivers/i2c/busses/i2c-lpc2k.c stat = readl(i2c->base + LPC24XX_I2STAT); stat 302 drivers/i2c/busses/i2c-lpc2k.c if (stat != M_I2C_IDLE) { stat 660 drivers/i2c/busses/i2c-mxs.c u32 stat = readl(i2c->regs + MXS_I2C_CTRL1) & MXS_I2C_IRQ_MASK; stat 662 drivers/i2c/busses/i2c-mxs.c if (!stat) stat 665 drivers/i2c/busses/i2c-mxs.c if (stat & MXS_I2C_CTRL1_NO_SLAVE_ACK_IRQ) stat 667 drivers/i2c/busses/i2c-mxs.c else if (stat & (MXS_I2C_CTRL1_EARLY_TERM_IRQ | stat 673 drivers/i2c/busses/i2c-mxs.c writel(stat, i2c->regs + MXS_I2C_CTRL1_CLR); stat 273 drivers/i2c/busses/i2c-nomadik.c int stat; stat 275 drivers/i2c/busses/i2c-nomadik.c stat = flush_i2c_fifo(dev); stat 276 drivers/i2c/busses/i2c-nomadik.c if (stat) stat 289 drivers/i2c/busses/i2c-nomadik.c return stat; stat 160 drivers/i2c/busses/i2c-ocores.c static void ocores_process(struct ocores_i2c *i2c, u8 stat) stat 179 drivers/i2c/busses/i2c-ocores.c if (stat & OCI2C_STAT_ARBLOST) { stat 189 drivers/i2c/busses/i2c-ocores.c if (stat & OCI2C_STAT_NACK) { stat 240 drivers/i2c/busses/i2c-ocores.c u8 stat = oc_getreg(i2c, OCI2C_STATUS); stat 243 drivers/i2c/busses/i2c-ocores.c if ((stat & OCI2C_STAT_IF) && !(stat & OCI2C_STAT_BUSY)) stat 245 drivers/i2c/busses/i2c-ocores.c } else if (!(stat & OCI2C_STAT_IF)) { stat 248 drivers/i2c/busses/i2c-ocores.c ocores_process(i2c, stat); stat 179 drivers/i2c/busses/i2c-octeon-core.c u8 stat; stat 186 drivers/i2c/busses/i2c-octeon-core.c stat = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); stat 188 drivers/i2c/busses/i2c-octeon-core.c stat = octeon_i2c_stat_read(i2c); stat 190 drivers/i2c/busses/i2c-octeon-core.c switch (stat) { stat 243 drivers/i2c/busses/i2c-octeon-core.c dev_err(i2c->dev, "unhandled state: %d\n", stat); stat 268 drivers/i2c/busses/i2c-octeon-core.c u8 stat; stat 277 drivers/i2c/busses/i2c-octeon-core.c stat = octeon_i2c_stat_read(i2c); stat 278 drivers/i2c/busses/i2c-octeon-core.c if (stat == STAT_START || stat == STAT_REP_START) stat 548 drivers/i2c/busses/i2c-omap.c u16 stat, systest; stat 555 drivers/i2c/busses/i2c-omap.c stat = omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG); stat 561 drivers/i2c/busses/i2c-omap.c if (stat & (OMAP_I2C_STAT_BB | OMAP_I2C_STAT_BF)) stat 646 drivers/i2c/busses/i2c-omap.c u16 stat; stat 651 drivers/i2c/busses/i2c-omap.c stat = omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG); stat 653 drivers/i2c/busses/i2c-omap.c } while (!(stat & mask) && count < 5); stat 862 drivers/i2c/busses/i2c-omap.c omap_i2c_ack_stat(struct omap_i2c_dev *omap, u16 stat) stat 864 drivers/i2c/busses/i2c-omap.c omap_i2c_write_reg(omap, OMAP_I2C_STAT_REG, stat); stat 867 drivers/i2c/busses/i2c-omap.c static inline void i2c_omap_errata_i207(struct omap_i2c_dev *omap, u16 stat) stat 876 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_RDR) { stat 964 drivers/i2c/busses/i2c-omap.c u16 stat; stat 967 drivers/i2c/busses/i2c-omap.c stat = omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG); stat 968 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_XUDF) stat 971 drivers/i2c/busses/i2c-omap.c if (stat & (OMAP_I2C_STAT_NACK | OMAP_I2C_STAT_AL)) { stat 974 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_NACK) { stat 979 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_AL) { stat 1058 drivers/i2c/busses/i2c-omap.c u16 stat; stat 1060 drivers/i2c/busses/i2c-omap.c stat = omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG); stat 1063 drivers/i2c/busses/i2c-omap.c if (stat & mask) stat 1072 drivers/i2c/busses/i2c-omap.c u16 stat; stat 1077 drivers/i2c/busses/i2c-omap.c stat = omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG); stat 1078 drivers/i2c/busses/i2c-omap.c stat &= bits; stat 1082 drivers/i2c/busses/i2c-omap.c stat &= ~(OMAP_I2C_STAT_XDR | OMAP_I2C_STAT_XRDY); stat 1084 drivers/i2c/busses/i2c-omap.c stat &= ~(OMAP_I2C_STAT_RDR | OMAP_I2C_STAT_RRDY); stat 1086 drivers/i2c/busses/i2c-omap.c if (!stat) { stat 1092 drivers/i2c/busses/i2c-omap.c dev_dbg(omap->dev, "IRQ (ISR = 0x%04x)\n", stat); stat 1098 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_NACK) { stat 1103 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_AL) { stat 1112 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_ARDY) stat 1115 drivers/i2c/busses/i2c-omap.c if (stat & (OMAP_I2C_STAT_ARDY | OMAP_I2C_STAT_NACK | stat 1125 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_RDR) { stat 1132 drivers/i2c/busses/i2c-omap.c i2c_omap_errata_i207(omap, stat); stat 1142 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_RRDY) { stat 1153 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_XDR) { stat 1168 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_XRDY) { stat 1183 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_ROVR) { stat 1190 drivers/i2c/busses/i2c-omap.c if (stat & OMAP_I2C_STAT_XUDF) { stat 1196 drivers/i2c/busses/i2c-omap.c } while (stat); stat 172 drivers/i2c/busses/i2c-owl.c unsigned int stat, fifostat; stat 186 drivers/i2c/busses/i2c-owl.c stat = readl(i2c_dev->base + OWL_I2C_REG_STAT); stat 187 drivers/i2c/busses/i2c-owl.c if (stat & OWL_I2C_STAT_BEB) { stat 382 drivers/i2c/busses/i2c-pnx.c u32 stat, ctl; stat 390 drivers/i2c/busses/i2c-pnx.c stat = ioread32(I2C_REG_STS(alg_data)); stat 393 drivers/i2c/busses/i2c-pnx.c if (stat & mstatus_afi) { stat 406 drivers/i2c/busses/i2c-pnx.c } else if (stat & mstatus_nai) { stat 435 drivers/i2c/busses/i2c-pnx.c if ((stat & mstatus_drmi) || !(stat & mstatus_rfe)) { stat 445 drivers/i2c/busses/i2c-pnx.c stat = ioread32(I2C_REG_STS(alg_data)); stat 446 drivers/i2c/busses/i2c-pnx.c iowrite32(stat | mstatus_tdi | mstatus_afi, I2C_REG_STS(alg_data)); stat 480 drivers/i2c/busses/i2c-pnx.c u32 stat; stat 482 drivers/i2c/busses/i2c-pnx.c if ((stat = ioread32(I2C_REG_STS(alg_data))) & mstatus_active) { stat 489 drivers/i2c/busses/i2c-pnx.c } else if (!(stat & mstatus_rfe) || !(stat & mstatus_tfe)) { stat 496 drivers/i2c/busses/i2c-pnx.c } else if (stat & mstatus_nai) { stat 517 drivers/i2c/busses/i2c-pnx.c u32 stat; stat 576 drivers/i2c/busses/i2c-pnx.c if ((stat = ioread32(I2C_REG_STS(alg_data))) & mstatus_tdi) { stat 580 drivers/i2c/busses/i2c-pnx.c iowrite32(stat, I2C_REG_STS(alg_data)); stat 582 drivers/i2c/busses/i2c-pnx.c if ((stat = ioread32(I2C_REG_STS(alg_data))) & mstatus_afi) { stat 586 drivers/i2c/busses/i2c-pnx.c iowrite32(stat, I2C_REG_STS(alg_data)); stat 245 drivers/i2c/busses/i2c-s3c2410.c unsigned long stat; stat 248 drivers/i2c/busses/i2c-s3c2410.c stat = 0; stat 249 drivers/i2c/busses/i2c-s3c2410.c stat |= S3C2410_IICSTAT_TXRXEN; stat 252 drivers/i2c/busses/i2c-s3c2410.c stat |= S3C2410_IICSTAT_MASTER_RX; stat 255 drivers/i2c/busses/i2c-s3c2410.c stat |= S3C2410_IICSTAT_MASTER_TX; stat 264 drivers/i2c/busses/i2c-s3c2410.c writel(stat, i2c->regs + S3C2410_IICSTAT); stat 266 drivers/i2c/busses/i2c-s3c2410.c dev_dbg(i2c->dev, "START: %08lx to IICSTAT, %02x to DS\n", stat, addr); stat 278 drivers/i2c/busses/i2c-s3c2410.c stat |= S3C2410_IICSTAT_START; stat 279 drivers/i2c/busses/i2c-s3c2410.c writel(stat, i2c->regs + S3C2410_IICSTAT); stat 283 drivers/i2c/busses/i2c-s3c2410.c i2c_s3c_irq_nextbyte(i2c, stat); stat 284 drivers/i2c/busses/i2c-s3c2410.c stat = readl(i2c->regs + S3C2410_IICSTAT); stat 286 drivers/i2c/busses/i2c-s3c2410.c if (stat & S3C2410_IICSTAT_ARBITR) stat 425 drivers/ide/ide-atapi.c u8 stat, ireason, dsc = 0; stat 434 drivers/ide/ide-atapi.c stat = tp_ops->read_status(hwif); stat 443 drivers/ide/ide-atapi.c if (rc || (drive->media == ide_tape && (stat & ATA_ERR))) { stat 455 drivers/ide/ide-atapi.c if ((stat & ATA_DRQ) == 0) { stat 467 drivers/ide/ide-atapi.c (stat & ATA_ERR) && scsi_req(rq)->cmd[0] == REQUEST_SENSE) stat 468 drivers/ide/ide-atapi.c stat &= ~ATA_ERR; stat 470 drivers/ide/ide-atapi.c if ((stat & ATA_ERR) || (pc->flags & PC_FLAG_DMA_ERROR)) { stat 493 drivers/ide/ide-atapi.c if ((pc->flags & PC_FLAG_WAIT_FOR_DSC) && (stat & ATA_DSC) == 0) stat 283 drivers/ide/ide-cd.c static int cdrom_decode_status(ide_drive_t *drive, u8 stat) stat 295 drivers/ide/ide-cd.c rq->cmd[0], rq->cmd_type, err, stat); stat 359 drivers/ide/ide-cd.c ide_dump_status(drive, "command error", stat); stat 369 drivers/ide/ide-cd.c "(bad sector)", stat); stat 376 drivers/ide/ide-cd.c stat); stat 384 drivers/ide/ide-cd.c ide_error(drive, "cdrom_decode_status", stat); stat 404 drivers/ide/ide-cd.c if (stat & ATA_ERR) stat 409 drivers/ide/ide-cd.c if (stat & ATA_ERR) { stat 617 drivers/ide/ide-cd.c u8 ireason, stat; stat 636 drivers/ide/ide-cd.c stat = hwif->tp_ops->read_status(hwif); stat 638 drivers/ide/ide-cd.c if (!OK_STAT(stat, 0, BAD_R_STAT)) { stat 639 drivers/ide/ide-cd.c rc = cdrom_decode_status(drive, stat); stat 650 drivers/ide/ide-cd.c return ide_error(drive, "dma error", stat); stat 662 drivers/ide/ide-cd.c stat, thislen); stat 665 drivers/ide/ide-cd.c if ((stat & ATA_DRQ) == 0) { stat 692 drivers/ide/ide-cd.c if (!(stat & ATA_ERR) && !uptodate && thislen) { stat 793 drivers/ide/ide-cd.c ide_error(drive, "request sense failure", stat); stat 991 drivers/ide/ide-cd.c int stat; stat 1001 drivers/ide/ide-cd.c stat = ide_cd_queue_pc(drive, cmd, 0, &capbuf, &len, NULL, 0, stat 1003 drivers/ide/ide-cd.c if (stat) stat 1004 drivers/ide/ide-cd.c return stat; stat 1060 drivers/ide/ide-cd.c int stat, ntracks, i; stat 1094 drivers/ide/ide-cd.c stat = cdrom_read_capacity(drive, &toc->capacity, §ors_per_frame); stat 1095 drivers/ide/ide-cd.c if (stat) stat 1106 drivers/ide/ide-cd.c stat = cdrom_read_tocentry(drive, 0, 1, 0, (char *) &toc->hdr, stat 1108 drivers/ide/ide-cd.c if (stat) stat 1109 drivers/ide/ide-cd.c return stat; stat 1123 drivers/ide/ide-cd.c stat = cdrom_read_tocentry(drive, toc->hdr.first_track, 1, 0, stat 1129 drivers/ide/ide-cd.c if (stat && toc->hdr.first_track > 1) { stat 1143 drivers/ide/ide-cd.c stat = cdrom_read_tocentry(drive, CDROM_LEADOUT, 1, 0, stat 1148 drivers/ide/ide-cd.c if (stat) stat 1149 drivers/ide/ide-cd.c return stat; stat 1160 drivers/ide/ide-cd.c if (stat) stat 1161 drivers/ide/ide-cd.c return stat; stat 1183 drivers/ide/ide-cd.c stat = cdrom_read_tocentry(drive, 0, 0, 1, (char *)&ms_tmp, stat 1185 drivers/ide/ide-cd.c if (stat) stat 1186 drivers/ide/ide-cd.c return stat; stat 1197 drivers/ide/ide-cd.c stat = cdrom_read_tocentry(drive, 0, 1, 1, (char *)&ms_tmp, stat 1199 drivers/ide/ide-cd.c if (stat) stat 1200 drivers/ide/ide-cd.c return stat; stat 1211 drivers/ide/ide-cd.c stat = cdrom_get_last_written(cdi, &last_written); stat 1212 drivers/ide/ide-cd.c if (!stat && (last_written > toc->capacity)) { stat 1229 drivers/ide/ide-cd.c int stat, attempts = 3, size = ATAPI_CAPABILITIES_PAGE_SIZE; stat 1239 drivers/ide/ide-cd.c stat = cdrom_mode_sense(cdi, &cgc, GPMODE_CAPABILITIES_PAGE, 0); stat 1240 drivers/ide/ide-cd.c if (!stat) stat 1243 drivers/ide/ide-cd.c return stat; stat 1644 drivers/ide/ide-cd.c int stat; stat 1652 drivers/ide/ide-cd.c stat = cdrom_mode_sense(cdi, &cgc, GPMODE_CDROM_PAGE, 0); stat 1653 drivers/ide/ide-cd.c if (stat) stat 1654 drivers/ide/ide-cd.c return stat; stat 1664 drivers/ide/ide-cd.c int stat; stat 1669 drivers/ide/ide-cd.c stat = cdrom_mode_sense(cdi, &cgc, GPMODE_CDROM_PAGE, 0); stat 1670 drivers/ide/ide-cd.c if (stat) stat 1671 drivers/ide/ide-cd.c return stat; stat 47 drivers/ide/ide-cd_ioctl.c int stat; stat 52 drivers/ide/ide-cd_ioctl.c stat = cdrom_check_status(drive, &sshdr); stat 53 drivers/ide/ide-cd_ioctl.c if (!stat || sshdr.sense_key == UNIT_ATTENTION) stat 140 drivers/ide/ide-cd_ioctl.c int stat; stat 144 drivers/ide/ide-cd_ioctl.c stat = 0; stat 153 drivers/ide/ide-cd_ioctl.c stat = ide_cd_queue_pc(drive, cmd, 0, NULL, NULL, stat 159 drivers/ide/ide-cd_ioctl.c if (stat != 0 && stat 165 drivers/ide/ide-cd_ioctl.c stat = 0; stat 169 drivers/ide/ide-cd_ioctl.c if (stat != 0 && sshdr.sense_key == NOT_READY && sshdr.asc == 0x3a) stat 170 drivers/ide/ide-cd_ioctl.c stat = 0; stat 172 drivers/ide/ide-cd_ioctl.c if (stat == 0) { stat 179 drivers/ide/ide-cd_ioctl.c return stat; stat 187 drivers/ide/ide-cd_ioctl.c int stat = ide_cd_lockdoor(drive, 0); stat 189 drivers/ide/ide-cd_ioctl.c if (stat) stat 190 drivers/ide/ide-cd_ioctl.c return stat; stat 212 drivers/ide/ide-cd_ioctl.c int stat; stat 233 drivers/ide/ide-cd_ioctl.c stat = ide_cd_queue_pc(drive, cmd, 0, NULL, NULL, NULL, 0, 0); stat 268 drivers/ide/ide-cd_ioctl.c int stat, mcnlen; stat 281 drivers/ide/ide-cd_ioctl.c stat = ide_cd_queue_pc(drive, cmd, 0, buf, &len, NULL, 0, 0); stat 282 drivers/ide/ide-cd_ioctl.c if (stat) stat 283 drivers/ide/ide-cd_ioctl.c return stat; stat 349 drivers/ide/ide-cd_ioctl.c int stat; stat 352 drivers/ide/ide-cd_ioctl.c stat = ide_cd_get_toc_entry(drive, ti->cdti_trk0, &first_toc); stat 353 drivers/ide/ide-cd_ioctl.c if (stat) stat 354 drivers/ide/ide-cd_ioctl.c return stat; stat 356 drivers/ide/ide-cd_ioctl.c stat = ide_cd_get_toc_entry(drive, ti->cdti_trk1, &last_toc); stat 357 drivers/ide/ide-cd_ioctl.c if (stat) stat 358 drivers/ide/ide-cd_ioctl.c return stat; stat 382 drivers/ide/ide-cd_ioctl.c int stat; stat 385 drivers/ide/ide-cd_ioctl.c stat = ide_cd_read_toc(drive); stat 386 drivers/ide/ide-cd_ioctl.c if (stat) stat 387 drivers/ide/ide-cd_ioctl.c return stat; stat 400 drivers/ide/ide-cd_ioctl.c int stat; stat 402 drivers/ide/ide-cd_ioctl.c stat = ide_cd_get_toc_entry(drive, tocentry->cdte_track, &toce); stat 403 drivers/ide/ide-cd_ioctl.c if (stat) stat 404 drivers/ide/ide-cd_ioctl.c return stat; stat 461 drivers/ide/ide-cd_ioctl.c cgc->stat = ide_cd_queue_pc(drive, cgc->cmd, stat 465 drivers/ide/ide-cd_ioctl.c if (!cgc->stat) stat 467 drivers/ide/ide-cd_ioctl.c return cgc->stat; stat 95 drivers/ide/ide-dma.c u8 stat = 0, dma_stat = 0; stat 100 drivers/ide/ide-dma.c stat = hwif->tp_ops->read_status(hwif); stat 102 drivers/ide/ide-dma.c if (OK_STAT(stat, DRIVE_READY, drive->bad_wstat | ATA_DRQ)) { stat 105 drivers/ide/ide-dma.c ide_finish_cmd(drive, cmd, stat); stat 114 drivers/ide/ide-dma.c return ide_error(drive, "dma_intr", stat); stat 9 drivers/ide/ide-eh.c u8 stat, u8 err) stat 13 drivers/ide/ide-eh.c if ((stat & ATA_BUSY) || stat 14 drivers/ide/ide-eh.c ((stat & ATA_DF) && (drive->dev_flags & IDE_DFLAG_NOWERR) == 0)) { stat 17 drivers/ide/ide-eh.c } else if (stat & ATA_ERR) { stat 36 drivers/ide/ide-eh.c if ((stat & ATA_DRQ) && rq_data_dir(rq) == READ && stat 65 drivers/ide/ide-eh.c u8 stat, u8 err) stat 69 drivers/ide/ide-eh.c if ((stat & ATA_BUSY) || stat 70 drivers/ide/ide-eh.c ((stat & ATA_DF) && (drive->dev_flags & IDE_DFLAG_NOWERR) == 0)) { stat 95 drivers/ide/ide-eh.c u8 stat, u8 err) stat 98 drivers/ide/ide-eh.c return ide_ata_error(drive, rq, stat, err); stat 99 drivers/ide/ide-eh.c return ide_atapi_error(drive, rq, stat, err); stat 115 drivers/ide/ide-eh.c ide_startstop_t ide_error(ide_drive_t *drive, const char *msg, u8 stat) stat 120 drivers/ide/ide-eh.c err = ide_dump_status(drive, msg, stat); stat 132 drivers/ide/ide-eh.c ide_complete_cmd(drive, cmd, stat, err); stat 143 drivers/ide/ide-eh.c return __ide_error(drive, rq, stat, err); stat 172 drivers/ide/ide-eh.c u8 stat; stat 176 drivers/ide/ide-eh.c stat = tp_ops->read_status(hwif); stat 178 drivers/ide/ide-eh.c if (OK_STAT(stat, 0, ATA_BUSY)) stat 189 drivers/ide/ide-eh.c drive->name, stat); stat 221 drivers/ide/ide-floppy_ioctl.c u8 stat; stat 224 drivers/ide/ide-floppy_ioctl.c stat = hwif->tp_ops->read_status(hwif); stat 227 drivers/ide/ide-floppy_ioctl.c progress_indication = ((stat & ATA_DSC) == 0) ? 0 : 0x10000; stat 84 drivers/ide/ide-io.c void ide_complete_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 stat, u8 err) stat 92 drivers/ide/ide-io.c tf->status = stat; stat 585 drivers/ide/ide-io.c u8 stat = 0; stat 592 drivers/ide/ide-io.c stat = hwif->tp_ops->read_altstatus(hwif); stat 595 drivers/ide/ide-io.c stat = hwif->tp_ops->read_status(hwif); stat 597 drivers/ide/ide-io.c if (stat & ATA_BUSY) stat 735 drivers/ide/ide-io.c u8 stat = hwif->tp_ops->read_status(hwif); stat 737 drivers/ide/ide-io.c if (!OK_STAT(stat, ATA_DRDY, BAD_STAT)) { stat 746 drivers/ide/ide-io.c hwif->name, stat, count); stat 114 drivers/ide/ide-iops.c u8 stat; stat 117 drivers/ide/ide-iops.c stat = tp_ops->read_status(hwif); stat 119 drivers/ide/ide-iops.c if (stat & ATA_BUSY) { stat 125 drivers/ide/ide-iops.c while ((stat = tp_ops->read_status(hwif)) & ATA_BUSY) { stat 132 drivers/ide/ide-iops.c stat = tp_ops->read_status(hwif); stat 133 drivers/ide/ide-iops.c if ((stat & ATA_BUSY) == 0) stat 138 drivers/ide/ide-iops.c *rstat = stat; stat 154 drivers/ide/ide-iops.c stat = tp_ops->read_status(hwif); stat 156 drivers/ide/ide-iops.c if (OK_STAT(stat, good, bad)) { stat 157 drivers/ide/ide-iops.c *rstat = stat; stat 161 drivers/ide/ide-iops.c *rstat = stat; stat 174 drivers/ide/ide-iops.c u8 stat; stat 182 drivers/ide/ide-iops.c err = __ide_wait_stat(drive, good, bad, timeout, &stat); stat 186 drivers/ide/ide-iops.c *startstop = ide_error(drive, s, stat); stat 355 drivers/ide/ide-iops.c u8 stat; stat 392 drivers/ide/ide-iops.c WAIT_CMD, &stat); stat 397 drivers/ide/ide-iops.c (void) ide_dump_status(drive, "set_drive_speed_status", stat); stat 515 drivers/ide/ide-iops.c u8 stat = 0; stat 523 drivers/ide/ide-iops.c stat = hwif->tp_ops->read_status(hwif); stat 524 drivers/ide/ide-iops.c if ((stat & ATA_BUSY) == 0) stat 531 drivers/ide/ide-iops.c if (stat == 0xff) stat 108 drivers/ide/ide-lib.c u8 ide_dump_status(ide_drive_t *drive, const char *msg, u8 stat) stat 112 drivers/ide/ide-lib.c printk(KERN_ERR "%s: %s: status=0x%02x { ", drive->name, msg, stat); stat 113 drivers/ide/ide-lib.c if (stat & ATA_BUSY) stat 116 drivers/ide/ide-lib.c if (stat & ATA_DRDY) stat 118 drivers/ide/ide-lib.c if (stat & ATA_DF) stat 120 drivers/ide/ide-lib.c if (stat & ATA_DSC) stat 122 drivers/ide/ide-lib.c if (stat & ATA_DRQ) stat 124 drivers/ide/ide-lib.c if (stat & ATA_CORR) stat 126 drivers/ide/ide-lib.c if (stat & ATA_SENSE) stat 128 drivers/ide/ide-lib.c if (stat & ATA_ERR) stat 132 drivers/ide/ide-lib.c if ((stat & (ATA_BUSY | ATA_ERR)) == ATA_ERR) { stat 335 drivers/ide/ide-probe.c u8 stat; stat 341 drivers/ide/ide-probe.c stat = altstatus ? hwif->tp_ops->read_altstatus(hwif) stat 343 drivers/ide/ide-probe.c if ((stat & ATA_BUSY) == 0) stat 388 drivers/ide/ide-probe.c u8 present = !!(drive->dev_flags & IDE_DFLAG_PRESENT), stat; stat 418 drivers/ide/ide-probe.c stat = tp_ops->read_status(hwif); stat 420 drivers/ide/ide-probe.c if (OK_STAT(stat, ATA_DRDY, ATA_BUSY) || stat 427 drivers/ide/ide-probe.c stat = tp_ops->read_status(hwif); stat 429 drivers/ide/ide-probe.c if (stat == (ATA_BUSY | ATA_DRDY)) stat 434 drivers/ide/ide-probe.c "resetting drive\n", drive->name, stat); stat 444 drivers/ide/ide-probe.c stat = tp_ops->read_status(hwif); stat 448 drivers/ide/ide-probe.c drive->name, stat); stat 520 drivers/ide/ide-tape.c u8 stat; stat 522 drivers/ide/ide-tape.c stat = hwif->tp_ops->read_status(hwif); stat 524 drivers/ide/ide-tape.c if (stat & ATA_DSC) { stat 525 drivers/ide/ide-tape.c if (stat & ATA_ERR) { stat 574 drivers/ide/ide-tape.c u8 stat; stat 594 drivers/ide/ide-tape.c stat = hwif->tp_ops->read_status(hwif); stat 606 drivers/ide/ide-tape.c !(stat & ATA_DSC)) { stat 158 drivers/ide/ide-taskfile.c u8 stat; stat 163 drivers/ide/ide-taskfile.c stat = hwif->tp_ops->read_status(hwif); stat 164 drivers/ide/ide-taskfile.c if ((stat & ATA_BUSY) == 0 || retries-- == 0) stat 169 drivers/ide/ide-taskfile.c if (!OK_STAT(stat, ATA_DRDY, BAD_STAT)) { stat 173 drivers/ide/ide-taskfile.c (void)ide_dump_status(drive, __func__, stat); stat 176 drivers/ide/ide-taskfile.c if ((stat & (ATA_ERR | ATA_DRQ)) == 0) { stat 182 drivers/ide/ide-taskfile.c return ide_error(drive, "task_no_data_intr", stat); stat 195 drivers/ide/ide-taskfile.c ide_finish_cmd(drive, cmd, stat); stat 205 drivers/ide/ide-taskfile.c u8 stat; stat 212 drivers/ide/ide-taskfile.c stat = hwif->tp_ops->read_status(hwif); stat 214 drivers/ide/ide-taskfile.c if (stat & ATA_BUSY) stat 220 drivers/ide/ide-taskfile.c if (stat & ATA_BUSY) stat 223 drivers/ide/ide-taskfile.c return stat; stat 318 drivers/ide/ide-taskfile.c void ide_finish_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 stat) stat 324 drivers/ide/ide-taskfile.c ide_complete_cmd(drive, cmd, stat, err); stat 342 drivers/ide/ide-taskfile.c u8 stat = hwif->tp_ops->read_status(hwif); stat 347 drivers/ide/ide-taskfile.c if (stat & ATA_ERR) stat 351 drivers/ide/ide-taskfile.c if ((stat & ATA_DRQ) == 0) { stat 353 drivers/ide/ide-taskfile.c if (OK_STAT(stat, ATA_DRDY, ATA_BUSY)) stat 360 drivers/ide/ide-taskfile.c if (!OK_STAT(stat, DRIVE_READY, drive->bad_wstat)) stat 364 drivers/ide/ide-taskfile.c if (((stat & ATA_DRQ) == 0) ^ (cmd->nleft == 0)) stat 376 drivers/ide/ide-taskfile.c stat = wait_drive_not_busy(drive); stat 377 drivers/ide/ide-taskfile.c if (!OK_STAT(stat, 0, BAD_STAT)) stat 388 drivers/ide/ide-taskfile.c ide_finish_cmd(drive, cmd, stat); stat 394 drivers/ide/ide-taskfile.c return ide_error(drive, __func__, stat); stat 147 drivers/ide/ns87415.c unsigned char stat; stat 153 drivers/ide/ns87415.c (void) pci_read_config_byte(dev, 0x43, &stat); stat 154 drivers/ide/ns87415.c while (stat & 0x03) { stat 156 drivers/ide/ns87415.c (void) pci_read_config_byte(dev, 0x43, &stat); stat 212 drivers/ide/ns87415.c u8 stat; stat 256 drivers/ide/ns87415.c stat = hwif->tp_ops->read_status(hwif); stat 257 drivers/ide/ns87415.c if (stat == 0xff) stat 259 drivers/ide/ns87415.c } while ((stat & ATA_BUSY) && --timeout); stat 347 drivers/ide/tx4939ide.c u8 dma_stat, stat; stat 355 drivers/ide/tx4939ide.c stat = tx4939ide_readb(base, TX4939IDE_AltStat_DevCtl); stat 356 drivers/ide/tx4939ide.c if ((stat & (ATA_BUSY | ATA_DRQ | ATA_ERR)) == ATA_ERR) stat 1049 drivers/infiniband/hw/efa/efa_com.c u32 stat, timeout, cap, reset_val; stat 1052 drivers/infiniband/hw/efa/efa_com.c stat = efa_com_reg_read32(edev, EFA_REGS_DEV_STS_OFF); stat 1055 drivers/infiniband/hw/efa/efa_com.c if (!(stat & EFA_REGS_DEV_STS_READY_MASK)) { stat 46 drivers/input/serio/pcips2.c unsigned int stat; stat 49 drivers/input/serio/pcips2.c stat = inb(ps2if->base + PS2_STATUS); stat 51 drivers/input/serio/pcips2.c } while (!(stat & PS2_STAT_TXEMPTY)); stat 224 drivers/input/serio/sa1111ps2.c unsigned int stat; stat 227 drivers/input/serio/sa1111ps2.c stat = ps2_test_one(ps2if, PS2CR_FKC); stat 228 drivers/input/serio/sa1111ps2.c if (stat != PS2STAT_KBD) { stat 229 drivers/input/serio/sa1111ps2.c printk("PS/2 interface test failed[1]: %02x\n", stat); stat 233 drivers/input/serio/sa1111ps2.c stat = ps2_test_one(ps2if, 0); stat 234 drivers/input/serio/sa1111ps2.c if (stat != (PS2STAT_KBC | PS2STAT_KBD)) { stat 235 drivers/input/serio/sa1111ps2.c printk("PS/2 interface test failed[2]: %02x\n", stat); stat 239 drivers/input/serio/sa1111ps2.c stat = ps2_test_one(ps2if, PS2CR_FKD); stat 240 drivers/input/serio/sa1111ps2.c if (stat != PS2STAT_KBC) { stat 241 drivers/input/serio/sa1111ps2.c printk("PS/2 interface test failed[3]: %02x\n", stat); stat 339 drivers/input/touchscreen/fsl-imx25-tcq.c u32 stat; stat 342 drivers/input/touchscreen/fsl-imx25-tcq.c regmap_read(priv->regs, MX25_ADCQ_SR, &stat); stat 344 drivers/input/touchscreen/fsl-imx25-tcq.c if (stat & (MX25_ADCQ_SR_FRR | MX25_ADCQ_SR_FUR | MX25_ADCQ_SR_FOR)) stat 347 drivers/input/touchscreen/fsl-imx25-tcq.c if (stat & MX25_ADCQ_SR_PD) { stat 353 drivers/input/touchscreen/fsl-imx25-tcq.c if (stat & MX25_ADCQ_SR_FDRY) { stat 134 drivers/input/touchscreen/sx8654.c u8 stat; stat 142 drivers/input/touchscreen/sx8654.c stat = i2c_smbus_read_byte_data(ts->client, CMD_READ_REGISTER stat 145 drivers/input/touchscreen/sx8654.c if (!(stat & SX8650_STAT_CONVIRQ)) { stat 146 drivers/input/touchscreen/sx8654.c dev_dbg(dev, "%s ignore stat [0x%02x]", __func__, stat); stat 91 drivers/irqchip/irq-aspeed-vic.c u32 stat, irq; stat 95 drivers/irqchip/irq-aspeed-vic.c stat = readl_relaxed(vic->base + AVIC_IRQ_STATUS); stat 96 drivers/irqchip/irq-aspeed-vic.c if (!stat) { stat 97 drivers/irqchip/irq-aspeed-vic.c stat = readl_relaxed(vic->base + AVIC_IRQ_STATUS + 4); stat 100 drivers/irqchip/irq-aspeed-vic.c if (stat == 0) stat 102 drivers/irqchip/irq-aspeed-vic.c irq += ffs(stat) - 1; stat 198 drivers/irqchip/irq-bcm2835.c u32 stat = readl_relaxed(intc.pending[bank]); stat 200 drivers/irqchip/irq-bcm2835.c return MAKE_HWIRQ(bank, ffs(stat) - 1); stat 203 drivers/irqchip/irq-bcm2835.c static u32 armctrl_translate_shortcut(int bank, u32 stat) stat 205 drivers/irqchip/irq-bcm2835.c return MAKE_HWIRQ(bank, shortcuts[ffs(stat >> SHORTCUT_SHIFT) - 1]); stat 210 drivers/irqchip/irq-bcm2835.c u32 stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK; stat 212 drivers/irqchip/irq-bcm2835.c if (stat == 0) stat 214 drivers/irqchip/irq-bcm2835.c else if (stat & BANK0_HWIRQ_MASK) stat 215 drivers/irqchip/irq-bcm2835.c return MAKE_HWIRQ(0, ffs(stat & BANK0_HWIRQ_MASK) - 1); stat 216 drivers/irqchip/irq-bcm2835.c else if (stat & SHORTCUT1_MASK) stat 217 drivers/irqchip/irq-bcm2835.c return armctrl_translate_shortcut(1, stat & SHORTCUT1_MASK); stat 218 drivers/irqchip/irq-bcm2835.c else if (stat & SHORTCUT2_MASK) stat 219 drivers/irqchip/irq-bcm2835.c return armctrl_translate_shortcut(2, stat & SHORTCUT2_MASK); stat 220 drivers/irqchip/irq-bcm2835.c else if (stat & BANK1_HWIRQ) stat 222 drivers/irqchip/irq-bcm2835.c else if (stat & BANK2_HWIRQ) stat 127 drivers/irqchip/irq-bcm2836.c u32 stat; stat 129 drivers/irqchip/irq-bcm2836.c stat = readl_relaxed(intc.base + LOCAL_IRQ_PENDING0 + 4 * cpu); stat 130 drivers/irqchip/irq-bcm2836.c if (stat & BIT(LOCAL_IRQ_MAILBOX0)) { stat 140 drivers/irqchip/irq-bcm2836.c } else if (stat) { stat 141 drivers/irqchip/irq-bcm2836.c u32 hwirq = ffs(stat) - 1; stat 191 drivers/irqchip/irq-bcm7120-l2.c void __iomem *stat = of_iomap(dn, map_idx + 1); stat 192 drivers/irqchip/irq-bcm7120-l2.c void __iomem *base = min(en, stat); stat 195 drivers/irqchip/irq-bcm7120-l2.c data->map_base[map_idx + 1] = stat; stat 202 drivers/irqchip/irq-bcm7120-l2.c data->stat_offset[gc_idx] = stat - base; stat 39 drivers/irqchip/irq-dw-apb-ictl.c u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); stat 41 drivers/irqchip/irq-dw-apb-ictl.c while (stat) { stat 42 drivers/irqchip/irq-dw-apb-ictl.c u32 hwirq = ffs(stat) - 1; stat 46 drivers/irqchip/irq-dw-apb-ictl.c stat &= ~(1 << hwirq); stat 52 drivers/irqchip/irq-mxs.c void __iomem *stat; stat 137 drivers/irqchip/irq-mxs.c irqnr = __raw_readl(icoll_priv.stat); stat 193 drivers/irqchip/irq-mxs.c icoll_priv.stat = icoll_base + HW_ICOLL_STAT_OFFSET; stat 221 drivers/irqchip/irq-mxs.c icoll_priv.stat = icoll_base + ASM9260_HW_ICOLL_STAT_OFFSET; stat 41 drivers/irqchip/irq-orion.c u32 stat = readl_relaxed(gc->reg_base + ORION_IRQ_CAUSE) & stat 43 drivers/irqchip/irq-orion.c while (stat) { stat 44 drivers/irqchip/irq-orion.c u32 hwirq = __fls(stat); stat 47 drivers/irqchip/irq-orion.c stat &= ~(1 << hwirq); stat 114 drivers/irqchip/irq-orion.c u32 stat = readl_relaxed(gc->reg_base + ORION_BRIDGE_IRQ_CAUSE) & stat 117 drivers/irqchip/irq-orion.c while (stat) { stat 118 drivers/irqchip/irq-orion.c u32 hwirq = __fls(stat); stat 121 drivers/irqchip/irq-orion.c stat &= ~(1 << hwirq); stat 51 drivers/irqchip/irq-rda-intc.c u32 stat = readl_relaxed(rda_intc_base + RDA_INTC_FINALSTATUS); stat 54 drivers/irqchip/irq-rda-intc.c while (stat) { stat 55 drivers/irqchip/irq-rda-intc.c hwirq = __fls(stat); stat 57 drivers/irqchip/irq-rda-intc.c stat &= ~BIT(hwirq); stat 203 drivers/irqchip/irq-vic.c u32 stat, irq; stat 206 drivers/irqchip/irq-vic.c while ((stat = readl_relaxed(vic->base + VIC_IRQ_STATUS))) { stat 207 drivers/irqchip/irq-vic.c irq = ffs(stat) - 1; stat 217 drivers/irqchip/irq-vic.c u32 stat, hwirq; stat 223 drivers/irqchip/irq-vic.c while ((stat = readl_relaxed(vic->base + VIC_IRQ_STATUS))) { stat 224 drivers/irqchip/irq-vic.c hwirq = ffs(stat) - 1; stat 168 drivers/irqchip/irq-vt8500.c u32 stat, i; stat 181 drivers/irqchip/irq-vt8500.c stat = readl_relaxed(base + VT8500_ICIS + 4); stat 182 drivers/irqchip/irq-vt8500.c if (!(stat & BIT(31))) stat 115 drivers/isdn/hardware/mISDN/avmfritz.c u32 stat; stat 523 drivers/isdn/hardware/mISDN/avmfritz.c HDLC_irq(struct bchannel *bch, u32 stat) stat 531 drivers/isdn/hardware/mISDN/avmfritz.c pr_debug("%s: ch%d stat %#x\n", fc->name, bch->nr, stat); stat 539 drivers/isdn/hardware/mISDN/avmfritz.c if (stat & HDLC_INT_RPR) { stat 540 drivers/isdn/hardware/mISDN/avmfritz.c if (stat & HDLC_STAT_RDO) { stat 542 drivers/isdn/hardware/mISDN/avmfritz.c fc->name, bch->nr, stat); stat 551 drivers/isdn/hardware/mISDN/avmfritz.c len = (stat & rmlMask) >> 8; stat 559 drivers/isdn/hardware/mISDN/avmfritz.c } else if (stat & HDLC_STAT_RME) { stat 560 drivers/isdn/hardware/mISDN/avmfritz.c if ((stat & HDLC_STAT_CRCVFRRAB) == stat 572 drivers/isdn/hardware/mISDN/avmfritz.c if (stat & HDLC_INT_XDU) { stat 578 drivers/isdn/hardware/mISDN/avmfritz.c stat, bch->tx_skb ? "tx_skb" : "no tx_skb"); stat 591 drivers/isdn/hardware/mISDN/avmfritz.c } else if (stat & HDLC_INT_XPR) stat 598 drivers/isdn/hardware/mISDN/avmfritz.c u32 stat; stat 601 drivers/isdn/hardware/mISDN/avmfritz.c stat = read_status(fc, 1); stat 602 drivers/isdn/hardware/mISDN/avmfritz.c if (stat & HDLC_INT_MASK) { stat 605 drivers/isdn/hardware/mISDN/avmfritz.c HDLC_irq(bch, stat); stat 609 drivers/isdn/hardware/mISDN/avmfritz.c stat = read_status(fc, 2); stat 610 drivers/isdn/hardware/mISDN/avmfritz.c if (stat & HDLC_INT_MASK) { stat 613 drivers/isdn/hardware/mISDN/avmfritz.c HDLC_irq(bch, stat); stat 1146 drivers/isdn/hardware/mISDN/hfcpci.c u_char val, stat; stat 1153 drivers/isdn/hardware/mISDN/hfcpci.c stat = Read_hfc(hc, HFCPCI_STATUS); stat 1154 drivers/isdn/hardware/mISDN/hfcpci.c if (HFCPCI_ANYINT & stat) { stat 1158 drivers/isdn/hardware/mISDN/hfcpci.c "HFC-PCI: stat(%02x) s1(%02x)\n", stat, val); stat 366 drivers/isdn/hardware/mISDN/netjet.c int i, stat; stat 380 drivers/isdn/hardware/mISDN/netjet.c stat = bchannel_get_rxbuf(&bc->bch, cnt); stat 382 drivers/isdn/hardware/mISDN/netjet.c if (stat == -ENOMEM) { stat 408 drivers/isdn/hardware/mISDN/netjet.c stat = isdnhdlc_decode(&bc->hrecv, pn, cnt, &i, stat 410 drivers/isdn/hardware/mISDN/netjet.c if (stat > 0) { /* valid frame received */ stat 411 drivers/isdn/hardware/mISDN/netjet.c p = skb_put(bc->bch.rx_skb, stat); stat 415 drivers/isdn/hardware/mISDN/netjet.c card->name, stat); stat 418 drivers/isdn/hardware/mISDN/netjet.c stat); stat 421 drivers/isdn/hardware/mISDN/netjet.c stat = bchannel_get_rxbuf(&bc->bch, bc->bch.maxlen); stat 422 drivers/isdn/hardware/mISDN/netjet.c if (stat < 0) { stat 427 drivers/isdn/hardware/mISDN/netjet.c } else if (stat == -HDLC_CRC_ERROR) { stat 430 drivers/isdn/hardware/mISDN/netjet.c } else if (stat == -HDLC_FRAMING_ERROR) { stat 433 drivers/isdn/hardware/mISDN/netjet.c } else if (stat == -HDLC_LENGTH_ERROR) { stat 336 drivers/isdn/hardware/mISDN/w6692.c u8 stat; stat 339 drivers/isdn/hardware/mISDN/w6692.c stat = ReadW6692(card, W_D_RSTA); stat 340 drivers/isdn/hardware/mISDN/w6692.c if (stat & (W_D_RSTA_RDOV | W_D_RSTA_CRCE | W_D_RSTA_RMB)) { stat 341 drivers/isdn/hardware/mISDN/w6692.c if (stat & W_D_RSTA_RDOV) { stat 347 drivers/isdn/hardware/mISDN/w6692.c if (stat & W_D_RSTA_CRCE) { stat 353 drivers/isdn/hardware/mISDN/w6692.c if (stat & W_D_RSTA_RMB) { stat 652 drivers/isdn/hardware/mISDN/w6692.c u8 stat, star = 0; stat 654 drivers/isdn/hardware/mISDN/w6692.c stat = ReadW6692B(wch, W_B_EXIR); stat 655 drivers/isdn/hardware/mISDN/w6692.c pr_debug("%s: B%d EXIR %02x\n", card->name, wch->bch.nr, stat); stat 656 drivers/isdn/hardware/mISDN/w6692.c if (stat & W_B_EXI_RME) { stat 696 drivers/isdn/hardware/mISDN/w6692.c if (stat & W_B_EXI_RMR) { stat 697 drivers/isdn/hardware/mISDN/w6692.c if (!(stat & W_B_EXI_RME)) stat 713 drivers/isdn/hardware/mISDN/w6692.c if (stat & W_B_EXI_RDOV) { stat 725 drivers/isdn/hardware/mISDN/w6692.c if (stat & W_B_EXI_XFR) { stat 726 drivers/isdn/hardware/mISDN/w6692.c if (!(stat & (W_B_EXI_RME | W_B_EXI_RMR))) { stat 749 drivers/isdn/hardware/mISDN/w6692.c if (stat & W_B_EXI_XDUN) { stat 57 drivers/md/bcache/stats.c #define var(stat) (s->stat >> 16) stat 135 drivers/md/bcache/stats.c static void scale_stat(unsigned long *stat) stat 137 drivers/md/bcache/stats.c *stat = ewma_add(*stat, 0, accounting_weight, 0); stat 170 drivers/md/bcache/sysfs.c #define var(stat) (dc->stat) stat 391 drivers/md/bcache/util.h #define __print_time_stat(stats, name, stat, units) \ stat 392 drivers/md/bcache/util.h sysfs_print(name ## _ ## stat ## _ ## units, \ stat 393 drivers/md/bcache/util.h div_u64((stats)->stat >> 8, NSEC_PER_ ## units)) stat 767 drivers/media/common/siano/smscoreapi.h struct sms_stats stat; stat 136 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 137 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 150 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; stat 151 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; stat 152 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; stat 153 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; stat 240 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = p->in_band_power * 1000; stat 243 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].svalue = p->snr * 1000; stat 250 drivers/media/common/siano/smsdvb-main.c client->last_per = c->block_error.stat[0].uvalue; stat 251 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 252 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 253 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].uvalue += p->ets_packets; stat 254 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].uvalue += p->ets_packets + p->ts_packets; stat 257 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 258 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 259 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].uvalue += p->ber_error_count; stat 260 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].uvalue += p->ber_bit_count; stat 295 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].svalue = p->SNR * 1000; stat 298 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = p->in_band_pwr * 1000; stat 305 drivers/media/common/siano/smsdvb-main.c client->last_per = c->block_error.stat[0].uvalue; stat 306 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 307 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 308 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].uvalue += p->error_ts_packets; stat 309 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].uvalue += p->total_ts_packets; stat 312 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 313 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 314 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].uvalue += p->ber_error_count; stat 315 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].uvalue += p->ber_bit_count; stat 340 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = ((s32)p->transmission_mode) * 1000; stat 341 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 362 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].svalue = p->SNR * 1000; stat 365 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = p->in_band_pwr * 1000; stat 371 drivers/media/common/siano/smsdvb-main.c client->last_per = c->block_error.stat[0].uvalue; stat 374 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].uvalue = 0; stat 375 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].uvalue = 0; stat 376 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 377 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 378 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].uvalue = 0; stat 379 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].uvalue = 0; stat 380 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 381 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 396 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[i + 1].scale = FE_SCALE_COUNTER; stat 397 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[i + 1].scale = FE_SCALE_COUNTER; stat 398 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[i + 1].uvalue += lr->error_ts_packets; stat 399 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[i + 1].uvalue += lr->total_ts_packets; stat 402 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].uvalue += lr->error_ts_packets; stat 403 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].uvalue += lr->total_ts_packets; stat 406 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[i + 1].scale = FE_SCALE_COUNTER; stat 407 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[i + 1].scale = FE_SCALE_COUNTER; stat 408 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[i + 1].uvalue += lr->ber_error_count; stat 409 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[i + 1].uvalue += lr->ber_bit_count; stat 412 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].uvalue += lr->ber_error_count; stat 413 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].uvalue += lr->ber_bit_count; stat 446 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].svalue = p->SNR * 1000; stat 449 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = p->in_band_pwr * 1000; stat 455 drivers/media/common/siano/smsdvb-main.c client->last_per = c->block_error.stat[0].uvalue; stat 458 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].uvalue = 0; stat 459 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].uvalue = 0; stat 460 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 461 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 462 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].uvalue = 0; stat 463 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].uvalue = 0; stat 464 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 465 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 484 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[i + 1].scale = FE_SCALE_COUNTER; stat 485 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[i + 1].scale = FE_SCALE_COUNTER; stat 486 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[i + 1].uvalue += lr->error_ts_packets; stat 487 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[i + 1].uvalue += lr->total_ts_packets; stat 490 drivers/media/common/siano/smsdvb-main.c c->block_error.stat[0].uvalue += lr->error_ts_packets; stat 491 drivers/media/common/siano/smsdvb-main.c c->block_count.stat[0].uvalue += lr->total_ts_packets; stat 494 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[i + 1].scale = FE_SCALE_COUNTER; stat 495 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[i + 1].scale = FE_SCALE_COUNTER; stat 496 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[i + 1].uvalue += lr->ber_error_count; stat 497 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[i + 1].uvalue += lr->ber_bit_count; stat 500 drivers/media/common/siano/smsdvb-main.c c->post_bit_error.stat[0].uvalue += lr->ber_error_count; stat 501 drivers/media/common/siano/smsdvb-main.c c->post_bit_count.stat[0].uvalue += lr->ber_bit_count; stat 585 drivers/media/common/siano/smsdvb-main.c if (client->last_per == c->block_error.stat[0].uvalue) stat 746 drivers/media/common/siano/smsdvb-main.c static int smsdvb_read_status(struct dvb_frontend *fe, enum fe_status *stat) stat 754 drivers/media/common/siano/smsdvb-main.c *stat = client->fe_status; stat 781 drivers/media/common/siano/smsdvb-main.c s32 power = (s32) c->strength.stat[0].uvalue; stat 811 drivers/media/common/siano/smsdvb-main.c *snr = ((u32)c->cnr.stat[0].svalue) / 100; stat 828 drivers/media/common/siano/smsdvb-main.c *ucblocks = c->block_error.stat[0].uvalue; stat 990 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = 0; stat 991 drivers/media/common/siano/smsdvb-main.c c->cnr.stat[0].uvalue = 0; stat 629 drivers/media/dvb-frontends/af9013.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 630 drivers/media/dvb-frontends/af9013.c c->strength.stat[0].svalue = stmp1; stat 633 drivers/media/dvb-frontends/af9013.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 711 drivers/media/dvb-frontends/af9013.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 712 drivers/media/dvb-frontends/af9013.c c->cnr.stat[0].svalue = utmp1; stat 715 drivers/media/dvb-frontends/af9013.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 768 drivers/media/dvb-frontends/af9013.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 769 drivers/media/dvb-frontends/af9013.c c->post_bit_error.stat[0].uvalue += utmp1; stat 770 drivers/media/dvb-frontends/af9013.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 771 drivers/media/dvb-frontends/af9013.c c->post_bit_count.stat[0].uvalue += utmp2; stat 773 drivers/media/dvb-frontends/af9013.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 774 drivers/media/dvb-frontends/af9013.c c->block_error.stat[0].uvalue += utmp3; stat 775 drivers/media/dvb-frontends/af9013.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 776 drivers/media/dvb-frontends/af9013.c c->block_count.stat[0].uvalue += utmp4; stat 779 drivers/media/dvb-frontends/af9013.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 780 drivers/media/dvb-frontends/af9013.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 782 drivers/media/dvb-frontends/af9013.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 783 drivers/media/dvb-frontends/af9013.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 285 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 287 drivers/media/dvb-frontends/af9033.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 289 drivers/media/dvb-frontends/af9033.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 291 drivers/media/dvb-frontends/af9033.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 293 drivers/media/dvb-frontends/af9033.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 295 drivers/media/dvb-frontends/af9033.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 671 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 672 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].svalue = tmp; stat 675 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 764 drivers/media/dvb-frontends/af9033.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 765 drivers/media/dvb-frontends/af9033.c c->cnr.stat[0].svalue = utmp1; stat 767 drivers/media/dvb-frontends/af9033.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 796 drivers/media/dvb-frontends/af9033.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 797 drivers/media/dvb-frontends/af9033.c c->block_count.stat[0].uvalue = dev->total_block_count; stat 800 drivers/media/dvb-frontends/af9033.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 801 drivers/media/dvb-frontends/af9033.c c->block_error.stat[0].uvalue = dev->error_block_count; stat 804 drivers/media/dvb-frontends/af9033.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 805 drivers/media/dvb-frontends/af9033.c c->post_bit_count.stat[0].uvalue = dev->post_bit_count; stat 808 drivers/media/dvb-frontends/af9033.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 809 drivers/media/dvb-frontends/af9033.c c->post_bit_error.stat[0].uvalue = dev->post_bit_error; stat 829 drivers/media/dvb-frontends/af9033.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) { stat 833 drivers/media/dvb-frontends/af9033.c *snr = div_s64(c->cnr.stat[0].svalue, 100); stat 836 drivers/media/dvb-frontends/af9033.c *snr = div_s64(c->cnr.stat[0].svalue, 1000); stat 326 drivers/media/dvb-frontends/cx24120.c if (c->cnr.stat[0].scale != FE_SCALE_DECIBEL) stat 329 drivers/media/dvb-frontends/cx24120.c *snr = div_s64(c->cnr.stat[0].svalue, 100); stat 339 drivers/media/dvb-frontends/cx24120.c if (c->post_bit_error.stat[0].scale != FE_SCALE_COUNTER) { stat 344 drivers/media/dvb-frontends/cx24120.c *ber = c->post_bit_error.stat[0].uvalue - state->ber_prev; stat 345 drivers/media/dvb-frontends/cx24120.c state->ber_prev = c->post_bit_error.stat[0].uvalue; stat 431 drivers/media/dvb-frontends/cx24120.c if (c->strength.stat[0].scale != FE_SCALE_RELATIVE) stat 434 drivers/media/dvb-frontends/cx24120.c *signal_strength = c->strength.stat[0].uvalue; stat 637 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 638 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].uvalue = sig; stat 640 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 652 drivers/media/dvb-frontends/cx24120.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 653 drivers/media/dvb-frontends/cx24120.c c->cnr.stat[0].svalue = cnr; stat 655 drivers/media/dvb-frontends/cx24120.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 660 drivers/media/dvb-frontends/cx24120.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 661 drivers/media/dvb-frontends/cx24120.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 662 drivers/media/dvb-frontends/cx24120.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 663 drivers/media/dvb-frontends/cx24120.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 678 drivers/media/dvb-frontends/cx24120.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 679 drivers/media/dvb-frontends/cx24120.c c->post_bit_error.stat[0].uvalue += ber; stat 681 drivers/media/dvb-frontends/cx24120.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 682 drivers/media/dvb-frontends/cx24120.c c->post_bit_count.stat[0].uvalue += CX24120_BER_WSIZE; stat 695 drivers/media/dvb-frontends/cx24120.c state->ucb_offset = c->block_error.stat[0].uvalue; stat 697 drivers/media/dvb-frontends/cx24120.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 698 drivers/media/dvb-frontends/cx24120.c c->block_error.stat[0].uvalue = ucb + state->ucb_offset; stat 700 drivers/media/dvb-frontends/cx24120.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 701 drivers/media/dvb-frontends/cx24120.c c->block_count.stat[0].uvalue += state->bitrate / 8 / 208; stat 1449 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1451 drivers/media/dvb-frontends/cx24120.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1453 drivers/media/dvb-frontends/cx24120.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1455 drivers/media/dvb-frontends/cx24120.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1457 drivers/media/dvb-frontends/cx24120.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1459 drivers/media/dvb-frontends/cx24120.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1536 drivers/media/dvb-frontends/cx24120.c if (c->block_error.stat[0].scale != FE_SCALE_COUNTER) { stat 1541 drivers/media/dvb-frontends/cx24120.c *ucblocks = c->block_error.stat[0].uvalue - state->ucb_offset; stat 189 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 190 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.stat[0].uvalue = strength; stat 193 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 224 drivers/media/dvb-frontends/cxd2820r_c.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 225 drivers/media/dvb-frontends/cxd2820r_c.c c->cnr.stat[0].svalue = cnr; stat 228 drivers/media/dvb-frontends/cxd2820r_c.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 265 drivers/media/dvb-frontends/cxd2820r_c.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 266 drivers/media/dvb-frontends/cxd2820r_c.c c->post_bit_error.stat[0].uvalue = priv->post_bit_error; stat 269 drivers/media/dvb-frontends/cxd2820r_c.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 225 drivers/media/dvb-frontends/cxd2820r_core.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) stat 226 drivers/media/dvb-frontends/cxd2820r_core.c *strength = c->strength.stat[0].uvalue; stat 241 drivers/media/dvb-frontends/cxd2820r_core.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) stat 242 drivers/media/dvb-frontends/cxd2820r_core.c *snr = div_s64(c->cnr.stat[0].svalue, 100); stat 294 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 295 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.stat[0].uvalue = strength; stat 298 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 318 drivers/media/dvb-frontends/cxd2820r_t.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 319 drivers/media/dvb-frontends/cxd2820r_t.c c->cnr.stat[0].svalue = cnr; stat 322 drivers/media/dvb-frontends/cxd2820r_t.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 359 drivers/media/dvb-frontends/cxd2820r_t.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 360 drivers/media/dvb-frontends/cxd2820r_t.c c->post_bit_error.stat[0].uvalue = priv->post_bit_error; stat 363 drivers/media/dvb-frontends/cxd2820r_t.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 319 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 320 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.stat[0].uvalue = strength; stat 323 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 345 drivers/media/dvb-frontends/cxd2820r_t2.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 346 drivers/media/dvb-frontends/cxd2820r_t2.c c->cnr.stat[0].svalue = cnr; stat 349 drivers/media/dvb-frontends/cxd2820r_t2.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 371 drivers/media/dvb-frontends/cxd2820r_t2.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 372 drivers/media/dvb-frontends/cxd2820r_t2.c c->post_bit_error.stat[0].uvalue = priv->post_bit_error; stat 375 drivers/media/dvb-frontends/cxd2820r_t2.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1967 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1968 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1973 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 1974 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].uvalue += bit_error; stat 1975 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1976 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].uvalue += bit_count; stat 1978 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1979 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1995 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 1997 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].uvalue = strength * 366 / 100 - 89520; stat 2004 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 2010 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].uvalue = strength * 4045 / 1000 - 85224; stat 2014 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 2019 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].uvalue = strength * 3775 / 1000 - 90185; stat 2024 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 2025 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].uvalue = strength; stat 2028 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 2063 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 2071 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 2072 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].svalue = tmp; stat 2074 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 2101 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 2106 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 2107 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].uvalue = ucblocks; stat 3279 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3287 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3288 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3289 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3290 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3357 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 3358 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3359 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3360 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3361 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3760 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 3762 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3764 drivers/media/dvb-frontends/cxd2841er.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3766 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3768 drivers/media/dvb-frontends/cxd2841er.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1049 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1050 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].uvalue = 0; stat 1052 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1053 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].uvalue = 0; stat 1055 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1056 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].uvalue = 0; stat 1058 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1059 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].uvalue = 0; stat 1061 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1062 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].uvalue = 0; stat 1064 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1065 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].uvalue = 0; stat 1140 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1142 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1144 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1146 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1148 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1150 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1176 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 1177 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].uvalue += pre_bit_err; stat 1179 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1180 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].uvalue += pre_bit_count; stat 1183 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1185 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1211 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 1212 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].uvalue += post_bit_err; stat 1214 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1215 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].uvalue += post_bit_count; stat 1218 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_error.stat[0].scale = stat 1221 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->post_bit_count.stat[0].scale = stat 1247 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 1248 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].uvalue += block_err; stat 1250 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 1251 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].uvalue += block_count; stat 1254 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1256 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1586 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 1587 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].svalue = strength; stat 1590 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1597 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 1598 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].svalue = snr; stat 1601 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1780 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 1781 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].svalue = strength; stat 1784 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1791 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 1792 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].svalue = snr; stat 1795 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 603 drivers/media/dvb-frontends/dib3000mb.c enum fe_status *stat) stat 607 drivers/media/dvb-frontends/dib3000mb.c *stat = 0; stat 610 drivers/media/dvb-frontends/dib3000mb.c *stat |= FE_HAS_SIGNAL; stat 612 drivers/media/dvb-frontends/dib3000mb.c *stat |= FE_HAS_CARRIER; stat 614 drivers/media/dvb-frontends/dib3000mb.c *stat |= FE_HAS_VITERBI; stat 616 drivers/media/dvb-frontends/dib3000mb.c *stat |= (FE_HAS_SYNC | FE_HAS_LOCK); stat 618 drivers/media/dvb-frontends/dib3000mb.c deb_getf("actual status is %2x\n",*stat); stat 770 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_read_status(struct dvb_frontend *fe, enum fe_status *stat) stat 775 drivers/media/dvb-frontends/dib3000mc.c *stat = 0; stat 778 drivers/media/dvb-frontends/dib3000mc.c *stat |= FE_HAS_SIGNAL; stat 780 drivers/media/dvb-frontends/dib3000mc.c *stat |= FE_HAS_CARRIER; stat 782 drivers/media/dvb-frontends/dib3000mc.c *stat |= FE_HAS_VITERBI; stat 784 drivers/media/dvb-frontends/dib3000mc.c *stat |= FE_HAS_SYNC; stat 786 drivers/media/dvb-frontends/dib3000mc.c *stat |= FE_HAS_LOCK; stat 1263 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_read_status(struct dvb_frontend *fe, enum fe_status *stat) stat 1268 drivers/media/dvb-frontends/dib7000m.c *stat = 0; stat 1271 drivers/media/dvb-frontends/dib7000m.c *stat |= FE_HAS_SIGNAL; stat 1273 drivers/media/dvb-frontends/dib7000m.c *stat |= FE_HAS_CARRIER; stat 1275 drivers/media/dvb-frontends/dib7000m.c *stat |= FE_HAS_VITERBI; stat 1277 drivers/media/dvb-frontends/dib7000m.c *stat |= FE_HAS_SYNC; stat 1279 drivers/media/dvb-frontends/dib7000m.c *stat |= FE_HAS_LOCK; stat 1574 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_get_stats(struct dvb_frontend *fe, enum fe_status stat); stat 1576 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_read_status(struct dvb_frontend *fe, enum fe_status *stat) stat 1581 drivers/media/dvb-frontends/dib7000p.c *stat = 0; stat 1584 drivers/media/dvb-frontends/dib7000p.c *stat |= FE_HAS_SIGNAL; stat 1586 drivers/media/dvb-frontends/dib7000p.c *stat |= FE_HAS_CARRIER; stat 1588 drivers/media/dvb-frontends/dib7000p.c *stat |= FE_HAS_VITERBI; stat 1590 drivers/media/dvb-frontends/dib7000p.c *stat |= FE_HAS_SYNC; stat 1592 drivers/media/dvb-frontends/dib7000p.c *stat |= FE_HAS_LOCK; stat 1594 drivers/media/dvb-frontends/dib7000p.c dib7000p_get_stats(fe, *stat); stat 1683 drivers/media/dvb-frontends/dib7000p.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 1684 drivers/media/dvb-frontends/dib7000p.c c->strength.stat[0].uvalue = 0; stat 1686 drivers/media/dvb-frontends/dib7000p.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1687 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1688 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1689 drivers/media/dvb-frontends/dib7000p.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1690 drivers/media/dvb-frontends/dib7000p.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1896 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_get_stats(struct dvb_frontend *demod, enum fe_status stat) stat 1912 drivers/media/dvb-frontends/dib7000p.c c->strength.stat[0].svalue = db; stat 1915 drivers/media/dvb-frontends/dib7000p.c if (!(stat & FE_HAS_LOCK)) { stat 1921 drivers/media/dvb-frontends/dib7000p.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1922 drivers/media/dvb-frontends/dib7000p.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1923 drivers/media/dvb-frontends/dib7000p.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1924 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1925 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1939 drivers/media/dvb-frontends/dib7000p.c c->cnr.stat[0].svalue = snr; stat 1940 drivers/media/dvb-frontends/dib7000p.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 1948 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 1949 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].uvalue = ucb; stat 1958 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 1959 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].uvalue += blocks; stat 1973 drivers/media/dvb-frontends/dib7000p.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 1974 drivers/media/dvb-frontends/dib7000p.c c->post_bit_error.stat[0].uvalue += val; stat 1976 drivers/media/dvb-frontends/dib7000p.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1977 drivers/media/dvb-frontends/dib7000p.c c->post_bit_count.stat[0].uvalue += 100000000; stat 1984 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 1985 drivers/media/dvb-frontends/dib7000p.c c->block_error.stat[0].uvalue += val; stat 1991 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 1992 drivers/media/dvb-frontends/dib7000p.c c->block_count.stat[0].uvalue += blocks; stat 1014 drivers/media/dvb-frontends/dib8000.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 1015 drivers/media/dvb-frontends/dib8000.c c->strength.stat[0].uvalue = 0; stat 1017 drivers/media/dvb-frontends/dib8000.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1018 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1019 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1020 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1021 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3387 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_status(struct dvb_frontend *fe, enum fe_status *stat); stat 3394 drivers/media/dvb-frontends/dib8000.c enum fe_status stat = 0; stat 3404 drivers/media/dvb-frontends/dib8000.c dib8000_read_status(fe, &stat); stat 3405 drivers/media/dvb-frontends/dib8000.c if (!(stat & FE_HAS_SYNC)) stat 3410 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.read_status(state->fe[index_frontend], &stat); stat 3411 drivers/media/dvb-frontends/dib8000.c if (stat&FE_HAS_SYNC) { stat 3741 drivers/media/dvb-frontends/dib8000.c static int dib8000_get_stats(struct dvb_frontend *fe, enum fe_status stat); stat 3743 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_status(struct dvb_frontend *fe, enum fe_status *stat) stat 3753 drivers/media/dvb-frontends/dib8000.c *stat = 0; stat 3756 drivers/media/dvb-frontends/dib8000.c *stat |= FE_HAS_SIGNAL; stat 3759 drivers/media/dvb-frontends/dib8000.c *stat |= FE_HAS_CARRIER; stat 3762 drivers/media/dvb-frontends/dib8000.c *stat |= FE_HAS_SYNC; stat 3765 drivers/media/dvb-frontends/dib8000.c *stat |= FE_HAS_LOCK; stat 3770 drivers/media/dvb-frontends/dib8000.c *stat |= FE_HAS_VITERBI; stat 3774 drivers/media/dvb-frontends/dib8000.c *stat |= FE_HAS_VITERBI; stat 3778 drivers/media/dvb-frontends/dib8000.c *stat |= FE_HAS_VITERBI; stat 3780 drivers/media/dvb-frontends/dib8000.c dib8000_get_stats(fe, *stat); stat 4097 drivers/media/dvb-frontends/dib8000.c static int dib8000_get_stats(struct dvb_frontend *fe, enum fe_status stat) stat 4114 drivers/media/dvb-frontends/dib8000.c c->strength.stat[0].svalue = db; stat 4117 drivers/media/dvb-frontends/dib8000.c if (!(stat & FE_HAS_LOCK)) { stat 4123 drivers/media/dvb-frontends/dib8000.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 4124 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 4125 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 4126 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 4127 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 4149 drivers/media/dvb-frontends/dib8000.c c->cnr.stat[0].svalue = snr; stat 4150 drivers/media/dvb-frontends/dib8000.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 4157 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 4158 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[0].uvalue = val + state->init_ucb; stat 4167 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 4168 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].uvalue += blocks; stat 4182 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 4183 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[0].uvalue += val; stat 4185 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 4186 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[0].uvalue += 100000000; stat 4212 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[1 + i].scale = FE_SCALE_COUNTER; stat 4213 drivers/media/dvb-frontends/dib8000.c c->post_bit_error.stat[1 + i].uvalue += val; stat 4215 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[1 + i].scale = FE_SCALE_COUNTER; stat 4216 drivers/media/dvb-frontends/dib8000.c c->post_bit_count.stat[1 + i].uvalue += 100000000; stat 4222 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[1 + i].scale = FE_SCALE_COUNTER; stat 4223 drivers/media/dvb-frontends/dib8000.c c->block_error.stat[1 + i].uvalue += val; stat 4230 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 4231 drivers/media/dvb-frontends/dib8000.c c->block_count.stat[0].uvalue += blocks; stat 1901 drivers/media/dvb-frontends/dib9000.c enum fe_status stat; stat 1912 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->ops.read_status(state->fe[index_frontend], &stat); stat 1913 drivers/media/dvb-frontends/dib9000.c if (stat & FE_HAS_SYNC) { stat 2169 drivers/media/dvb-frontends/dib9000.c static int dib9000_read_status(struct dvb_frontend *fe, enum fe_status *stat) stat 2184 drivers/media/dvb-frontends/dib9000.c *stat = 0; stat 2187 drivers/media/dvb-frontends/dib9000.c *stat |= FE_HAS_SIGNAL; stat 2189 drivers/media/dvb-frontends/dib9000.c *stat |= FE_HAS_CARRIER; stat 2191 drivers/media/dvb-frontends/dib9000.c *stat |= FE_HAS_VITERBI; stat 2193 drivers/media/dvb-frontends/dib9000.c *stat |= FE_HAS_SYNC; stat 2195 drivers/media/dvb-frontends/dib9000.c *stat |= FE_HAS_LOCK; stat 1913 drivers/media/dvb-frontends/drx39xyj/drxj.c int stat = -EIO; stat 1917 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = -EINVAL; stat 1928 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = drxj_dap_read_modify_write_reg16(dev_addr, stat 1933 drivers/media/dvb-frontends/drx39xyj/drxj.c if (stat != 0) stat 1939 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = -EIO; stat 1950 drivers/media/dvb-frontends/drx39xyj/drxj.c if (stat == 0) { stat 1955 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = drxj_dap_read_reg16(dev_addr, stat 1958 drivers/media/dvb-frontends/drx39xyj/drxj.c if (stat != 0) stat 1964 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = -EIO; stat 1971 drivers/media/dvb-frontends/drx39xyj/drxj.c if (stat == 0) stat 1972 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = drxj_dap_read_modify_write_reg16(dev_addr, stat 1976 drivers/media/dvb-frontends/drx39xyj/drxj.c return stat; stat 1985 drivers/media/dvb-frontends/drx39xyj/drxj.c int stat = -EIO; stat 1992 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = drxj_dap_read_aud_reg16(dev_addr, addr, data); stat 1994 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = drxdap_fasi_read_reg16(dev_addr, addr, data, flags); stat 1996 drivers/media/dvb-frontends/drx39xyj/drxj.c return stat; stat 2016 drivers/media/dvb-frontends/drx39xyj/drxj.c int stat = -EIO; stat 2020 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = -EINVAL; stat 2033 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = drxj_dap_read_modify_write_reg16(dev_addr, stat 2037 drivers/media/dvb-frontends/drx39xyj/drxj.c if (stat != 0) stat 2043 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = -EIO; stat 2054 drivers/media/dvb-frontends/drx39xyj/drxj.c return stat; stat 2063 drivers/media/dvb-frontends/drx39xyj/drxj.c int stat = -EIO; stat 2070 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = drxj_dap_write_aud_reg16(dev_addr, addr, data); stat 2072 drivers/media/dvb-frontends/drx39xyj/drxj.c stat = drxdap_fasi_write_reg16(dev_addr, stat 2075 drivers/media/dvb-frontends/drx39xyj/drxj.c return stat; stat 8895 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->cnr.stat[0].svalue > 20800) { stat 8964 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->cnr.stat[0].svalue > 20800) { stat 9041 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->cnr.stat[0].svalue > 26800) { stat 9488 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 9618 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 9619 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 9620 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 9621 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 9622 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 9623 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 9625 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].svalue = ((u16) qam_sl_mer) * 100; stat 9627 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].uvalue += qam_vd_ser; stat 9628 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].uvalue += vd_bit_cnt * ((e > 2) ? 1 : 8) / 8; stat 9630 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].uvalue += qam_pre_rs_ber; stat 9631 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].uvalue += rs_bit_cnt >> e; stat 9634 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].uvalue += qam_post_rs_ber; stat 9635 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].uvalue += rs_bit_cnt >> e; stat 9637 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].uvalue += pkt_errs; stat 9649 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 9650 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 9651 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 9652 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 9653 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 9654 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10685 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10687 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 10688 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].uvalue = 65535UL * strength/ 100; stat 10701 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10702 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10703 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10704 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10705 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10706 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10707 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10712 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10714 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 10715 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].uvalue += err; stat 10716 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 10717 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].uvalue += pkt; stat 10724 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10726 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 10727 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].uvalue += ber; stat 10728 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 10729 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].uvalue += cnt; stat 10735 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10737 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 10738 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].uvalue += ber; stat 10739 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 10740 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].uvalue += cnt; stat 10745 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 10747 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].svalue = mer * 100; stat 10748 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 12011 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->pre_bit_error.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { stat 12016 drivers/media/dvb-frontends/drx39xyj/drxj.c if (!p->pre_bit_count.stat[0].uvalue) { stat 12017 drivers/media/dvb-frontends/drx39xyj/drxj.c if (!p->pre_bit_error.stat[0].uvalue) stat 12022 drivers/media/dvb-frontends/drx39xyj/drxj.c *ber = frac_times1e6(p->pre_bit_error.stat[0].uvalue, stat 12023 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].uvalue); stat 12033 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->strength.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { stat 12038 drivers/media/dvb-frontends/drx39xyj/drxj.c *strength = p->strength.stat[0].uvalue; stat 12047 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->cnr.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { stat 12052 drivers/media/dvb-frontends/drx39xyj/drxj.c tmp64 = p->cnr.stat[0].svalue; stat 12062 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->block_error.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { stat 12067 drivers/media/dvb-frontends/drx39xyj/drxj.c *ucb = p->block_error.stat[0].uvalue; stat 12169 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 12349 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 12350 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 12351 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 12352 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 12353 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 12354 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 12355 drivers/media/dvb-frontends/drx39xyj/drxj.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 12356 drivers/media/dvb-frontends/drx39xyj/drxj.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6391 drivers/media/dvb-frontends/drxk_hard.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 6392 drivers/media/dvb-frontends/drxk_hard.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6393 drivers/media/dvb-frontends/drxk_hard.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6394 drivers/media/dvb-frontends/drxk_hard.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6395 drivers/media/dvb-frontends/drxk_hard.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6396 drivers/media/dvb-frontends/drxk_hard.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6397 drivers/media/dvb-frontends/drxk_hard.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6398 drivers/media/dvb-frontends/drxk_hard.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6511 drivers/media/dvb-frontends/drxk_hard.c u32 stat; stat 6529 drivers/media/dvb-frontends/drxk_hard.c get_lock_status(state, &stat); stat 6530 drivers/media/dvb-frontends/drxk_hard.c if (stat == MPEG_LOCK) stat 6532 drivers/media/dvb-frontends/drxk_hard.c if (stat == FEC_LOCK) stat 6534 drivers/media/dvb-frontends/drxk_hard.c if (stat == DEMOD_LOCK) stat 6540 drivers/media/dvb-frontends/drxk_hard.c get_strength(state, &c->strength.stat[0].uvalue); stat 6541 drivers/media/dvb-frontends/drxk_hard.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 6544 drivers/media/dvb-frontends/drxk_hard.c if (stat >= DEMOD_LOCK) { stat 6546 drivers/media/dvb-frontends/drxk_hard.c c->cnr.stat[0].svalue = cnr * 100; stat 6547 drivers/media/dvb-frontends/drxk_hard.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 6549 drivers/media/dvb-frontends/drxk_hard.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6552 drivers/media/dvb-frontends/drxk_hard.c if (stat < FEC_LOCK) { stat 6553 drivers/media/dvb-frontends/drxk_hard.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6554 drivers/media/dvb-frontends/drxk_hard.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6555 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6556 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6557 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6558 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6610 drivers/media/dvb-frontends/drxk_hard.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 6611 drivers/media/dvb-frontends/drxk_hard.c c->block_error.stat[0].uvalue += pkt_error_count; stat 6612 drivers/media/dvb-frontends/drxk_hard.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 6613 drivers/media/dvb-frontends/drxk_hard.c c->block_count.stat[0].uvalue += pkt_count; stat 6615 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 6616 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_error.stat[0].uvalue += pre_bit_err_count; stat 6617 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 6618 drivers/media/dvb-frontends/drxk_hard.c c->pre_bit_count.stat[0].uvalue += pre_bit_count; stat 6620 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 6621 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_error.stat[0].uvalue += post_bit_err_count; stat 6622 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 6623 drivers/media/dvb-frontends/drxk_hard.c c->post_bit_count.stat[0].uvalue += post_bit_count; stat 6659 drivers/media/dvb-frontends/drxk_hard.c *strength = c->strength.stat[0].uvalue; stat 6843 drivers/media/dvb-frontends/drxk_hard.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 6844 drivers/media/dvb-frontends/drxk_hard.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6845 drivers/media/dvb-frontends/drxk_hard.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6846 drivers/media/dvb-frontends/drxk_hard.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6847 drivers/media/dvb-frontends/drxk_hard.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6848 drivers/media/dvb-frontends/drxk_hard.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6849 drivers/media/dvb-frontends/drxk_hard.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 6850 drivers/media/dvb-frontends/drxk_hard.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 290 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 292 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 294 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 680 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 681 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 682 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 694 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 695 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].svalue = (((u64)state->snr) * 1000) >> 24; stat 697 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 707 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].uvalue += state->ucblocks; stat 709 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].uvalue += 10000; stat 711 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 712 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 714 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 715 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 786 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 787 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 788 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 800 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 801 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].svalue = (((u64)state->snr) * 1000) >> 24; stat 803 drivers/media/dvb-frontends/lgdt330x.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 813 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].uvalue += state->ucblocks; stat 815 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].uvalue += 10000; stat 817 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 818 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 820 drivers/media/dvb-frontends/lgdt330x.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 821 drivers/media/dvb-frontends/lgdt330x.c p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 191 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 192 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].svalue = cnr; stat 194 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 197 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 276 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 277 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_error.stat[0].uvalue = dev->post_bit_error; stat 278 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 279 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_count.stat[0].uvalue = dev->post_bit_count; stat 281 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 282 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 713 drivers/media/dvb-frontends/m88ds3103.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 715 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 717 drivers/media/dvb-frontends/m88ds3103.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 938 drivers/media/dvb-frontends/m88ds3103.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) stat 939 drivers/media/dvb-frontends/m88ds3103.c *snr = div_s64(c->cnr.stat[0].svalue, 100); stat 573 drivers/media/dvb-frontends/mb86a16.c u8 stat, stat2; stat 578 drivers/media/dvb-frontends/mb86a16.c if (mb86a16_read(state, MB86A16_SIG1, &stat) != 2) stat 582 drivers/media/dvb-frontends/mb86a16.c if ((stat > 25) && (stat2 > 25)) stat 584 drivers/media/dvb-frontends/mb86a16.c if ((stat > 45) && (stat2 > 45)) stat 587 drivers/media/dvb-frontends/mb86a16.c if (mb86a16_read(state, MB86A16_STATUS, &stat) != 2) stat 590 drivers/media/dvb-frontends/mb86a16.c if (stat & 0x01) stat 592 drivers/media/dvb-frontends/mb86a16.c if (stat & 0x01) stat 595 drivers/media/dvb-frontends/mb86a16.c if (mb86a16_read(state, MB86A16_FRAMESYNC, &stat) != 2) stat 598 drivers/media/dvb-frontends/mb86a16.c if ((stat & 0x0f) && (*status & FE_HAS_VITERBI)) stat 327 drivers/media/dvb-frontends/mb86a20s.c return c->strength.stat[0].uvalue; stat 330 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].uvalue = 0; stat 368 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].uvalue = rf; stat 1415 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 1416 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[0].svalue = cnr; stat 1459 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1503 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[1 + layer].scale = FE_SCALE_DECIBEL; stat 1504 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[1 + layer].svalue = cnr; stat 1555 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 1556 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].uvalue = 0; stat 1560 drivers/media/dvb-frontends/mb86a20s.c c->cnr.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1561 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1562 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1563 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1564 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1565 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1566 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1607 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[1 + layer].scale = FE_SCALE_COUNTER; stat 1608 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[1 + layer].uvalue += bit_error; stat 1609 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[1 + layer].scale = FE_SCALE_COUNTER; stat 1610 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[1 + layer].uvalue += bit_count; stat 1616 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1617 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1622 drivers/media/dvb-frontends/mb86a20s.c if (c->block_error.stat[1 + layer].scale != FE_SCALE_NOT_AVAILABLE) stat 1629 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[1 + layer].scale = FE_SCALE_COUNTER; stat 1630 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[1 + layer].uvalue += bit_error; stat 1631 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[1 + layer].scale = FE_SCALE_COUNTER; stat 1632 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[1 + layer].uvalue += bit_count; stat 1638 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1639 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1644 drivers/media/dvb-frontends/mb86a20s.c if (c->block_error.stat[1 + layer].scale != FE_SCALE_NOT_AVAILABLE) stat 1652 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[1 + layer].scale = FE_SCALE_COUNTER; stat 1653 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[1 + layer].uvalue += block_error; stat 1654 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[1 + layer].scale = FE_SCALE_COUNTER; stat 1655 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[1 + layer].uvalue += block_count; stat 1661 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1662 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; stat 1668 drivers/media/dvb-frontends/mb86a20s.c if (c->block_error.stat[1 + layer].scale != FE_SCALE_NOT_AVAILABLE) stat 1672 drivers/media/dvb-frontends/mb86a20s.c t_pre_bit_error += c->pre_bit_error.stat[1 + layer].uvalue; stat 1673 drivers/media/dvb-frontends/mb86a20s.c t_pre_bit_count += c->pre_bit_count.stat[1 + layer].uvalue; stat 1676 drivers/media/dvb-frontends/mb86a20s.c t_post_bit_error += c->post_bit_error.stat[1 + layer].uvalue; stat 1677 drivers/media/dvb-frontends/mb86a20s.c t_post_bit_count += c->post_bit_count.stat[1 + layer].uvalue; stat 1680 drivers/media/dvb-frontends/mb86a20s.c t_block_error += c->block_error.stat[1 + layer].uvalue; stat 1681 drivers/media/dvb-frontends/mb86a20s.c t_block_count += c->block_count.stat[1 + layer].uvalue; stat 1697 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 1698 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[0].uvalue = t_pre_bit_error; stat 1699 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1700 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[0].uvalue = t_pre_bit_count; stat 1702 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1703 drivers/media/dvb-frontends/mb86a20s.c c->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1718 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 1719 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[0].uvalue = t_post_bit_error; stat 1720 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1721 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[0].uvalue = t_post_bit_count; stat 1723 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1724 drivers/media/dvb-frontends/mb86a20s.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1735 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 1736 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[0].uvalue = t_block_error; stat 1737 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 1738 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[0].uvalue = t_block_count; stat 1740 drivers/media/dvb-frontends/mb86a20s.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1741 drivers/media/dvb-frontends/mb86a20s.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 2016 drivers/media/dvb-frontends/mb86a20s.c *strength = c->strength.stat[0].uvalue; stat 277 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 286 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 287 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].uvalue = agc; stat 291 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 325 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 326 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].uvalue = cnr; stat 331 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 332 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 346 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 347 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].uvalue = bit_err; stat 349 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 350 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].uvalue = bit_cnt; stat 480 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 490 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 491 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].uvalue = agc; stat 495 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 514 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 515 drivers/media/dvb-frontends/mn88443x.c c->cnr.stat[0].uvalue = cnr; stat 519 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 520 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 538 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 539 drivers/media/dvb-frontends/mn88443x.c c->post_bit_error.stat[0].uvalue = bit_err; stat 541 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 542 drivers/media/dvb-frontends/mn88443x.c c->post_bit_count.stat[0].uvalue = bit_cnt; stat 84 drivers/media/dvb-frontends/mn88472.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 85 drivers/media/dvb-frontends/mn88472.c c->strength.stat[0].uvalue = utmp1; stat 87 drivers/media/dvb-frontends/mn88472.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 109 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].svalue = stmp; stat 110 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 144 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].svalue = stmp; stat 145 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 167 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].svalue = stmp; stat 168 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 170 drivers/media/dvb-frontends/mn88472.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 184 drivers/media/dvb-frontends/mn88472.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 185 drivers/media/dvb-frontends/mn88472.c c->block_error.stat[0].uvalue += utmp1; stat 186 drivers/media/dvb-frontends/mn88472.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 187 drivers/media/dvb-frontends/mn88472.c c->block_count.stat[0].uvalue += utmp2; stat 189 drivers/media/dvb-frontends/mn88472.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 190 drivers/media/dvb-frontends/mn88472.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 324 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 325 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].uvalue = utmp1; stat 327 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 348 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].svalue = stmp; stat 349 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 382 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].svalue = stmp; stat 383 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 404 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].svalue = stmp; stat 405 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 407 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 424 drivers/media/dvb-frontends/mn88473.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 425 drivers/media/dvb-frontends/mn88473.c c->post_bit_error.stat[0].uvalue += utmp1; stat 426 drivers/media/dvb-frontends/mn88473.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 427 drivers/media/dvb-frontends/mn88473.c c->post_bit_count.stat[0].uvalue += utmp2; stat 429 drivers/media/dvb-frontends/mn88473.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 430 drivers/media/dvb-frontends/mn88473.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 444 drivers/media/dvb-frontends/mn88473.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 445 drivers/media/dvb-frontends/mn88473.c c->block_error.stat[0].uvalue += utmp1; stat 446 drivers/media/dvb-frontends/mn88473.c c->block_count.stat[0].scale = FE_SCALE_COUNTER; stat 447 drivers/media/dvb-frontends/mn88473.c c->block_count.stat[0].uvalue += utmp2; stat 449 drivers/media/dvb-frontends/mn88473.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 450 drivers/media/dvb-frontends/mn88473.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 532 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 534 drivers/media/dvb-frontends/mn88473.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 536 drivers/media/dvb-frontends/mn88473.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 538 drivers/media/dvb-frontends/mn88473.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 540 drivers/media/dvb-frontends/mn88473.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 542 drivers/media/dvb-frontends/mn88473.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 160 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 167 drivers/media/dvb-frontends/mxl5xx.c stat = i2cwrite(state, data, stat 169 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 171 drivers/media/dvb-frontends/mxl5xx.c if (!stat) stat 172 drivers/media/dvb-frontends/mxl5xx.c stat = i2cread(state, (u8 *) val, stat 175 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 177 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 185 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 206 drivers/media/dvb-frontends/mxl5xx.c stat = i2cwrite(state, buf, size); stat 208 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 213 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 220 drivers/media/dvb-frontends/mxl5xx.c stat = i2cwrite(state, data, sizeof(data)); stat 222 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 224 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 230 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 241 drivers/media/dvb-frontends/mxl5xx.c stat = i2cwrite(state, buf, stat 245 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 247 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 252 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 260 drivers/media/dvb-frontends/mxl5xx.c stat = i2cwrite(state, data, stat 262 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 264 drivers/media/dvb-frontends/mxl5xx.c if (!stat) stat 265 drivers/media/dvb-frontends/mxl5xx.c stat = i2cread(state, (u8 *) val, stat 269 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 271 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 276 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 287 drivers/media/dvb-frontends/mxl5xx.c stat = i2cwrite(state, buf, stat 289 drivers/media/dvb-frontends/mxl5xx.c if (!stat) { stat 290 drivers/media/dvb-frontends/mxl5xx.c stat = i2cread(state, data, size); stat 294 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 301 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 303 drivers/media/dvb-frontends/mxl5xx.c stat = read_register(state, reg, &data); stat 304 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 305 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 318 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 320 drivers/media/dvb-frontends/mxl5xx.c stat = read_register(state, reg, &data); stat 321 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 322 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 325 drivers/media/dvb-frontends/mxl5xx.c stat = write_register(state, reg, data); stat 326 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 349 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 351 drivers/media/dvb-frontends/mxl5xx.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 353 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 355 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 357 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 359 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 444 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 494 drivers/media/dvb-frontends/mxl5xx.c stat = send_command(state, cmd_size + MXL_HYDRA_CMD_HEADER_SIZE, stat 497 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 525 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 531 drivers/media/dvb-frontends/mxl5xx.c stat = read_register(state, (HYDRA_DMD_SNR_ADDR_OFFSET + stat 537 drivers/media/dvb-frontends/mxl5xx.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 538 drivers/media/dvb-frontends/mxl5xx.c p->cnr.stat[0].svalue = (s16)reg_data * 10; stat 540 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 561 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 562 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_error.stat[0].uvalue = reg[2]; stat 563 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 564 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_count.stat[0].uvalue = reg[3]; stat 579 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 580 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].uvalue = reg[5]; stat 581 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 582 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].uvalue = reg[6]; stat 585 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 586 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].uvalue = reg[1]; stat 587 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 588 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].uvalue = reg[2]; stat 603 drivers/media/dvb-frontends/mxl5xx.c int stat; stat 608 drivers/media/dvb-frontends/mxl5xx.c stat = read_register(state, (HYDRA_DMD_STATUS_INPUT_POWER_ADDR + stat 614 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 615 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].svalue = (s16) reg_data * 10; /* fix scale */ stat 617 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 644 drivers/media/dvb-frontends/mxl5xx.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 649 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 650 drivers/media/dvb-frontends/mxl5xx.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 651 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 652 drivers/media/dvb-frontends/mxl5xx.c p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1327 drivers/media/dvb-frontends/mxl5xx.c int stat = 0; stat 1335 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x90000194, 0, 3, ts_drive_strength); stat 1336 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x90000194, 20, 3, ts_drive_strength); stat 1337 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x90000194, 24, 3, ts_drive_strength); stat 1338 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x90000198, 12, 3, ts_drive_strength); stat 1339 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x90000198, 16, 3, ts_drive_strength); stat 1340 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x90000198, 20, 3, ts_drive_strength); stat 1341 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x90000198, 24, 3, ts_drive_strength); stat 1342 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x9000019C, 0, 3, ts_drive_strength); stat 1343 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x9000019C, 4, 3, ts_drive_strength); stat 1344 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x9000019C, 8, 3, ts_drive_strength); stat 1345 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x9000019C, 24, 3, ts_drive_strength); stat 1346 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x9000019C, 28, 3, ts_drive_strength); stat 1347 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x900001A0, 0, 3, ts_drive_strength); stat 1348 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x900001A0, 4, 3, ts_drive_strength); stat 1349 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x900001A0, 20, 3, ts_drive_strength); stat 1350 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x900001A0, 24, 3, ts_drive_strength); stat 1351 drivers/media/dvb-frontends/mxl5xx.c stat |= update_by_mnemonic(state, 0x900001A0, 28, 3, ts_drive_strength); stat 1353 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 1358 drivers/media/dvb-frontends/mxl5xx.c int stat = 0; stat 1368 drivers/media/dvb-frontends/mxl5xx.c stat = send_command(state, cmd_size + MXL_HYDRA_CMD_HEADER_SIZE, stat 1370 drivers/media/dvb-frontends/mxl5xx.c if (stat) stat 1371 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 1595 drivers/media/dvb-frontends/mxl5xx.c int stat = 0; stat 1609 drivers/media/dvb-frontends/mxl5xx.c stat = firmware_download(state, buf, 0x40000); stat 1612 drivers/media/dvb-frontends/mxl5xx.c return stat; stat 121 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 123 drivers/media/dvb-frontends/rtl2830.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 125 drivers/media/dvb-frontends/rtl2830.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 127 drivers/media/dvb-frontends/rtl2830.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 423 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 424 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].uvalue = utmp; stat 426 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 465 drivers/media/dvb-frontends/rtl2830.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 466 drivers/media/dvb-frontends/rtl2830.c c->cnr.stat[0].svalue = stmp; stat 468 drivers/media/dvb-frontends/rtl2830.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 483 drivers/media/dvb-frontends/rtl2830.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 484 drivers/media/dvb-frontends/rtl2830.c c->post_bit_error.stat[0].uvalue = dev->post_bit_error; stat 485 drivers/media/dvb-frontends/rtl2830.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 486 drivers/media/dvb-frontends/rtl2830.c c->post_bit_count.stat[0].uvalue = dev->post_bit_count; stat 488 drivers/media/dvb-frontends/rtl2830.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 489 drivers/media/dvb-frontends/rtl2830.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 503 drivers/media/dvb-frontends/rtl2830.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) stat 504 drivers/media/dvb-frontends/rtl2830.c *snr = div_s64(c->cnr.stat[0].svalue, 100); stat 533 drivers/media/dvb-frontends/rtl2830.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) stat 534 drivers/media/dvb-frontends/rtl2830.c *strength = c->strength.stat[0].uvalue; stat 354 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 356 drivers/media/dvb-frontends/rtl2832.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 358 drivers/media/dvb-frontends/rtl2832.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 360 drivers/media/dvb-frontends/rtl2832.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 679 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 680 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].uvalue = u16tmp; stat 682 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 721 drivers/media/dvb-frontends/rtl2832.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 722 drivers/media/dvb-frontends/rtl2832.c c->cnr.stat[0].svalue = tmp; stat 724 drivers/media/dvb-frontends/rtl2832.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 739 drivers/media/dvb-frontends/rtl2832.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 740 drivers/media/dvb-frontends/rtl2832.c c->post_bit_error.stat[0].uvalue = dev->post_bit_error; stat 741 drivers/media/dvb-frontends/rtl2832.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 742 drivers/media/dvb-frontends/rtl2832.c c->post_bit_count.stat[0].uvalue = dev->post_bit_count; stat 744 drivers/media/dvb-frontends/rtl2832.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 745 drivers/media/dvb-frontends/rtl2832.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 759 drivers/media/dvb-frontends/rtl2832.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) stat 760 drivers/media/dvb-frontends/rtl2832.c *snr = div_s64(c->cnr.stat[0].svalue, 100); stat 641 drivers/media/dvb-frontends/si2165.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 643 drivers/media/dvb-frontends/si2165.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 645 drivers/media/dvb-frontends/si2165.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 737 drivers/media/dvb-frontends/si2165.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 738 drivers/media/dvb-frontends/si2165.c c->cnr.stat[0].svalue = u32tmp; stat 740 drivers/media/dvb-frontends/si2165.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 744 drivers/media/dvb-frontends/si2165.c if (c->post_bit_error.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { stat 751 drivers/media/dvb-frontends/si2165.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 752 drivers/media/dvb-frontends/si2165.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 753 drivers/media/dvb-frontends/si2165.c c->post_bit_error.stat[0].uvalue = 0; stat 754 drivers/media/dvb-frontends/si2165.c c->post_bit_count.stat[0].uvalue = 0; stat 775 drivers/media/dvb-frontends/si2165.c c->post_bit_error.stat[0].uvalue += stat 777 drivers/media/dvb-frontends/si2165.c c->post_bit_count.stat[0].uvalue += stat 792 drivers/media/dvb-frontends/si2165.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 793 drivers/media/dvb-frontends/si2165.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 803 drivers/media/dvb-frontends/si2165.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) stat 804 drivers/media/dvb-frontends/si2165.c *snr = div_s64(c->cnr.stat[0].svalue, 100); stat 815 drivers/media/dvb-frontends/si2165.c if (c->post_bit_error.stat[0].scale != FE_SCALE_COUNTER) { stat 820 drivers/media/dvb-frontends/si2165.c *ber = c->post_bit_error.stat[0].uvalue - state->ber_prev; stat 821 drivers/media/dvb-frontends/si2165.c state->ber_prev = c->post_bit_error.stat[0].uvalue; stat 163 drivers/media/dvb-frontends/si2168.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 164 drivers/media/dvb-frontends/si2168.c c->cnr.stat[0].svalue = cmd.args[3] * 1000 / 4; stat 167 drivers/media/dvb-frontends/si2168.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 195 drivers/media/dvb-frontends/si2168.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 196 drivers/media/dvb-frontends/si2168.c c->post_bit_error.stat[0].uvalue += utmp1; stat 197 drivers/media/dvb-frontends/si2168.c c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 198 drivers/media/dvb-frontends/si2168.c c->post_bit_count.stat[0].uvalue += utmp2; stat 200 drivers/media/dvb-frontends/si2168.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 201 drivers/media/dvb-frontends/si2168.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 218 drivers/media/dvb-frontends/si2168.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 219 drivers/media/dvb-frontends/si2168.c c->block_error.stat[0].uvalue += utmp1; stat 221 drivers/media/dvb-frontends/si2168.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 533 drivers/media/dvb-frontends/si2168.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 535 drivers/media/dvb-frontends/si2168.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 537 drivers/media/dvb-frontends/si2168.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 539 drivers/media/dvb-frontends/si2168.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3036 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3040 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 3041 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].uvalue = signalstrength; stat 3069 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3073 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 3074 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].uvalue = snrval; stat 3091 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3095 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 3096 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].uvalue = ucblocks; stat 3127 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3133 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3252 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3254 drivers/media/dvb-frontends/stv0367.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 3256 drivers/media/dvb-frontends/stv0367.c p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1946 drivers/media/dvb-frontends/stv090x.c u8 stat; stat 1950 drivers/media/dvb-frontends/stv090x.c stat = STV090x_GETFIELD_Px(reg, HEADER_MODE_FIELD); stat 1952 drivers/media/dvb-frontends/stv090x.c switch (stat) { stat 3082 drivers/media/dvb-frontends/stv090x.c s32 timer = 0, lock = 0, stat; stat 3087 drivers/media/dvb-frontends/stv090x.c stat = STV090x_GETFIELD_Px(reg, HEADER_MODE_FIELD); stat 3089 drivers/media/dvb-frontends/stv090x.c switch (stat) { stat 1287 drivers/media/dvb-frontends/stv0910.c int stat = 0; stat 1295 drivers/media/dvb-frontends/stv0910.c stat = start(state, p); stat 1296 drivers/media/dvb-frontends/stv0910.c return stat; stat 1327 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 1328 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].svalue = 100 * snrval; /* fix scale */ stat 1330 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1344 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 1345 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].uvalue = n; stat 1346 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; stat 1347 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].uvalue = d; stat 1375 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 1376 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].svalue = (padc - agc); stat 1402 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1403 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1404 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1405 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1537 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1543 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1544 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1665 drivers/media/dvb-frontends/stv0910.c u8 stat; stat 1669 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P1_DISTXSTATUS + offs, &stat); stat 1670 drivers/media/dvb-frontends/stv0910.c if ((stat & flag) == val) stat 1767 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1769 drivers/media/dvb-frontends/stv0910.c p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1771 drivers/media/dvb-frontends/stv0910.c p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1773 drivers/media/dvb-frontends/stv0910.c p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 427 drivers/media/dvb-frontends/stv6111.c int stat = 0; stat 439 drivers/media/dvb-frontends/stv6111.c stat = fe->ops.i2c_gate_ctrl(fe, 1); stat 440 drivers/media/dvb-frontends/stv6111.c if (!stat) { stat 444 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl && !stat) stat 446 drivers/media/dvb-frontends/stv6111.c return stat; stat 524 drivers/media/dvb-frontends/stv6111.c int stat = 0; stat 533 drivers/media/dvb-frontends/stv6111.c stat = fe->ops.i2c_gate_ctrl(fe, 1); stat 534 drivers/media/dvb-frontends/stv6111.c if (!stat) stat 536 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl && !stat) stat 583 drivers/media/dvb-frontends/stv6111.c int stat = 0; stat 586 drivers/media/dvb-frontends/stv6111.c stat = fe->ops.i2c_gate_ctrl(fe, 1); stat 587 drivers/media/dvb-frontends/stv6111.c if (!stat) { stat 593 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl && !stat) stat 662 drivers/media/dvb-frontends/stv6111.c int stat = -ENODEV; stat 676 drivers/media/dvb-frontends/stv6111.c stat = attach_init(state); stat 679 drivers/media/dvb-frontends/stv6111.c if (stat < 0) { stat 252 drivers/media/dvb-frontends/tc90522.c stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 277 drivers/media/dvb-frontends/tc90522.c stats->stat[0].svalue = cn >> 3; stat 278 drivers/media/dvb-frontends/tc90522.c stats->stat[0].scale = FE_SCALE_DECIBEL; stat 288 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; stat 291 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_COUNTER; stat 292 drivers/media/dvb-frontends/tc90522.c stats->stat[i].uvalue = val[i * 5] << 16 stat 301 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; stat 304 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_COUNTER; stat 305 drivers/media/dvb-frontends/tc90522.c stats->stat[i].uvalue = stat 307 drivers/media/dvb-frontends/tc90522.c stats->stat[i].uvalue *= 204 * 8; stat 410 drivers/media/dvb-frontends/tc90522.c stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 437 drivers/media/dvb-frontends/tc90522.c stats->stat[0].svalue = cn >> 3; stat 438 drivers/media/dvb-frontends/tc90522.c stats->stat[0].scale = FE_SCALE_DECIBEL; stat 448 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; stat 451 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_COUNTER; stat 452 drivers/media/dvb-frontends/tc90522.c stats->stat[i].uvalue = val[i * 3] << 16 stat 461 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; stat 464 drivers/media/dvb-frontends/tc90522.c stats->stat[i].scale = FE_SCALE_COUNTER; stat 465 drivers/media/dvb-frontends/tc90522.c stats->stat[i].uvalue = stat 467 drivers/media/dvb-frontends/tc90522.c stats->stat[i].uvalue *= 204 * 8; stat 408 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 409 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].svalue = (int) (uitmp - 256) * 1000; stat 411 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 421 drivers/media/dvb-frontends/tda10071.c c->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 422 drivers/media/dvb-frontends/tda10071.c c->cnr.stat[0].svalue = (buf[0] << 8 | buf[1] << 0) * 100; stat 424 drivers/media/dvb-frontends/tda10071.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 477 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 478 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].uvalue = dev->post_bit_error; stat 480 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].scale = FE_SCALE_COUNTER; stat 481 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].uvalue = dev->block_error; stat 485 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; stat 486 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].uvalue = dev->post_bit_error; stat 487 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 490 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 491 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 504 drivers/media/dvb-frontends/tda10071.c if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) stat 505 drivers/media/dvb-frontends/tda10071.c *snr = div_s64(c->cnr.stat[0].svalue, 100); stat 516 drivers/media/dvb-frontends/tda10071.c if (c->strength.stat[0].scale == FE_SCALE_DECIBEL) { stat 517 drivers/media/dvb-frontends/tda10071.c uitmp = div_s64(c->strength.stat[0].svalue, 1000) + 256; stat 539 drivers/media/dvb-frontends/tda10071.c if (c->block_error.stat[0].scale == FE_SCALE_COUNTER) stat 540 drivers/media/dvb-frontends/tda10071.c *ucblocks = c->block_error.stat[0].uvalue; stat 1021 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1023 drivers/media/dvb-frontends/tda10071.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1025 drivers/media/dvb-frontends/tda10071.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 1027 drivers/media/dvb-frontends/tda10071.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 144 drivers/media/dvb-frontends/ts2020.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 145 drivers/media/dvb-frontends/ts2020.c c->strength.stat[0].uvalue = 0; stat 437 drivers/media/dvb-frontends/ts2020.c ret = ts2020_get_tuner_gain(priv->fe, &c->strength.stat[0].svalue); stat 441 drivers/media/dvb-frontends/ts2020.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 464 drivers/media/dvb-frontends/ts2020.c if (c->strength.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { stat 469 drivers/media/dvb-frontends/ts2020.c gain = c->strength.stat[0].svalue; stat 749 drivers/media/firewire/firedtv-avc.c int avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat) stat 789 drivers/media/firewire/firedtv-avc.c stat->active_system = r->operand[10]; stat 790 drivers/media/firewire/firedtv-avc.c stat->searching = r->operand[11] >> 7 & 1; stat 791 drivers/media/firewire/firedtv-avc.c stat->moving = r->operand[11] >> 6 & 1; stat 792 drivers/media/firewire/firedtv-avc.c stat->no_rf = r->operand[11] >> 5 & 1; stat 793 drivers/media/firewire/firedtv-avc.c stat->input = r->operand[12] >> 7 & 1; stat 794 drivers/media/firewire/firedtv-avc.c stat->selected_antenna = r->operand[12] & 0x7f; stat 795 drivers/media/firewire/firedtv-avc.c stat->ber = r->operand[13] << 24 | stat 799 drivers/media/firewire/firedtv-avc.c stat->signal_strength = r->operand[17]; stat 800 drivers/media/firewire/firedtv-avc.c stat->raster_frequency = r->operand[18] >> 6 & 2; stat 801 drivers/media/firewire/firedtv-avc.c stat->rf_frequency = (r->operand[18] & 0x3f) << 16 | stat 804 drivers/media/firewire/firedtv-avc.c stat->man_dep_info_length = r->operand[21]; stat 805 drivers/media/firewire/firedtv-avc.c stat->front_end_error = r->operand[22] >> 4 & 1; stat 806 drivers/media/firewire/firedtv-avc.c stat->antenna_error = r->operand[22] >> 3 & 1; stat 807 drivers/media/firewire/firedtv-avc.c stat->front_end_power_status = r->operand[22] >> 1 & 1; stat 808 drivers/media/firewire/firedtv-avc.c stat->power_supply = r->operand[22] & 1; stat 809 drivers/media/firewire/firedtv-avc.c stat->carrier_noise_ratio = r->operand[23] << 8 | stat 811 drivers/media/firewire/firedtv-avc.c stat->power_supply_voltage = r->operand[27]; stat 812 drivers/media/firewire/firedtv-avc.c stat->antenna_voltage = r->operand[28]; stat 813 drivers/media/firewire/firedtv-avc.c stat->firewire_bus_voltage = r->operand[29]; stat 814 drivers/media/firewire/firedtv-avc.c stat->ca_mmi = r->operand[30] & 1; stat 815 drivers/media/firewire/firedtv-avc.c stat->ca_pmt_reply = r->operand[31] >> 7 & 1; stat 816 drivers/media/firewire/firedtv-avc.c stat->ca_date_time_request = r->operand[31] >> 6 & 1; stat 817 drivers/media/firewire/firedtv-avc.c stat->ca_application_info = r->operand[31] >> 5 & 1; stat 818 drivers/media/firewire/firedtv-avc.c stat->ca_module_present_status = r->operand[31] >> 4 & 1; stat 819 drivers/media/firewire/firedtv-avc.c stat->ca_dvb_flag = r->operand[31] >> 3 & 1; stat 820 drivers/media/firewire/firedtv-avc.c stat->ca_error_flag = r->operand[31] >> 2 & 1; stat 821 drivers/media/firewire/firedtv-avc.c stat->ca_initialization_status = r->operand[31] >> 1 & 1; stat 23 drivers/media/firewire/firedtv-ci.c static int fdtv_ca_ready(struct firedtv_tuner_status *stat) stat 25 drivers/media/firewire/firedtv-ci.c return stat->ca_initialization_status == 1 && stat 26 drivers/media/firewire/firedtv-ci.c stat->ca_error_flag == 0 && stat 27 drivers/media/firewire/firedtv-ci.c stat->ca_dvb_flag == 1 && stat 28 drivers/media/firewire/firedtv-ci.c stat->ca_module_present_status == 1; stat 31 drivers/media/firewire/firedtv-ci.c static int fdtv_get_ca_flags(struct firedtv_tuner_status *stat) stat 35 drivers/media/firewire/firedtv-ci.c if (stat->ca_module_present_status == 1) stat 37 drivers/media/firewire/firedtv-ci.c if (stat->ca_initialization_status == 1 && stat 38 drivers/media/firewire/firedtv-ci.c stat->ca_error_flag == 0 && stat 39 drivers/media/firewire/firedtv-ci.c stat->ca_dvb_flag == 1) stat 57 drivers/media/firewire/firedtv-ci.c struct firedtv_tuner_status stat; stat 61 drivers/media/firewire/firedtv-ci.c err = avc_tuner_status(fdtv, &stat); stat 69 drivers/media/firewire/firedtv-ci.c slot->flags = fdtv_get_ca_flags(&stat); stat 96 drivers/media/firewire/firedtv-ci.c struct firedtv_tuner_status stat; stat 107 drivers/media/firewire/firedtv-ci.c err = avc_tuner_status(fdtv, &stat); stat 110 drivers/media/firewire/firedtv-ci.c if (stat.ca_mmi == 1) stat 176 drivers/media/firewire/firedtv-ci.c struct firedtv_tuner_status stat; stat 201 drivers/media/firewire/firedtv-ci.c avc_tuner_status(fdtv, &stat); stat 230 drivers/media/firewire/firedtv-ci.c struct firedtv_tuner_status stat; stat 233 drivers/media/firewire/firedtv-ci.c if (avc_tuner_status(fdtv, &stat)) stat 236 drivers/media/firewire/firedtv-ci.c if (!fdtv_ca_ready(&stat)) stat 242 drivers/media/firewire/firedtv-ci.c if (stat.ca_application_info == 0) stat 244 drivers/media/firewire/firedtv-ci.c if (stat.ca_date_time_request == 1) stat 85 drivers/media/firewire/firedtv-fe.c struct firedtv_tuner_status stat; stat 87 drivers/media/firewire/firedtv-fe.c if (avc_tuner_status(fdtv, &stat)) stat 90 drivers/media/firewire/firedtv-fe.c if (stat.no_rf) stat 101 drivers/media/firewire/firedtv-fe.c struct firedtv_tuner_status stat; stat 103 drivers/media/firewire/firedtv-fe.c if (avc_tuner_status(fdtv, &stat)) stat 106 drivers/media/firewire/firedtv-fe.c *ber = stat.ber; stat 113 drivers/media/firewire/firedtv-fe.c struct firedtv_tuner_status stat; stat 115 drivers/media/firewire/firedtv-fe.c if (avc_tuner_status(fdtv, &stat)) stat 118 drivers/media/firewire/firedtv-fe.c *strength = stat.signal_strength << 8; stat 125 drivers/media/firewire/firedtv-fe.c struct firedtv_tuner_status stat; stat 127 drivers/media/firewire/firedtv-fe.c if (avc_tuner_status(fdtv, &stat)) stat 131 drivers/media/firewire/firedtv-fe.c *snr = stat.carrier_noise_ratio * 257; stat 111 drivers/media/firewire/firedtv.h int avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat); stat 597 drivers/media/i2c/ks0127.c int stat = V4L2_IN_ST_NO_SIGNAL; stat 603 drivers/media/i2c/ks0127.c stat = 0; stat 605 drivers/media/i2c/ks0127.c stat |= V4L2_IN_ST_NO_COLOR; stat 620 drivers/media/i2c/ks0127.c *pstatus = stat; stat 83 drivers/media/i2c/tda9840.c int stat = tda9840_status(sd); stat 89 drivers/media/i2c/tda9840.c stat = stat < 0 ? 0 : stat; stat 90 drivers/media/i2c/tda9840.c if (stat == 0 || stat == 0x60) /* mono input */ stat 92 drivers/media/i2c/tda9840.c else if (stat == 0x40) /* stereo input */ stat 115 drivers/media/i2c/tda9840.c int stat = tda9840_status(sd); stat 117 drivers/media/i2c/tda9840.c if (stat < 0) stat 118 drivers/media/i2c/tda9840.c return stat; stat 122 drivers/media/i2c/tda9840.c switch (stat & 0x60) { stat 221 drivers/media/pci/bt8xx/bt878.c u32 stat; stat 230 drivers/media/pci/bt8xx/bt878.c stat = btread(BT878_AINT_STAT); stat 231 drivers/media/pci/bt8xx/bt878.c if (!(stat & BT878_ARISC_EN)) stat 237 drivers/media/pci/bt8xx/bt878.c bt->nr, i, stat); stat 249 drivers/media/pci/bt8xx/bt878.c u32 stat, astat, mask; stat 257 drivers/media/pci/bt8xx/bt878.c stat = btread(BT878_AINT_STAT); stat 259 drivers/media/pci/bt8xx/bt878.c if (!(astat = (stat & mask))) stat 302 drivers/media/pci/bt8xx/bt878.c bt->finished_block = (stat & BT878_ARISCS) >> 28; stat 3751 drivers/media/pci/bt8xx/bttv-driver.c u32 stat,astat; stat 3762 drivers/media/pci/bt8xx/bttv-driver.c stat=btread(BT848_INT_STAT); stat 3763 drivers/media/pci/bt8xx/bttv-driver.c astat=stat&btread(BT848_INT_MASK); stat 3767 drivers/media/pci/bt8xx/bttv-driver.c btwrite(stat,BT848_INT_STAT); stat 3775 drivers/media/pci/bt8xx/bttv-driver.c stat>>28, btread(BT848_RISC_COUNT)); stat 3776 drivers/media/pci/bt8xx/bttv-driver.c bttv_print_irqbits(stat,astat); stat 3777 drivers/media/pci/bt8xx/bttv-driver.c if (stat & BT848_INT_HLOCK) stat 3781 drivers/media/pci/bt8xx/bttv-driver.c if (stat & BT848_INT_VPRES) stat 3785 drivers/media/pci/bt8xx/bttv-driver.c if (stat & BT848_INT_FMTCHG) stat 3800 drivers/media/pci/bt8xx/bttv-driver.c btv->i2c_done = stat; stat 3804 drivers/media/pci/bt8xx/bttv-driver.c if ((astat & BT848_INT_RISCI) && (stat & (4<<28))) stat 3807 drivers/media/pci/bt8xx/bttv-driver.c if ((astat & BT848_INT_RISCI) && (stat & (2<<28))) stat 3810 drivers/media/pci/bt8xx/bttv-driver.c if ((astat & BT848_INT_RISCI) && (stat & (1<<28))) stat 3823 drivers/media/pci/bt8xx/bttv-driver.c bttv_print_irqbits(stat,astat); stat 3851 drivers/media/pci/bt8xx/bttv-driver.c bttv_print_irqbits(stat,astat); stat 175 drivers/media/pci/cobalt/cobalt-driver.c static const char *get_link_speed(u16 stat) stat 177 drivers/media/pci/cobalt/cobalt-driver.c switch (stat & PCI_EXP_LNKSTA_CLS) { stat 190 drivers/media/pci/cobalt/cobalt-driver.c u16 stat, ctrl; stat 198 drivers/media/pci/cobalt/cobalt-driver.c pcie_capability_read_word(pci_dev, PCI_EXP_DEVSTA, &stat); stat 205 drivers/media/pci/cobalt/cobalt-driver.c cobalt_info("PCIe device status 0x%04x\n", stat); stat 210 drivers/media/pci/cobalt/cobalt-driver.c pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &stat); stat 216 drivers/media/pci/cobalt/cobalt-driver.c stat, get_link_speed(stat), stat 217 drivers/media/pci/cobalt/cobalt-driver.c (stat & PCI_EXP_LNKSTA_NLW) >> 4); stat 228 drivers/media/pci/cobalt/cobalt-driver.c pcie_capability_read_word(pci_dev, PCI_EXP_SLTSTA, &stat); stat 231 drivers/media/pci/cobalt/cobalt-driver.c cobalt_info("PCIe slot status 0x%04x\n", stat); stat 50 drivers/media/pci/cobalt/cobalt-irq.c uint32_t stat = ioread32(&vmr->irq_status); stat 52 drivers/media/pci/cobalt/cobalt-irq.c iowrite32(stat, &vmr->irq_status); stat 70 drivers/media/pci/cobalt/cobalt-irq.c if ((stat & (M00233_IRQ_STATUS_BITMAP_VACTIVE_AREA_MSK | stat 577 drivers/media/pci/cobalt/cobalt-v4l2.c u8 stat; stat 594 drivers/media/pci/cobalt/cobalt-v4l2.c stat = ioread32(&vo->rd_status); stat 597 drivers/media/pci/cobalt/cobalt-v4l2.c (stat & M00514_RD_STATUS_BITMAP_FLOW_CTRL_NO_DATA_ERROR_MSK) ? stat 599 drivers/media/pci/cobalt/cobalt-v4l2.c (stat & M00514_RD_STATUS_BITMAP_READY_BUFFER_FULL_MSK) ? stat 143 drivers/media/pci/ddbridge/ddbridge-ci.c int stat = 0; stat 146 drivers/media/pci/ddbridge/ddbridge-ci.c stat |= DVB_CA_EN50221_POLL_CAM_PRESENT; stat 148 drivers/media/pci/ddbridge/ddbridge-ci.c stat |= DVB_CA_EN50221_POLL_CAM_READY; stat 149 drivers/media/pci/ddbridge/ddbridge-ci.c return stat; stat 274 drivers/media/pci/ddbridge/ddbridge-ci.c int stat = 0; stat 279 drivers/media/pci/ddbridge/ddbridge-ci.c stat |= DVB_CA_EN50221_POLL_CAM_PRESENT; stat 281 drivers/media/pci/ddbridge/ddbridge-ci.c stat |= DVB_CA_EN50221_POLL_CAM_READY; stat 282 drivers/media/pci/ddbridge/ddbridge-ci.c return stat; stat 465 drivers/media/pci/ddbridge/ddbridge-core.c output->dma->stat = 0; stat 525 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->stat = 0; stat 581 drivers/media/pci/ddbridge/ddbridge-core.c u32 idx, off, stat = output->dma->stat; stat 584 drivers/media/pci/ddbridge/ddbridge-core.c idx = (stat >> 11) & 0x1f; stat 585 drivers/media/pci/ddbridge/ddbridge-core.c off = (stat & 0x7ff) << 7; stat 603 drivers/media/pci/ddbridge/ddbridge-core.c u32 idx, off, stat = output->dma->stat; stat 606 drivers/media/pci/ddbridge/ddbridge-core.c idx = (stat >> 11) & 0x1f; stat 607 drivers/media/pci/ddbridge/ddbridge-core.c off = (stat & 0x7ff) << 7; stat 656 drivers/media/pci/ddbridge/ddbridge-core.c u32 idx, off, stat = input->dma->stat; stat 659 drivers/media/pci/ddbridge/ddbridge-core.c idx = (stat >> 11) & 0x1f; stat 660 drivers/media/pci/ddbridge/ddbridge-core.c off = (stat & 0x7ff) << 7; stat 664 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, stat, DMA_BUFFER_ACK(input->dma)); stat 677 drivers/media/pci/ddbridge/ddbridge-core.c u32 idx, free, stat = input->dma->stat; stat 680 drivers/media/pci/ddbridge/ddbridge-core.c idx = (stat >> 11) & 0x1f; stat 722 drivers/media/pci/ddbridge/ddbridge-core.c int stat; stat 735 drivers/media/pci/ddbridge/ddbridge-core.c stat = ddb_output_write(output, buf, left); stat 736 drivers/media/pci/ddbridge/ddbridge-core.c if (stat < 0) stat 737 drivers/media/pci/ddbridge/ddbridge-core.c return stat; stat 738 drivers/media/pci/ddbridge/ddbridge-core.c buf += stat; stat 739 drivers/media/pci/ddbridge/ddbridge-core.c left -= stat; stat 752 drivers/media/pci/ddbridge/ddbridge-core.c int stat; stat 765 drivers/media/pci/ddbridge/ddbridge-core.c stat = ddb_input_read(input, buf, left); stat 766 drivers/media/pci/ddbridge/ddbridge-core.c if (stat < 0) stat 767 drivers/media/pci/ddbridge/ddbridge-core.c return stat; stat 768 drivers/media/pci/ddbridge/ddbridge-core.c left -= stat; stat 769 drivers/media/pci/ddbridge/ddbridge-core.c buf += stat; stat 2122 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->stat, DMA_BUFFER_ACK(output->dma)); stat 2123 drivers/media/pci/ddbridge/ddbridge-core.c output->dma->cbuf = (input->dma->stat >> 11) & 0x1f; stat 2124 drivers/media/pci/ddbridge/ddbridge-core.c output->dma->coff = (input->dma->stat & 0x7ff) << 7; stat 2131 drivers/media/pci/ddbridge/ddbridge-core.c output->dma->stat, DMA_BUFFER_ACK(input->dma)); stat 2152 drivers/media/pci/ddbridge/ddbridge-core.c while (dma->cbuf != ((dma->stat >> 11) & 0x1f) || stat 2168 drivers/media/pci/ddbridge/ddbridge-core.c dma->stat = safe_ddbreadl(dev, DMA_BUFFER_CURRENT(dma)); stat 2185 drivers/media/pci/ddbridge/ddbridge-core.c dma->stat = ddbreadl(dev, DMA_BUFFER_CURRENT(dma)); stat 2214 drivers/media/pci/ddbridge/ddbridge-core.c dma->stat = ddbreadl(dev, DMA_BUFFER_CURRENT(dma)); stat 43 drivers/media/pci/ddbridge/ddbridge-i2c.c unsigned long stat; stat 47 drivers/media/pci/ddbridge/ddbridge-i2c.c stat = wait_for_completion_timeout(&i2c->completion, HZ); stat 49 drivers/media/pci/ddbridge/ddbridge-i2c.c if (stat == 0) { stat 199 drivers/media/pci/ddbridge/ddbridge-i2c.c int stat = 0; stat 217 drivers/media/pci/ddbridge/ddbridge-i2c.c stat = ddb_i2c_add(dev, i2c, regmap, l, i, num); stat 218 drivers/media/pci/ddbridge/ddbridge-i2c.c if (stat) stat 223 drivers/media/pci/ddbridge/ddbridge-i2c.c if (stat) { stat 233 drivers/media/pci/ddbridge/ddbridge-i2c.c return stat; stat 105 drivers/media/pci/ddbridge/ddbridge-main.c int stat; stat 108 drivers/media/pci/ddbridge/ddbridge-main.c stat = pci_alloc_irq_vectors(dev->pdev, 1, nr, stat 110 drivers/media/pci/ddbridge/ddbridge-main.c if (stat >= 1) { stat 111 drivers/media/pci/ddbridge/ddbridge-main.c dev->msi = stat; stat 123 drivers/media/pci/ddbridge/ddbridge-main.c int stat; stat 141 drivers/media/pci/ddbridge/ddbridge-main.c stat = request_irq(pci_irq_vector(dev->pdev, 0), stat 144 drivers/media/pci/ddbridge/ddbridge-main.c if (stat < 0) stat 145 drivers/media/pci/ddbridge/ddbridge-main.c return stat; stat 146 drivers/media/pci/ddbridge/ddbridge-main.c stat = request_irq(pci_irq_vector(dev->pdev, 1), stat 149 drivers/media/pci/ddbridge/ddbridge-main.c if (stat < 0) { stat 151 drivers/media/pci/ddbridge/ddbridge-main.c return stat; stat 156 drivers/media/pci/ddbridge/ddbridge-main.c stat = request_irq(pci_irq_vector(dev->pdev, 0), stat 159 drivers/media/pci/ddbridge/ddbridge-main.c if (stat < 0) stat 160 drivers/media/pci/ddbridge/ddbridge-main.c return stat; stat 169 drivers/media/pci/ddbridge/ddbridge-main.c return stat; stat 176 drivers/media/pci/ddbridge/ddbridge-main.c int stat = 0; stat 215 drivers/media/pci/ddbridge/ddbridge-main.c stat = -ENOMEM; stat 220 drivers/media/pci/ddbridge/ddbridge-main.c stat = -ENODEV; stat 233 drivers/media/pci/ddbridge/ddbridge-main.c stat = ddb_irq_init(dev); stat 234 drivers/media/pci/ddbridge/ddbridge-main.c if (stat < 0) stat 295 drivers/media/pci/ddbridge/ddbridge-main.c int stat; stat 300 drivers/media/pci/ddbridge/ddbridge-main.c stat = ddb_init_ddbridge(); stat 301 drivers/media/pci/ddbridge/ddbridge-main.c if (stat < 0) stat 302 drivers/media/pci/ddbridge/ddbridge-main.c return stat; stat 303 drivers/media/pci/ddbridge/ddbridge-main.c stat = pci_register_driver(&ddb_pci_driver); stat 304 drivers/media/pci/ddbridge/ddbridge-main.c if (stat < 0) stat 305 drivers/media/pci/ddbridge/ddbridge-main.c ddb_exit_ddbridge(0, stat); stat 307 drivers/media/pci/ddbridge/ddbridge-main.c return stat; stat 67 drivers/media/pci/ddbridge/ddbridge-mci.c unsigned long stat; stat 78 drivers/media/pci/ddbridge/ddbridge-mci.c stat = wait_for_completion_timeout(&state->base->completion, HZ); stat 79 drivers/media/pci/ddbridge/ddbridge-mci.c if (stat == 0) { stat 93 drivers/media/pci/ddbridge/ddbridge-mci.c int stat; stat 96 drivers/media/pci/ddbridge/ddbridge-mci.c stat = _mci_cmd_unlocked(state, stat 100 drivers/media/pci/ddbridge/ddbridge-mci.c return stat; stat 70 drivers/media/pci/ddbridge/ddbridge-sx8.c int stat; stat 77 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = ddb_mci_cmd(&state->mci, &cmd, &state->signal_info); stat 78 drivers/media/pci/ddbridge/ddbridge-sx8.c return stat; stat 87 drivers/media/pci/ddbridge/ddbridge-sx8.c p->cnr.stat[0].scale = FE_SCALE_DECIBEL; stat 88 drivers/media/pci/ddbridge/ddbridge-sx8.c p->cnr.stat[0].svalue = stat 104 drivers/media/pci/ddbridge/ddbridge-sx8.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 105 drivers/media/pci/ddbridge/ddbridge-sx8.c p->strength.stat[0].svalue = str; stat 111 drivers/media/pci/ddbridge/ddbridge-sx8.c int stat; stat 118 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = ddb_mci_cmd(&state->mci, &cmd, &res); stat 119 drivers/media/pci/ddbridge/ddbridge-sx8.c if (stat) stat 120 drivers/media/pci/ddbridge/ddbridge-sx8.c return stat; stat 130 drivers/media/pci/ddbridge/ddbridge-sx8.c return stat; stat 194 drivers/media/pci/ddbridge/ddbridge-sx8.c int i = -1, stat = 0; stat 213 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = -EBUSY; stat 233 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = -EBUSY; stat 243 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = -EBUSY; stat 249 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = -EBUSY; stat 259 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = -EBUSY; stat 273 drivers/media/pci/ddbridge/ddbridge-sx8.c if (stat) stat 274 drivers/media/pci/ddbridge/ddbridge-sx8.c return stat; stat 303 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = ddb_mci_cmd(&state->mci, &cmd, NULL); stat 304 drivers/media/pci/ddbridge/ddbridge-sx8.c if (stat) stat 306 drivers/media/pci/ddbridge/ddbridge-sx8.c return stat; stat 319 drivers/media/pci/ddbridge/ddbridge-sx8.c int i, stat = 0; stat 323 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = -EBUSY; stat 330 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = -EBUSY; stat 340 drivers/media/pci/ddbridge/ddbridge-sx8.c if (stat) stat 341 drivers/media/pci/ddbridge/ddbridge-sx8.c return stat; stat 351 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = ddb_mci_cmd(&state->mci, &cmd, NULL); stat 352 drivers/media/pci/ddbridge/ddbridge-sx8.c if (stat) stat 355 drivers/media/pci/ddbridge/ddbridge-sx8.c return stat; stat 360 drivers/media/pci/ddbridge/ddbridge-sx8.c int stat = 0; stat 399 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = start(fe, 3, mask, ts_config); stat 401 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = start_iq(fe, 0, 4, ts_config); stat 403 drivers/media/pci/ddbridge/ddbridge-sx8.c if (!stat) { stat 409 drivers/media/pci/ddbridge/ddbridge-sx8.c return stat; stat 157 drivers/media/pci/ddbridge/ddbridge.h u32 stat; stat 922 drivers/media/pci/ivtv/ivtv-irq.c u32 stat; stat 928 drivers/media/pci/ivtv/ivtv-irq.c stat = read_reg(IVTV_REG_IRQSTATUS); stat 930 drivers/media/pci/ivtv/ivtv-irq.c combo = ~itv->irqmask & stat; stat 56 drivers/media/pci/mantis/hopper_cards.c u32 stat = 0, mask = 0; stat 69 drivers/media/pci/mantis/hopper_cards.c stat = mmread(MANTIS_INT_STAT); stat 71 drivers/media/pci/mantis/hopper_cards.c if (!(stat & mask)) stat 83 drivers/media/pci/mantis/hopper_cards.c mantis->mantis_int_stat = stat; stat 85 drivers/media/pci/mantis/hopper_cards.c dprintk(MANTIS_DEBUG, 0, "\n-- Stat=<%02x> Mask=<%02x> --", stat, mask); stat 86 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_RISCEN) { stat 89 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_IRQ0) { stat 95 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_IRQ1) { stat 103 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_OCERR) { stat 106 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_PABORT) { stat 109 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_RIPERR) { stat 112 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_PPERR) { stat 115 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_FTRGT) { stat 118 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_RISCI) { stat 120 drivers/media/pci/mantis/hopper_cards.c mantis->busy_block = (stat & MANTIS_INT_RISCSTAT) >> 28; stat 123 drivers/media/pci/mantis/hopper_cards.c if (stat & MANTIS_INT_I2CDONE) { stat 127 drivers/media/pci/mantis/hopper_cards.c mmwrite(stat, MANTIS_INT_STAT); stat 128 drivers/media/pci/mantis/hopper_cards.c stat &= ~(MANTIS_INT_RISCEN | MANTIS_INT_I2CDONE | stat 139 drivers/media/pci/mantis/hopper_cards.c if (stat) stat 140 drivers/media/pci/mantis/hopper_cards.c dprintk(MANTIS_DEBUG, 0, "<Unknown> Stat=<%02x> Mask=<%02x>", stat, mask); stat 65 drivers/media/pci/mantis/mantis_cards.c u32 stat = 0, mask = 0; stat 78 drivers/media/pci/mantis/mantis_cards.c stat = mmread(MANTIS_INT_STAT); stat 80 drivers/media/pci/mantis/mantis_cards.c if (!(stat & mask)) stat 92 drivers/media/pci/mantis/mantis_cards.c mantis->mantis_int_stat = stat; stat 94 drivers/media/pci/mantis/mantis_cards.c dprintk(MANTIS_DEBUG, 0, "\n-- Stat=<%02x> Mask=<%02x> --", stat, mask); stat 95 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_RISCEN) { stat 98 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_IRQ0) { stat 104 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_IRQ1) { stat 112 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_OCERR) { stat 115 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_PABORT) { stat 118 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_RIPERR) { stat 121 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_PPERR) { stat 124 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_FTRGT) { stat 127 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_RISCI) { stat 129 drivers/media/pci/mantis/mantis_cards.c mantis->busy_block = (stat & MANTIS_INT_RISCSTAT) >> 28; stat 132 drivers/media/pci/mantis/mantis_cards.c if (stat & MANTIS_INT_I2CDONE) { stat 136 drivers/media/pci/mantis/mantis_cards.c mmwrite(stat, MANTIS_INT_STAT); stat 137 drivers/media/pci/mantis/mantis_cards.c stat &= ~(MANTIS_INT_RISCEN | MANTIS_INT_I2CDONE | stat 148 drivers/media/pci/mantis/mantis_cards.c if (stat) stat 149 drivers/media/pci/mantis/mantis_cards.c dprintk(MANTIS_DEBUG, 0, "<Unknown> Stat=<%02x> Mask=<%02x>", stat, mask); stat 28 drivers/media/pci/mantis/mantis_i2c.c u32 rxd, i, stat, trials; stat 47 drivers/media/pci/mantis/mantis_i2c.c stat = mmread(MANTIS_INT_STAT); stat 48 drivers/media/pci/mantis/mantis_i2c.c if (stat & MANTIS_INT_I2CDONE) stat 56 drivers/media/pci/mantis/mantis_i2c.c stat = mmread(MANTIS_INT_STAT); stat 57 drivers/media/pci/mantis/mantis_i2c.c if (stat & MANTIS_INT_I2CRACK) stat 75 drivers/media/pci/mantis/mantis_i2c.c u32 txd = 0, stat, trials; stat 95 drivers/media/pci/mantis/mantis_i2c.c stat = mmread(MANTIS_INT_STAT); stat 96 drivers/media/pci/mantis/mantis_i2c.c if (stat & MANTIS_INT_I2CDONE) stat 104 drivers/media/pci/mantis/mantis_i2c.c stat = mmread(MANTIS_INT_STAT); stat 105 drivers/media/pci/mantis/mantis_i2c.c if (stat & MANTIS_INT_I2CRACK) stat 119 drivers/media/pci/mantis/mantis_i2c.c u32 stat, data, txd; stat 149 drivers/media/pci/mantis/mantis_i2c.c stat = mmread(MANTIS_INT_STAT); stat 150 drivers/media/pci/mantis/mantis_i2c.c if (stat & MANTIS_INT_I2CDONE) stat 155 drivers/media/pci/mantis/mantis_i2c.c if (stat & MANTIS_INT_I2CDONE) { stat 157 drivers/media/pci/mantis/mantis_i2c.c if (stat & MANTIS_INT_I2CRACK) { stat 82 drivers/media/pci/mantis/mantis_uart.c u32 stat; stat 85 drivers/media/pci/mantis/mantis_uart.c stat = mmread(MANTIS_UART_STAT); stat 87 drivers/media/pci/mantis/mantis_uart.c if (stat & MANTIS_UART_RXFIFO_FULL) stat 97 drivers/media/pci/mantis/mantis_uart.c while (stat & MANTIS_UART_RXFIFO_DATA) { stat 99 drivers/media/pci/mantis/mantis_uart.c stat = mmread(MANTIS_UART_STAT); stat 921 drivers/media/pci/ngene/ngene-cards.c int stat; stat 925 drivers/media/pci/ngene/ngene-cards.c stat = ReadEEProm(adapter, tag, 2, buf, &len); stat 926 drivers/media/pci/ngene/ngene-cards.c if (stat) stat 927 drivers/media/pci/ngene/ngene-cards.c return stat; stat 937 drivers/media/pci/ngene/ngene-cards.c int stat; stat 942 drivers/media/pci/ngene/ngene-cards.c stat = WriteEEProm(adapter, tag, 2, buf); stat 943 drivers/media/pci/ngene/ngene-cards.c if (stat) stat 944 drivers/media/pci/ngene/ngene-cards.c return stat; stat 1282 drivers/media/pci/ngene/ngene-core.c int stat; stat 1297 drivers/media/pci/ngene/ngene-core.c stat = ngene_command_config_free_buf(dev, bconf); stat 1303 drivers/media/pci/ngene/ngene-core.c stat = ngene_command_config_buf(dev, bconf); stat 1305 drivers/media/pci/ngene/ngene-core.c return stat; stat 1311 drivers/media/pci/ngene/ngene-core.c int stat; stat 1317 drivers/media/pci/ngene/ngene-core.c stat = request_irq(dev->pci_dev->irq, irq_handler, stat 1320 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1321 drivers/media/pci/ngene/ngene-core.c return stat; stat 1337 drivers/media/pci/ngene/ngene-core.c stat = ngene_load_firm(dev); stat 1338 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1349 drivers/media/pci/ngene/ngene-core.c stat = pci_enable_msi(dev->pci_dev); stat 1350 drivers/media/pci/ngene/ngene-core.c if (stat) { stat 1357 drivers/media/pci/ngene/ngene-core.c stat = request_irq(dev->pci_dev->irq, irq_handler, stat 1359 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1365 drivers/media/pci/ngene/ngene-core.c stat = ngene_i2c_init(dev, 0); stat 1366 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1369 drivers/media/pci/ngene/ngene-core.c stat = ngene_i2c_init(dev, 1); stat 1370 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1383 drivers/media/pci/ngene/ngene-core.c return stat; stat 1663 drivers/media/pci/ngene/ngene-core.c int stat = 0; stat 1670 drivers/media/pci/ngene/ngene-core.c stat = -ENOMEM; stat 1681 drivers/media/pci/ngene/ngene-core.c stat = ngene_get_buffers(dev); stat 1682 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1684 drivers/media/pci/ngene/ngene-core.c stat = ngene_start(dev); stat 1685 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1690 drivers/media/pci/ngene/ngene-core.c stat = ngene_buffer_config(dev); stat 1691 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1698 drivers/media/pci/ngene/ngene-core.c stat = init_channels(dev); stat 1699 drivers/media/pci/ngene/ngene-core.c if (stat < 0) stat 1710 drivers/media/pci/ngene/ngene-core.c return stat; stat 28 drivers/media/pci/pt3/pt3_dma.c u32 stat; stat 32 drivers/media/pci/pt3/pt3_dma.c stat = ioread32(pt3->regs[0] + base + OFST_STATUS); stat 33 drivers/media/pci/pt3/pt3_dma.c if (!(stat & 0x01)) stat 38 drivers/media/pci/pt3/pt3_dma.c stat = ioread32(pt3->regs[0] + base + OFST_STATUS); stat 39 drivers/media/pci/pt3/pt3_dma.c if (!(stat & 0x01)) stat 122 drivers/media/pci/solo6x10/solo6x10-regs.h #define SOLO_P2M_CURRENT_ID(stat) (0xff & (stat)) stat 186 drivers/media/pci/solo6x10/solo6x10-regs.h #define DISP_PAGE(stat) ((stat) & 0x07) stat 581 drivers/media/pci/solo6x10/solo6x10-regs.h #define SOLO_UART_RX_BUFF_CNT(stat) (((stat)>>6) & 0x1f) stat 583 drivers/media/pci/solo6x10/solo6x10-regs.h #define SOLO_UART_TX_BUFF_CNT(stat) (((stat)>>0) & 0x1f) stat 292 drivers/media/pci/ttpci/av7110_hw.c u32 stat; stat 307 drivers/media/pci/ttpci/av7110_hw.c stat = rdebi(av7110, DEBINOSWAP, MSGSTATE, 0, 2); stat 309 drivers/media/pci/ttpci/av7110_hw.c if ((stat & flags) == 0) stat 313 drivers/media/pci/ttpci/av7110_hw.c __func__, stat & flags); stat 327 drivers/media/pci/ttpci/av7110_hw.c u32 stat; stat 397 drivers/media/pci/ttpci/av7110_hw.c stat = rdebi(av7110, DEBINOSWAP, MSGSTATE, 0, 2); stat 398 drivers/media/pci/ttpci/av7110_hw.c if (stat & flags[0]) { stat 403 drivers/media/pci/ttpci/av7110_hw.c if ((stat & flags[1]) == 0) stat 442 drivers/media/pci/ttpci/av7110_hw.c stat = rdebi(av7110, DEBINOSWAP, MSGSTATE, 0, 2); stat 443 drivers/media/pci/ttpci/av7110_hw.c if (stat & GPMQOver) { stat 447 drivers/media/pci/ttpci/av7110_hw.c else if (stat & OSDQOver) { stat 539 drivers/media/pci/ttpci/av7110_hw.c u32 stat; stat 589 drivers/media/pci/ttpci/av7110_hw.c stat = rdebi(av7110, DEBINOSWAP, MSGSTATE, 0, 2); stat 590 drivers/media/pci/ttpci/av7110_hw.c if (stat & GPMQOver) { stat 595 drivers/media/pci/ttpci/av7110_hw.c else if (stat & OSDQOver) { stat 998 drivers/media/platform/imx-pxp.c u32 stat; stat 1000 drivers/media/platform/imx-pxp.c stat = readl(dev->mmio + HW_PXP_STAT); stat 1002 drivers/media/platform/imx-pxp.c if (stat & BM_PXP_STAT_IRQ0) { stat 1004 drivers/media/platform/imx-pxp.c if (stat & ~(BM_PXP_STAT_BLOCKX | BM_PXP_STAT_BLOCKY | stat 1006 drivers/media/platform/imx-pxp.c dprintk(dev, "%s: stat = 0x%08x\n", __func__, stat); stat 1013 drivers/media/platform/imx-pxp.c dprintk(dev, "%s: stat = 0x%08x\n", __func__, stat); stat 455 drivers/media/platform/meson/ao-cec-g12a.c u32 stat; stat 457 drivers/media/platform/meson/ao-cec-g12a.c regmap_read(ao_cec->regmap, CECB_INTR_STAT_REG, &stat); stat 458 drivers/media/platform/meson/ao-cec-g12a.c if (stat) stat 467 drivers/media/platform/meson/ao-cec-g12a.c u32 stat; stat 469 drivers/media/platform/meson/ao-cec-g12a.c regmap_read(ao_cec->regmap, CECB_INTR_STAT_REG, &stat); stat 470 drivers/media/platform/meson/ao-cec-g12a.c regmap_write(ao_cec->regmap, CECB_INTR_CLR_REG, stat); stat 472 drivers/media/platform/meson/ao-cec-g12a.c if (stat & CECB_INTR_DONE) stat 475 drivers/media/platform/meson/ao-cec-g12a.c if (stat & CECB_INTR_EOM) stat 478 drivers/media/platform/meson/ao-cec-g12a.c if (stat & CECB_INTR_NACK) stat 481 drivers/media/platform/meson/ao-cec-g12a.c if (stat & CECB_INTR_ARB_LOSS) { stat 489 drivers/media/platform/meson/ao-cec-g12a.c if (stat & CECB_INTR_INITIATOR_ERR) stat 493 drivers/media/platform/meson/ao-cec-g12a.c if (stat & CECB_INTR_FOLLOWER_ERR) stat 374 drivers/media/platform/meson/ao-cec.c u32 stat = readl_relaxed(ao_cec->base + CEC_INTR_STAT_REG); stat 376 drivers/media/platform/meson/ao-cec.c if (stat) stat 385 drivers/media/platform/meson/ao-cec.c u8 stat; stat 388 drivers/media/platform/meson/ao-cec.c meson_ao_cec_read(ao_cec, CEC_TX_MSG_STATUS, &stat, &ret); stat 392 drivers/media/platform/meson/ao-cec.c switch (stat) { stat 474 drivers/media/platform/meson/ao-cec.c u32 stat = readl_relaxed(ao_cec->base + CEC_INTR_STAT_REG); stat 476 drivers/media/platform/meson/ao-cec.c if (stat & CEC_INTR_TX) stat 243 drivers/media/platform/omap3isp/isph3a_aewb.c struct ispstat *stat = v4l2_get_subdevdata(sd); stat 247 drivers/media/platform/omap3isp/isph3a_aewb.c return omap3isp_stat_config(stat, arg); stat 249 drivers/media/platform/omap3isp/isph3a_aewb.c return omap3isp_stat_request_statistics(stat, arg); stat 251 drivers/media/platform/omap3isp/isph3a_aewb.c return omap3isp_stat_request_statistics_time32(stat, arg); stat 254 drivers/media/platform/omap3isp/isph3a_aewb.c return omap3isp_stat_enable(stat, !!*en); stat 307 drivers/media/platform/omap3isp/isph3a_af.c struct ispstat *stat = v4l2_get_subdevdata(sd); stat 311 drivers/media/platform/omap3isp/isph3a_af.c return omap3isp_stat_config(stat, arg); stat 313 drivers/media/platform/omap3isp/isph3a_af.c return omap3isp_stat_request_statistics(stat, arg); stat 315 drivers/media/platform/omap3isp/isph3a_af.c return omap3isp_stat_request_statistics_time32(stat, arg); stat 318 drivers/media/platform/omap3isp/isph3a_af.c return omap3isp_stat_enable(stat, !!*en); stat 428 drivers/media/platform/omap3isp/isphist.c struct ispstat *stat = v4l2_get_subdevdata(sd); stat 432 drivers/media/platform/omap3isp/isphist.c return omap3isp_stat_config(stat, arg); stat 434 drivers/media/platform/omap3isp/isphist.c return omap3isp_stat_request_statistics(stat, arg); stat 436 drivers/media/platform/omap3isp/isphist.c return omap3isp_stat_request_statistics_time32(stat, arg); stat 439 drivers/media/platform/omap3isp/isphist.c return omap3isp_stat_enable(stat, !!*en); stat 22 drivers/media/platform/omap3isp/ispstat.c #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL) stat 56 drivers/media/platform/omap3isp/ispstat.c #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) stat 57 drivers/media/platform/omap3isp/ispstat.c #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) stat 58 drivers/media/platform/omap3isp/ispstat.c #define IS_H3A(stat) (IS_H3A_AF(stat) || IS_H3A_AEWB(stat)) stat 60 drivers/media/platform/omap3isp/ispstat.c static void __isp_stat_buf_sync_magic(struct ispstat *stat, stat 68 drivers/media/platform/omap3isp/ispstat.c dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); stat 69 drivers/media/platform/omap3isp/ispstat.c dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK), stat 73 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_buf_sync_magic_for_device(struct ispstat *stat, stat 78 drivers/media/platform/omap3isp/ispstat.c if (ISP_STAT_USES_DMAENGINE(stat)) stat 81 drivers/media/platform/omap3isp/ispstat.c __isp_stat_buf_sync_magic(stat, buf, buf_size, dir, stat 85 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_buf_sync_magic_for_cpu(struct ispstat *stat, stat 90 drivers/media/platform/omap3isp/ispstat.c if (ISP_STAT_USES_DMAENGINE(stat)) stat 93 drivers/media/platform/omap3isp/ispstat.c __isp_stat_buf_sync_magic(stat, buf, buf_size, dir, stat 97 drivers/media/platform/omap3isp/ispstat.c static int isp_stat_buf_check_magic(struct ispstat *stat, stat 100 drivers/media/platform/omap3isp/ispstat.c const u32 buf_size = IS_H3A_AF(stat) ? stat 106 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_sync_magic_for_cpu(stat, buf, buf_size, DMA_FROM_DEVICE); stat 114 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 116 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 124 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 126 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 131 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_sync_magic_for_device(stat, buf, buf_size, stat 137 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_buf_insert_magic(struct ispstat *stat, stat 140 drivers/media/platform/omap3isp/ispstat.c const u32 buf_size = IS_H3A_AF(stat) ? stat 141 drivers/media/platform/omap3isp/ispstat.c stat->buf_size + AF_EXTRA_DATA : stat->buf_size; stat 143 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_sync_magic_for_cpu(stat, buf, buf_size, DMA_FROM_DEVICE); stat 154 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_sync_magic_for_device(stat, buf, buf_size, stat 158 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_buf_sync_for_device(struct ispstat *stat, stat 161 drivers/media/platform/omap3isp/ispstat.c if (ISP_STAT_USES_DMAENGINE(stat)) stat 164 drivers/media/platform/omap3isp/ispstat.c dma_sync_sg_for_device(stat->isp->dev, buf->sgt.sgl, stat 168 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_buf_sync_for_cpu(struct ispstat *stat, stat 171 drivers/media/platform/omap3isp/ispstat.c if (ISP_STAT_USES_DMAENGINE(stat)) stat 174 drivers/media/platform/omap3isp/ispstat.c dma_sync_sg_for_cpu(stat->isp->dev, buf->sgt.sgl, stat 178 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_buf_clear(struct ispstat *stat) stat 183 drivers/media/platform/omap3isp/ispstat.c stat->buf[i].empty = 1; stat 187 drivers/media/platform/omap3isp/ispstat.c __isp_stat_buf_find(struct ispstat *stat, int look_empty) stat 193 drivers/media/platform/omap3isp/ispstat.c struct ispstat_buffer *curr = &stat->buf[i]; stat 199 drivers/media/platform/omap3isp/ispstat.c if (curr == stat->locked_buf || curr == stat->active_buf) stat 222 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_find_oldest(struct ispstat *stat) stat 224 drivers/media/platform/omap3isp/ispstat.c return __isp_stat_buf_find(stat, 0); stat 228 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_find_oldest_or_empty(struct ispstat *stat) stat 230 drivers/media/platform/omap3isp/ispstat.c return __isp_stat_buf_find(stat, 1); stat 233 drivers/media/platform/omap3isp/ispstat.c static int isp_stat_buf_queue(struct ispstat *stat) stat 235 drivers/media/platform/omap3isp/ispstat.c if (!stat->active_buf) stat 238 drivers/media/platform/omap3isp/ispstat.c ktime_get_ts64(&stat->active_buf->ts); stat 240 drivers/media/platform/omap3isp/ispstat.c stat->active_buf->buf_size = stat->buf_size; stat 241 drivers/media/platform/omap3isp/ispstat.c if (isp_stat_buf_check_magic(stat, stat->active_buf)) { stat 242 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, "%s: data wasn't properly written.\n", stat 243 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 246 drivers/media/platform/omap3isp/ispstat.c stat->active_buf->config_counter = stat->config_counter; stat 247 drivers/media/platform/omap3isp/ispstat.c stat->active_buf->frame_number = stat->frame_number; stat 248 drivers/media/platform/omap3isp/ispstat.c stat->active_buf->empty = 0; stat 249 drivers/media/platform/omap3isp/ispstat.c stat->active_buf = NULL; stat 255 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_buf_next(struct ispstat *stat) stat 257 drivers/media/platform/omap3isp/ispstat.c if (unlikely(stat->active_buf)) stat 259 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 261 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 263 drivers/media/platform/omap3isp/ispstat.c stat->active_buf = isp_stat_buf_find_oldest_or_empty(stat); stat 266 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_buf_release(struct ispstat *stat) stat 270 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_sync_for_device(stat, stat->locked_buf); stat 271 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, flags); stat 272 drivers/media/platform/omap3isp/ispstat.c stat->locked_buf = NULL; stat 273 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, flags); stat 277 drivers/media/platform/omap3isp/ispstat.c static struct ispstat_buffer *isp_stat_buf_get(struct ispstat *stat, stat 284 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, flags); stat 287 drivers/media/platform/omap3isp/ispstat.c buf = isp_stat_buf_find_oldest(stat); stat 289 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, flags); stat 290 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, "%s: cannot find a buffer.\n", stat 291 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 294 drivers/media/platform/omap3isp/ispstat.c if (isp_stat_buf_check_magic(stat, buf)) { stat 295 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 297 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 306 drivers/media/platform/omap3isp/ispstat.c stat->locked_buf = buf; stat 308 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, flags); stat 311 drivers/media/platform/omap3isp/ispstat.c dev_warn(stat->isp->dev, stat 313 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 314 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_release(stat); stat 318 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_sync_for_cpu(stat, buf); stat 325 drivers/media/platform/omap3isp/ispstat.c dev_info(stat->isp->dev, stat 327 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name, rval); stat 329 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_release(stat); stat 335 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_bufs_free(struct ispstat *stat) stat 337 drivers/media/platform/omap3isp/ispstat.c struct device *dev = ISP_STAT_USES_DMAENGINE(stat) stat 338 drivers/media/platform/omap3isp/ispstat.c ? NULL : stat->isp->dev; stat 342 drivers/media/platform/omap3isp/ispstat.c struct ispstat_buffer *buf = &stat->buf[i]; stat 349 drivers/media/platform/omap3isp/ispstat.c dma_free_coherent(dev, stat->buf_alloc_size, buf->virt_addr, stat 357 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, "%s: all buffers were freed.\n", stat 358 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 360 drivers/media/platform/omap3isp/ispstat.c stat->buf_alloc_size = 0; stat 361 drivers/media/platform/omap3isp/ispstat.c stat->active_buf = NULL; stat 403 drivers/media/platform/omap3isp/ispstat.c static int isp_stat_bufs_alloc(struct ispstat *stat, u32 size) stat 405 drivers/media/platform/omap3isp/ispstat.c struct device *dev = ISP_STAT_USES_DMAENGINE(stat) stat 406 drivers/media/platform/omap3isp/ispstat.c ? NULL : stat->isp->dev; stat 410 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, flags); stat 412 drivers/media/platform/omap3isp/ispstat.c BUG_ON(stat->locked_buf != NULL); stat 415 drivers/media/platform/omap3isp/ispstat.c if (stat->buf_alloc_size >= size) { stat 416 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, flags); stat 420 drivers/media/platform/omap3isp/ispstat.c if (stat->state != ISPSTAT_DISABLED || stat->buf_processing) { stat 421 drivers/media/platform/omap3isp/ispstat.c dev_info(stat->isp->dev, stat 423 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 424 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, flags); stat 428 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, flags); stat 430 drivers/media/platform/omap3isp/ispstat.c isp_stat_bufs_free(stat); stat 432 drivers/media/platform/omap3isp/ispstat.c stat->buf_alloc_size = size; stat 435 drivers/media/platform/omap3isp/ispstat.c struct ispstat_buffer *buf = &stat->buf[i]; stat 440 drivers/media/platform/omap3isp/ispstat.c dev_err(stat->isp->dev, stat 442 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name, i); stat 443 drivers/media/platform/omap3isp/ispstat.c isp_stat_bufs_free(stat); stat 449 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 451 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name, i, &buf->dma_addr, buf->virt_addr); stat 457 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_queue_event(struct ispstat *stat, int err) stat 459 drivers/media/platform/omap3isp/ispstat.c struct video_device *vdev = stat->subdev.devnode; stat 465 drivers/media/platform/omap3isp/ispstat.c status->frame_number = stat->frame_number; stat 466 drivers/media/platform/omap3isp/ispstat.c status->config_counter = stat->config_counter; stat 470 drivers/media/platform/omap3isp/ispstat.c event.type = stat->event_type; stat 481 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_request_statistics(struct ispstat *stat, stat 486 drivers/media/platform/omap3isp/ispstat.c if (stat->state != ISPSTAT_ENABLED) { stat 487 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, "%s: engine not enabled.\n", stat 488 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 492 drivers/media/platform/omap3isp/ispstat.c mutex_lock(&stat->ioctl_lock); stat 493 drivers/media/platform/omap3isp/ispstat.c buf = isp_stat_buf_get(stat, data); stat 495 drivers/media/platform/omap3isp/ispstat.c mutex_unlock(&stat->ioctl_lock); stat 506 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_release(stat); stat 507 drivers/media/platform/omap3isp/ispstat.c mutex_unlock(&stat->ioctl_lock); stat 512 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_request_statistics_time32(struct ispstat *stat, stat 518 drivers/media/platform/omap3isp/ispstat.c ret = omap3isp_stat_request_statistics(stat, &data64); stat 537 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_config(struct ispstat *stat, void *new_conf) stat 544 drivers/media/platform/omap3isp/ispstat.c mutex_lock(&stat->ioctl_lock); stat 546 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 548 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name, (unsigned long)buf_size); stat 550 drivers/media/platform/omap3isp/ispstat.c ret = stat->ops->validate_params(stat, new_conf); stat 552 drivers/media/platform/omap3isp/ispstat.c mutex_unlock(&stat->ioctl_lock); stat 553 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, "%s: configuration values are invalid.\n", stat 554 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 559 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 561 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name, stat 575 drivers/media/platform/omap3isp/ispstat.c if (IS_H3A(stat)) { stat 577 drivers/media/platform/omap3isp/ispstat.c if (IS_H3A_AF(stat)) stat 583 drivers/media/platform/omap3isp/ispstat.c if (stat->recover_priv) { stat 585 drivers/media/platform/omap3isp/ispstat.c stat->recover_priv; stat 594 drivers/media/platform/omap3isp/ispstat.c ret = isp_stat_bufs_alloc(stat, buf_size); stat 596 drivers/media/platform/omap3isp/ispstat.c mutex_unlock(&stat->ioctl_lock); stat 600 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, irqflags); stat 601 drivers/media/platform/omap3isp/ispstat.c stat->ops->set_params(stat, new_conf); stat 602 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 608 drivers/media/platform/omap3isp/ispstat.c user_cfg->config_counter = stat->config_counter + stat->inc_config; stat 611 drivers/media/platform/omap3isp/ispstat.c stat->configured = 1; stat 612 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 614 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 616 drivers/media/platform/omap3isp/ispstat.c mutex_unlock(&stat->ioctl_lock); stat 627 drivers/media/platform/omap3isp/ispstat.c static int isp_stat_buf_process(struct ispstat *stat, int buf_state) stat 631 drivers/media/platform/omap3isp/ispstat.c if (!atomic_add_unless(&stat->buf_err, -1, 0) && stat 632 drivers/media/platform/omap3isp/ispstat.c buf_state == STAT_BUF_DONE && stat->state == ISPSTAT_ENABLED) { stat 633 drivers/media/platform/omap3isp/ispstat.c ret = isp_stat_buf_queue(stat); stat 634 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_next(stat); stat 640 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_pcr_busy(struct ispstat *stat) stat 642 drivers/media/platform/omap3isp/ispstat.c return stat->ops->busy(stat); stat 645 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_busy(struct ispstat *stat) stat 647 drivers/media/platform/omap3isp/ispstat.c return omap3isp_stat_pcr_busy(stat) | stat->buf_processing | stat 648 drivers/media/platform/omap3isp/ispstat.c (stat->state != ISPSTAT_DISABLED); stat 658 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_pcr_enable(struct ispstat *stat, u8 pcr_enable) stat 660 drivers/media/platform/omap3isp/ispstat.c if ((stat->state != ISPSTAT_ENABLING && stat 661 drivers/media/platform/omap3isp/ispstat.c stat->state != ISPSTAT_ENABLED) && pcr_enable) stat 665 drivers/media/platform/omap3isp/ispstat.c stat->ops->enable(stat, pcr_enable); stat 666 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_DISABLING && !pcr_enable) stat 667 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_DISABLED; stat 668 drivers/media/platform/omap3isp/ispstat.c else if (stat->state == ISPSTAT_ENABLING && pcr_enable) stat 669 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_ENABLED; stat 672 drivers/media/platform/omap3isp/ispstat.c void omap3isp_stat_suspend(struct ispstat *stat) stat 676 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, flags); stat 678 drivers/media/platform/omap3isp/ispstat.c if (stat->state != ISPSTAT_DISABLED) stat 679 drivers/media/platform/omap3isp/ispstat.c stat->ops->enable(stat, 0); stat 680 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_ENABLED) stat 681 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_SUSPENDED; stat 683 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, flags); stat 686 drivers/media/platform/omap3isp/ispstat.c void omap3isp_stat_resume(struct ispstat *stat) stat 689 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_SUSPENDED) stat 690 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_ENABLING; stat 693 drivers/media/platform/omap3isp/ispstat.c static void isp_stat_try_enable(struct ispstat *stat) stat 697 drivers/media/platform/omap3isp/ispstat.c if (stat->priv == NULL) stat 701 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, irqflags); stat 702 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_ENABLING && !stat->buf_processing && stat 703 drivers/media/platform/omap3isp/ispstat.c stat->buf_alloc_size) { stat 708 drivers/media/platform/omap3isp/ispstat.c stat->update = 1; stat 709 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_next(stat); stat 710 drivers/media/platform/omap3isp/ispstat.c stat->ops->setup_regs(stat, stat->priv); stat 711 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_insert_magic(stat, stat->active_buf); stat 719 drivers/media/platform/omap3isp/ispstat.c if (!IS_H3A(stat)) stat 720 drivers/media/platform/omap3isp/ispstat.c atomic_set(&stat->buf_err, 0); stat 722 drivers/media/platform/omap3isp/ispstat.c isp_stat_pcr_enable(stat, 1); stat 723 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 724 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, "%s: module is enabled.\n", stat 725 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 727 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 731 drivers/media/platform/omap3isp/ispstat.c void omap3isp_stat_isr_frame_sync(struct ispstat *stat) stat 733 drivers/media/platform/omap3isp/ispstat.c isp_stat_try_enable(stat); stat 736 drivers/media/platform/omap3isp/ispstat.c void omap3isp_stat_sbl_overflow(struct ispstat *stat) stat 740 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, irqflags); stat 745 drivers/media/platform/omap3isp/ispstat.c atomic_set(&stat->buf_err, 2); stat 753 drivers/media/platform/omap3isp/ispstat.c if (stat->recover_priv) stat 754 drivers/media/platform/omap3isp/ispstat.c stat->sbl_ovl_recover = 1; stat 755 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 765 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_enable(struct ispstat *stat, u8 enable) stat 769 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, "%s: user wants to %s module.\n", stat 770 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name, enable ? "enable" : "disable"); stat 773 drivers/media/platform/omap3isp/ispstat.c mutex_lock(&stat->ioctl_lock); stat 775 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, irqflags); stat 777 drivers/media/platform/omap3isp/ispstat.c if (!stat->configured && enable) { stat 778 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 779 drivers/media/platform/omap3isp/ispstat.c mutex_unlock(&stat->ioctl_lock); stat 780 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 782 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 787 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_DISABLING) stat 789 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_ENABLED; stat 790 drivers/media/platform/omap3isp/ispstat.c else if (stat->state == ISPSTAT_DISABLED) stat 792 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_ENABLING; stat 794 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_ENABLING) { stat 796 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_DISABLED; stat 797 drivers/media/platform/omap3isp/ispstat.c } else if (stat->state == ISPSTAT_ENABLED) { stat 799 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_DISABLING; stat 800 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_clear(stat); stat 804 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 805 drivers/media/platform/omap3isp/ispstat.c mutex_unlock(&stat->ioctl_lock); stat 812 drivers/media/platform/omap3isp/ispstat.c struct ispstat *stat = v4l2_get_subdevdata(subdev); stat 819 drivers/media/platform/omap3isp/ispstat.c isp_stat_try_enable(stat); stat 823 drivers/media/platform/omap3isp/ispstat.c omap3isp_stat_enable(stat, 0); stat 824 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, flags); stat 825 drivers/media/platform/omap3isp/ispstat.c stat->ops->enable(stat, 0); stat 826 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, flags); stat 839 drivers/media/platform/omap3isp/ispstat.c if (!omap3isp_stat_pcr_busy(stat)) stat 840 drivers/media/platform/omap3isp/ispstat.c omap3isp_stat_isr(stat); stat 842 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, "%s: module is being disabled\n", stat 843 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 852 drivers/media/platform/omap3isp/ispstat.c static void __stat_isr(struct ispstat *stat, int from_dma) stat 864 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, irqflags); stat 865 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_DISABLED) { stat 866 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 869 drivers/media/platform/omap3isp/ispstat.c buf_processing = stat->buf_processing; stat 870 drivers/media/platform/omap3isp/ispstat.c stat->buf_processing = 1; stat 871 drivers/media/platform/omap3isp/ispstat.c stat->ops->enable(stat, 0); stat 874 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_ENABLED) { stat 875 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 876 drivers/media/platform/omap3isp/ispstat.c dev_err(stat->isp->dev, stat 878 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 889 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 893 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 896 drivers/media/platform/omap3isp/ispstat.c if (!omap3isp_stat_pcr_busy(stat)) { stat 897 drivers/media/platform/omap3isp/ispstat.c if (!from_dma && stat->ops->buf_process) stat 899 drivers/media/platform/omap3isp/ispstat.c ret = stat->ops->buf_process(stat); stat 904 drivers/media/platform/omap3isp/ispstat.c spin_lock_irqsave(&stat->isp->stat_lock, irqflags); stat 911 drivers/media/platform/omap3isp/ispstat.c if (stat->state == ISPSTAT_DISABLING) { stat 912 drivers/media/platform/omap3isp/ispstat.c stat->state = ISPSTAT_DISABLED; stat 913 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 914 drivers/media/platform/omap3isp/ispstat.c stat->buf_processing = 0; stat 917 drivers/media/platform/omap3isp/ispstat.c pipe = to_isp_pipeline(&stat->subdev.entity); stat 918 drivers/media/platform/omap3isp/ispstat.c stat->frame_number = atomic_read(&pipe->frame_number); stat 925 drivers/media/platform/omap3isp/ispstat.c ret = isp_stat_buf_process(stat, ret); stat 927 drivers/media/platform/omap3isp/ispstat.c if (likely(!stat->sbl_ovl_recover)) { stat 928 drivers/media/platform/omap3isp/ispstat.c stat->ops->setup_regs(stat, stat->priv); stat 935 drivers/media/platform/omap3isp/ispstat.c stat->update = 1; stat 936 drivers/media/platform/omap3isp/ispstat.c stat->ops->setup_regs(stat, stat->recover_priv); stat 937 drivers/media/platform/omap3isp/ispstat.c stat->sbl_ovl_recover = 0; stat 943 drivers/media/platform/omap3isp/ispstat.c stat->update = 1; stat 946 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_insert_magic(stat, stat->active_buf); stat 959 drivers/media/platform/omap3isp/ispstat.c isp_stat_pcr_enable(stat, 1); stat 960 drivers/media/platform/omap3isp/ispstat.c spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); stat 972 drivers/media/platform/omap3isp/ispstat.c if (stat->ops->buf_process) stat 979 drivers/media/platform/omap3isp/ispstat.c atomic_set(&stat->buf_err, 1); stat 982 drivers/media/platform/omap3isp/ispstat.c dev_dbg(stat->isp->dev, stat 984 drivers/media/platform/omap3isp/ispstat.c stat->subdev.name); stat 988 drivers/media/platform/omap3isp/ispstat.c stat->buf_processing = 0; stat 989 drivers/media/platform/omap3isp/ispstat.c isp_stat_queue_event(stat, ret != STAT_BUF_DONE); stat 992 drivers/media/platform/omap3isp/ispstat.c void omap3isp_stat_isr(struct ispstat *stat) stat 994 drivers/media/platform/omap3isp/ispstat.c __stat_isr(stat, 0); stat 997 drivers/media/platform/omap3isp/ispstat.c void omap3isp_stat_dma_isr(struct ispstat *stat) stat 999 drivers/media/platform/omap3isp/ispstat.c __stat_isr(stat, 1); stat 1006 drivers/media/platform/omap3isp/ispstat.c struct ispstat *stat = v4l2_get_subdevdata(subdev); stat 1008 drivers/media/platform/omap3isp/ispstat.c if (sub->type != stat->event_type) stat 1021 drivers/media/platform/omap3isp/ispstat.c void omap3isp_stat_unregister_entities(struct ispstat *stat) stat 1023 drivers/media/platform/omap3isp/ispstat.c v4l2_device_unregister_subdev(&stat->subdev); stat 1026 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_register_entities(struct ispstat *stat, stat 1029 drivers/media/platform/omap3isp/ispstat.c stat->subdev.dev = vdev->mdev->dev; stat 1031 drivers/media/platform/omap3isp/ispstat.c return v4l2_device_register_subdev(vdev, &stat->subdev); stat 1034 drivers/media/platform/omap3isp/ispstat.c static int isp_stat_init_entities(struct ispstat *stat, const char *name, stat 1037 drivers/media/platform/omap3isp/ispstat.c struct v4l2_subdev *subdev = &stat->subdev; stat 1044 drivers/media/platform/omap3isp/ispstat.c v4l2_set_subdevdata(subdev, stat); stat 1046 drivers/media/platform/omap3isp/ispstat.c stat->pad.flags = MEDIA_PAD_FL_SINK | MEDIA_PAD_FL_MUST_CONNECT; stat 1049 drivers/media/platform/omap3isp/ispstat.c return media_entity_pads_init(me, 1, &stat->pad); stat 1052 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_init(struct ispstat *stat, const char *name, stat 1057 drivers/media/platform/omap3isp/ispstat.c stat->buf = kcalloc(STAT_MAX_BUFS, sizeof(*stat->buf), GFP_KERNEL); stat 1058 drivers/media/platform/omap3isp/ispstat.c if (!stat->buf) stat 1061 drivers/media/platform/omap3isp/ispstat.c isp_stat_buf_clear(stat); stat 1062 drivers/media/platform/omap3isp/ispstat.c mutex_init(&stat->ioctl_lock); stat 1063 drivers/media/platform/omap3isp/ispstat.c atomic_set(&stat->buf_err, 0); stat 1065 drivers/media/platform/omap3isp/ispstat.c ret = isp_stat_init_entities(stat, name, sd_ops); stat 1067 drivers/media/platform/omap3isp/ispstat.c mutex_destroy(&stat->ioctl_lock); stat 1068 drivers/media/platform/omap3isp/ispstat.c kfree(stat->buf); stat 1074 drivers/media/platform/omap3isp/ispstat.c void omap3isp_stat_cleanup(struct ispstat *stat) stat 1076 drivers/media/platform/omap3isp/ispstat.c media_entity_cleanup(&stat->subdev.entity); stat 1077 drivers/media/platform/omap3isp/ispstat.c mutex_destroy(&stat->ioctl_lock); stat 1078 drivers/media/platform/omap3isp/ispstat.c isp_stat_bufs_free(stat); stat 1079 drivers/media/platform/omap3isp/ispstat.c kfree(stat->buf); stat 1080 drivers/media/platform/omap3isp/ispstat.c kfree(stat->priv); stat 1081 drivers/media/platform/omap3isp/ispstat.c kfree(stat->recover_priv); stat 52 drivers/media/platform/omap3isp/ispstat.h int (*validate_params)(struct ispstat *stat, void *new_conf); stat 61 drivers/media/platform/omap3isp/ispstat.h void (*set_params)(struct ispstat *stat, void *new_conf); stat 64 drivers/media/platform/omap3isp/ispstat.h void (*setup_regs)(struct ispstat *stat, void *priv); stat 67 drivers/media/platform/omap3isp/ispstat.h void (*enable)(struct ispstat *stat, int enable); stat 70 drivers/media/platform/omap3isp/ispstat.h int (*busy)(struct ispstat *stat); stat 73 drivers/media/platform/omap3isp/ispstat.h int (*buf_process)(struct ispstat *stat); stat 127 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_config(struct ispstat *stat, void *new_conf); stat 128 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_request_statistics(struct ispstat *stat, stat 130 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_request_statistics_time32(struct ispstat *stat, stat 132 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_init(struct ispstat *stat, const char *name, stat 134 drivers/media/platform/omap3isp/ispstat.h void omap3isp_stat_cleanup(struct ispstat *stat); stat 143 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_busy(struct ispstat *stat); stat 144 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_pcr_busy(struct ispstat *stat); stat 145 drivers/media/platform/omap3isp/ispstat.h void omap3isp_stat_suspend(struct ispstat *stat); stat 146 drivers/media/platform/omap3isp/ispstat.h void omap3isp_stat_resume(struct ispstat *stat); stat 147 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_enable(struct ispstat *stat, u8 enable); stat 148 drivers/media/platform/omap3isp/ispstat.h void omap3isp_stat_sbl_overflow(struct ispstat *stat); stat 149 drivers/media/platform/omap3isp/ispstat.h void omap3isp_stat_isr(struct ispstat *stat); stat 150 drivers/media/platform/omap3isp/ispstat.h void omap3isp_stat_isr_frame_sync(struct ispstat *stat); stat 151 drivers/media/platform/omap3isp/ispstat.h void omap3isp_stat_dma_isr(struct ispstat *stat); stat 152 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_register_entities(struct ispstat *stat, stat 154 drivers/media/platform/omap3isp/ispstat.h void omap3isp_stat_unregister_entities(struct ispstat *stat); stat 1336 drivers/media/platform/qcom/venus/helpers.c void __iomem *ctrl, *stat; stat 1358 drivers/media/platform/qcom/venus/helpers.c stat = core->base + WRAPPER_VCODEC0_MMCC_POWER_STATUS; stat 1361 drivers/media/platform/qcom/venus/helpers.c stat = core->base + WRAPPER_VCODEC1_MMCC_POWER_STATUS; stat 1367 drivers/media/platform/qcom/venus/helpers.c ret = readl_poll_timeout(stat, val, val & BIT(1), 1, 100); stat 1373 drivers/media/platform/qcom/venus/helpers.c ret = readl_poll_timeout(stat, val, !(val & BIT(1)), 1, 100); stat 118 drivers/media/platform/vicodec/codec-fwht.c u16 stat; stat 126 drivers/media/platform/vicodec/codec-fwht.c stat = ntohs(*input++); stat 170 drivers/media/platform/vicodec/codec-fwht.c return stat; stat 842 drivers/media/platform/vicodec/codec-fwht.c u16 stat; stat 876 drivers/media/platform/vicodec/codec-fwht.c if ((stat & PFRAME_BIT) && !is_intra) stat 885 drivers/media/platform/vicodec/codec-fwht.c stat = derlc(rlco, cf->coeffs, end_of_rlco_buf); stat 886 drivers/media/platform/vicodec/codec-fwht.c if (stat & OVERFLOW_BIT) stat 888 drivers/media/platform/vicodec/codec-fwht.c if ((stat & PFRAME_BIT) && !is_intra) stat 894 drivers/media/platform/vicodec/codec-fwht.c ((stat & PFRAME_BIT) && !is_intra) ? 0 : 1); stat 896 drivers/media/platform/vicodec/codec-fwht.c copies = (stat & DUPS_MASK) >> 1; stat 899 drivers/media/platform/vicodec/codec-fwht.c if ((stat & PFRAME_BIT) && !is_intra) stat 79 drivers/media/tuners/mxl301rf.c rssi->stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 102 drivers/media/tuners/mxl301rf.c rssi->stat[0].svalue = level; stat 103 drivers/media/tuners/mxl301rf.c rssi->stat[0].scale = FE_SCALE_DECIBEL; stat 231 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 414 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; stat 415 drivers/media/tuners/si2157.c c->strength.stat[0].svalue = (s8) cmd.args[3] * 1000; stat 420 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 227 drivers/media/usb/dvb-usb-v2/lmedm04.c c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 229 drivers/media/usb/dvb-usb-v2/lmedm04.c c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 231 drivers/media/usb/dvb-usb-v2/lmedm04.c c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 233 drivers/media/usb/dvb-usb-v2/lmedm04.c c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 237 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 239 drivers/media/usb/dvb-usb-v2/lmedm04.c c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; stat 259 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; stat 260 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.stat[0].uvalue = (u64)s_tmp; stat 263 drivers/media/usb/dvb-usb-v2/lmedm04.c c->cnr.stat[0].scale = FE_SCALE_RELATIVE; stat 264 drivers/media/usb/dvb-usb-v2/lmedm04.c c->cnr.stat[0].uvalue = (u64)c_tmp; stat 902 drivers/media/usb/dvb-usb-v2/lmedm04.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) stat 903 drivers/media/usb/dvb-usb-v2/lmedm04.c *strength = (u16)c->strength.stat[0].uvalue; stat 918 drivers/media/usb/dvb-usb-v2/lmedm04.c if (c->cnr.stat[0].scale == FE_SCALE_RELATIVE) stat 919 drivers/media/usb/dvb-usb-v2/lmedm04.c *snr = (u16)c->cnr.stat[0].uvalue; stat 19 drivers/media/usb/dvb-usb/af9005-fe.c enum fe_status stat; stat 428 drivers/media/usb/dvb-usb/af9005-fe.c enum fe_status *stat) stat 437 drivers/media/usb/dvb-usb/af9005-fe.c *stat = 0; stat 443 drivers/media/usb/dvb-usb/af9005-fe.c *stat |= FE_HAS_SIGNAL; stat 451 drivers/media/usb/dvb-usb/af9005-fe.c *stat |= FE_HAS_CARRIER; stat 460 drivers/media/usb/dvb-usb/af9005-fe.c *stat |= FE_HAS_SYNC | FE_HAS_VITERBI | FE_HAS_LOCK; stat 462 drivers/media/usb/dvb-usb/af9005-fe.c af9005_led_control(state->d, *stat & FE_HAS_LOCK); stat 3342 drivers/media/usb/dvb-usb/dib0700_devices.c enum fe_status *stat) stat 3349 drivers/media/usb/dvb-usb/dib0700_devices.c ret = state->read_status(fe, stat); stat 3353 drivers/media/usb/dvb-usb/dib0700_devices.c !!(*stat & FE_HAS_LOCK)); stat 14 drivers/media/usb/dvb-usb/dtt200u-fe.c enum fe_status stat; stat 24 drivers/media/usb/dvb-usb/dtt200u-fe.c enum fe_status *stat) stat 34 drivers/media/usb/dvb-usb/dtt200u-fe.c *stat = 0; stat 41 drivers/media/usb/dvb-usb/dtt200u-fe.c *stat = FE_HAS_SIGNAL | FE_HAS_CARRIER | stat 45 drivers/media/usb/dvb-usb/dtt200u-fe.c *stat = FE_TIMEDOUT; /* during set_frontend */ stat 49 drivers/media/usb/dvb-usb/dtt200u-fe.c *stat = 0; stat 82 drivers/media/usb/pvrusb2/pvrusb2-dvb.c int stat = pvr2_dvb_feed_func(data); stat 88 drivers/media/usb/pvrusb2/pvrusb2-dvb.c return stat; stat 442 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 443 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 444 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 453 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 454 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 455 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 467 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 468 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 469 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 478 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 479 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 480 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 492 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat, bleftend, cleft; stat 494 drivers/media/usb/pvrusb2/pvrusb2-hdw.c stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 495 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 496 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 508 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat, btopend, ctop; stat 510 drivers/media/usb/pvrusb2/pvrusb2-hdw.c stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 511 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 512 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 524 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 525 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 526 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 535 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 536 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 537 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 546 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 547 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 548 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 557 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 558 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 559 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 568 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 569 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 570 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 579 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 580 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 581 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 590 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 591 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 592 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 601 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 602 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 603 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 612 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 613 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 614 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 623 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); stat 624 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (stat != 0) { stat 625 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 3271 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = 0; stat 3273 drivers/media/usb/pvrusb2/pvrusb2-hdw.c stat = pvr2_hdw_check_cropcap(hdw); stat 3274 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!stat) { stat 3278 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return stat; stat 189 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c unsigned int stat; stat 215 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c stat = pvr2_send_request(hdw, stat 225 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (stat != 0) return stat; stat 148 drivers/media/usb/pvrusb2/pvrusb2-ioread.c int stat; stat 155 drivers/media/usb/pvrusb2/pvrusb2-ioread.c stat = pvr2_buffer_queue(bp); stat 156 drivers/media/usb/pvrusb2/pvrusb2-ioread.c if (stat < 0) { stat 159 drivers/media/usb/pvrusb2/pvrusb2-ioread.c cp,stat); stat 161 drivers/media/usb/pvrusb2/pvrusb2-ioread.c return stat; stat 248 drivers/media/usb/pvrusb2/pvrusb2-ioread.c int stat; stat 253 drivers/media/usb/pvrusb2/pvrusb2-ioread.c stat = pvr2_buffer_queue(cp->c_buf); stat 254 drivers/media/usb/pvrusb2/pvrusb2-ioread.c if (stat < 0) { stat 258 drivers/media/usb/pvrusb2/pvrusb2-ioread.c cp,stat); stat 273 drivers/media/usb/pvrusb2/pvrusb2-ioread.c stat = pvr2_buffer_get_status(cp->c_buf); stat 274 drivers/media/usb/pvrusb2/pvrusb2-ioread.c if (stat < 0) { stat 278 drivers/media/usb/pvrusb2/pvrusb2-ioread.c cp,stat); stat 393 drivers/media/usb/pvrusb2/pvrusb2-ioread.c int stat; stat 404 drivers/media/usb/pvrusb2/pvrusb2-ioread.c stat = pvr2_ioread_avail(cp); stat 405 drivers/media/usb/pvrusb2/pvrusb2-ioread.c if (stat < 0) return stat; stat 69 drivers/media/usb/rainshadow-cec/rainshadow-cec.c int stat = -1; stat 84 drivers/media/usb/rainshadow-cec/rainshadow-cec.c stat = hex_to_bin(cmd[0]); stat 89 drivers/media/usb/rainshadow-cec/rainshadow-cec.c if (stat == 1 || stat == 2) stat 94 drivers/media/usb/rainshadow-cec/rainshadow-cec.c switch (stat) { stat 116 drivers/memory/fsl_ifc.c u32 stat; stat 120 drivers/memory/fsl_ifc.c stat = ifc_in32(&ifc->ifc_nand.nand_evter_stat); stat 121 drivers/memory/fsl_ifc.c if (stat) { stat 122 drivers/memory/fsl_ifc.c ifc_out32(stat, &ifc->ifc_nand.nand_evter_stat); stat 123 drivers/memory/fsl_ifc.c ctrl->nand_stat = stat; stat 129 drivers/memory/fsl_ifc.c return stat; stat 144 drivers/mfd/mc13xxx-core.c u32 stat; stat 146 drivers/mfd/mc13xxx-core.c ret = mc13xxx_reg_read(mc13xxx, offstat, &stat); stat 150 drivers/mfd/mc13xxx-core.c *pending = stat & irqbit; stat 429 drivers/misc/vmw_balloon.c enum vmballoon_stat_general stat) stat 432 drivers/misc/vmw_balloon.c atomic64_inc(&b->stats->general_stat[stat]); stat 436 drivers/misc/vmw_balloon.c enum vmballoon_stat_general stat, stat 440 drivers/misc/vmw_balloon.c atomic64_add(val, &b->stats->general_stat[stat]); stat 444 drivers/misc/vmw_balloon.c enum vmballoon_stat_page stat, stat 448 drivers/misc/vmw_balloon.c atomic64_inc(&b->stats->page_stat[stat][size]); stat 452 drivers/misc/vmw_balloon.c enum vmballoon_stat_page stat, stat 457 drivers/misc/vmw_balloon.c atomic64_add(val, &b->stats->page_stat[stat][size]); stat 357 drivers/mmc/host/mxcmmc.c static void mxcmci_cmd_done(struct mxcmci_host *host, unsigned int stat); stat 358 drivers/mmc/host/mxcmmc.c static void mxcmci_data_done(struct mxcmci_host *host, unsigned int stat); stat 363 drivers/mmc/host/mxcmmc.c u32 stat; stat 367 drivers/mmc/host/mxcmmc.c stat = mxcmci_readl(host, MMC_REG_STATUS); stat 369 drivers/mmc/host/mxcmmc.c dev_dbg(mmc_dev(host->mmc), "%s: 0x%08x\n", __func__, stat); stat 371 drivers/mmc/host/mxcmmc.c mxcmci_data_done(host, stat); stat 446 drivers/mmc/host/mxcmmc.c static int mxcmci_finish_data(struct mxcmci_host *host, unsigned int stat) stat 457 drivers/mmc/host/mxcmmc.c if (stat & STATUS_ERR_MASK) { stat 459 drivers/mmc/host/mxcmmc.c stat); stat 460 drivers/mmc/host/mxcmmc.c if (stat & STATUS_CRC_READ_ERR) { stat 463 drivers/mmc/host/mxcmmc.c } else if (stat & STATUS_CRC_WRITE_ERR) { stat 464 drivers/mmc/host/mxcmmc.c u32 err_code = (stat >> 9) & 0x3; stat 474 drivers/mmc/host/mxcmmc.c } else if (stat & STATUS_TIME_OUT_READ) { stat 493 drivers/mmc/host/mxcmmc.c static void mxcmci_read_response(struct mxcmci_host *host, unsigned int stat) stat 502 drivers/mmc/host/mxcmmc.c if (stat & STATUS_TIME_OUT_RESP) { stat 505 drivers/mmc/host/mxcmmc.c } else if (stat & STATUS_RESP_CRC_ERR && cmd->flags & MMC_RSP_CRC) { stat 528 drivers/mmc/host/mxcmmc.c u32 stat; stat 532 drivers/mmc/host/mxcmmc.c stat = mxcmci_readl(host, MMC_REG_STATUS); stat 533 drivers/mmc/host/mxcmmc.c if (stat & STATUS_ERR_MASK) stat 534 drivers/mmc/host/mxcmmc.c return stat; stat 540 drivers/mmc/host/mxcmmc.c if (stat & mask) stat 548 drivers/mmc/host/mxcmmc.c unsigned int stat; stat 552 drivers/mmc/host/mxcmmc.c stat = mxcmci_poll_status(host, stat 554 drivers/mmc/host/mxcmmc.c if (stat) stat 555 drivers/mmc/host/mxcmmc.c return stat; stat 564 drivers/mmc/host/mxcmmc.c stat = mxcmci_poll_status(host, stat 566 drivers/mmc/host/mxcmmc.c if (stat) stat 567 drivers/mmc/host/mxcmmc.c return stat; stat 577 drivers/mmc/host/mxcmmc.c unsigned int stat; stat 581 drivers/mmc/host/mxcmmc.c stat = mxcmci_poll_status(host, STATUS_BUF_WRITE_RDY); stat 582 drivers/mmc/host/mxcmmc.c if (stat) stat 583 drivers/mmc/host/mxcmmc.c return stat; stat 592 drivers/mmc/host/mxcmmc.c stat = mxcmci_poll_status(host, STATUS_BUF_WRITE_RDY); stat 593 drivers/mmc/host/mxcmmc.c if (stat) stat 594 drivers/mmc/host/mxcmmc.c return stat; stat 607 drivers/mmc/host/mxcmmc.c int stat, i; stat 614 drivers/mmc/host/mxcmmc.c stat = mxcmci_pull(host, sg_virt(sg), sg->length); stat 615 drivers/mmc/host/mxcmmc.c if (stat) stat 616 drivers/mmc/host/mxcmmc.c return stat; stat 621 drivers/mmc/host/mxcmmc.c stat = mxcmci_push(host, sg_virt(sg), sg->length); stat 622 drivers/mmc/host/mxcmmc.c if (stat) stat 623 drivers/mmc/host/mxcmmc.c return stat; stat 626 drivers/mmc/host/mxcmmc.c stat = mxcmci_poll_status(host, STATUS_WRITE_OP_DONE); stat 627 drivers/mmc/host/mxcmmc.c if (stat) stat 628 drivers/mmc/host/mxcmmc.c return stat; stat 653 drivers/mmc/host/mxcmmc.c static void mxcmci_data_done(struct mxcmci_host *host, unsigned int stat) stat 675 drivers/mmc/host/mxcmmc.c data_error = mxcmci_finish_data(host, stat); stat 682 drivers/mmc/host/mxcmmc.c mxcmci_read_response(host, stat); stat 695 drivers/mmc/host/mxcmmc.c static void mxcmci_cmd_done(struct mxcmci_host *host, unsigned int stat) stat 697 drivers/mmc/host/mxcmmc.c mxcmci_read_response(host, stat); stat 718 drivers/mmc/host/mxcmmc.c u32 stat; stat 720 drivers/mmc/host/mxcmmc.c stat = mxcmci_readl(host, MMC_REG_STATUS); stat 722 drivers/mmc/host/mxcmmc.c stat & ~(STATUS_SDIO_INT_ACTIVE | STATUS_DATA_TRANS_DONE | stat 726 drivers/mmc/host/mxcmmc.c dev_dbg(mmc_dev(host->mmc), "%s: 0x%08x\n", __func__, stat); stat 729 drivers/mmc/host/mxcmmc.c sdio_irq = (stat & STATUS_SDIO_INT_ACTIVE) && host->use_sdio; stat 732 drivers/mmc/host/mxcmmc.c if (mxcmci_use_dma(host) && (stat & (STATUS_WRITE_OP_DONE))) stat 740 drivers/mmc/host/mxcmmc.c if (stat & STATUS_END_CMD_RESP) stat 741 drivers/mmc/host/mxcmmc.c mxcmci_cmd_done(host, stat); stat 743 drivers/mmc/host/mxcmmc.c if (mxcmci_use_dma(host) && (stat & STATUS_WRITE_OP_DONE)) { stat 745 drivers/mmc/host/mxcmmc.c mxcmci_data_done(host, stat); stat 749 drivers/mmc/host/mxcmmc.c (stat & (STATUS_CARD_INSERTION | STATUS_CARD_REMOVAL))) stat 964 drivers/mmc/host/mxcmmc.c unsigned int stat = mxcmci_readl(host, MMC_REG_STATUS); stat 970 drivers/mmc/host/mxcmmc.c __func__, stat); stat 974 drivers/mmc/host/mxcmmc.c __func__, stat); stat 182 drivers/mmc/host/mxs-mmc.c u32 stat; stat 186 drivers/mmc/host/mxs-mmc.c stat = readl(ssp->base + HW_SSP_CTRL1(ssp)); stat 187 drivers/mmc/host/mxs-mmc.c writel(stat & MXS_MMC_IRQ_BITS, stat 192 drivers/mmc/host/mxs-mmc.c if ((stat & BM_SSP_CTRL1_SDIO_IRQ) && (stat & BM_SSP_CTRL1_SDIO_IRQ_EN)) stat 195 drivers/mmc/host/mxs-mmc.c if (stat & BM_SSP_CTRL1_RESP_TIMEOUT_IRQ) stat 197 drivers/mmc/host/mxs-mmc.c else if (stat & BM_SSP_CTRL1_RESP_ERR_IRQ) stat 201 drivers/mmc/host/mxs-mmc.c if (stat & (BM_SSP_CTRL1_DATA_TIMEOUT_IRQ | stat 204 drivers/mmc/host/mxs-mmc.c else if (stat & BM_SSP_CTRL1_DATA_CRC_IRQ) stat 206 drivers/mmc/host/mxs-mmc.c else if (stat & (BM_SSP_CTRL1_FIFO_UNDERRUN_IRQ | stat 474 drivers/mmc/host/omap.c u16 stat = 0; stat 485 drivers/mmc/host/omap.c stat = OMAP_MMC_READ(host, STAT); stat 486 drivers/mmc/host/omap.c if (stat & OMAP_MMC_STAT_END_OF_CMD) stat 495 drivers/mmc/host/omap.c OMAP_MMC_WRITE(host, STAT, stat); stat 275 drivers/mmc/host/pxamci.c static int pxamci_cmd_done(struct pxamci_host *host, unsigned int stat) stat 298 drivers/mmc/host/pxamci.c if (stat & STAT_TIME_OUT_RESPONSE) { stat 300 drivers/mmc/host/pxamci.c } else if (stat & STAT_RES_CRC_ERR && cmd->flags & MMC_RSP_CRC) { stat 330 drivers/mmc/host/pxamci.c static int pxamci_data_done(struct pxamci_host *host, unsigned int stat) stat 345 drivers/mmc/host/pxamci.c if (stat & STAT_READ_TIME_OUT) stat 347 drivers/mmc/host/pxamci.c else if (stat & (STAT_CRC_READ_ERROR|STAT_CRC_WRITE_ERROR)) stat 383 drivers/mmc/host/pxamci.c unsigned stat = readl(host->base + MMC_STAT); stat 385 drivers/mmc/host/pxamci.c pr_debug("PXAMCI: irq %08x stat %08x\n", ireg, stat); stat 388 drivers/mmc/host/pxamci.c handled |= pxamci_cmd_done(host, stat); stat 390 drivers/mmc/host/pxamci.c handled |= pxamci_data_done(host, stat); stat 1139 drivers/mmc/host/rtsx_pci_sdmmc.c u8 stat; stat 1151 drivers/mmc/host/rtsx_pci_sdmmc.c err = rtsx_pci_read_register(pcr, SD_BUS_STAT, &stat); stat 1155 drivers/mmc/host/rtsx_pci_sdmmc.c if (stat & (SD_CMD_STATUS | SD_DAT3_STATUS | SD_DAT2_STATUS | stat 1172 drivers/mmc/host/rtsx_pci_sdmmc.c u8 stat, mask, val; stat 1188 drivers/mmc/host/rtsx_pci_sdmmc.c err = rtsx_pci_read_register(pcr, SD_BUS_STAT, &stat); stat 1196 drivers/mmc/host/rtsx_pci_sdmmc.c if ((stat & mask) != val) { stat 1198 drivers/mmc/host/rtsx_pci_sdmmc.c "%s: SD_BUS_STAT = 0x%x\n", __func__, stat); stat 1206 drivers/mmc/host/rtsx_usb_sdmmc.c u8 stat; stat 1222 drivers/mmc/host/rtsx_usb_sdmmc.c err = rtsx_usb_read_register(ucr, SD_BUS_STAT, &stat); stat 1235 drivers/mmc/host/rtsx_usb_sdmmc.c if ((stat & mask) != mask) stat 472 drivers/mmc/host/tmio_mmc_core.c static void tmio_mmc_data_irq(struct tmio_mmc_host *host, unsigned int stat) stat 482 drivers/mmc/host/tmio_mmc_core.c if (stat & TMIO_STAT_CRCFAIL || stat & TMIO_STAT_STOPBIT_ERR || stat 483 drivers/mmc/host/tmio_mmc_core.c stat & TMIO_STAT_TXUNDERRUN) stat 520 drivers/mmc/host/tmio_mmc_core.c static void tmio_mmc_cmd_irq(struct tmio_mmc_host *host, unsigned int stat) stat 549 drivers/mmc/host/tmio_mmc_core.c if (stat & TMIO_STAT_CMDTIMEOUT) stat 551 drivers/mmc/host/tmio_mmc_core.c else if ((stat & TMIO_STAT_CRCFAIL && cmd->flags & MMC_RSP_CRC) || stat 552 drivers/mmc/host/tmio_mmc_core.c stat & TMIO_STAT_STOPBIT_ERR || stat 553 drivers/mmc/host/tmio_mmc_core.c stat & TMIO_STAT_CMD_IDX_ERR) stat 199 drivers/mtd/nand/onenand/samsung.c int stat; stat 203 drivers/mtd/nand/onenand/samsung.c stat = s3c_read_reg(INT_ERR_STAT_OFFSET); stat 204 drivers/mtd/nand/onenand/samsung.c if (stat & RST_CMP) stat 207 drivers/mtd/nand/onenand/samsung.c stat = s3c_read_reg(INT_ERR_STAT_OFFSET); stat 208 drivers/mtd/nand/onenand/samsung.c s3c_write_reg(stat, INT_ERR_ACK_OFFSET); stat 314 drivers/mtd/nand/onenand/samsung.c unsigned int stat, ecc; stat 337 drivers/mtd/nand/onenand/samsung.c stat = s3c_read_reg(INT_ERR_STAT_OFFSET); stat 338 drivers/mtd/nand/onenand/samsung.c if (stat & flags) stat 345 drivers/mtd/nand/onenand/samsung.c stat = s3c_read_reg(INT_ERR_STAT_OFFSET); stat 346 drivers/mtd/nand/onenand/samsung.c s3c_write_reg(stat, INT_ERR_ACK_OFFSET); stat 353 drivers/mtd/nand/onenand/samsung.c if (stat & LOAD_CMP) { stat 363 drivers/mtd/nand/onenand/samsung.c if (stat & (LOCKED_BLK | ERS_FAIL | PGM_FAIL | LD_FAIL_ECC_ERR)) { stat 365 drivers/mtd/nand/onenand/samsung.c stat); stat 366 drivers/mtd/nand/onenand/samsung.c if (stat & LOCKED_BLK) stat 368 drivers/mtd/nand/onenand/samsung.c __func__, stat); stat 696 drivers/mtd/nand/onenand/samsung.c unsigned int stat; stat 702 drivers/mtd/nand/onenand/samsung.c stat = s3c_read_reg(INT_ERR_STAT_OFFSET); stat 703 drivers/mtd/nand/onenand/samsung.c if (stat & flags) stat 707 drivers/mtd/nand/onenand/samsung.c stat = s3c_read_reg(INT_ERR_STAT_OFFSET); stat 708 drivers/mtd/nand/onenand/samsung.c s3c_write_reg(stat, INT_ERR_ACK_OFFSET); stat 710 drivers/mtd/nand/onenand/samsung.c if (stat & LD_FAIL_ECC_ERR) { stat 715 drivers/mtd/nand/onenand/samsung.c if (stat & LOAD_CMP) { stat 416 drivers/mtd/nand/raw/denali.c int i, stat; stat 422 drivers/mtd/nand/raw/denali.c stat = nand_check_erased_ecc_chunk(buf, ecc->size, ecc_code, stat 425 drivers/mtd/nand/raw/denali.c if (stat < 0) { stat 428 drivers/mtd/nand/raw/denali.c ecc_stats->corrected += stat; stat 429 drivers/mtd/nand/raw/denali.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 730 drivers/mtd/nand/raw/denali.c int stat = 0; stat 738 drivers/mtd/nand/raw/denali.c stat = denali_hw_ecc_fixup(chip, &uncor_ecc_flags); stat 740 drivers/mtd/nand/raw/denali.c stat = denali_sw_ecc_fixup(chip, &uncor_ecc_flags, buf); stat 742 drivers/mtd/nand/raw/denali.c if (stat < 0) stat 743 drivers/mtd/nand/raw/denali.c return stat; stat 750 drivers/mtd/nand/raw/denali.c stat = denali_check_erased_page(chip, buf, stat 751 drivers/mtd/nand/raw/denali.c uncor_ecc_flags, stat); stat 754 drivers/mtd/nand/raw/denali.c return stat; stat 675 drivers/mtd/nand/raw/fsmc_nand.c int i, j, s, stat, eccsize = chip->ecc.size; stat 723 drivers/mtd/nand/raw/fsmc_nand.c stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); stat 724 drivers/mtd/nand/raw/fsmc_nand.c if (stat < 0) { stat 727 drivers/mtd/nand/raw/fsmc_nand.c mtd->ecc_stats.corrected += stat; stat 728 drivers/mtd/nand/raw/fsmc_nand.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 523 drivers/mtd/nand/raw/hisi504_nand.c int max_bitflips = 0, stat = 0, stat_max = 0, status_ecc; stat 540 drivers/mtd/nand/raw/hisi504_nand.c stat = stat_1 + stat_2; stat 543 drivers/mtd/nand/raw/hisi504_nand.c mtd->ecc_stats.corrected += stat; stat 608 drivers/mtd/nand/raw/lpc32xx_slc.c int stat, i, status, error; stat 631 drivers/mtd/nand/raw/lpc32xx_slc.c stat = chip->ecc.correct(chip, buf, oobecc, stat 633 drivers/mtd/nand/raw/lpc32xx_slc.c if (stat < 0) stat 636 drivers/mtd/nand/raw/lpc32xx_slc.c mtd->ecc_stats.corrected += stat; stat 2724 drivers/mtd/nand/raw/nand_base.c int stat; stat 2726 drivers/mtd/nand/raw/nand_base.c stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); stat 2727 drivers/mtd/nand/raw/nand_base.c if (stat < 0) { stat 2730 drivers/mtd/nand/raw/nand_base.c mtd->ecc_stats.corrected += stat; stat 2731 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 2824 drivers/mtd/nand/raw/nand_base.c int stat; stat 2826 drivers/mtd/nand/raw/nand_base.c stat = chip->ecc.correct(chip, p, &chip->ecc.code_buf[i], stat 2828 drivers/mtd/nand/raw/nand_base.c if (stat == -EBADMSG && stat 2831 drivers/mtd/nand/raw/nand_base.c stat = nand_check_erased_ecc_chunk(p, chip->ecc.size, stat 2838 drivers/mtd/nand/raw/nand_base.c if (stat < 0) { stat 2841 drivers/mtd/nand/raw/nand_base.c mtd->ecc_stats.corrected += stat; stat 2842 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 2896 drivers/mtd/nand/raw/nand_base.c int stat; stat 2898 drivers/mtd/nand/raw/nand_base.c stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); stat 2899 drivers/mtd/nand/raw/nand_base.c if (stat == -EBADMSG && stat 2902 drivers/mtd/nand/raw/nand_base.c stat = nand_check_erased_ecc_chunk(p, eccsize, stat 2908 drivers/mtd/nand/raw/nand_base.c if (stat < 0) { stat 2911 drivers/mtd/nand/raw/nand_base.c mtd->ecc_stats.corrected += stat; stat 2912 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 2958 drivers/mtd/nand/raw/nand_base.c int stat; stat 2968 drivers/mtd/nand/raw/nand_base.c stat = chip->ecc.correct(chip, p, &ecc_code[i], NULL); stat 2969 drivers/mtd/nand/raw/nand_base.c if (stat == -EBADMSG && stat 2972 drivers/mtd/nand/raw/nand_base.c stat = nand_check_erased_ecc_chunk(p, eccsize, stat 2978 drivers/mtd/nand/raw/nand_base.c if (stat < 0) { stat 2981 drivers/mtd/nand/raw/nand_base.c mtd->ecc_stats.corrected += stat; stat 2982 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 3015 drivers/mtd/nand/raw/nand_base.c int stat; stat 3038 drivers/mtd/nand/raw/nand_base.c stat = chip->ecc.correct(chip, p, oob, NULL); stat 3051 drivers/mtd/nand/raw/nand_base.c if (stat == -EBADMSG && stat 3054 drivers/mtd/nand/raw/nand_base.c stat = nand_check_erased_ecc_chunk(p, chip->ecc.size, stat 3061 drivers/mtd/nand/raw/nand_base.c if (stat < 0) { stat 3064 drivers/mtd/nand/raw/nand_base.c mtd->ecc_stats.corrected += stat; stat 3065 drivers/mtd/nand/raw/nand_base.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 884 drivers/mtd/nand/raw/omap2.c int stat = 0; stat 899 drivers/mtd/nand/raw/omap2.c stat += ret; stat 905 drivers/mtd/nand/raw/omap2.c return stat; stat 1358 drivers/mtd/nand/raw/omap2.c int i , j, stat = 0; stat 1428 drivers/mtd/nand/raw/omap2.c stat += bitflip_count; stat 1449 drivers/mtd/nand/raw/omap2.c return stat; stat 1504 drivers/mtd/nand/raw/omap2.c stat = max_t(unsigned int, stat, err_vec[i].error_count); stat 1511 drivers/mtd/nand/raw/omap2.c return (err) ? err : stat; stat 1638 drivers/mtd/nand/raw/omap2.c int stat, ret; stat 1663 drivers/mtd/nand/raw/omap2.c stat = chip->ecc.correct(chip, buf, ecc_code, ecc_calc); stat 1665 drivers/mtd/nand/raw/omap2.c if (stat < 0) { stat 1668 drivers/mtd/nand/raw/omap2.c mtd->ecc_stats.corrected += stat; stat 1669 drivers/mtd/nand/raw/omap2.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 1800 drivers/mtd/nand/raw/qcom_nandc.c unsigned int stat; stat 1802 drivers/mtd/nand/raw/qcom_nandc.c stat = buffer & BS_CORRECTABLE_ERR_MSK; stat 1803 drivers/mtd/nand/raw/qcom_nandc.c mtd->ecc_stats.corrected += stat; stat 1804 drivers/mtd/nand/raw/qcom_nandc.c max_bitflips = max(max_bitflips, stat); stat 733 drivers/mtd/nand/raw/stm32_fmc2_nand.c int ret, i, s, stat, eccsize = chip->ecc.size; stat 763 drivers/mtd/nand/raw/stm32_fmc2_nand.c stat = chip->ecc.correct(chip, p, ecc_code, ecc_calc); stat 764 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (stat == -EBADMSG) stat 766 drivers/mtd/nand/raw/stm32_fmc2_nand.c stat = nand_check_erased_ecc_chunk(p, eccsize, stat 771 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (stat < 0) { stat 774 drivers/mtd/nand/raw/stm32_fmc2_nand.c mtd->ecc_stats.corrected += stat; stat 775 drivers/mtd/nand/raw/stm32_fmc2_nand.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 1102 drivers/mtd/nand/raw/stm32_fmc2_nand.c int stat = 0; stat 1108 drivers/mtd/nand/raw/stm32_fmc2_nand.c stat = stm32_fmc2_ham_correct(chip, dat, stat 1122 drivers/mtd/nand/raw/stm32_fmc2_nand.c stat = stm32_fmc2_bch_decode(eccsize, dat, stat 1127 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (stat == -EBADMSG) stat 1129 drivers/mtd/nand/raw/stm32_fmc2_nand.c stat = nand_check_erased_ecc_chunk(dat, eccsize, stat 1135 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (stat < 0) { stat 1138 drivers/mtd/nand/raw/stm32_fmc2_nand.c mtd->ecc_stats.corrected += stat; stat 1139 drivers/mtd/nand/raw/stm32_fmc2_nand.c max_bitflips = max_t(unsigned int, max_bitflips, stat); stat 194 drivers/mtd/nand/raw/txx9ndfmc.c int stat; stat 197 drivers/mtd/nand/raw/txx9ndfmc.c stat = __nand_correct_data(buf, read_ecc, calc_ecc, 256, stat 199 drivers/mtd/nand/raw/txx9ndfmc.c if (stat < 0) stat 200 drivers/mtd/nand/raw/txx9ndfmc.c return stat; stat 201 drivers/mtd/nand/raw/txx9ndfmc.c corrected += stat; stat 558 drivers/mtd/nand/raw/vf610_nfc.c int stat; stat 588 drivers/mtd/nand/raw/vf610_nfc.c stat = vf610_nfc_correct_data(chip, buf, chip->oob_poi, page); stat 590 drivers/mtd/nand/raw/vf610_nfc.c if (stat < 0) { stat 594 drivers/mtd/nand/raw/vf610_nfc.c mtd->ecc_stats.corrected += stat; stat 595 drivers/mtd/nand/raw/vf610_nfc.c return stat; stat 66 drivers/mtd/spi-nor/nxp-spifi.c u8 stat; stat 69 drivers/mtd/spi-nor/nxp-spifi.c ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, stat 70 drivers/mtd/spi-nor/nxp-spifi.c !(stat & SPIFI_STAT_CMD), 10, 30); stat 79 drivers/mtd/spi-nor/nxp-spifi.c u8 stat; stat 83 drivers/mtd/spi-nor/nxp-spifi.c ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, stat 84 drivers/mtd/spi-nor/nxp-spifi.c !(stat & SPIFI_STAT_RESET), 10, 30); stat 109 drivers/mtd/spi-nor/nxp-spifi.c u8 stat; stat 116 drivers/mtd/spi-nor/nxp-spifi.c ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, stat 117 drivers/mtd/spi-nor/nxp-spifi.c stat & SPIFI_STAT_MCINIT, 10, 30); stat 1111 drivers/mtd/ubi/build.c struct kstat stat; stat 1118 drivers/mtd/ubi/build.c err = vfs_getattr(&path, &stat, STATX_TYPE, AT_STATX_SYNC_AS_STAT); stat 1124 drivers/mtd/ubi/build.c if (MAJOR(stat.rdev) != MTD_CHAR_MAJOR || !S_ISCHR(stat.mode)) stat 1127 drivers/mtd/ubi/build.c minor = MINOR(stat.rdev); stat 293 drivers/mtd/ubi/kapi.c struct kstat stat; stat 304 drivers/mtd/ubi/kapi.c error = vfs_getattr(&path, &stat, STATX_TYPE, AT_STATX_SYNC_AS_STAT); stat 309 drivers/mtd/ubi/kapi.c if (!S_ISCHR(stat.mode)) stat 312 drivers/mtd/ubi/kapi.c ubi_num = ubi_major2num(MAJOR(stat.rdev)); stat 313 drivers/mtd/ubi/kapi.c vol_id = MINOR(stat.rdev) - 1; stat 2381 drivers/net/bonding/bond_3ad.c atomic64_t *stat; stat 2421 drivers/net/bonding/bond_3ad.c stat = &SLAVE_AD_INFO(slave)->stats.marker_unknown_rx; stat 2422 drivers/net/bonding/bond_3ad.c atomic64_inc(stat); stat 2423 drivers/net/bonding/bond_3ad.c stat = &BOND_AD_INFO(bond).stats.marker_unknown_rx; stat 2424 drivers/net/bonding/bond_3ad.c atomic64_inc(stat); stat 46 drivers/net/can/grcan.c u32 stat; /* 0x04 */ stat 451 drivers/net/can/grcan.c u32 status = grcan_read_reg(®s->stat); stat 773 drivers/net/can/grcan.c status = grcan_read_reg(®s->stat); stat 1492 drivers/net/can/janz-ican3.c u8 stat; stat 1498 drivers/net/can/janz-ican3.c stat = ioread8(&mod->ctrl->int_disable) & (1 << mod->num); stat 1499 drivers/net/can/janz-ican3.c if (stat == (1 << mod->num)) stat 136 drivers/net/can/pch_can.c u32 stat; stat 739 drivers/net/can/pch_can.c reg_stat = ioread32(&priv->regs->stat); stat 748 drivers/net/can/pch_can.c pch_can_bit_clear(&priv->regs->stat, stat 1254 drivers/net/dsa/bcm_sf2_cfp.c const struct bcm_sf2_cfp_stat *stat; stat 1266 drivers/net/dsa/bcm_sf2_cfp.c stat = &bcm_sf2_cfp_stats[j]; stat 1269 drivers/net/dsa/bcm_sf2_cfp.c ret = bcm_sf2_cfp_op(priv, stat->ram_loc | OP_SEL_READ); stat 1274 drivers/net/dsa/bcm_sf2_cfp.c data[iter] = core_readl(priv, stat->offset); stat 775 drivers/net/dsa/mv88e6xxx/chip.c struct mv88e6xxx_hw_stat *stat; stat 779 drivers/net/dsa/mv88e6xxx/chip.c stat = &mv88e6xxx_hw_stats[i]; stat 780 drivers/net/dsa/mv88e6xxx/chip.c if (stat->type & types) { stat 781 drivers/net/dsa/mv88e6xxx/chip.c memcpy(data + j * ETH_GSTRING_LEN, stat->string, stat 856 drivers/net/dsa/mv88e6xxx/chip.c struct mv88e6xxx_hw_stat *stat; stat 860 drivers/net/dsa/mv88e6xxx/chip.c stat = &mv88e6xxx_hw_stats[i]; stat 861 drivers/net/dsa/mv88e6xxx/chip.c if (stat->type & types) stat 919 drivers/net/dsa/mv88e6xxx/chip.c struct mv88e6xxx_hw_stat *stat; stat 923 drivers/net/dsa/mv88e6xxx/chip.c stat = &mv88e6xxx_hw_stats[i]; stat 924 drivers/net/dsa/mv88e6xxx/chip.c if (stat->type & types) { stat 926 drivers/net/dsa/mv88e6xxx/chip.c data[j] = _mv88e6xxx_get_ethtool_stat(chip, stat, port, stat 497 drivers/net/dsa/mv88e6xxx/global1.c void mv88e6xxx_g1_stats_read(struct mv88e6xxx_chip *chip, int stat, u32 *val) stat 507 drivers/net/dsa/mv88e6xxx/global1.c MV88E6XXX_G1_STATS_OP_READ_CAPTURED | stat); stat 289 drivers/net/dsa/mv88e6xxx/global1.h void mv88e6xxx_g1_stats_read(struct mv88e6xxx_chip *chip, int stat, u32 *val); stat 116 drivers/net/dsa/mv88e6xxx/serdes.c struct mv88e6352_serdes_hw_stat *stat; stat 123 drivers/net/dsa/mv88e6xxx/serdes.c stat = &mv88e6352_serdes_hw_stats[i]; stat 124 drivers/net/dsa/mv88e6xxx/serdes.c memcpy(data + i * ETH_GSTRING_LEN, stat->string, stat 131 drivers/net/dsa/mv88e6xxx/serdes.c struct mv88e6352_serdes_hw_stat *stat) stat 137 drivers/net/dsa/mv88e6xxx/serdes.c err = mv88e6352_serdes_read(chip, stat->reg, ®); stat 145 drivers/net/dsa/mv88e6xxx/serdes.c if (stat->sizeof_stat == 32) { stat 146 drivers/net/dsa/mv88e6xxx/serdes.c err = mv88e6352_serdes_read(chip, stat->reg + 1, ®); stat 161 drivers/net/dsa/mv88e6xxx/serdes.c struct mv88e6352_serdes_hw_stat *stat; stat 172 drivers/net/dsa/mv88e6xxx/serdes.c stat = &mv88e6352_serdes_hw_stats[i]; stat 173 drivers/net/dsa/mv88e6xxx/serdes.c value = mv88e6352_serdes_get_stat(chip, stat); stat 433 drivers/net/dsa/rtl8366rb.c u32 stat; stat 438 drivers/net/dsa/rtl8366rb.c &stat); stat 443 drivers/net/dsa/rtl8366rb.c stat &= RTL8366RB_INTERRUPT_VALID; stat 444 drivers/net/dsa/rtl8366rb.c if (!stat) stat 446 drivers/net/dsa/rtl8366rb.c while (stat) { stat 447 drivers/net/dsa/rtl8366rb.c int line = __ffs(stat); stat 450 drivers/net/dsa/rtl8366rb.c stat &= ~BIT(line); stat 212 drivers/net/ethernet/8390/etherh.c int stat = 0; stat 220 drivers/net/ethernet/8390/etherh.c stat = 1; stat 223 drivers/net/ethernet/8390/etherh.c stat = readb(addr) & 4; stat 231 drivers/net/ethernet/8390/etherh.c stat = 1; stat 234 drivers/net/ethernet/8390/etherh.c stat = etherh_get_stat(etherh_priv(dev)) & ETHERH_CP_HEARTBEAT; stat 240 drivers/net/ethernet/8390/etherh.c stat = 0; stat 244 drivers/net/ethernet/8390/etherh.c return stat != 0; stat 265 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); stat 292 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); stat 315 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&tx_bd[i].stat, 0); stat 318 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat, stat 319 drivers/net/ethernet/aeroflex/greth.c greth_read_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat) | GRETH_BD_WR); stat 443 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&bdp->stat, status); stat 506 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&bdp->stat, status); stat 537 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&bdp->stat, status); stat 554 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&bdp->stat, stat 555 drivers/net/ethernet/aeroflex/greth.c greth_read_bd(&bdp->stat) | GRETH_BD_EN); stat 570 drivers/net/ethernet/aeroflex/greth.c greth_read_bd(&bdp->stat) & GRETH_BD_LEN, stat 572 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&bdp->stat, 0); stat 621 drivers/net/ethernet/aeroflex/greth.c u32 stat; stat 629 drivers/net/ethernet/aeroflex/greth.c stat = greth_read_bd(&bdp->stat); stat 631 drivers/net/ethernet/aeroflex/greth.c if (unlikely(stat & GRETH_BD_EN)) stat 638 drivers/net/ethernet/aeroflex/greth.c if (unlikely(stat & GRETH_TXBD_STATUS)) { stat 640 drivers/net/ethernet/aeroflex/greth.c if (stat & GRETH_TXBD_ERR_AL) stat 642 drivers/net/ethernet/aeroflex/greth.c if (stat & GRETH_TXBD_ERR_UE) stat 656 drivers/net/ethernet/aeroflex/greth.c static inline void greth_update_tx_stats(struct net_device *dev, u32 stat) stat 659 drivers/net/ethernet/aeroflex/greth.c if (unlikely(stat & GRETH_TXBD_STATUS)) { stat 661 drivers/net/ethernet/aeroflex/greth.c if (stat & GRETH_TXBD_ERR_AL) stat 663 drivers/net/ethernet/aeroflex/greth.c if (stat & GRETH_TXBD_ERR_UE) stat 665 drivers/net/ethernet/aeroflex/greth.c if (stat & GRETH_TXBD_ERR_LC) stat 676 drivers/net/ethernet/aeroflex/greth.c u32 stat; stat 694 drivers/net/ethernet/aeroflex/greth.c stat = greth_read_bd(&bdp_last_frag->stat); stat 696 drivers/net/ethernet/aeroflex/greth.c if (stat & GRETH_BD_EN) stat 701 drivers/net/ethernet/aeroflex/greth.c greth_update_tx_stats(dev, stat); stat 754 drivers/net/ethernet/aeroflex/greth.c status = greth_read_bd(&bdp->stat); stat 821 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&bdp->stat, status); stat 871 drivers/net/ethernet/aeroflex/greth.c status = greth_read_bd(&bdp->stat); stat 958 drivers/net/ethernet/aeroflex/greth.c greth_write_bd(&bdp->stat, status); stat 97 drivers/net/ethernet/aeroflex/greth.h u32 stat; stat 84 drivers/net/ethernet/alacritech/slicoss.c struct slic_stat_desc *stat; stat 88 drivers/net/ethernet/alacritech/slicoss.c stat = &descs[stq->done_idx]; stat 90 drivers/net/ethernet/alacritech/slicoss.c if (!stat->status) stat 93 drivers/net/ethernet/alacritech/slicoss.c idx = (le32_to_cpu(stat->hnd) & 0xffff) - 1; stat 95 drivers/net/ethernet/alacritech/slicoss.c stat->hnd = 0; stat 96 drivers/net/ethernet/alacritech/slicoss.c stat->status = 0; stat 2073 drivers/net/ethernet/amazon/ena/ena_com.c u32 stat, timeout, cap, reset_val; stat 2076 drivers/net/ethernet/amazon/ena/ena_com.c stat = ena_com_reg_bar_read32(ena_dev, ENA_REGS_DEV_STS_OFF); stat 2079 drivers/net/ethernet/amazon/ena/ena_com.c if (unlikely((stat == ENA_MMIO_READ_TIMEOUT) || stat 2085 drivers/net/ethernet/amazon/ena/ena_com.c if ((stat & ENA_REGS_DEV_STS_READY_MASK) == 0) { stat 42 drivers/net/ethernet/amazon/ena/ena_ethtool.c #define ENA_STAT_ENA_COM_ENTRY(stat) { \ stat 43 drivers/net/ethernet/amazon/ena/ena_ethtool.c .name = #stat, \ stat 44 drivers/net/ethernet/amazon/ena/ena_ethtool.c .stat_offset = offsetof(struct ena_com_stats_admin, stat) \ stat 47 drivers/net/ethernet/amazon/ena/ena_ethtool.c #define ENA_STAT_ENTRY(stat, stat_type) { \ stat 48 drivers/net/ethernet/amazon/ena/ena_ethtool.c .name = #stat, \ stat 49 drivers/net/ethernet/amazon/ena/ena_ethtool.c .stat_offset = offsetof(struct ena_stats_##stat_type, stat) \ stat 52 drivers/net/ethernet/amazon/ena/ena_ethtool.c #define ENA_STAT_RX_ENTRY(stat) \ stat 53 drivers/net/ethernet/amazon/ena/ena_ethtool.c ENA_STAT_ENTRY(stat, rx) stat 55 drivers/net/ethernet/amazon/ena/ena_ethtool.c #define ENA_STAT_TX_ENTRY(stat) \ stat 56 drivers/net/ethernet/amazon/ena/ena_ethtool.c ENA_STAT_ENTRY(stat, tx) stat 58 drivers/net/ethernet/amazon/ena/ena_ethtool.c #define ENA_STAT_GLOBAL_ENTRY(stat) \ stat 59 drivers/net/ethernet/amazon/ena/ena_ethtool.c ENA_STAT_ENTRY(stat, dev) stat 223 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c u8 *stat; stat 228 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c stat = (u8 *)pdata + xgbe_gstring_stats[i].stat_offset; stat 229 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c *data++ = *(u64 *)stat; stat 680 drivers/net/ethernet/apple/bmac.c int i, nb, stat; stat 697 drivers/net/ethernet/apple/bmac.c stat = le16_to_cpu(cp->xfer_status); stat 699 drivers/net/ethernet/apple/bmac.c if ((stat & ACTIVE) == 0) stat 753 drivers/net/ethernet/apple/bmac.c int stat; stat 767 drivers/net/ethernet/apple/bmac.c stat = le16_to_cpu(cp->xfer_status); stat 769 drivers/net/ethernet/apple/bmac.c XXDEBUG(("bmac_txdma_xfer_stat=%#0x\n", stat)); stat 771 drivers/net/ethernet/apple/bmac.c if (!(stat & ACTIVE)) { stat 664 drivers/net/ethernet/apple/mace.c int intr, fs, i, stat, x; stat 725 drivers/net/ethernet/apple/mace.c stat = le16_to_cpu(cp->xfer_status); stat 880 drivers/net/ethernet/apple/mace.c int i, nb, stat, next; stat 890 drivers/net/ethernet/apple/mace.c stat = le16_to_cpu(cp->xfer_status); stat 891 drivers/net/ethernet/apple/mace.c if ((stat & ACTIVE) == 0) { stat 516 drivers/net/ethernet/broadcom/bcm63xx_enet.c u32 stat; stat 521 drivers/net/ethernet/broadcom/bcm63xx_enet.c stat = enet_readl(priv, ENET_IR_REG); stat 522 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (!(stat & ENET_IR_MIB)) stat 5865 drivers/net/ethernet/broadcom/bnxt/bnxt.c int cp, int stat, int vnic) stat 5868 drivers/net/ethernet/broadcom/bnxt/bnxt.c return bnxt_hwrm_reserve_pf_rings(bp, tx, rx, grp, cp, stat, stat 5871 drivers/net/ethernet/broadcom/bnxt/bnxt.c return bnxt_hwrm_reserve_vf_rings(bp, tx, rx, grp, cp, stat, stat 5920 drivers/net/ethernet/broadcom/bnxt/bnxt.c int rx = bp->rx_nr_rings, stat; stat 5933 drivers/net/ethernet/broadcom/bnxt/bnxt.c stat = bnxt_get_func_stat_ctxs(bp); stat 5936 drivers/net/ethernet/broadcom/bnxt/bnxt.c hw_resc->resv_vnics != vnic || hw_resc->resv_stat_ctxs != stat || stat 5953 drivers/net/ethernet/broadcom/bnxt/bnxt.c int vnic = 1, stat; stat 5966 drivers/net/ethernet/broadcom/bnxt/bnxt.c stat = bnxt_get_func_stat_ctxs(bp); stat 5968 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_hwrm_reserve_rings(bp, tx, rx, grp, cp, stat, vnic); stat 5978 drivers/net/ethernet/broadcom/bnxt/bnxt.c stat = hw_resc->resv_stat_ctxs; stat 5998 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (stat > bnxt_get_ulp_stat_ctxs(bp)) stat 5999 drivers/net/ethernet/broadcom/bnxt/bnxt.c stat -= bnxt_get_ulp_stat_ctxs(bp); stat 6000 drivers/net/ethernet/broadcom/bnxt/bnxt.c cp = min_t(int, cp, stat); stat 6009 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!tx || !rx || !cp || !grp || !vnic || !stat) stat 2136 drivers/net/ethernet/brocade/bna/bfa_ioc.c u32 stat; stat 2147 drivers/net/ethernet/brocade/bna/bfa_ioc.c stat = readl(ioc->ioc_regs.hfn_mbox_cmd); stat 2148 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (stat) stat 2649 drivers/net/ethernet/brocade/bna/bfa_ioc.c u32 stat; stat 2665 drivers/net/ethernet/brocade/bna/bfa_ioc.c stat = readl(ioc->ioc_regs.hfn_mbox_cmd); stat 2666 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (stat) { stat 2508 drivers/net/ethernet/cadence/macb_main.c unsigned long *stat; stat 2529 drivers/net/ethernet/cadence/macb_main.c for (i = 0, stat = &queue->stats.first; i < QUEUE_STATS_LEN; ++i, ++stat) stat 2530 drivers/net/ethernet/cadence/macb_main.c bp->ethtool_stats[idx++] = *stat; stat 788 drivers/net/ethernet/cavium/thunder/nic_main.c int i, stat, qnum; stat 811 drivers/net/ethernet/cavium/thunder/nic_main.c stat = i & 1 ? 1 : 0; stat 813 drivers/net/ethernet/cavium/thunder/nic_main.c (qnum << NIC_Q_NUM_SHIFT) | (stat << 3); stat 26 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c #define NICVF_HW_STAT(stat) { \ stat 27 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c .name = #stat, \ stat 28 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c .index = offsetof(struct nicvf_hw_stats, stat) / sizeof(u64), \ stat 31 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c #define NICVF_DRV_STAT(stat) { \ stat 32 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c .name = #stat, \ stat 33 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c .index = offsetof(struct nicvf_drv_stats, stat) / sizeof(u64), \ stat 302 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c int stat, qidx; stat 309 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (stat = 0; stat < nicvf_n_queue_stats; stat++) stat 311 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c [nicvf_queue_stats[stat].index]; stat 316 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (stat = 0; stat < nicvf_n_queue_stats; stat++) stat 318 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c [nicvf_queue_stats[stat].index]; stat 326 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c int stat, tmp_stats; stat 334 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (stat = 0; stat < nicvf_n_hw_stats; stat++) stat 336 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c [nicvf_hw_stats[stat].index]; stat 337 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (stat = 0; stat < nicvf_n_drv_stats; stat++) { stat 341 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c [nicvf_drv_stats[stat].index]; stat 353 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (stat = 0; stat < BGX_RX_STATS_COUNT; stat++) stat 354 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c *(data++) = nic->bgx_stats.rx_stats[stat]; stat 355 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (stat = 0; stat < BGX_TX_STATS_COUNT; stat++) stat 356 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c *(data++) = nic->bgx_stats.tx_stats[stat]; stat 370 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c int mbox, key, stat, q; stat 392 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (stat = 0; stat < TX_STATS_ENUM_LAST; stat++) stat 394 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c NIC_VNIC_TX_STAT_0_4 | (stat << 3)); stat 398 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c NIC_VNIC_RX_STAT_0_13 | (stat << 3)); stat 1633 drivers/net/ethernet/cavium/thunder/nicvf_main.c int stat = 0; stat 1643 drivers/net/ethernet/cavium/thunder/nicvf_main.c while (stat < BGX_RX_STATS_COUNT) { stat 1644 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.bgx_stats.idx = stat; stat 1647 drivers/net/ethernet/cavium/thunder/nicvf_main.c stat++; stat 1650 drivers/net/ethernet/cavium/thunder/nicvf_main.c stat = 0; stat 1654 drivers/net/ethernet/cavium/thunder/nicvf_main.c while (stat < BGX_TX_STATS_COUNT) { stat 1655 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.bgx_stats.idx = stat; stat 1658 drivers/net/ethernet/cavium/thunder/nicvf_main.c stat++; stat 571 drivers/net/ethernet/chelsio/cxgb/vsc7326.c static void rmon_update(struct cmac *mac, unsigned int addr, u64 *stat) stat 576 drivers/net/ethernet/chelsio/cxgb/vsc7326.c lo = *stat; stat 577 drivers/net/ethernet/chelsio/cxgb/vsc7326.c *stat = *stat - lo + v; stat 583 drivers/net/ethernet/chelsio/cxgb/vsc7326.c *stat += (1ULL << 32); stat 116 drivers/net/ethernet/chelsio/cxgb3/ael1002.c unsigned int stat, data; stat 125 drivers/net/ethernet/chelsio/cxgb3/ael1002.c err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_STAT, &stat); stat 128 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if ((stat & 3) == 1) { stat 364 drivers/net/ethernet/chelsio/cxgb3/ael1002.c unsigned int stat; stat 366 drivers/net/ethernet/chelsio/cxgb3/ael1002.c v = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2005_GPIO_CTRL, &stat); stat 370 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if (stat & (1 << 8)) /* module absent */ stat 456 drivers/net/ethernet/chelsio/cxgb3/ael1002.c unsigned int stat; stat 459 drivers/net/ethernet/chelsio/cxgb3/ael1002.c ret = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2005_GPIO_STAT, &stat); stat 463 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if (stat & AEL2005_MODDET_IRQ) { stat 607 drivers/net/ethernet/chelsio/cxgb3/ael1002.c unsigned int stat; stat 609 drivers/net/ethernet/chelsio/cxgb3/ael1002.c v = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2020_GPIO_STAT, &stat); stat 613 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if (stat & (0x1 << (AEL2020_GPIO_MODDET*4))) { stat 699 drivers/net/ethernet/chelsio/cxgb3/ael1002.c unsigned int stat; stat 700 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2020_GPIO_INTR, &stat); stat 767 drivers/net/ethernet/chelsio/cxgb3/ael1002.c unsigned int stat; stat 770 drivers/net/ethernet/chelsio/cxgb3/ael1002.c ret = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2020_GPIO_INTR, &stat); stat 774 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if (stat & (0x1 << AEL2020_GPIO_MODDET)) { stat 873 drivers/net/ethernet/chelsio/cxgb3/ael1002.c unsigned int stat; stat 884 drivers/net/ethernet/chelsio/cxgb3/ael1002.c !t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_STAT1, &stat) && stat 885 drivers/net/ethernet/chelsio/cxgb3/ael1002.c stat == 0xffff) stat 30 drivers/net/ethernet/chelsio/cxgb4/cudbg_entity.h u32 stat[4 * (CIM_NUM_IBQ + CIM_NUM_OBQ_T5)]; stat 543 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ARRAY_SIZE(cim_qcfg_data->stat), cim_qcfg_data->stat); stat 747 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h struct sge_qstat *stat; /* queue status entry */ stat 337 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c u32 stat[(4 * (CIM_NUM_IBQ + CIM_NUM_OBQ_T5))]; stat 341 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c u32 *p = stat; stat 347 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c ARRAY_SIZE(stat), stat); stat 321 drivers/net/ethernet/chelsio/cxgb4/sge.c if (likely((u8 *)(p + 1) <= (u8 *)q->stat)) { stat 327 drivers/net/ethernet/chelsio/cxgb4/sge.c } else if ((u8 *)p == (u8 *)q->stat) { stat 330 drivers/net/ethernet/chelsio/cxgb4/sge.c } else if ((u8 *)p + 8 == (u8 *)q->stat) { stat 351 drivers/net/ethernet/chelsio/cxgb4/sge.c if ((u8 *)p == (u8 *)q->stat) stat 353 drivers/net/ethernet/chelsio/cxgb4/sge.c addr = (u8 *)p + 16 <= (u8 *)q->stat ? p->addr[0] : stat 399 drivers/net/ethernet/chelsio/cxgb4/sge.c int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); stat 909 drivers/net/ethernet/chelsio/cxgb4/sge.c to = (u8 *)end > (u8 *)q->stat ? buf : sgl->sge; stat 922 drivers/net/ethernet/chelsio/cxgb4/sge.c if (unlikely((u8 *)end > (u8 *)q->stat)) { stat 923 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int part0 = (u8 *)q->stat - (u8 *)sgl->sge, part1; stat 927 drivers/net/ethernet/chelsio/cxgb4/sge.c part1 = (u8 *)end - (u8 *)q->stat; stat 1043 drivers/net/ethernet/chelsio/cxgb4/sge.c int left = (void *)q->stat - pos; stat 1070 drivers/net/ethernet/chelsio/cxgb4/sge.c int left = (void *)q->stat - pos; stat 1337 drivers/net/ethernet/chelsio/cxgb4/sge.c hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); stat 1545 drivers/net/ethernet/chelsio/cxgb4/sge.c if (unlikely((u8 *)sgl >= (u8 *)q->q.stat)) { stat 1550 drivers/net/ethernet/chelsio/cxgb4/sge.c if (sgl == (u64 *)q->q.stat) { stat 1551 drivers/net/ethernet/chelsio/cxgb4/sge.c int left = (u8 *)end - (u8 *)q->q.stat; stat 1950 drivers/net/ethernet/chelsio/cxgb4/sge.c if (unlikely((void *)sgl == (void *)tq->stat)) { stat 1953 drivers/net/ethernet/chelsio/cxgb4/sge.c ((void *)end - (void *)tq->stat)); stat 2002 drivers/net/ethernet/chelsio/cxgb4/sge.c int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); stat 2306 drivers/net/ethernet/chelsio/cxgb4/sge.c left = (u8 *)end - (u8 *)txq->stat; stat 2314 drivers/net/ethernet/chelsio/cxgb4/sge.c if (pos == (u64 *)txq->stat) { stat 2315 drivers/net/ethernet/chelsio/cxgb4/sge.c left = (u8 *)end - (u8 *)txq->stat; stat 2488 drivers/net/ethernet/chelsio/cxgb4/sge.c int left = (void *)q->stat - pos; stat 3714 drivers/net/ethernet/chelsio/cxgb4/sge.c q->stat = (void *)&q->desc[q->size]; stat 249 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h struct sge_qstat *stat; /* queue status entry */ stat 326 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (likely((u8 *)(p + 1) <= (u8 *)tq->stat)) { stat 333 drivers/net/ethernet/chelsio/cxgb4vf/sge.c } else if ((u8 *)p == (u8 *)tq->stat) { stat 336 drivers/net/ethernet/chelsio/cxgb4vf/sge.c } else if ((u8 *)p + 8 == (u8 *)tq->stat) { stat 357 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if ((u8 *)p == (u8 *)tq->stat) stat 359 drivers/net/ethernet/chelsio/cxgb4vf/sge.c addr = ((u8 *)p + 16 <= (u8 *)tq->stat stat 413 drivers/net/ethernet/chelsio/cxgb4vf/sge.c int hw_cidx = be16_to_cpu(tq->stat->cidx); stat 930 drivers/net/ethernet/chelsio/cxgb4vf/sge.c to = (u8 *)end > (u8 *)tq->stat ? buf : sgl->sge; stat 943 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (unlikely((u8 *)end > (u8 *)tq->stat)) { stat 944 drivers/net/ethernet/chelsio/cxgb4vf/sge.c unsigned int part0 = (u8 *)tq->stat - (u8 *)sgl->sge, part1; stat 948 drivers/net/ethernet/chelsio/cxgb4vf/sge.c part1 = (u8 *)end - (u8 *)tq->stat; stat 1056 drivers/net/ethernet/chelsio/cxgb4vf/sge.c int left = (void *)tq->stat - pos; stat 1430 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (unlikely((void *)sgl == (void *)tq->stat)) { stat 1432 drivers/net/ethernet/chelsio/cxgb4vf/sge.c end = ((void *)tq->desc + ((void *)end - (void *)tq->stat)); stat 2492 drivers/net/ethernet/chelsio/cxgb4vf/sge.c txq->q.stat = (void *)&txq->q.desc[txq->q.size]; stat 35 drivers/net/ethernet/cisco/enic/enic_ethtool.c #define ENIC_TX_STAT(stat) { \ stat 36 drivers/net/ethernet/cisco/enic/enic_ethtool.c .name = #stat, \ stat 37 drivers/net/ethernet/cisco/enic/enic_ethtool.c .index = offsetof(struct vnic_tx_stats, stat) / sizeof(u64) \ stat 40 drivers/net/ethernet/cisco/enic/enic_ethtool.c #define ENIC_RX_STAT(stat) { \ stat 41 drivers/net/ethernet/cisco/enic/enic_ethtool.c .name = #stat, \ stat 42 drivers/net/ethernet/cisco/enic/enic_ethtool.c .index = offsetof(struct vnic_rx_stats, stat) / sizeof(u64) \ stat 45 drivers/net/ethernet/cisco/enic/enic_ethtool.c #define ENIC_GEN_STAT(stat) { \ stat 46 drivers/net/ethernet/cisco/enic/enic_ethtool.c .name = #stat, \ stat 47 drivers/net/ethernet/cisco/enic/enic_ethtool.c .index = offsetof(struct vnic_gen_stats, stat) / sizeof(u64)\ stat 229 drivers/net/ethernet/ethoc.c u32 stat; stat 253 drivers/net/ethernet/ethoc.c bd->stat = ethoc_read(dev, offset + 0); stat 261 drivers/net/ethernet/ethoc.c ethoc_write(dev, offset + 0, bd->stat); stat 312 drivers/net/ethernet/ethoc.c bd.stat = TX_BD_IRQ | TX_BD_CRC; stat 317 drivers/net/ethernet/ethoc.c bd.stat |= TX_BD_WRAP; stat 326 drivers/net/ethernet/ethoc.c bd.stat = RX_BD_EMPTY | RX_BD_IRQ; stat 330 drivers/net/ethernet/ethoc.c bd.stat |= RX_BD_WRAP; stat 375 drivers/net/ethernet/ethoc.c if (bd->stat & RX_BD_TL) { stat 381 drivers/net/ethernet/ethoc.c if (bd->stat & RX_BD_SF) { stat 387 drivers/net/ethernet/ethoc.c if (bd->stat & RX_BD_DN) { stat 392 drivers/net/ethernet/ethoc.c if (bd->stat & RX_BD_CRC) { stat 398 drivers/net/ethernet/ethoc.c if (bd->stat & RX_BD_OR) { stat 404 drivers/net/ethernet/ethoc.c if (bd->stat & RX_BD_MISS) stat 407 drivers/net/ethernet/ethoc.c if (bd->stat & RX_BD_LC) { stat 427 drivers/net/ethernet/ethoc.c if (bd.stat & RX_BD_EMPTY) { stat 437 drivers/net/ethernet/ethoc.c if (bd.stat & RX_BD_EMPTY) stat 442 drivers/net/ethernet/ethoc.c int size = bd.stat >> 16; stat 466 drivers/net/ethernet/ethoc.c bd.stat &= ~RX_BD_STATS; stat 467 drivers/net/ethernet/ethoc.c bd.stat |= RX_BD_EMPTY; stat 480 drivers/net/ethernet/ethoc.c if (bd->stat & TX_BD_LC) { stat 485 drivers/net/ethernet/ethoc.c if (bd->stat & TX_BD_RL) { stat 490 drivers/net/ethernet/ethoc.c if (bd->stat & TX_BD_UR) { stat 495 drivers/net/ethernet/ethoc.c if (bd->stat & TX_BD_CS) { stat 500 drivers/net/ethernet/ethoc.c if (bd->stat & TX_BD_STATS) stat 503 drivers/net/ethernet/ethoc.c netdev->stats.collisions += (bd->stat >> 4) & 0xf; stat 504 drivers/net/ethernet/ethoc.c netdev->stats.tx_bytes += bd->stat >> 16; stat 521 drivers/net/ethernet/ethoc.c if (bd.stat & TX_BD_READY || (priv->dty_tx == priv->cur_tx)) { stat 531 drivers/net/ethernet/ethoc.c if (bd.stat & TX_BD_READY || stat 653 drivers/net/ethernet/ethoc.c u32 stat = ethoc_read(priv, MIISTATUS); stat 654 drivers/net/ethernet/ethoc.c if (!(stat & MIISTATUS_BUSY)) { stat 903 drivers/net/ethernet/ethoc.c bd.stat |= TX_BD_PAD; stat 905 drivers/net/ethernet/ethoc.c bd.stat &= ~TX_BD_PAD; stat 910 drivers/net/ethernet/ethoc.c bd.stat &= ~(TX_BD_STATS | TX_BD_LEN_MASK); stat 911 drivers/net/ethernet/ethoc.c bd.stat |= TX_BD_LEN(skb->len); stat 914 drivers/net/ethernet/ethoc.c bd.stat |= TX_BD_READY; stat 1482 drivers/net/ethernet/freescale/dpaa2/dpni.c union dpni_statistics *stat) stat 1504 drivers/net/ethernet/freescale/dpaa2/dpni.c stat->raw.counter[i] = le64_to_cpu(rsp_params->counter[i]); stat 497 drivers/net/ethernet/freescale/dpaa2/dpni.h union dpni_statistics *stat); stat 484 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u8 *stat; stat 491 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c stat = (u8 *)ring + hns3_txq_stats[j].stats_offset; stat 492 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c *data++ = *(u64 *)stat; stat 500 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c stat = (u8 *)ring + hns3_rxq_stats[j].stats_offset; stat 501 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c *data++ = *(u64 *)stat; stat 264 drivers/net/ethernet/i825xx/82596.c unsigned short stat; stat 306 drivers/net/ethernet/i825xx/82596.c unsigned long stat; stat 324 drivers/net/ethernet/i825xx/82596.c unsigned long stat; stat 415 drivers/net/ethernet/i825xx/82596.c while (--delcnt && lp->iscp.stat) stat 466 drivers/net/ethernet/i825xx/82596.c &lp->iscp, lp->iscp.stat, lp->iscp.scb); stat 486 drivers/net/ethernet/i825xx/82596.c rfd, rfd->stat, rfd->cmd, rfd->b_next, rfd->rbd, stat 666 drivers/net/ethernet/i825xx/82596.c lp->iscp.stat = ISCP_BUSY; stat 757 drivers/net/ethernet/i825xx/82596.c while ((rfd->stat) & STAT_C) { /* Loop while complete frames */ stat 768 drivers/net/ethernet/i825xx/82596.c rfd, rfd->rbd, rfd->stat)); stat 770 drivers/net/ethernet/i825xx/82596.c if (rbd != I596_NULL && ((rfd->stat) & STAT_OK)) { stat 828 drivers/net/ethernet/i825xx/82596.c dev->name, rfd->stat)); stat 830 drivers/net/ethernet/i825xx/82596.c if ((rfd->stat) & 0x0001) stat 832 drivers/net/ethernet/i825xx/82596.c if ((rfd->stat) & 0x0080) stat 834 drivers/net/ethernet/i825xx/82596.c if ((rfd->stat) & 0x0100) stat 836 drivers/net/ethernet/i825xx/82596.c if ((rfd->stat) & 0x0200) stat 838 drivers/net/ethernet/i825xx/82596.c if ((rfd->stat) & 0x0400) stat 840 drivers/net/ethernet/i825xx/82596.c if ((rfd->stat) & 0x0800) stat 842 drivers/net/ethernet/i825xx/82596.c if ((rfd->stat) & 0x1000) stat 856 drivers/net/ethernet/i825xx/82596.c rfd->stat = 0; stat 237 drivers/net/ethernet/i825xx/lib82596.c unsigned short stat; stat 290 drivers/net/ethernet/i825xx/lib82596.c u32 stat; stat 316 drivers/net/ethernet/i825xx/lib82596.c u32 stat; stat 372 drivers/net/ethernet/i825xx/lib82596.c while (--delcnt && dma->iscp.stat) { stat 378 drivers/net/ethernet/i825xx/lib82596.c dev->name, str, SWAP16(dma->iscp.stat)); stat 414 drivers/net/ethernet/i825xx/lib82596.c &dma->iscp, SWAP32(dma->iscp.stat), SWAP32(dma->iscp.scb)); stat 439 drivers/net/ethernet/i825xx/lib82596.c rfd, SWAP16(rfd->stat), SWAP16(rfd->cmd), stat 570 drivers/net/ethernet/i825xx/lib82596.c dma->iscp.stat = SWAP32(ISCP_BUSY); stat 663 drivers/net/ethernet/i825xx/lib82596.c while (rfd->stat & SWAP16(STAT_C)) { /* Loop while complete frames */ stat 676 drivers/net/ethernet/i825xx/lib82596.c rfd, rfd->rbd, rfd->stat)); stat 678 drivers/net/ethernet/i825xx/lib82596.c if (rbd != NULL && (rfd->stat & SWAP16(STAT_OK))) { stat 745 drivers/net/ethernet/i825xx/lib82596.c dev->name, rfd->stat)); stat 747 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0100)) stat 749 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x8000)) stat 751 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0001)) stat 753 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0002)) stat 755 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0004)) stat 757 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0008)) stat 759 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0010)) stat 774 drivers/net/ethernet/i825xx/lib82596.c rfd->stat = 0; stat 688 drivers/net/ethernet/i825xx/sun3_82586.c unsigned short stat; stat 703 drivers/net/ethernet/i825xx/sun3_82586.c while((stat=p->scb->cus & STAT_MASK)) stat 705 drivers/net/ethernet/i825xx/sun3_82586.c p->scb->cmd_cuc = stat; stat 708 drivers/net/ethernet/i825xx/sun3_82586.c if(stat & STAT_FR) /* received a frame */ stat 711 drivers/net/ethernet/i825xx/sun3_82586.c if(stat & STAT_RNR) /* RU went 'not ready' */ stat 723 drivers/net/ethernet/i825xx/sun3_82586.c printk("%s: Receiver-Unit went 'NOT READY': %04x/%02x.\n",dev->name,(int) stat,(int) p->scb->rus); stat 728 drivers/net/ethernet/i825xx/sun3_82586.c if(stat & STAT_CX) /* command with I-bit set complete */ stat 732 drivers/net/ethernet/i825xx/sun3_82586.c if(stat & STAT_CNA) /* CU went 'not ready' */ stat 735 drivers/net/ethernet/i825xx/sun3_82586.c printk("%s: oops! CU has left active state. stat: %04x/%02x.\n",dev->name,(int) stat,(int) p->scb->cus); stat 81 drivers/net/ethernet/ibm/ibmveth.c #define IBMVETH_STAT_OFF(stat) offsetof(struct ibmveth_adapter, stat) stat 119 drivers/net/ethernet/ibm/ibmvnic.c #define IBMVNIC_STAT_OFF(stat) (offsetof(struct ibmvnic_adapter, stats) + \ stat 120 drivers/net/ethernet/ibm/ibmvnic.c offsetof(struct ibmvnic_statistics, stat)) stat 1441 drivers/net/ethernet/intel/e100.c u16 bmcr, stat, id_lo, id_hi, cong; stat 1447 drivers/net/ethernet/intel/e100.c stat = mdio_read(netdev, nic->mii.phy_id, MII_BMSR); stat 1448 drivers/net/ethernet/intel/e100.c stat = mdio_read(netdev, nic->mii.phy_id, MII_BMSR); stat 1449 drivers/net/ethernet/intel/e100.c if (!((bmcr == 0xFFFF) || ((stat == 0) && (bmcr == 0)))) stat 1806 drivers/net/ethernet/intel/e1000/e1000_ethtool.c const struct e1000_stats *stat = e1000_gstrings_stats; stat 1809 drivers/net/ethernet/intel/e1000/e1000_ethtool.c for (i = 0; i < E1000_GLOBAL_STATS_LEN; i++, stat++) { stat 1812 drivers/net/ethernet/intel/e1000/e1000_ethtool.c switch (stat->type) { stat 1814 drivers/net/ethernet/intel/e1000/e1000_ethtool.c p = (char *)netdev + stat->stat_offset; stat 1817 drivers/net/ethernet/intel/e1000/e1000_ethtool.c p = (char *)adapter + stat->stat_offset; stat 1821 drivers/net/ethernet/intel/e1000/e1000_ethtool.c stat->type, i); stat 1825 drivers/net/ethernet/intel/e1000/e1000_ethtool.c if (stat->sizeof_stat == sizeof(u64)) stat 254 drivers/net/ethernet/intel/fm10k/fm10k_common.c struct fm10k_hw_stat *stat) stat 256 drivers/net/ethernet/intel/fm10k/fm10k_common.c u32 delta = fm10k_read_reg(hw, addr) - stat->base_l; stat 259 drivers/net/ethernet/intel/fm10k/fm10k_common.c stat->base_h = 0; stat 276 drivers/net/ethernet/intel/fm10k/fm10k_common.c struct fm10k_hw_stat *stat) stat 292 drivers/net/ethernet/intel/fm10k/fm10k_common.c delta = ((u64)(count_h - stat->base_h) << 32) + count_l; stat 293 drivers/net/ethernet/intel/fm10k/fm10k_common.c delta -= stat->base_l; stat 306 drivers/net/ethernet/intel/fm10k/fm10k_common.c static void fm10k_update_hw_base_48b(struct fm10k_hw_stat *stat, u64 delta) stat 312 drivers/net/ethernet/intel/fm10k/fm10k_common.c delta += stat->base_l; stat 313 drivers/net/ethernet/intel/fm10k/fm10k_common.c stat->base_l = (u32)delta; stat 316 drivers/net/ethernet/intel/fm10k/fm10k_common.c stat->base_h += (u32)(delta >> 32); stat 41 drivers/net/ethernet/intel/fm10k/fm10k_common.h struct fm10k_hw_stat *stat); stat 42 drivers/net/ethernet/intel/fm10k/fm10k_common.h #define fm10k_update_hw_base_32b(stat, delta) ((stat)->base_l += (delta)) stat 78 drivers/net/ethernet/intel/i40e/i40e_ethtool.c const struct i40e_stats *stat) stat 90 drivers/net/ethernet/intel/i40e/i40e_ethtool.c p = (char *)pointer + stat->stat_offset; stat 91 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (stat->sizeof_stat) { stat 106 drivers/net/ethernet/intel/i40e/i40e_ethtool.c stat->stat_string); stat 2227 drivers/net/ethernet/intel/i40e/i40e_ethtool.c #define I40E_GET_PFC_STAT(stat, priority) \ stat 2228 drivers/net/ethernet/intel/i40e/i40e_ethtool.c .stat = pf->stats.stat[priority] stat 564 drivers/net/ethernet/intel/i40e/i40e_main.c bool offset_loaded, u64 *offset, u64 *stat) stat 577 drivers/net/ethernet/intel/i40e/i40e_main.c *stat = new_data - *offset; stat 579 drivers/net/ethernet/intel/i40e/i40e_main.c *stat = (new_data + BIT_ULL(48)) - *offset; stat 580 drivers/net/ethernet/intel/i40e/i40e_main.c *stat &= 0xFFFFFFFFFFFFULL; stat 592 drivers/net/ethernet/intel/i40e/i40e_main.c bool offset_loaded, u64 *offset, u64 *stat) stat 600 drivers/net/ethernet/intel/i40e/i40e_main.c *stat = (u32)(new_data - *offset); stat 602 drivers/net/ethernet/intel/i40e/i40e_main.c *stat = (u32)((new_data + BIT_ULL(32)) - *offset); stat 611 drivers/net/ethernet/intel/i40e/i40e_main.c static void i40e_stat_update_and_clear32(struct i40e_hw *hw, u32 reg, u64 *stat) stat 616 drivers/net/ethernet/intel/i40e/i40e_main.c *stat += new_data; stat 71 drivers/net/ethernet/intel/iavf/iavf_ethtool.c const struct iavf_stats *stat) stat 83 drivers/net/ethernet/intel/iavf/iavf_ethtool.c p = (char *)pointer + stat->stat_offset; stat 84 drivers/net/ethernet/intel/iavf/iavf_ethtool.c switch (stat->sizeof_stat) { stat 99 drivers/net/ethernet/intel/iavf/iavf_ethtool.c stat->stat_string); stat 1716 drivers/net/ethernet/marvell/mv643xx_eth.c const struct mv643xx_eth_stats *stat; stat 1719 drivers/net/ethernet/marvell/mv643xx_eth.c stat = mv643xx_eth_stats + i; stat 1721 drivers/net/ethernet/marvell/mv643xx_eth.c if (stat->netdev_off >= 0) stat 1722 drivers/net/ethernet/marvell/mv643xx_eth.c p = ((void *)mp->dev) + stat->netdev_off; stat 1724 drivers/net/ethernet/marvell/mv643xx_eth.c p = ((void *)mp) + stat->mp_off; stat 1726 drivers/net/ethernet/marvell/mv643xx_eth.c data[i] = (stat->sizeof_stat == 8) ? stat 750 drivers/net/ethernet/marvell/octeontx2/af/mbox.h u64 stat; /* valid only while fetching counter's stats */ stat 373 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c int stat = 0, err = 0; stat 386 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c while (stat < CGX_RX_STATS_COUNT) { stat 387 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c err = cgx_get_rx_stats(cgxd, lmac, stat, &rx_stat); stat 390 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c rsp->rx_stats[stat] = rx_stat; stat 391 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c stat++; stat 395 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c stat = 0; stat 396 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c while (stat < CGX_TX_STATS_COUNT) { stat 397 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c err = cgx_get_tx_stats(cgxd, lmac, stat, &tx_stat); stat 400 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c rsp->tx_stats[stat] = tx_stat; stat 401 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c stat++; stat 2066 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->stat = rvu_read64(rvu, blkaddr, NPC_AF_MATCH_STATX(req->cntr)); stat 2067 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->stat &= BIT_ULL(48) - 1; stat 584 drivers/net/ethernet/mellanox/mlx4/cmd.c u32 stat; stat 641 drivers/net/ethernet/mellanox/mlx4/cmd.c stat = be32_to_cpu((__force __be32) stat 643 drivers/net/ethernet/mellanox/mlx4/cmd.c err = mlx4_status_to_errno(stat); stat 646 drivers/net/ethernet/mellanox/mlx4/cmd.c op, stat); stat 647 drivers/net/ethernet/mellanox/mlx4/cmd.c if (mlx4_closing_cmd_fatal_error(op, stat)) stat 1410 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 operation, u32 offset, u64 *stat) stat 1432 drivers/net/ethernet/neterion/vxge/vxge-config.c *stat = readq(&vp_reg->xmac_stats_access_data); stat 1434 drivers/net/ethernet/neterion/vxge/vxge-config.c *stat = 0; stat 1693 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 operation, u32 location, u32 offset, u64 *stat) stat 1714 drivers/net/ethernet/neterion/vxge/vxge-config.c *stat = readq(&hldev->mrpcim_reg->xmac_stats_sys_data); stat 1716 drivers/net/ethernet/neterion/vxge/vxge-config.c *stat = 0; stat 3375 drivers/net/ethernet/neterion/vxge/vxge-main.c u64 stat; stat 3480 drivers/net/ethernet/neterion/vxge/vxge-main.c &stat); stat 1749 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u64 *stat); stat 607 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c u16 bmcr, stat; stat 613 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c stat = pch_gbe_mdio_read(netdev, adapter->mii.phy_id, MII_BMSR); stat 614 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c stat = pch_gbe_mdio_read(netdev, adapter->mii.phy_id, MII_BMSR); stat 615 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (!((bmcr == 0xFFFF) || ((stat == 0) && (bmcr == 0)))) stat 2577 drivers/net/ethernet/renesas/sh_eth.c sh_eth_update_stat(struct net_device *ndev, unsigned long *stat, int reg) stat 2582 drivers/net/ethernet/renesas/sh_eth.c *stat += delta; stat 455 drivers/net/ethernet/sfc/ethtool.c const struct efx_sw_stat_desc *stat; stat 468 drivers/net/ethernet/sfc/ethtool.c stat = &efx_sw_stat_desc[i]; stat 469 drivers/net/ethernet/sfc/ethtool.c switch (stat->source) { stat 471 drivers/net/ethernet/sfc/ethtool.c data[i] = stat->get_stat((void *)efx + stat->offset); stat 476 drivers/net/ethernet/sfc/ethtool.c data[i] += stat->get_stat((void *)channel + stat 477 drivers/net/ethernet/sfc/ethtool.c stat->offset); stat 484 drivers/net/ethernet/sfc/ethtool.c stat->get_stat((void *)tx_queue stat 485 drivers/net/ethernet/sfc/ethtool.c + stat->offset); stat 435 drivers/net/ethernet/sfc/falcon/ethtool.c const struct ef4_sw_stat_desc *stat; stat 448 drivers/net/ethernet/sfc/falcon/ethtool.c stat = &ef4_sw_stat_desc[i]; stat 449 drivers/net/ethernet/sfc/falcon/ethtool.c switch (stat->source) { stat 451 drivers/net/ethernet/sfc/falcon/ethtool.c data[i] = stat->get_stat((void *)efx + stat->offset); stat 456 drivers/net/ethernet/sfc/falcon/ethtool.c data[i] += stat->get_stat((void *)channel + stat 457 drivers/net/ethernet/sfc/falcon/ethtool.c stat->offset); stat 464 drivers/net/ethernet/sfc/falcon/ethtool.c stat->get_stat((void *)tx_queue stat 465 drivers/net/ethernet/sfc/falcon/ethtool.c + stat->offset); stat 82 drivers/net/ethernet/sfc/falcon/mdio_10g.c int stat; stat 86 drivers/net/ethernet/sfc/falcon/mdio_10g.c stat = ef4_mdio_read(efx, mmd, MDIO_CTRL1); stat 87 drivers/net/ethernet/sfc/falcon/mdio_10g.c if (stat < 0) { stat 93 drivers/net/ethernet/sfc/falcon/mdio_10g.c if (stat & MDIO_CTRL1_RESET) stat 201 drivers/net/ethernet/sfc/falcon/mdio_10g.c int stat = ef4_mdio_read(efx, mmd, MDIO_STAT1); stat 206 drivers/net/ethernet/sfc/falcon/mdio_10g.c if (stat & MDIO_STAT1_LPOWERABLE) { stat 447 drivers/net/ethernet/sfc/falcon/nic.h static inline void ef4_update_diff_stat(u64 *stat, u64 diff) stat 449 drivers/net/ethernet/sfc/falcon/nic.h if ((s64)(diff - *stat) > 0) stat 450 drivers/net/ethernet/sfc/falcon/nic.h *stat = diff; stat 505 drivers/net/ethernet/sfc/falcon/nic.h void ef4_nic_fix_nodesc_drop_stat(struct ef4_nic *efx, u64 *stat); stat 622 drivers/net/ethernet/sfc/nic.h static inline void efx_update_diff_stat(u64 *stat, u64 diff) stat 624 drivers/net/ethernet/sfc/nic.h if ((s64)(diff - *stat) > 0) stat 625 drivers/net/ethernet/sfc/nic.h *stat = diff; stat 686 drivers/net/ethernet/sfc/nic.h void efx_nic_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *stat); stat 245 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 stat, en; stat 249 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c stat = readl(ioaddr + XGMAC_INT_STATUS); stat 251 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c stat &= en; stat 253 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (stat & XGMAC_PMTIS) { stat 258 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (stat & XGMAC_LPIIS) { stat 994 drivers/net/ethernet/sun/cassini.c u32 stat, state_machine; stat 1001 drivers/net/ethernet/sun/cassini.c stat = readl(cp->regs + REG_PCS_MII_STATUS); stat 1002 drivers/net/ethernet/sun/cassini.c if ((stat & PCS_MII_STATUS_LINK_STATUS) == 0) stat 1003 drivers/net/ethernet/sun/cassini.c stat = readl(cp->regs + REG_PCS_MII_STATUS); stat 1008 drivers/net/ethernet/sun/cassini.c if ((stat & (PCS_MII_STATUS_AUTONEG_COMP | stat 1018 drivers/net/ethernet/sun/cassini.c stat &= ~PCS_MII_STATUS_LINK_STATUS; stat 1020 drivers/net/ethernet/sun/cassini.c stat |= PCS_MII_STATUS_LINK_STATUS; stat 1023 drivers/net/ethernet/sun/cassini.c if (stat & PCS_MII_STATUS_LINK_STATUS) { stat 1071 drivers/net/ethernet/sun/cassini.c stat = readl(cp->regs + REG_PCS_SERDES_STATE); stat 1072 drivers/net/ethernet/sun/cassini.c if (stat == 0x03) stat 1099 drivers/net/ethernet/sun/cassini.c u32 stat = readl(cp->regs + REG_PCS_INTR_STATUS); stat 1101 drivers/net/ethernet/sun/cassini.c if ((stat & PCS_INTR_STATUS_LINK_CHANGE) == 0) stat 1509 drivers/net/ethernet/sun/cassini.c u32 stat = readl(cp->regs + REG_MAC_RX_STATUS); stat 1511 drivers/net/ethernet/sun/cassini.c if (!stat) stat 1514 drivers/net/ethernet/sun/cassini.c netif_dbg(cp, intr, cp->dev, "rxmac interrupt, stat: 0x%x\n", stat); stat 1518 drivers/net/ethernet/sun/cassini.c if (stat & MAC_RX_ALIGN_ERR) stat 1521 drivers/net/ethernet/sun/cassini.c if (stat & MAC_RX_CRC_ERR) stat 1524 drivers/net/ethernet/sun/cassini.c if (stat & MAC_RX_LEN_ERR) stat 1527 drivers/net/ethernet/sun/cassini.c if (stat & MAC_RX_OVERFLOW) { stat 1542 drivers/net/ethernet/sun/cassini.c u32 stat = readl(cp->regs + REG_MAC_CTRL_STATUS); stat 1544 drivers/net/ethernet/sun/cassini.c if (!stat) stat 1548 drivers/net/ethernet/sun/cassini.c "mac interrupt, stat: 0x%x\n", stat); stat 1554 drivers/net/ethernet/sun/cassini.c if (stat & MAC_CTRL_PAUSE_STATE) stat 1557 drivers/net/ethernet/sun/cassini.c if (stat & MAC_CTRL_PAUSE_RECEIVED) stat 1558 drivers/net/ethernet/sun/cassini.c cp->pause_last_time_recvd = (stat >> 16); stat 1681 drivers/net/ethernet/sun/cassini.c u32 stat = readl(cp->regs + REG_MIF_STATUS); stat 1685 drivers/net/ethernet/sun/cassini.c if (CAS_VAL(MIF_STATUS_POLL_STATUS, stat) == 0) stat 1688 drivers/net/ethernet/sun/cassini.c bmsr = CAS_VAL(MIF_STATUS_POLL_DATA, stat); stat 1695 drivers/net/ethernet/sun/cassini.c u32 stat = readl(cp->regs + REG_PCI_ERR_STATUS); stat 1697 drivers/net/ethernet/sun/cassini.c if (!stat) stat 1701 drivers/net/ethernet/sun/cassini.c stat, readl(cp->regs + REG_BIM_DIAG)); stat 1704 drivers/net/ethernet/sun/cassini.c if ((stat & PCI_ERR_BADACK) && stat 1708 drivers/net/ethernet/sun/cassini.c if (stat & PCI_ERR_DTRTO) stat 1710 drivers/net/ethernet/sun/cassini.c if (stat & PCI_ERR_OTHER) stat 1712 drivers/net/ethernet/sun/cassini.c if (stat & PCI_ERR_BIM_DMA_WRITE) stat 1714 drivers/net/ethernet/sun/cassini.c if (stat & PCI_ERR_BIM_DMA_READ) stat 1718 drivers/net/ethernet/sun/cassini.c if (stat & PCI_ERR_OTHER) { stat 3683 drivers/net/ethernet/sun/niu.c u64 stat; stat 3686 drivers/net/ethernet/sun/niu.c stat = nr64(RX_DMA_CTL_STAT(rp->rx_channel)); stat 3689 drivers/net/ethernet/sun/niu.c stat = le64_to_cpup(&mbox->rx_dma_ctl_stat); stat 3697 drivers/net/ethernet/sun/niu.c __func__, rp->rx_channel, (unsigned long long)stat, qlen); stat 3714 drivers/net/ethernet/sun/niu.c stat = (RX_DMA_CTL_STAT_MEX | stat 3718 drivers/net/ethernet/sun/niu.c nw64(RX_DMA_CTL_STAT(rp->rx_channel), stat); stat 3778 drivers/net/ethernet/sun/niu.c u64 stat) stat 3782 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RBR_TMOUT) stat 3784 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RSP_CNT_ERR) stat 3786 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_BYTE_EN_BUS) stat 3788 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RSP_DAT_ERR) stat 3790 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RCR_ACK_ERR) stat 3792 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RCR_SHA_PAR) stat 3794 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RBR_PRE_PAR) stat 3796 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_CONFIG_ERR) stat 3798 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RCRINCON) stat 3800 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RCRFULL) stat 3802 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RBRFULL) stat 3804 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_RBRLOGPAGE) stat 3806 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_CFIGLOGPAGE) stat 3808 drivers/net/ethernet/sun/niu.c if (stat & RX_DMA_CTL_STAT_DC_FIFO_ERR) stat 3816 drivers/net/ethernet/sun/niu.c u64 stat = nr64(RX_DMA_CTL_STAT(rp->rx_channel)); stat 3820 drivers/net/ethernet/sun/niu.c if (stat & (RX_DMA_CTL_STAT_CHAN_FATAL | stat 3827 drivers/net/ethernet/sun/niu.c (unsigned long long) stat); stat 3829 drivers/net/ethernet/sun/niu.c niu_log_rxchan_errors(np, rp, stat); stat 3833 drivers/net/ethernet/sun/niu.c stat & RX_DMA_CTL_WRITE_CLEAR_ERRS); stat 4018 drivers/net/ethernet/sun/niu.c static void niu_log_device_error(struct niu *np, u64 stat) stat 4022 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_META2) stat 4024 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_META1) stat 4026 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_PEU) stat 4028 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_TXC) stat 4030 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_RDMC) stat 4032 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_TDMC) stat 4034 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_ZCP) stat 4036 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_FFLP) stat 4038 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_IPP) stat 4040 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_MAC) stat 4042 drivers/net/ethernet/sun/niu.c if (stat & SYS_ERR_MASK_SMX) stat 4050 drivers/net/ethernet/sun/niu.c u64 stat = nr64(SYS_ERR_STAT); stat 4053 drivers/net/ethernet/sun/niu.c (unsigned long long)stat); stat 4055 drivers/net/ethernet/sun/niu.c niu_log_device_error(np, stat); stat 4129 drivers/net/ethernet/sun/niu.c u64 stat_write, stat = le64_to_cpup(&mbox->rx_dma_ctl_stat); stat 4136 drivers/net/ethernet/sun/niu.c "%s() stat[%llx]\n", __func__, (unsigned long long)stat); stat 249 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c u8 *stat; stat 254 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c stat = (u8 *)pdata + xlgmac_gstring_stats[i].stat_offset; stat 255 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c *data++ = *(u64 *)stat; stat 278 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (!test_and_set_bit(GELIC_WL_STAT_CH_INFO, &wl->stat)) { stat 887 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c set_bit(GELIC_WL_STAT_CONFIGURED, &wl->stat); stat 964 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c set_bit(GELIC_WL_STAT_ESSID_SET, &wl->stat); stat 967 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c clear_bit(GELIC_WL_STAT_ESSID_SET, &wl->stat); stat 969 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c set_bit(GELIC_WL_STAT_CONFIGURED, &wl->stat); stat 988 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (test_bit(GELIC_WL_STAT_ESSID_SET, &wl->stat) || stat 1071 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c set_bit(GELIC_WL_STAT_CONFIGURED, &wl->stat); stat 1149 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c set_bit(GELIC_WL_STAT_BSSID_SET, &wl->stat); stat 1150 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c set_bit(GELIC_WL_STAT_CONFIGURED, &wl->stat); stat 1154 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c clear_bit(GELIC_WL_STAT_BSSID_SET, &wl->stat); stat 1255 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c set_bit(GELIC_WL_STAT_CONFIGURED, &wl->stat); stat 1268 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c set_bit(GELIC_WL_STAT_WPA_PSK_SET, &wl->stat); stat 1675 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (test_bit(GELIC_WL_STAT_BSSID_SET, &wl->stat)) { stat 1714 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (test_bit(GELIC_WL_STAT_ESSID_SET, &wl->stat)) { stat 1848 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (!test_bit(GELIC_WL_STAT_WPA_PSK_SET, &wl->stat)) stat 2179 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (test_bit(GELIC_WL_STAT_ESSID_SET, &wl->stat)) { stat 2394 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c &wl->stat)) stat 2417 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c &wl->stat)) stat 2487 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c wl->stat = 0; stat 250 drivers/net/ethernet/toshiba/ps3_gelic_wireless.h unsigned long stat; stat 1003 drivers/net/ethernet/tundra/tsi108_eth.c u32 stat = TSI_READ(TSI108_EC_INTSTAT); stat 1005 drivers/net/ethernet/tundra/tsi108_eth.c if (!(stat & TSI108_INT_ANY)) stat 1008 drivers/net/ethernet/tundra/tsi108_eth.c stat &= ~TSI_READ(TSI108_EC_INTMASK); stat 1010 drivers/net/ethernet/tundra/tsi108_eth.c if (stat & (TSI108_INT_TXQUEUE0 | TSI108_INT_TXIDLE | stat 1013 drivers/net/ethernet/tundra/tsi108_eth.c if (stat & (TSI108_INT_RXQUEUE0 | TSI108_INT_RXTHRESH | stat 1018 drivers/net/ethernet/tundra/tsi108_eth.c if (stat & TSI108_INT_SFN) { stat 1024 drivers/net/ethernet/tundra/tsi108_eth.c if (stat & TSI108_INT_STATCARRY) { stat 766 drivers/net/ethernet/xilinx/ll_temac_main.c unsigned int stat = 0; stat 770 drivers/net/ethernet/xilinx/ll_temac_main.c stat = be32_to_cpu(cur_p->app0); stat 772 drivers/net/ethernet/xilinx/ll_temac_main.c while (stat & STS_CTRL_APP0_CMPLT) { stat 792 drivers/net/ethernet/xilinx/ll_temac_main.c stat = be32_to_cpu(cur_p->app0); stat 383 drivers/net/fddi/defza.c u32 stat; stat 403 drivers/net/fddi/defza.c stat = readl_u(&ring->stat); stat 404 drivers/net/fddi/defza.c if (stat != FZA_RING_STAT_SUCCESS) { stat 406 drivers/net/fddi/defza.c fp->name, stat, stat 1155 drivers/net/fddi/defza.c u32 stat; stat 1206 drivers/net/fddi/defza.c stat = readl_u(&ring->stat); stat 1207 drivers/net/fddi/defza.c if (stat != FZA_RING_STAT_SUCCESS) { stat 1209 drivers/net/fddi/defza.c fp->name, stat, stat 230 drivers/net/fddi/defza.h u32 stat; /* command status */ stat 538 drivers/net/fddi/skfp/h/cmtdef.h void smt_stat_counter(struct s_smc *smc, int stat); stat 2028 drivers/net/fddi/skfp/skfddi.c void smt_stat_counter(struct s_smc *smc, int stat) stat 2033 drivers/net/fddi/skfp/skfddi.c switch (stat) { stat 2042 drivers/net/fddi/skfp/skfddi.c pr_debug("Unknown status (%d).\n", stat); stat 22 drivers/net/fjes/fjes_ethtool.c #define FJES_STAT(name, stat) { \ stat 24 drivers/net/fjes/fjes_ethtool.c .sizeof_stat = FIELD_SIZEOF(struct fjes_adapter, stat), \ stat 25 drivers/net/fjes/fjes_ethtool.c .stat_offset = offsetof(struct fjes_adapter, stat) \ stat 163 drivers/net/hamradio/baycom_epp.c unsigned char stat; stat 420 drivers/net/hamradio/baycom_epp.c static int transmit(struct baycom_state *bc, int cnt, unsigned char stat) stat 426 drivers/net/hamradio/baycom_epp.c if (bc->hdlctx.state == tx_tail && !(stat & EPP_PTTBIT)) stat 434 drivers/net/hamradio/baycom_epp.c if (!(stat & EPP_DCDBIT)) { stat 642 drivers/net/hamradio/baycom_epp.c unsigned char stat; stat 654 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) stat 656 drivers/net/hamradio/baycom_epp.c bc->stat = stat; stat 657 drivers/net/hamradio/baycom_epp.c bc->debug_vals.last_pllcorr = stat; stat 680 drivers/net/hamradio/baycom_epp.c if (transmit(bc, cnt2, stat)) stat 685 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) stat 687 drivers/net/hamradio/baycom_epp.c bc->stat = stat; stat 690 drivers/net/hamradio/baycom_epp.c switch (stat & (EPP_NTAEF|EPP_NTHF)) { stat 707 drivers/net/hamradio/baycom_epp.c if (transmit(bc, cnt, stat)) stat 711 drivers/net/hamradio/baycom_epp.c while ((stat & (EPP_NRAEF|EPP_NRHF)) != EPP_NRHF) { stat 712 drivers/net/hamradio/baycom_epp.c switch (stat & (EPP_NRAEF|EPP_NRHF)) { stat 727 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) stat 735 drivers/net/hamradio/baycom_epp.c while (cnt > 0 && stat & EPP_NREF) { stat 739 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) stat 827 drivers/net/hamradio/baycom_epp.c unsigned char stat; stat 892 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) stat 894 drivers/net/hamradio/baycom_epp.c if ((stat & (EPP_NRAEF|EPP_NRHF)) == EPP_NRHF) { stat 905 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) stat 907 drivers/net/hamradio/baycom_epp.c if (!(stat & EPP_NREF)) stat 958 drivers/net/hamradio/baycom_epp.c bc->stat = EPP_DCDBIT; stat 1060 drivers/net/hamradio/baycom_epp.c hi.data.cs.ptt = !!(bc->stat & EPP_PTTBIT); stat 1061 drivers/net/hamradio/baycom_epp.c hi.data.cs.dcd = !(bc->stat & EPP_DCDBIT); stat 1070 drivers/net/hamradio/baycom_epp.c hi.data.ocs.ptt = !!(bc->stat & EPP_PTTBIT); stat 1071 drivers/net/hamradio/baycom_epp.c hi.data.ocs.dcd = !(bc->stat & EPP_DCDBIT); stat 338 drivers/net/hamradio/scc.c scc->stat.nospace++; stat 350 drivers/net/hamradio/scc.c scc->stat.rxerrs++; /* then count it as an error */ stat 371 drivers/net/hamradio/scc.c scc->stat.txints++; stat 398 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_ACTIVE; stat 419 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_NEWFRAME; /* next frame... */ stat 435 drivers/net/hamradio/scc.c scc->stat.exints++; stat 495 drivers/net/hamradio/scc.c if (scc->stat.tx_state == TXS_ACTIVE && (status & TxEOM)) stat 497 drivers/net/hamradio/scc.c scc->stat.tx_under++; /* oops, an underrun! count 'em */ stat 520 drivers/net/hamradio/scc.c scc->stat.rxints++; stat 533 drivers/net/hamradio/scc.c skb = dev_alloc_skb(scc->stat.bufsize); stat 537 drivers/net/hamradio/scc.c scc->stat.nospace++; stat 547 drivers/net/hamradio/scc.c if (skb->len >= scc->stat.bufsize) stat 569 drivers/net/hamradio/scc.c scc->stat.spints++; stat 578 drivers/net/hamradio/scc.c scc->stat.rx_over++; /* count them */ stat 596 drivers/net/hamradio/scc.c scc->stat.rxframes++; stat 600 drivers/net/hamradio/scc.c scc->stat.rxerrs++; stat 1071 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_IDLE2; stat 1080 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_BUSY; stat 1130 drivers/net/hamradio/scc.c if (scc->stat.tx_state == TXS_WAIT) /* maxkeyup or idle timeout */ stat 1133 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_IDLE; stat 1138 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_BUSY; stat 1199 drivers/net/hamradio/scc.c if (scc->stat.tx_state == TXS_TIMEOUT) /* we had a timeout? */ stat 1201 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_WAIT; stat 1206 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_IDLE; stat 1224 drivers/net/hamradio/scc.c scc->stat.txerrs++; stat 1225 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_IDLE; stat 1257 drivers/net/hamradio/scc.c scc->stat.txerrs++; stat 1258 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_TIMEOUT; stat 1278 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_WAIT; stat 1286 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_IDLE; stat 1339 drivers/net/hamradio/scc.c if (scc->stat.tx_state == 0) /* only switch baudrate on rx... ;-) */ stat 1353 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_BUSY; stat 1646 drivers/net/hamradio/scc.c if (skb->len > scc->stat.bufsize || skb->len < 2) { stat 1654 drivers/net/hamradio/scc.c scc->stat.txframes++; stat 1682 drivers/net/hamradio/scc.c if(scc->stat.tx_state == TXS_IDLE || scc->stat.tx_state == TXS_IDLE2) { stat 1683 drivers/net/hamradio/scc.c scc->stat.tx_state = TXS_BUSY; stat 1855 drivers/net/hamradio/scc.c scc->stat.bufsize = SCC_BUFSIZE; stat 1908 drivers/net/hamradio/scc.c scc->stat.bufsize = memcfg.bufsize; stat 1912 drivers/net/hamradio/scc.c if (!arg || copy_to_user(arg, &scc->stat, sizeof(scc->stat))) stat 1961 drivers/net/hamradio/scc.c scc->dev_stat.rx_errors = scc->stat.rxerrs + scc->stat.rx_over; stat 1962 drivers/net/hamradio/scc.c scc->dev_stat.tx_errors = scc->stat.txerrs + scc->stat.tx_under; stat 1963 drivers/net/hamradio/scc.c scc->dev_stat.rx_fifo_errors = scc->stat.rx_over; stat 1964 drivers/net/hamradio/scc.c scc->dev_stat.tx_fifo_errors = scc->stat.tx_under; stat 2022 drivers/net/hamradio/scc.c const struct scc_stat *stat = &scc->stat; stat 2043 drivers/net/hamradio/scc.c stat->bufsize); stat 2045 drivers/net/hamradio/scc.c stat->rxints, stat->txints, stat->exints, stat->spints); stat 2047 drivers/net/hamradio/scc.c stat->rxframes, stat->rxerrs, stat->rx_over, stat 2048 drivers/net/hamradio/scc.c stat->txframes, stat->txerrs, stat->tx_under, stat 2049 drivers/net/hamradio/scc.c stat->nospace, stat->tx_state); stat 303 drivers/net/ieee802154/adf7242.c static int adf7242_status(struct adf7242_local *lp, u8 *stat) stat 309 drivers/net/ieee802154/adf7242.c *stat = lp->buf_stat_rx; stat 319 drivers/net/ieee802154/adf7242.c u8 stat; stat 322 drivers/net/ieee802154/adf7242.c adf7242_status(lp, &stat); stat 324 drivers/net/ieee802154/adf7242.c } while (((stat & mask) != status) && (cnt < MAX_POLL_LOOPS)); stat 329 drivers/net/ieee802154/adf7242.c if (!(stat & STAT_RC_READY)) { stat 331 drivers/net/ieee802154/adf7242.c adf7242_status(lp, &stat); stat 333 drivers/net/ieee802154/adf7242.c if ((stat & mask) == status) stat 340 drivers/net/ieee802154/adf7242.c __func__, line, stat, cnt); stat 942 drivers/net/ieee802154/adf7242.c u8 stat; stat 944 drivers/net/ieee802154/adf7242.c adf7242_status(lp, &stat); stat 958 drivers/net/ieee802154/adf7242.c __func__, stat, stat 959 drivers/net/ieee802154/adf7242.c stat & STAT_SPI_READY ? "SPI_READY" : "SPI_BUSY", stat 960 drivers/net/ieee802154/adf7242.c stat & STAT_IRQ_STATUS ? "IRQ_PENDING" : "IRQ_CLEAR", stat 961 drivers/net/ieee802154/adf7242.c stat & STAT_RC_READY ? "RC_READY" : "RC_BUSY", stat 962 drivers/net/ieee802154/adf7242.c stat & STAT_CCA_RESULT ? "CHAN_IDLE" : "CHAN_BUSY", stat 963 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_IDLE ? "RC_STATUS_IDLE" : "", stat 964 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_MEAS ? "RC_STATUS_MEAS" : "", stat 965 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_PHY_RDY ? "RC_STATUS_PHY_RDY" : "", stat 966 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_RX ? "RC_STATUS_RX" : "", stat 967 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_TX ? "RC_STATUS_TX" : ""); stat 1130 drivers/net/ieee802154/adf7242.c u8 stat, irq1; stat 1132 drivers/net/ieee802154/adf7242.c adf7242_status(lp, &stat); stat 1145 drivers/net/ieee802154/adf7242.c seq_printf(file, "STATUS = %X:\n%s\n%s\n%s\n%s\n%s%s%s%s%s\n", stat, stat 1146 drivers/net/ieee802154/adf7242.c stat & STAT_SPI_READY ? "SPI_READY" : "SPI_BUSY", stat 1147 drivers/net/ieee802154/adf7242.c stat & STAT_IRQ_STATUS ? "IRQ_PENDING" : "IRQ_CLEAR", stat 1148 drivers/net/ieee802154/adf7242.c stat & STAT_RC_READY ? "RC_READY" : "RC_BUSY", stat 1149 drivers/net/ieee802154/adf7242.c stat & STAT_CCA_RESULT ? "CHAN_IDLE" : "CHAN_BUSY", stat 1150 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_IDLE ? "RC_STATUS_IDLE" : "", stat 1151 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_MEAS ? "RC_STATUS_MEAS" : "", stat 1152 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_PHY_RDY ? "RC_STATUS_PHY_RDY" : "", stat 1153 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_RX ? "RC_STATUS_RX" : "", stat 1154 drivers/net/ieee802154/adf7242.c (stat & 0xf) == RC_STATUS_TX ? "RC_STATUS_TX" : ""); stat 653 drivers/net/phy/adin.c struct adin_hw_stat *stat, stat 658 drivers/net/phy/adin.c ret = phy_read_mmd(phydev, MDIO_MMD_VEND1, stat->reg1); stat 664 drivers/net/phy/adin.c if (stat->reg2 == 0) stat 667 drivers/net/phy/adin.c ret = phy_read_mmd(phydev, MDIO_MMD_VEND1, stat->reg2); stat 679 drivers/net/phy/adin.c struct adin_hw_stat *stat = &adin_hw_stats[i]; stat 684 drivers/net/phy/adin.c if (stat->reg1 > 0x1f) { stat 685 drivers/net/phy/adin.c ret = adin_read_mmd_stat_regs(phydev, stat, &val); stat 689 drivers/net/phy/adin.c ret = phy_read(phydev, stat->reg1); stat 165 drivers/net/phy/aquantia_main.c const struct aqr107_hw_stat *stat = aqr107_hw_stats + index; stat 166 drivers/net/phy/aquantia_main.c int len_l = min(stat->size, 16); stat 167 drivers/net/phy/aquantia_main.c int len_h = stat->size - len_l; stat 171 drivers/net/phy/aquantia_main.c val = phy_read_mmd(phydev, MDIO_MMD_C22EXT, stat->reg); stat 177 drivers/net/phy/aquantia_main.c val = phy_read_mmd(phydev, MDIO_MMD_C22EXT, stat->reg + 1); stat 347 drivers/net/phy/bcm-phy-lib.c struct bcm_phy_hw_stat stat = bcm_phy_hw_stats[i]; stat 351 drivers/net/phy/bcm-phy-lib.c val = phy_read(phydev, stat.reg); stat 355 drivers/net/phy/bcm-phy-lib.c val >>= stat.shift; stat 356 drivers/net/phy/bcm-phy-lib.c val = val & ((1 << stat.bits) - 1); stat 1611 drivers/net/phy/marvell.c struct marvell_hw_stat stat = marvell_hw_stats[i]; stat 1616 drivers/net/phy/marvell.c val = phy_read_paged(phydev, stat.page, stat.reg); stat 1620 drivers/net/phy/marvell.c val = val & ((1 << stat.bits) - 1); stat 862 drivers/net/phy/micrel.c struct kszphy_hw_stat stat = kszphy_hw_stats[i]; stat 867 drivers/net/phy/micrel.c val = phy_read(phydev, stat.reg); stat 871 drivers/net/phy/micrel.c val = val & ((1 << stat.bits) - 1); stat 169 drivers/net/phy/smsc.c struct smsc_hw_stat stat = smsc_hw_stats[i]; stat 173 drivers/net/phy/smsc.c val = phy_read(phydev, stat.reg); stat 1635 drivers/net/virtio_net.c struct scatterlist *sgs[4], hdr, stat; stat 1652 drivers/net/virtio_net.c sg_init_one(&stat, &vi->ctrl->status, sizeof(vi->ctrl->status)); stat 1653 drivers/net/virtio_net.c sgs[out_num] = &stat; stat 129 drivers/net/wan/c101.c u8 stat = sca_in(MSCI0_OFFSET + ST1, port); /* read MSCI ST1 status */ stat 132 drivers/net/wan/c101.c sca_out(stat & (ST1_UDRN | ST1_CDCD), MSCI0_OFFSET + ST1, port); stat 134 drivers/net/wan/c101.c if (stat & ST1_UDRN) { stat 140 drivers/net/wan/c101.c stat = sca_in(MSCI1_OFFSET + ST1, port); /* read MSCI1 ST1 status */ stat 142 drivers/net/wan/c101.c sca_out(stat & ST1_CDCD, MSCI1_OFFSET + ST1, port); stat 144 drivers/net/wan/c101.c if (stat & ST1_CDCD) stat 250 drivers/net/wan/cosa.c #define cosa_putstatus(cosa, stat) (cosa_outb(stat, cosa->statusreg)) stat 173 drivers/net/wan/hd64570.c writeb(0, &desc->stat); stat 223 drivers/net/wan/hd64570.c u8 stat = sca_in(msci + ST1, card); /* read MSCI ST1 status */ stat 226 drivers/net/wan/hd64570.c sca_out(stat & (ST1_UDRN | ST1_CDCD), msci + ST1, card); stat 228 drivers/net/wan/hd64570.c if (stat & ST1_UDRN) { stat 234 drivers/net/wan/hd64570.c if (stat & ST1_CDCD) stat 292 drivers/net/wan/hd64570.c u8 stat = sca_in(DSR_RX(phy_node(port)), card); /* read DMA Status */ stat 295 drivers/net/wan/hd64570.c sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE, stat 298 drivers/net/wan/hd64570.c if (stat & DSR_BOF) stat 311 drivers/net/wan/hd64570.c stat = readb(&desc->stat); stat 312 drivers/net/wan/hd64570.c if (!(stat & ST_RX_EOM)) stat 314 drivers/net/wan/hd64570.c else if ((stat & ST_ERROR_MASK) || port->rxpart) { stat 316 drivers/net/wan/hd64570.c if (stat & ST_RX_OVERRUN) stat 318 drivers/net/wan/hd64570.c else if ((stat & (ST_RX_SHORT | ST_RX_ABORT | stat 321 drivers/net/wan/hd64570.c else if (stat & ST_RX_CRC) stat 323 drivers/net/wan/hd64570.c if (stat & ST_RX_EOM) stat 344 drivers/net/wan/hd64570.c u8 stat; stat 348 drivers/net/wan/hd64570.c stat = sca_in(DSR_TX(phy_node(port)), card); /* read DMA Status */ stat 351 drivers/net/wan/hd64570.c sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE, stat 365 drivers/net/wan/hd64570.c writeb(0, &desc->stat); /* Free descriptor */ stat 378 drivers/net/wan/hd64570.c u8 stat; stat 382 drivers/net/wan/hd64570.c while((stat = sca_intr_status(card)) != 0) { stat 387 drivers/net/wan/hd64570.c if (stat & SCA_INTR_MSCI(i)) stat 390 drivers/net/wan/hd64570.c if (stat & SCA_INTR_DMAC_RX(i)) stat 393 drivers/net/wan/hd64570.c if (stat & SCA_INTR_DMAC_TX(i)) stat 580 drivers/net/wan/hd64570.c pr_cont(" %02X", readb(&(desc_address(port, cnt, 0)->stat))); stat 591 drivers/net/wan/hd64570.c pr_cont(" %02X", readb(&(desc_address(port, cnt, 1)->stat))); stat 629 drivers/net/wan/hd64570.c BUG_ON(readb(&desc->stat)); /* previous xmit should stop queue */ stat 655 drivers/net/wan/hd64570.c writeb(ST_TX_EOM, &desc->stat); stat 664 drivers/net/wan/hd64570.c if (readb(&desc->stat)) /* allow 1 packet gap */ stat 155 drivers/net/wan/hd64570.h u8 stat; /* Status */ stat 147 drivers/net/wan/hd64572.c writeb(0, &desc->stat); stat 235 drivers/net/wan/hd64572.c u8 stat = sca_in(DSR_RX(port->chan), card); /* read DMA Status */ stat 239 drivers/net/wan/hd64572.c sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE, stat 242 drivers/net/wan/hd64572.c if (stat & DSR_BOF) stat 255 drivers/net/wan/hd64572.c stat = readb(&desc->stat); stat 256 drivers/net/wan/hd64572.c if (!(stat & ST_RX_EOM)) stat 258 drivers/net/wan/hd64572.c else if ((stat & ST_ERROR_MASK) || port->rxpart) { stat 260 drivers/net/wan/hd64572.c if (stat & ST_RX_OVERRUN) stat 262 drivers/net/wan/hd64572.c else if ((stat & (ST_RX_SHORT | ST_RX_ABORT | stat 265 drivers/net/wan/hd64572.c else if (stat & ST_RX_CRC) stat 267 drivers/net/wan/hd64572.c if (stat & ST_RX_EOM) stat 290 drivers/net/wan/hd64572.c u8 stat; stat 295 drivers/net/wan/hd64572.c stat = sca_in(DSR_TX(port->chan), card); /* read DMA Status */ stat 298 drivers/net/wan/hd64572.c sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE, stat 303 drivers/net/wan/hd64572.c u8 stat = readb(&desc->stat); stat 305 drivers/net/wan/hd64572.c if (!(stat & ST_TX_OWNRSHP)) stat 307 drivers/net/wan/hd64572.c if (stat & ST_TX_UNDRRUN) { stat 314 drivers/net/wan/hd64572.c writeb(0, &desc->stat); /* Free descriptor */ stat 528 drivers/net/wan/hd64572.c pr_cont(" %02X", readb(&(desc_address(port, cnt, 0)->stat))); stat 539 drivers/net/wan/hd64572.c pr_cont(" %02X", readb(&(desc_address(port, cnt, 1)->stat))); stat 572 drivers/net/wan/hd64572.c BUG_ON(readb(&desc->stat)); /* previous xmit should stop queue */ stat 585 drivers/net/wan/hd64572.c writeb(ST_TX_EOM, &desc->stat); stat 594 drivers/net/wan/hd64572.c if (readb(&desc->stat)) /* allow 1 packet gap */ stat 182 drivers/net/wan/hd64572.h u8 stat; /* status */ stat 1217 drivers/net/wan/lmc/lmc_main.c s32 stat; stat 1283 drivers/net/wan/lmc/lmc_main.c stat = sc->lmc_txring[i].status; stat 1285 drivers/net/wan/lmc/lmc_main.c LMC_EVENT_LOG (LMC_EVENT_XMTINT, stat, stat 1290 drivers/net/wan/lmc/lmc_main.c if (stat & 0x80000000) stat 1304 drivers/net/wan/lmc/lmc_main.c if (stat & 0x8000) { stat 1306 drivers/net/wan/lmc/lmc_main.c if (stat & 0x4104) stat 1308 drivers/net/wan/lmc/lmc_main.c if (stat & 0x0C00) stat 1310 drivers/net/wan/lmc/lmc_main.c if (stat & 0x0200) stat 1312 drivers/net/wan/lmc/lmc_main.c if (stat & 0x0002) stat 1492 drivers/net/wan/lmc/lmc_main.c long stat; stat 1504 drivers/net/wan/lmc/lmc_main.c while (((stat = sc->lmc_rxring[i].status) & LMC_RDES_OWN_BIT) != DESC_OWNED_BY_DC21X4) stat 1507 drivers/net/wan/lmc/lmc_main.c len = ((stat & LMC_RDES_FRAME_LENGTH) >> RDES_FRAME_LENGTH_BIT_NUMBER); stat 1508 drivers/net/wan/lmc/lmc_main.c if ((stat & 0x0300) != 0x0300) { /* Check first segment and last segment */ stat 1509 drivers/net/wan/lmc/lmc_main.c if ((stat & 0x0000ffff) != 0x7fff) { stat 1516 drivers/net/wan/lmc/lmc_main.c if (stat & 0x00000008) { /* Catch a dribbling bit error */ stat 1523 drivers/net/wan/lmc/lmc_main.c if (stat & 0x00000004) { /* Catch a CRC error by the Xilinx */ stat 1542 drivers/net/wan/lmc/lmc_main.c if(stat & 0x00004000){ stat 1614 drivers/net/wan/lmc/lmc_main.c LMC_EVENT_LOG(LMC_EVENT_RCVINT, stat, len); stat 1634 drivers/net/wan/lmc/lmc_main.c LMC_EVENT_LOG(LMC_EVENT_RCVINT, stat, len); stat 167 drivers/net/wan/wanxl.c switch (desc->stat) { stat 182 drivers/net/wan/wanxl.c desc->stat = PACKET_EMPTY; /* Free descriptor */ stat 197 drivers/net/wan/wanxl.c desc->stat != PACKET_EMPTY) { stat 198 drivers/net/wan/wanxl.c if ((desc->stat & PACKET_PORT_MASK) > card->n_ports) stat 203 drivers/net/wan/wanxl.c struct port *port = &card->ports[desc->stat & stat 236 drivers/net/wan/wanxl.c desc->stat = PACKET_EMPTY; /* Free descriptor */ stat 247 drivers/net/wan/wanxl.c u32 stat; stat 251 drivers/net/wan/wanxl.c while((stat = readl(card->plx + PLX_DOORBELL_FROM_CARD)) != 0) { stat 253 drivers/net/wan/wanxl.c writel(stat, card->plx + PLX_DOORBELL_FROM_CARD); stat 256 drivers/net/wan/wanxl.c if (stat & (1 << (DOORBELL_FROM_CARD_TX_0 + i))) stat 258 drivers/net/wan/wanxl.c if (stat & (1 << (DOORBELL_FROM_CARD_CABLE_0 + i))) stat 261 drivers/net/wan/wanxl.c if (stat & (1 << DOORBELL_FROM_CARD_RX)) stat 278 drivers/net/wan/wanxl.c if (desc->stat != PACKET_EMPTY) { stat 297 drivers/net/wan/wanxl.c desc->stat = PACKET_FULL; stat 303 drivers/net/wan/wanxl.c if (get_status(port)->tx_descs[port->tx_out].stat != PACKET_EMPTY) { stat 407 drivers/net/wan/wanxl.c get_status(port)->tx_descs[i].stat = PACKET_EMPTY; stat 452 drivers/net/wan/wanxl.c if (desc->stat != PACKET_EMPTY) { stat 453 drivers/net/wan/wanxl.c desc->stat = PACKET_EMPTY; stat 560 drivers/net/wan/wanxl.c u32 ramsize, stat; stat 650 drivers/net/wan/wanxl.c while ((stat = readl(card->plx + PLX_MAILBOX_0)) != 0) { stat 658 drivers/net/wan/wanxl.c switch(stat & 0xC0) { stat 665 drivers/net/wan/wanxl.c pci_name(pdev), stat & 0x30); stat 735 drivers/net/wan/wanxl.c if ((stat = readl(card->plx + PLX_MAILBOX_5)) != 0) stat 740 drivers/net/wan/wanxl.c if (!stat) { stat 748 drivers/net/wan/wanxl.c ramsize = stat; stat 129 drivers/net/wan/wanxl.h volatile u32 stat; stat 334 drivers/net/wan/z85230.c u8 ch,stat; stat 342 drivers/net/wan/z85230.c stat=read_zsreg(c, R1); stat 353 drivers/net/wan/z85230.c if(stat&END_FR) stat 359 drivers/net/wan/z85230.c if(stat&(Rx_OVR|CRC_ERR)) stat 365 drivers/net/wan/z85230.c if(stat&Rx_OVR) stat 370 drivers/net/wan/z85230.c if(stat&CRC_ERR) stat 630 drivers/net/wan/z85230.c u8 stat; stat 633 drivers/net/wan/z85230.c stat=read_zsreg(c, R1); stat 635 drivers/net/wan/z85230.c if(stat&END_FR) stat 364 drivers/net/wireless/ath/ath6kl/core.h struct rxtid_stats stat[NUM_OF_TIDS]; stat 1056 drivers/net/wireless/ath/ath6kl/txrx.c stats = &agg_conn->stat[tid]; stat 1118 drivers/net/wireless/ath/ath6kl/txrx.c stats = &agg_conn->stat[tid]; stat 1632 drivers/net/wireless/ath/ath6kl/txrx.c stats = &aggr_conn->stat[i]; stat 1681 drivers/net/wireless/ath/ath6kl/txrx.c stats = &aggr_conn->stat[tid]; stat 821 drivers/net/wireless/broadcom/b43/b43.h #define b43_set_status(wldev, stat) do { \ stat 822 drivers/net/wireless/broadcom/b43/b43.h atomic_set(&(wldev)->__init_status, (stat)); \ stat 355 drivers/net/wireless/broadcom/b43/debugfs.c struct b43_txstatus *stat; stat 370 drivers/net/wireless/broadcom/b43/debugfs.c stat = &(log->log[i]); stat 371 drivers/net/wireless/broadcom/b43/debugfs.c if (stat->cookie) { stat 378 drivers/net/wireless/broadcom/b43/debugfs.c stat->cookie, stat->seq, stat->phy_stat, stat 379 drivers/net/wireless/broadcom/b43/debugfs.c stat->frame_count, stat->rts_count, stat 380 drivers/net/wireless/broadcom/b43/debugfs.c stat->supp_reason, stat->pm_indicated, stat 381 drivers/net/wireless/broadcom/b43/debugfs.c stat->intermediate, stat->for_ampdu, stat 382 drivers/net/wireless/broadcom/b43/debugfs.c stat->acked); stat 1336 drivers/net/wireless/broadcom/b43/main.c struct b43_txstatus stat; stat 1344 drivers/net/wireless/broadcom/b43/main.c stat.cookie = (v0 >> 16); stat 1345 drivers/net/wireless/broadcom/b43/main.c stat.seq = (v1 & 0x0000FFFF); stat 1346 drivers/net/wireless/broadcom/b43/main.c stat.phy_stat = ((v1 & 0x00FF0000) >> 16); stat 1348 drivers/net/wireless/broadcom/b43/main.c stat.frame_count = ((tmp & 0xF000) >> 12); stat 1349 drivers/net/wireless/broadcom/b43/main.c stat.rts_count = ((tmp & 0x0F00) >> 8); stat 1350 drivers/net/wireless/broadcom/b43/main.c stat.supp_reason = ((tmp & 0x001C) >> 2); stat 1351 drivers/net/wireless/broadcom/b43/main.c stat.pm_indicated = !!(tmp & 0x0080); stat 1352 drivers/net/wireless/broadcom/b43/main.c stat.intermediate = !!(tmp & 0x0040); stat 1353 drivers/net/wireless/broadcom/b43/main.c stat.for_ampdu = !!(tmp & 0x0020); stat 1354 drivers/net/wireless/broadcom/b43/main.c stat.acked = !!(tmp & 0x0002); stat 1356 drivers/net/wireless/broadcom/b43/main.c b43_handle_txstatus(dev, &stat); stat 664 drivers/net/wireless/broadcom/b43legacy/b43legacy.h #define b43legacy_set_status(wldev, stat) do { \ stat 665 drivers/net/wireless/broadcom/b43legacy/b43legacy.h atomic_set(&(wldev)->__init_status, (stat)); \ stat 131 drivers/net/wireless/broadcom/b43legacy/debugfs.c struct b43legacy_txstatus *stat; stat 147 drivers/net/wireless/broadcom/b43legacy/debugfs.c stat = &(log->log[i]); stat 148 drivers/net/wireless/broadcom/b43legacy/debugfs.c if (stat->cookie) { stat 155 drivers/net/wireless/broadcom/b43legacy/debugfs.c stat->cookie, stat->seq, stat->phy_stat, stat 156 drivers/net/wireless/broadcom/b43legacy/debugfs.c stat->frame_count, stat->rts_count, stat 157 drivers/net/wireless/broadcom/b43legacy/debugfs.c stat->supp_reason, stat->pm_indicated, stat 158 drivers/net/wireless/broadcom/b43legacy/debugfs.c stat->intermediate, stat->for_ampdu, stat 159 drivers/net/wireless/broadcom/b43legacy/debugfs.c stat->acked); stat 709 drivers/net/wireless/broadcom/b43legacy/main.c struct b43legacy_txstatus stat; stat 717 drivers/net/wireless/broadcom/b43legacy/main.c stat.cookie = (v0 >> 16); stat 718 drivers/net/wireless/broadcom/b43legacy/main.c stat.seq = (v1 & 0x0000FFFF); stat 719 drivers/net/wireless/broadcom/b43legacy/main.c stat.phy_stat = ((v1 & 0x00FF0000) >> 16); stat 721 drivers/net/wireless/broadcom/b43legacy/main.c stat.frame_count = ((tmp & 0xF000) >> 12); stat 722 drivers/net/wireless/broadcom/b43legacy/main.c stat.rts_count = ((tmp & 0x0F00) >> 8); stat 723 drivers/net/wireless/broadcom/b43legacy/main.c stat.supp_reason = ((tmp & 0x001C) >> 2); stat 724 drivers/net/wireless/broadcom/b43legacy/main.c stat.pm_indicated = !!(tmp & 0x0080); stat 725 drivers/net/wireless/broadcom/b43legacy/main.c stat.intermediate = !!(tmp & 0x0040); stat 726 drivers/net/wireless/broadcom/b43legacy/main.c stat.for_ampdu = !!(tmp & 0x0020); stat 727 drivers/net/wireless/broadcom/b43legacy/main.c stat.acked = !!(tmp & 0x0002); stat 729 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_handle_txstatus(dev, &stat); stat 151 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h void (*handler) (u32 stat, void *arg); stat 2665 drivers/net/wireless/marvell/mwifiex/pcie.c enum rdwr_status stat; stat 2686 drivers/net/wireless/marvell/mwifiex/pcie.c stat = mwifiex_pcie_rdwr_firmware(adapter, doneflag); stat 2687 drivers/net/wireless/marvell/mwifiex/pcie.c if (stat == RDWR_STATUS_FAILURE) stat 2705 drivers/net/wireless/marvell/mwifiex/pcie.c stat = mwifiex_pcie_rdwr_firmware(adapter, doneflag); stat 2706 drivers/net/wireless/marvell/mwifiex/pcie.c if (stat == RDWR_STATUS_FAILURE) stat 2747 drivers/net/wireless/marvell/mwifiex/pcie.c stat = mwifiex_pcie_rdwr_firmware(adapter, doneflag); stat 2748 drivers/net/wireless/marvell/mwifiex/pcie.c if (RDWR_STATUS_FAILURE == stat) stat 2774 drivers/net/wireless/marvell/mwifiex/pcie.c if (stat != RDWR_STATUS_DONE) stat 2306 drivers/net/wireless/marvell/mwifiex/sdio.c enum rdwr_status stat; stat 2327 drivers/net/wireless/marvell/mwifiex/sdio.c stat = mwifiex_sdio_rdwr_firmware(adapter, doneflag); stat 2328 drivers/net/wireless/marvell/mwifiex/sdio.c if (stat == RDWR_STATUS_FAILURE) stat 2343 drivers/net/wireless/marvell/mwifiex/sdio.c stat = mwifiex_sdio_rdwr_firmware(adapter, doneflag); stat 2344 drivers/net/wireless/marvell/mwifiex/sdio.c if (stat == RDWR_STATUS_FAILURE) stat 2389 drivers/net/wireless/marvell/mwifiex/sdio.c stat = mwifiex_sdio_rdwr_firmware(adapter, doneflag); stat 2390 drivers/net/wireless/marvell/mwifiex/sdio.c if (stat == RDWR_STATUS_FAILURE) stat 2409 drivers/net/wireless/marvell/mwifiex/sdio.c if (stat != RDWR_STATUS_DONE) stat 2430 drivers/net/wireless/marvell/mwifiex/sdio.c enum rdwr_status stat; stat 2447 drivers/net/wireless/marvell/mwifiex/sdio.c stat = mwifiex_sdio_rdwr_firmware(adapter, done_flag); stat 2448 drivers/net/wireless/marvell/mwifiex/sdio.c if (stat == RDWR_STATUS_FAILURE) stat 2487 drivers/net/wireless/marvell/mwifiex/sdio.c stat = mwifiex_sdio_rdwr_firmware(adapter, done_flag); stat 2488 drivers/net/wireless/marvell/mwifiex/sdio.c if (stat == RDWR_STATUS_FAILURE) stat 2515 drivers/net/wireless/marvell/mwifiex/sdio.c if (stat == RDWR_STATUS_DONE) { stat 231 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct mt76x02_tx_status *stat) stat 238 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->valid = !!(stat1 & MT_TX_STAT_FIFO_VALID); stat 239 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (!stat->valid) stat 242 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->success = !!(stat1 & MT_TX_STAT_FIFO_SUCCESS); stat 243 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->aggr = !!(stat1 & MT_TX_STAT_FIFO_AGGR); stat 244 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->ack_req = !!(stat1 & MT_TX_STAT_FIFO_ACKREQ); stat 245 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, stat1); stat 246 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->rate = FIELD_GET(MT_TX_STAT_FIFO_RATE, stat1); stat 248 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->retry = FIELD_GET(MT_TX_STAT_FIFO_EXT_RETRY, stat2); stat 249 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->pktid = FIELD_GET(MT_TX_STAT_FIFO_EXT_PKTID, stat2); stat 251 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c trace_mac_txstat_fetch(dev, stat); stat 513 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct mt76x02_tx_status *stat, u8 *update) stat 524 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (stat->pktid == MT_PACKET_ID_NO_ACK) stat 529 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (stat->wcid < ARRAY_SIZE(dev->mt76.wcid)) stat 530 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c wcid = rcu_dereference(dev->mt76.wcid[stat->wcid]); stat 543 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (mt76_is_skb_pktid(stat->pktid)) stat 545 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->pktid, &list); stat 550 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (!status.skb && !(stat->pktid & MT_PACKET_ID_HAS_RATE)) { stat 556 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (msta && stat->aggr && !status.skb) { stat 559 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat_val = stat->rate; stat 560 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat_val |= ((u32)stat->retry) << 16; stat 565 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->wcid == msta->status.wcid && msta->n_frames < 32) { stat 575 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c msta->status = *stat; stat 579 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_fill_tx_status(dev, msta, status.info, stat, 1); stat 798 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct mt76x02_tx_status stat = {}; stat 811 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ret = mt76x02_mac_load_tx_status(dev, &stat); stat 818 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_send_tx_status(dev, &stat, &update); stat 822 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c kfifo_put(&dev->txstatus_fifo, stat); stat 177 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h struct mt76x02_tx_status *stat); stat 179 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h struct mt76x02_tx_status *stat, u8 *update); stat 140 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_tx_status stat; stat 143 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c while (kfifo_get(&dev->txstatus_fifo, &stat)) stat 144 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76x02_send_tx_status(dev, &stat, &update); stat 68 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h struct mt76x02_tx_status *stat), stat 70 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h TP_ARGS(dev, stat), stat 84 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h __entry->success = stat->success; stat 85 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h __entry->aggr = stat->aggr; stat 86 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h __entry->ack_req = stat->ack_req; stat 87 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h __entry->wcid = stat->wcid; stat 88 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h __entry->pktid = stat->pktid; stat 89 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h __entry->rate = stat->rate; stat 90 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h __entry->retry = stat->retry; stat 127 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c struct mt76x02_tx_status stat; stat 129 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c if (!mt76x02_mac_load_tx_status(dev, &stat)) stat 132 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c mt76x02_send_tx_status(dev, &stat, update); stat 159 drivers/net/wireless/mediatek/mt7601u/mac.c struct mt76_tx_status stat = {}; stat 163 drivers/net/wireless/mediatek/mt7601u/mac.c stat.valid = !!(val & MT_TX_STAT_FIFO_VALID); stat 164 drivers/net/wireless/mediatek/mt7601u/mac.c stat.success = !!(val & MT_TX_STAT_FIFO_SUCCESS); stat 165 drivers/net/wireless/mediatek/mt7601u/mac.c stat.aggr = !!(val & MT_TX_STAT_FIFO_AGGR); stat 166 drivers/net/wireless/mediatek/mt7601u/mac.c stat.ack_req = !!(val & MT_TX_STAT_FIFO_ACKREQ); stat 167 drivers/net/wireless/mediatek/mt7601u/mac.c stat.pktid = FIELD_GET(MT_TX_STAT_FIFO_PID_TYPE, val); stat 168 drivers/net/wireless/mediatek/mt7601u/mac.c stat.wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, val); stat 169 drivers/net/wireless/mediatek/mt7601u/mac.c stat.rate = FIELD_GET(MT_TX_STAT_FIFO_RATE, val); stat 171 drivers/net/wireless/mediatek/mt7601u/mac.c return stat; stat 174 drivers/net/wireless/mediatek/mt7601u/mac.c void mt76_send_tx_status(struct mt7601u_dev *dev, struct mt76_tx_status *stat) stat 182 drivers/net/wireless/mediatek/mt7601u/mac.c if (stat->wcid < ARRAY_SIZE(dev->wcid)) stat 183 drivers/net/wireless/mediatek/mt7601u/mac.c wcid = rcu_dereference(dev->wcid[stat->wcid]); stat 191 drivers/net/wireless/mediatek/mt7601u/mac.c mt76_mac_fill_tx_status(dev, &info, stat); stat 168 drivers/net/wireless/mediatek/mt7601u/mac.h void mt76_send_tx_status(struct mt7601u_dev *dev, struct mt76_tx_status *stat); stat 71 drivers/net/wireless/mediatek/mt7601u/tx.c mt7601u_tx_pktid_dec(struct mt7601u_dev *dev, struct mt76_tx_status *stat) stat 73 drivers/net/wireless/mediatek/mt7601u/tx.c u8 req_rate = stat->pktid; stat 74 drivers/net/wireless/mediatek/mt7601u/tx.c u8 eff_rate = stat->rate & 0x7; stat 79 drivers/net/wireless/mediatek/mt7601u/tx.c stat->is_probe = true; stat 87 drivers/net/wireless/mediatek/mt7601u/tx.c stat->retry = req_rate - eff_rate; stat 232 drivers/net/wireless/mediatek/mt7601u/tx.c struct mt76_tx_status stat; stat 237 drivers/net/wireless/mediatek/mt7601u/tx.c stat = mt7601u_mac_fetch_tx_status(dev); stat 238 drivers/net/wireless/mediatek/mt7601u/tx.c if (!stat.valid) stat 241 drivers/net/wireless/mediatek/mt7601u/tx.c mt7601u_tx_pktid_dec(dev, &stat); stat 242 drivers/net/wireless/mediatek/mt7601u/tx.c mt76_send_tx_status(dev, &stat); stat 502 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c struct rssi_sta *stat = &drv_priv->rssi_stat; stat 504 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c if (stat->undec_sm_pwdb < min) stat 505 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c min = stat->undec_sm_pwdb; stat 506 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c if (stat->undec_sm_pwdb > max) stat 507 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c max = stat->undec_sm_pwdb; stat 40 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 104 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 124 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 163 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 174 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 220 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 257 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 301 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 331 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 343 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 375 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 530 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 712 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 816 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 944 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1073 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1157 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1243 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1306 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1373 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1407 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1472 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1511 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1547 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1582 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1625 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1661 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1693 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1797 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1855 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1909 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 1991 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 2083 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 2110 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 2141 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 2185 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 2225 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 2265 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 2438 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 2477 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &rtwdev->coex.stat; stat 2489 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &rtwdev->coex.stat; stat 2501 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_stat *coex_stat = &rtwdev->coex.stat; stat 1074 drivers/net/wireless/realtek/rtw88/main.h struct rtw_coex_stat stat; stat 1934 drivers/net/wireless/realtek/rtw88/rtw8822c.c struct rtw_coex_stat *coex_stat = &coex->stat; stat 245 drivers/nfc/nxp-nci/firmware.c static int nxp_nci_fw_read_status(u8 stat) stat 247 drivers/nfc/nxp-nci/firmware.c switch (stat) { stat 845 drivers/ntb/hw/amd/ntb_hw_amd.c u32 reg, stat; stat 859 drivers/ntb/hw/amd/ntb_hw_amd.c AMD_LINK_STATUS_OFFSET, &stat); stat 862 drivers/ntb/hw/amd/ntb_hw_amd.c ndev->lnk_sta = stat; stat 274 drivers/nvme/target/discovery.c u16 stat; stat 278 drivers/nvme/target/discovery.c stat = nvmet_set_feat_kato(req); stat 281 drivers/nvme/target/discovery.c stat = nvmet_set_feat_async_event(req, stat 287 drivers/nvme/target/discovery.c stat = NVME_SC_INVALID_FIELD | NVME_SC_DNR; stat 291 drivers/nvme/target/discovery.c nvmet_req_complete(req, stat); stat 297 drivers/nvme/target/discovery.c u16 stat = 0; stat 309 drivers/nvme/target/discovery.c stat = NVME_SC_INVALID_FIELD | NVME_SC_DNR; stat 313 drivers/nvme/target/discovery.c nvmet_req_complete(req, stat); stat 33 drivers/nvme/target/io-cmd-file.c struct kstat stat; stat 47 drivers/nvme/target/io-cmd-file.c &stat, STATX_SIZE, AT_STATX_FORCE_SYNC); stat 51 drivers/nvme/target/io-cmd-file.c ns->size = stat.size; stat 1357 drivers/parisc/lba_pci.c u32 stat; stat 1396 drivers/parisc/lba_pci.c stat = READ_REG32(d->hba.base_addr + LBA_ERROR_CONFIG); stat 1397 drivers/parisc/lba_pci.c if (stat & LBA_SMART_MODE) { stat 1399 drivers/parisc/lba_pci.c stat &= ~LBA_SMART_MODE; stat 1400 drivers/parisc/lba_pci.c WRITE_REG32(stat, d->hba.base_addr + LBA_ERROR_CONFIG); stat 1418 drivers/parisc/lba_pci.c stat = READ_REG32(d->hba.base_addr + LBA_STAT_CTL); stat 1420 drivers/parisc/lba_pci.c WRITE_REG32(stat | HF_ENABLE, d->hba.base_addr + LBA_STAT_CTL); stat 1422 drivers/parisc/lba_pci.c WRITE_REG32(stat & ~HF_ENABLE, d->hba.base_addr + LBA_STAT_CTL); stat 132 drivers/pci/controller/pci-mvebu.c u32 stat; stat 134 drivers/pci/controller/pci-mvebu.c stat = mvebu_readl(port, PCIE_STAT_OFF); stat 135 drivers/pci/controller/pci-mvebu.c stat &= ~PCIE_STAT_BUS; stat 136 drivers/pci/controller/pci-mvebu.c stat |= nr << 8; stat 137 drivers/pci/controller/pci-mvebu.c mvebu_writel(port, stat, PCIE_STAT_OFF); stat 142 drivers/pci/controller/pci-mvebu.c u32 stat; stat 144 drivers/pci/controller/pci-mvebu.c stat = mvebu_readl(port, PCIE_STAT_OFF); stat 145 drivers/pci/controller/pci-mvebu.c stat &= ~PCIE_STAT_DEV; stat 146 drivers/pci/controller/pci-mvebu.c stat |= nr << 16; stat 147 drivers/pci/controller/pci-mvebu.c mvebu_writel(port, stat, PCIE_STAT_OFF); stat 164 drivers/pci/hotplug/acpiphp_ibm.c acpi_status stat; stat 186 drivers/pci/hotplug/acpiphp_ibm.c stat = acpi_evaluate_integer(ibm_acpi_handle, "APLS", ¶ms, &rc); stat 187 drivers/pci/hotplug/acpiphp_ibm.c if (ACPI_FAILURE(stat)) { stat 188 drivers/pci/hotplug/acpiphp_ibm.c pr_err("APLS evaluation failed: 0x%08x\n", stat); stat 5539 drivers/pci/pci.c u32 stat; stat 5545 drivers/pci/pci.c if (pci_read_config_dword(dev, cap + PCI_X_STATUS, &stat)) stat 5548 drivers/pci/pci.c return 512 << ((stat & PCI_X_STATUS_MAX_READ) >> 21); stat 5587 drivers/pci/pci.c u32 stat, v, o; stat 5599 drivers/pci/pci.c if (pci_read_config_dword(dev, cap + PCI_X_STATUS, &stat)) stat 5602 drivers/pci/pci.c if (v > (stat & PCI_X_STATUS_MAX_READ) >> 21) stat 164 drivers/pcmcia/bcm63xx_pcmcia.c unsigned int stat; stat 167 drivers/pcmcia/bcm63xx_pcmcia.c stat = 0; stat 173 drivers/pcmcia/bcm63xx_pcmcia.c stat |= SS_DETECT; stat 176 drivers/pcmcia/bcm63xx_pcmcia.c if ((stat & SS_DETECT) && !skt->card_detected) { stat 177 drivers/pcmcia/bcm63xx_pcmcia.c unsigned int stat = 0; stat 187 drivers/pcmcia/bcm63xx_pcmcia.c stat |= (val & PCMCIA_C1_VS1_MASK) ? IN_VS1 : 0; stat 188 drivers/pcmcia/bcm63xx_pcmcia.c stat |= (val & PCMCIA_C1_VS2_MASK) ? IN_VS2 : 0; stat 198 drivers/pcmcia/bcm63xx_pcmcia.c stat |= (val & PCMCIA_C1_CD1_MASK) ? IN_CD1_VS2H : 0; stat 199 drivers/pcmcia/bcm63xx_pcmcia.c stat |= (val & PCMCIA_C1_CD2_MASK) ? IN_CD2_VS2H : 0; stat 209 drivers/pcmcia/bcm63xx_pcmcia.c stat |= (val & PCMCIA_C1_CD1_MASK) ? IN_CD1_VS1H : 0; stat 210 drivers/pcmcia/bcm63xx_pcmcia.c stat |= (val & PCMCIA_C1_CD2_MASK) ? IN_CD2_VS1H : 0; stat 213 drivers/pcmcia/bcm63xx_pcmcia.c skt->card_type = vscd_to_cardtype[stat]; stat 229 drivers/pcmcia/bcm63xx_pcmcia.c skt->card_detected = (stat & SS_DETECT) ? 1 : 0; stat 233 drivers/pcmcia/bcm63xx_pcmcia.c stat |= SS_CARDBUS; stat 235 drivers/pcmcia/bcm63xx_pcmcia.c stat |= SS_3VCARD; stat 237 drivers/pcmcia/bcm63xx_pcmcia.c stat |= SS_XVCARD; stat 238 drivers/pcmcia/bcm63xx_pcmcia.c stat |= SS_POWERON; stat 241 drivers/pcmcia/bcm63xx_pcmcia.c stat |= SS_READY; stat 243 drivers/pcmcia/bcm63xx_pcmcia.c return stat; stat 269 drivers/pcmcia/bcm63xx_pcmcia.c unsigned int stat, events; stat 275 drivers/pcmcia/bcm63xx_pcmcia.c stat = __get_socket_status(skt); stat 279 drivers/pcmcia/bcm63xx_pcmcia.c events = (stat ^ skt->old_status) & skt->requested_state.csc_mask; stat 280 drivers/pcmcia/bcm63xx_pcmcia.c skt->old_status = stat; stat 642 drivers/pcmcia/i82365.c u_char stat; stat 645 drivers/pcmcia/i82365.c stat = i365_get(sock, I365_STATUS); stat 648 drivers/pcmcia/i82365.c if ((stat & I365_CS_DETECT) && (stat & I365_CS_POWERON) && stat 40 drivers/pcmcia/pxa2xx_balloon3.c skt->stat[SOC_STAT_CD].gpio = BALLOON3_GPIO_S0_CD; stat 41 drivers/pcmcia/pxa2xx_balloon3.c skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; stat 42 drivers/pcmcia/pxa2xx_balloon3.c skt->stat[SOC_STAT_BVD1].irq = BALLOON3_BP_NSTSCHG_IRQ; stat 43 drivers/pcmcia/pxa2xx_balloon3.c skt->stat[SOC_STAT_BVD1].name = "PCMCIA0 STSCHG"; stat 32 drivers/pcmcia/pxa2xx_cm_x255.c skt->stat[SOC_STAT_CD].gpio = GPIO_PCMCIA_S0_CD_VALID; stat 33 drivers/pcmcia/pxa2xx_cm_x255.c skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; stat 34 drivers/pcmcia/pxa2xx_cm_x255.c skt->stat[SOC_STAT_RDY].gpio = GPIO_PCMCIA_S0_RDYINT; stat 35 drivers/pcmcia/pxa2xx_cm_x255.c skt->stat[SOC_STAT_RDY].name = "PCMCIA0 RDY"; stat 37 drivers/pcmcia/pxa2xx_cm_x255.c skt->stat[SOC_STAT_CD].gpio = GPIO_PCMCIA_S1_CD_VALID; stat 38 drivers/pcmcia/pxa2xx_cm_x255.c skt->stat[SOC_STAT_CD].name = "PCMCIA1 CD"; stat 39 drivers/pcmcia/pxa2xx_cm_x255.c skt->stat[SOC_STAT_RDY].gpio = GPIO_PCMCIA_S1_RDYINT; stat 40 drivers/pcmcia/pxa2xx_cm_x255.c skt->stat[SOC_STAT_RDY].name = "PCMCIA1 RDY"; stat 28 drivers/pcmcia/pxa2xx_cm_x270.c skt->stat[SOC_STAT_CD].gpio = GPIO_PCMCIA_S0_CD_VALID; stat 29 drivers/pcmcia/pxa2xx_cm_x270.c skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; stat 30 drivers/pcmcia/pxa2xx_cm_x270.c skt->stat[SOC_STAT_RDY].gpio = GPIO_PCMCIA_S0_RDYINT; stat 31 drivers/pcmcia/pxa2xx_cm_x270.c skt->stat[SOC_STAT_RDY].name = "PCMCIA0 RDY"; stat 62 drivers/pcmcia/pxa2xx_colibri.c skt->stat[SOC_STAT_CD].irq = gpio_to_irq(colibri_pcmcia_gpios[DETECT].gpio); stat 63 drivers/pcmcia/pxa2xx_colibri.c skt->stat[SOC_STAT_CD].name = "PCMCIA CD"; stat 26 drivers/pcmcia/pxa2xx_e740.c skt->stat[SOC_STAT_CD].gpio = GPIO_E740_PCMCIA_CD0; stat 27 drivers/pcmcia/pxa2xx_e740.c skt->stat[SOC_STAT_CD].name = "CF card detect"; stat 28 drivers/pcmcia/pxa2xx_e740.c skt->stat[SOC_STAT_RDY].gpio = GPIO_E740_PCMCIA_RDY0; stat 29 drivers/pcmcia/pxa2xx_e740.c skt->stat[SOC_STAT_RDY].name = "CF ready"; stat 31 drivers/pcmcia/pxa2xx_e740.c skt->stat[SOC_STAT_CD].gpio = GPIO_E740_PCMCIA_CD1; stat 32 drivers/pcmcia/pxa2xx_e740.c skt->stat[SOC_STAT_CD].name = "Wifi switch"; stat 33 drivers/pcmcia/pxa2xx_e740.c skt->stat[SOC_STAT_RDY].gpio = GPIO_E740_PCMCIA_RDY1; stat 34 drivers/pcmcia/pxa2xx_e740.c skt->stat[SOC_STAT_RDY].name = "Wifi ready"; stat 39 drivers/pcmcia/pxa2xx_hx4700.c skt->stat[SOC_STAT_CD].gpio = GPIOD4_CF_nCD; stat 40 drivers/pcmcia/pxa2xx_hx4700.c skt->stat[SOC_STAT_CD].name = "PCMCIA CD"; stat 41 drivers/pcmcia/pxa2xx_hx4700.c skt->stat[SOC_STAT_RDY].gpio = GPIO60_HX4700_CF_RNB; stat 42 drivers/pcmcia/pxa2xx_hx4700.c skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; stat 32 drivers/pcmcia/pxa2xx_mainstone.c skt->stat[SOC_STAT_CD].name = skt->nr ? "bdetect" : "adetect"; stat 33 drivers/pcmcia/pxa2xx_mainstone.c skt->stat[SOC_STAT_BVD1].name = skt->nr ? "bbvd1" : "abvd1"; stat 34 drivers/pcmcia/pxa2xx_mainstone.c skt->stat[SOC_STAT_BVD2].name = skt->nr ? "bbvd2" : "abvd2"; stat 35 drivers/pcmcia/pxa2xx_mainstone.c skt->stat[SOC_STAT_RDY].name = skt->nr ? "bready" : "aready"; stat 36 drivers/pcmcia/pxa2xx_mainstone.c skt->stat[SOC_STAT_VS1].name = skt->nr ? "bvs1" : "avs1"; stat 37 drivers/pcmcia/pxa2xx_mainstone.c skt->stat[SOC_STAT_VS2].name = skt->nr ? "bvs2" : "avs2"; stat 69 drivers/pcmcia/pxa2xx_mainstone.c enable_irq(skt->stat[SOC_STAT_BVD1].irq); stat 71 drivers/pcmcia/pxa2xx_mainstone.c disable_irq(skt->stat[SOC_STAT_BVD2].irq); stat 31 drivers/pcmcia/pxa2xx_palmld.c skt->stat[SOC_STAT_RDY].gpio = GPIO_NR_PALMLD_PCMCIA_READY; stat 32 drivers/pcmcia/pxa2xx_palmld.c skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; stat 35 drivers/pcmcia/pxa2xx_palmtc.c skt->stat[SOC_STAT_RDY].gpio = GPIO_NR_PALMTC_PCMCIA_READY; stat 36 drivers/pcmcia/pxa2xx_palmtc.c skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; stat 31 drivers/pcmcia/pxa2xx_palmtx.c skt->stat[SOC_STAT_RDY].gpio = GPIO_NR_PALMTX_PCMCIA_READY; stat 32 drivers/pcmcia/pxa2xx_palmtx.c skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; stat 46 drivers/pcmcia/pxa2xx_sharpsl.c skt->stat[SOC_STAT_CD].irq = SCOOP_DEV[skt->nr].cd_irq; stat 47 drivers/pcmcia/pxa2xx_sharpsl.c skt->stat[SOC_STAT_CD].name = SCOOP_DEV[skt->nr].cd_irq_str; stat 40 drivers/pcmcia/pxa2xx_stargate2.c skt->stat[SOC_STAT_CD].gpio = SG2_S0_GPIO_DETECT; stat 41 drivers/pcmcia/pxa2xx_stargate2.c skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; stat 42 drivers/pcmcia/pxa2xx_stargate2.c skt->stat[SOC_STAT_RDY].gpio = SG2_S0_GPIO_READY; stat 43 drivers/pcmcia/pxa2xx_stargate2.c skt->stat[SOC_STAT_RDY].name = "PCMCIA0 RDY"; stat 36 drivers/pcmcia/pxa2xx_trizeps4.c skt->stat[SOC_STAT_CD].gpio = GPIO_PCD; stat 37 drivers/pcmcia/pxa2xx_trizeps4.c skt->stat[SOC_STAT_CD].name = "cs0_cd"; stat 38 drivers/pcmcia/pxa2xx_trizeps4.c skt->stat[SOC_STAT_RDY].gpio = GPIO_PRDY; stat 39 drivers/pcmcia/pxa2xx_trizeps4.c skt->stat[SOC_STAT_RDY].name = "cs0_rdy"; stat 45 drivers/pcmcia/pxa2xx_viper.c skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; stat 46 drivers/pcmcia/pxa2xx_viper.c skt->stat[SOC_STAT_CD].name = "PCMCIA_CD"; stat 47 drivers/pcmcia/pxa2xx_viper.c skt->stat[SOC_STAT_RDY].gpio = pdata->rdy_gpio; stat 48 drivers/pcmcia/pxa2xx_viper.c skt->stat[SOC_STAT_RDY].name = "CF ready"; stat 37 drivers/pcmcia/pxa2xx_vpac270.c skt->stat[SOC_STAT_CD].gpio = GPIO84_VPAC270_PCMCIA_CD; stat 38 drivers/pcmcia/pxa2xx_vpac270.c skt->stat[SOC_STAT_CD].name = "PCMCIA CD"; stat 39 drivers/pcmcia/pxa2xx_vpac270.c skt->stat[SOC_STAT_RDY].gpio = GPIO35_VPAC270_PCMCIA_RDY; stat 40 drivers/pcmcia/pxa2xx_vpac270.c skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; stat 45 drivers/pcmcia/pxa2xx_vpac270.c skt->stat[SOC_STAT_CD].gpio = GPIO17_VPAC270_CF_CD; stat 46 drivers/pcmcia/pxa2xx_vpac270.c skt->stat[SOC_STAT_CD].name = "CF CD"; stat 47 drivers/pcmcia/pxa2xx_vpac270.c skt->stat[SOC_STAT_RDY].gpio = GPIO12_VPAC270_CF_RDY; stat 48 drivers/pcmcia/pxa2xx_vpac270.c skt->stat[SOC_STAT_RDY].name = "CF Ready"; stat 76 drivers/pcmcia/sa1100_generic.c skt->stat[i].name = sa11x0_cf_gpio_names[i]; stat 77 drivers/pcmcia/sa1100_generic.c skt->stat[i].desc = devm_gpiod_get_optional(dev, stat 79 drivers/pcmcia/sa1100_generic.c if (IS_ERR(skt->stat[i].desc)) stat 80 drivers/pcmcia/sa1100_generic.c return PTR_ERR(skt->stat[i].desc); stat 27 drivers/pcmcia/sa1100_h3600.c skt->stat[SOC_STAT_CD].name = skt->nr ? "pcmcia1-detect" : "pcmcia0-detect"; stat 28 drivers/pcmcia/sa1100_h3600.c skt->stat[SOC_STAT_RDY].name = skt->nr ? "pcmcia1-ready" : "pcmcia0-ready"; stat 23 drivers/pcmcia/sa1100_simpad.c skt->stat[SOC_STAT_CD].name = "cf-detect"; stat 24 drivers/pcmcia/sa1100_simpad.c skt->stat[SOC_STAT_RDY].name = "cf-ready"; stat 168 drivers/pcmcia/sa1111_generic.c s->soc.stat[SOC_STAT_CD].irq = irqs[IDX_IRQ_S1_CD_VALID]; stat 169 drivers/pcmcia/sa1111_generic.c s->soc.stat[SOC_STAT_CD].name = "SA1111 CF card detect"; stat 170 drivers/pcmcia/sa1111_generic.c s->soc.stat[SOC_STAT_BVD1].irq = irqs[IDX_IRQ_S1_BVD1_STSCHG]; stat 171 drivers/pcmcia/sa1111_generic.c s->soc.stat[SOC_STAT_BVD1].name = "SA1111 CF BVD1"; stat 174 drivers/pcmcia/sa1111_generic.c s->soc.stat[SOC_STAT_CD].irq = irqs[IDX_IRQ_S0_CD_VALID]; stat 175 drivers/pcmcia/sa1111_generic.c s->soc.stat[SOC_STAT_CD].name = "SA1111 PCMCIA card detect"; stat 176 drivers/pcmcia/sa1111_generic.c s->soc.stat[SOC_STAT_BVD1].irq = irqs[IDX_IRQ_S0_BVD1_STSCHG]; stat 177 drivers/pcmcia/sa1111_generic.c s->soc.stat[SOC_STAT_BVD1].name = "SA1111 PCMCIA BVD1"; stat 152 drivers/pcmcia/soc_common.c if (skt->stat[i].irq) stat 153 drivers/pcmcia/soc_common.c free_irq(skt->stat[i].irq, skt); stat 163 drivers/pcmcia/soc_common.c __soc_pcmcia_hw_shutdown(skt, ARRAY_SIZE(skt->stat)); stat 172 drivers/pcmcia/soc_common.c for (i = 0; i < ARRAY_SIZE(skt->stat); i++) { stat 173 drivers/pcmcia/soc_common.c if (!skt->stat[i].name) stat 176 drivers/pcmcia/soc_common.c desc = devm_gpiod_get(dev, skt->stat[i].name, GPIOD_IN); stat 179 drivers/pcmcia/soc_common.c skt->stat[i].name, PTR_ERR(desc)); stat 183 drivers/pcmcia/soc_common.c skt->stat[i].desc = desc; stat 206 drivers/pcmcia/soc_common.c for (i = 0; i < ARRAY_SIZE(skt->stat); i++) { stat 207 drivers/pcmcia/soc_common.c if (gpio_is_valid(skt->stat[i].gpio)) { stat 215 drivers/pcmcia/soc_common.c skt->stat[i].gpio, flags, stat 216 drivers/pcmcia/soc_common.c skt->stat[i].name); stat 222 drivers/pcmcia/soc_common.c skt->stat[i].desc = gpio_to_desc(skt->stat[i].gpio); stat 225 drivers/pcmcia/soc_common.c if (i < SOC_STAT_VS1 && skt->stat[i].desc) { stat 226 drivers/pcmcia/soc_common.c int irq = gpiod_to_irq(skt->stat[i].desc); stat 232 drivers/pcmcia/soc_common.c skt->stat[i].irq = irq; stat 236 drivers/pcmcia/soc_common.c if (skt->stat[i].irq) { stat 237 drivers/pcmcia/soc_common.c ret = request_irq(skt->stat[i].irq, stat 240 drivers/pcmcia/soc_common.c skt->stat[i].name, skt); stat 255 drivers/pcmcia/soc_common.c for (i = 0; i < ARRAY_SIZE(skt->stat); i++) stat 256 drivers/pcmcia/soc_common.c if (skt->stat[i].irq) { stat 257 drivers/pcmcia/soc_common.c irq_set_irq_type(skt->stat[i].irq, IRQ_TYPE_EDGE_RISING); stat 258 drivers/pcmcia/soc_common.c irq_set_irq_type(skt->stat[i].irq, IRQ_TYPE_EDGE_BOTH); stat 266 drivers/pcmcia/soc_common.c for (i = 0; i < ARRAY_SIZE(skt->stat); i++) stat 267 drivers/pcmcia/soc_common.c if (skt->stat[i].irq) stat 268 drivers/pcmcia/soc_common.c irq_set_irq_type(skt->stat[i].irq, IRQ_TYPE_NONE); stat 286 drivers/pcmcia/soc_common.c unsigned int stat; stat 294 drivers/pcmcia/soc_common.c if (skt->stat[SOC_STAT_CD].desc) stat 295 drivers/pcmcia/soc_common.c state.detect = !!gpiod_get_value(skt->stat[SOC_STAT_CD].desc); stat 296 drivers/pcmcia/soc_common.c if (skt->stat[SOC_STAT_RDY].desc) stat 297 drivers/pcmcia/soc_common.c state.ready = !!gpiod_get_value(skt->stat[SOC_STAT_RDY].desc); stat 298 drivers/pcmcia/soc_common.c if (skt->stat[SOC_STAT_BVD1].desc) stat 299 drivers/pcmcia/soc_common.c state.bvd1 = !!gpiod_get_value(skt->stat[SOC_STAT_BVD1].desc); stat 300 drivers/pcmcia/soc_common.c if (skt->stat[SOC_STAT_BVD2].desc) stat 301 drivers/pcmcia/soc_common.c state.bvd2 = !!gpiod_get_value(skt->stat[SOC_STAT_BVD2].desc); stat 302 drivers/pcmcia/soc_common.c if (skt->stat[SOC_STAT_VS1].desc) stat 303 drivers/pcmcia/soc_common.c state.vs_3v = !!gpiod_get_value(skt->stat[SOC_STAT_VS1].desc); stat 304 drivers/pcmcia/soc_common.c if (skt->stat[SOC_STAT_VS2].desc) stat 305 drivers/pcmcia/soc_common.c state.vs_Xv = !!gpiod_get_value(skt->stat[SOC_STAT_VS2].desc); stat 309 drivers/pcmcia/soc_common.c stat = state.detect ? SS_DETECT : 0; stat 310 drivers/pcmcia/soc_common.c stat |= state.ready ? SS_READY : 0; stat 311 drivers/pcmcia/soc_common.c stat |= state.wrprot ? SS_WRPROT : 0; stat 312 drivers/pcmcia/soc_common.c stat |= state.vs_3v ? SS_3VCARD : 0; stat 313 drivers/pcmcia/soc_common.c stat |= state.vs_Xv ? SS_XVCARD : 0; stat 319 drivers/pcmcia/soc_common.c stat |= skt->cs_state.Vcc ? SS_POWERON : 0; stat 322 drivers/pcmcia/soc_common.c stat |= state.bvd1 ? 0 : SS_STSCHG; stat 325 drivers/pcmcia/soc_common.c stat |= SS_BATDEAD; stat 327 drivers/pcmcia/soc_common.c stat |= SS_BATWARN; stat 329 drivers/pcmcia/soc_common.c return stat; stat 765 drivers/pcmcia/soc_common.c for (i = 0; i < ARRAY_SIZE(skt->stat); i++) stat 766 drivers/pcmcia/soc_common.c skt->stat[i].gpio = -EINVAL; stat 66 drivers/pcmcia/soc_common.h } stat[6]; stat 518 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(mcu-stat-table-full, 0x1b), stat 139 drivers/phy/ti/phy-twl4030-usb.c static inline bool cable_present(enum musb_vbus_id_status stat) stat 141 drivers/phy/ti/phy-twl4030-usb.c return stat == MUSB_VBUS_VALID || stat 142 drivers/phy/ti/phy-twl4030-usb.c stat == MUSB_ID_GROUND; stat 30 drivers/pinctrl/mediatek/mtk-eint.c .stat = 0x000, stat 313 drivers/pinctrl/mediatek/mtk-eint.c void __iomem *reg = mtk_eint_get_offset(eint, 0, eint->regs->stat); stat 336 drivers/pinctrl/mediatek/mtk-eint.c eint->regs->stat + stat 346 drivers/pinctrl/mediatek/mtk-eint.c writel(BIT(offset), reg - eint->regs->stat + stat 365 drivers/pinctrl/mediatek/mtk-eint.c eint->regs->stat + stat 15 drivers/pinctrl/mediatek/mtk-eint.h unsigned int stat; stat 167 drivers/pinctrl/mediatek/pinctrl-mtk-common.h unsigned int stat; stat 1047 drivers/pinctrl/pinctrl-oxnas.c unsigned long stat; stat 1052 drivers/pinctrl/pinctrl-oxnas.c stat = readl(bank->reg_base + IRQ_PENDING); stat 1054 drivers/pinctrl/pinctrl-oxnas.c for_each_set_bit(pin, &stat, BITS_PER_LONG) stat 2093 drivers/pinctrl/pinctrl-pic32.c u32 stat; stat 2097 drivers/pinctrl/pinctrl-pic32.c stat = readl(bank->reg_base + CNF_REG); stat 2098 drivers/pinctrl/pinctrl-pic32.c pending = pic32_gpio_get_pending(gc, stat); stat 84 drivers/ptp/ptp_qoriq.c u32 valid, stat, lo, hi; stat 114 drivers/ptp/ptp_qoriq.c stat = ptp_qoriq->read(®s->ctrl_regs->tmr_stat); stat 115 drivers/ptp/ptp_qoriq.c } while (ptp_qoriq->extts_fifo_support && (stat & valid)); stat 624 drivers/rapidio/devices/tsi721.h } stat[8]; stat 73 drivers/reset/reset-lpc18xx.c u32 stat, rst_bit; stat 80 drivers/reset/reset-lpc18xx.c stat = ~readl(rc->base + stat_offset); stat 82 drivers/reset/reset-lpc18xx.c writel(stat | rst_bit, rc->base + ctrl_offset); stat 84 drivers/reset/reset-lpc18xx.c writel(stat & ~rst_bit, rc->base + ctrl_offset); stat 1088 drivers/rtc/rtc-ds1307.c int stat, ret; stat 1091 drivers/rtc/rtc-ds1307.c ret = regmap_read(ds1307->regmap, DS1337_REG_STATUS, &stat); stat 1095 drivers/rtc/rtc-ds1307.c if (stat & DS1337_BIT_A1I) { stat 1096 drivers/rtc/rtc-ds1307.c stat &= ~DS1337_BIT_A1I; stat 1097 drivers/rtc/rtc-ds1307.c regmap_write(ds1307->regmap, DS1337_REG_STATUS, stat); stat 304 drivers/rtc/rtc-ds1343.c unsigned int control, stat; stat 312 drivers/rtc/rtc-ds1343.c res = regmap_read(priv->map, DS1343_STATUS_REG, &stat); stat 317 drivers/rtc/rtc-ds1343.c stat &= ~(DS1343_IRQF0); stat 323 drivers/rtc/rtc-ds1343.c res = regmap_write(priv->map, DS1343_STATUS_REG, stat); stat 352 drivers/rtc/rtc-ds1343.c unsigned int stat; stat 359 drivers/rtc/rtc-ds1343.c res = regmap_read(priv->map, DS1343_STATUS_REG, &stat); stat 364 drivers/rtc/rtc-ds1343.c alarm->pending = !!(stat & DS1343_IRQF0); stat 426 drivers/rtc/rtc-ds1343.c unsigned int stat, control; stat 431 drivers/rtc/rtc-ds1343.c res = regmap_read(priv->map, DS1343_STATUS_REG, &stat); stat 435 drivers/rtc/rtc-ds1343.c if (stat & DS1343_IRQF0) { stat 436 drivers/rtc/rtc-ds1343.c stat &= ~DS1343_IRQF0; stat 437 drivers/rtc/rtc-ds1343.c regmap_write(priv->map, DS1343_STATUS_REG, stat); stat 130 drivers/rtc/rtc-ds1374.c int control, stat; stat 132 drivers/rtc/rtc-ds1374.c stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR); stat 133 drivers/rtc/rtc-ds1374.c if (stat < 0) stat 134 drivers/rtc/rtc-ds1374.c return stat; stat 136 drivers/rtc/rtc-ds1374.c if (stat & DS1374_REG_SR_OSF) stat 140 drivers/rtc/rtc-ds1374.c stat &= ~(DS1374_REG_SR_OSF | DS1374_REG_SR_AF); stat 142 drivers/rtc/rtc-ds1374.c ret = i2c_smbus_write_byte_data(client, DS1374_REG_SR, stat); stat 299 drivers/rtc/rtc-ds1374.c int stat, control; stat 303 drivers/rtc/rtc-ds1374.c stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR); stat 304 drivers/rtc/rtc-ds1374.c if (stat < 0) stat 307 drivers/rtc/rtc-ds1374.c if (stat & DS1374_REG_SR_AF) { stat 308 drivers/rtc/rtc-ds1374.c stat &= ~DS1374_REG_SR_AF; stat 309 drivers/rtc/rtc-ds1374.c i2c_smbus_write_byte_data(client, DS1374_REG_SR, stat); stat 65 drivers/rtc/rtc-ds3232.c int control, stat; stat 67 drivers/rtc/rtc-ds3232.c ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); stat 71 drivers/rtc/rtc-ds3232.c if (stat & DS3232_REG_SR_OSF) stat 76 drivers/rtc/rtc-ds3232.c stat &= ~(DS3232_REG_SR_OSF | DS3232_REG_SR_A1F | DS3232_REG_SR_A2F); stat 78 drivers/rtc/rtc-ds3232.c ret = regmap_write(ds3232->regmap, DS3232_REG_SR, stat); stat 184 drivers/rtc/rtc-ds3232.c int control, stat; stat 188 drivers/rtc/rtc-ds3232.c ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); stat 204 drivers/rtc/rtc-ds3232.c alarm->pending = !!(stat & DS3232_REG_SR_A1F); stat 218 drivers/rtc/rtc-ds3232.c int control, stat; stat 240 drivers/rtc/rtc-ds3232.c ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); stat 243 drivers/rtc/rtc-ds3232.c stat &= ~(DS3232_REG_SR_A1F | DS3232_REG_SR_A2F); stat 244 drivers/rtc/rtc-ds3232.c ret = regmap_write(ds3232->regmap, DS3232_REG_SR, stat); stat 411 drivers/rtc/rtc-ds3232.c int stat, control; stat 415 drivers/rtc/rtc-ds3232.c ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); stat 419 drivers/rtc/rtc-ds3232.c if (stat & DS3232_REG_SR_A1F) { stat 437 drivers/rtc/rtc-ds3232.c stat &= ~DS3232_REG_SR_A1F; stat 438 drivers/rtc/rtc-ds3232.c ret = regmap_write(ds3232->regmap, DS3232_REG_SR, stat); stat 612 drivers/s390/block/dasd_diag.c struct irb *stat) stat 5429 drivers/s390/block/dasd_eckd.c u64 *stat; stat 5432 drivers/s390/block/dasd_eckd.c stat = (u64 *) &irb->scsw; stat 5436 drivers/s390/block/dasd_eckd.c reason, *stat, *((u32 *) (stat + 1)), stat 5440 drivers/s390/block/dasd_eckd.c reason, *stat, *((u32 *) (stat + 1)), stat 224 drivers/s390/cio/qdio_debug.c unsigned int *stat; stat 233 drivers/s390/cio/qdio_debug.c stat = (unsigned int *)&irq_ptr->perf_stat; stat 237 drivers/s390/cio/qdio_debug.c qperf_names[i], *(stat + i)); stat 1096 drivers/s390/crypto/zcrypt_api.c struct zcrypt_device_status *stat; stat 1109 drivers/s390/crypto/zcrypt_api.c stat = &devstatus[card * AP_DOMAINS + queue]; stat 1110 drivers/s390/crypto/zcrypt_api.c stat->hwtype = zc->card->ap_dev.device_type; stat 1111 drivers/s390/crypto/zcrypt_api.c stat->functions = zc->card->functions >> 26; stat 1112 drivers/s390/crypto/zcrypt_api.c stat->qid = zq->queue->qid; stat 1113 drivers/s390/crypto/zcrypt_api.c stat->online = zq->online ? 0x01 : 0x00; stat 1123 drivers/s390/crypto/zcrypt_api.c struct zcrypt_device_status_ext *stat; stat 1134 drivers/s390/crypto/zcrypt_api.c stat = &devstatus[card * AP_DOMAINS + queue]; stat 1135 drivers/s390/crypto/zcrypt_api.c stat->hwtype = zc->card->ap_dev.device_type; stat 1136 drivers/s390/crypto/zcrypt_api.c stat->functions = zc->card->functions >> 26; stat 1137 drivers/s390/crypto/zcrypt_api.c stat->qid = zq->queue->qid; stat 1138 drivers/s390/crypto/zcrypt_api.c stat->online = zq->online ? 0x01 : 0x00; stat 62 drivers/s390/net/qeth_ethtool.c char *stat; stat 65 drivers/s390/net/qeth_ethtool.c stat = (char *)src + stats[i].offset; stat 66 drivers/s390/net/qeth_ethtool.c **dst = *(u64 *)stat; stat 267 drivers/sbus/char/uctrl.c int stat, incnt, outcnt, bytecnt, intr; stat 270 drivers/sbus/char/uctrl.c stat = sbus_readl(&driver->regs->uctrl_stat); stat 272 drivers/sbus/char/uctrl.c sbus_writel(stat, &driver->regs->uctrl_stat); stat 274 drivers/sbus/char/uctrl.c dprintk(("interrupt stat 0x%x int 0x%x\n", stat, intr)); stat 208 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAM_STAT_GOOD; stat 212 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_DATA_UNDERRUN; stat 217 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_DATA_OVERRUN; stat 223 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_PROTO_RESPONSE; stat 228 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_OPEN_REJECT; stat 238 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_OPEN_TO; stat 243 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_PHY_DOWN; stat 247 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_PHY_DOWN; stat 256 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_INTERRUPTED; stat 263 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_DEV_NO_RESPONSE; stat 267 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_NAK_R_ERR; stat 275 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_DEVICE_UNKNOWN; stat 279 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_PENDING; stat 284 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_ABORTED_TASK; stat 297 drivers/scsi/aic94xx/aic94xx_task.c ts->stat = SAS_DEV_NO_RESPONSE; stat 332 drivers/scsi/aic94xx/aic94xx_task.c task, opcode, ts->resp, ts->stat); stat 265 drivers/scsi/arm/acornscsi.c acornscsi_sbic_wait(AS_Host *host, int stat_mask, int stat, int timeout, char *msg) stat 272 drivers/scsi/arm/acornscsi.c if ((asr & stat_mask) == stat) stat 155 drivers/scsi/arm/fas216.c unsigned char is, stat, inst; stat 158 drivers/scsi/arm/fas216.c stat = fas216_readb(info, REG_STAT); stat 165 drivers/scsi/arm/fas216.c fas216_readb(info, REG_CMD), stat, inst, is, stat 247 drivers/scsi/arm/fas216.c static const char *fas216_bus_phase(int stat) stat 256 drivers/scsi/arm/fas216.c return phases[stat & STAT_BUSMASK]; stat 349 drivers/scsi/arm/fas216.c static struct { int stat, ssr, isr, ph; } ph_list[PH_SIZE]; stat 352 drivers/scsi/arm/fas216.c static void add_debug_list(int stat, int ssr, int isr, int ph) stat 354 drivers/scsi/arm/fas216.c ph_list[ph_ptr].stat = stat; stat 384 drivers/scsi/arm/fas216.c ph_list[i].stat, ph_list[i].ssr, stat 1166 drivers/scsi/arm/fas216.c int stat; stat 1171 drivers/scsi/arm/fas216.c stat = fas216_readb(info, REG_STAT); stat 1172 drivers/scsi/arm/fas216.c if (stat & (STAT_INT|STAT_PARITYERROR)) stat 1177 drivers/scsi/arm/fas216.c return stat; stat 1182 drivers/scsi/arm/fas216.c unsigned int stat = fas216_wait_cmd(info, CMD_MSGACCEPTED); stat 1184 drivers/scsi/arm/fas216.c if ((stat & STAT_INT) == 0) stat 1187 drivers/scsi/arm/fas216.c if ((stat & STAT_BUSMASK) != STAT_MESGIN) stat 1192 drivers/scsi/arm/fas216.c stat = fas216_wait_cmd(info, CMD_TRANSFERINFO); stat 1194 drivers/scsi/arm/fas216.c if ((stat & STAT_INT) == 0) stat 1197 drivers/scsi/arm/fas216.c if (stat & STAT_PARITYERROR) stat 1200 drivers/scsi/arm/fas216.c if ((stat & STAT_BUSMASK) != STAT_MESGIN) stat 1212 drivers/scsi/arm/fas216.c fas216_log(info, LOG_ERROR, "unexpected phase change: status = %02x", stat); stat 1349 drivers/scsi/arm/fas216.c static void fas216_busservice_intr(FAS216_Info *info, unsigned int stat, unsigned int is) stat 1355 drivers/scsi/arm/fas216.c stat, is, info->scsi.phase); stat 1371 drivers/scsi/arm/fas216.c if ((stat & STAT_BUSMASK) == STAT_MESGIN) stat 1389 drivers/scsi/arm/fas216.c switch (STATE(stat & STAT_BUSMASK, info->scsi.phase)) { stat 1517 drivers/scsi/arm/fas216.c fas216_bus_phase(stat)); stat 1528 drivers/scsi/arm/fas216.c fas216_bus_phase(stat), stat 1549 drivers/scsi/arm/fas216.c static void fas216_funcdone_intr(FAS216_Info *info, unsigned int stat, unsigned int is) stat 1557 drivers/scsi/arm/fas216.c stat, is, info->scsi.phase); stat 1579 drivers/scsi/arm/fas216.c if ((stat & STAT_BUSMASK) == STAT_MESGIN) { stat 1632 drivers/scsi/arm/fas216.c unsigned char inst, is, stat; stat 1637 drivers/scsi/arm/fas216.c stat = fas216_readb(info, REG_STAT); stat 1641 drivers/scsi/arm/fas216.c add_debug_list(stat, is, inst, info->scsi.phase); stat 1643 drivers/scsi/arm/fas216.c if (stat & STAT_INT) { stat 1657 drivers/scsi/arm/fas216.c fas216_busservice_intr(info, stat, is); stat 1659 drivers/scsi/arm/fas216.c fas216_funcdone_intr(info, stat, is); stat 1663 drivers/scsi/arm/fas216.c fas216_drv_phase(info), inst, is, stat); stat 2001 drivers/scsi/bfa/bfa_ioc.c u32 stat; stat 2012 drivers/scsi/bfa/bfa_ioc.c stat = readl(ioc->ioc_regs.hfn_mbox_cmd); stat 2013 drivers/scsi/bfa/bfa_ioc.c if (stat) stat 2568 drivers/scsi/bfa/bfa_ioc.c u32 stat; stat 2581 drivers/scsi/bfa/bfa_ioc.c stat = readl(ioc->ioc_regs.hfn_mbox_cmd); stat 2582 drivers/scsi/bfa/bfa_ioc.c if (stat) { stat 155 drivers/scsi/bnx2fc/bnx2fc.h #define BNX2FC_STATS(hba, stat, cnt) \ stat 159 drivers/scsi/bnx2fc/bnx2fc.h val = fw_stats->stat.cnt; \ stat 160 drivers/scsi/bnx2fc/bnx2fc.h if (hba->prev_stats.stat.cnt <= val) \ stat 161 drivers/scsi/bnx2fc/bnx2fc.h val -= hba->prev_stats.stat.cnt; \ stat 163 drivers/scsi/bnx2fc/bnx2fc.h val += (0xfffffff - hba->prev_stats.stat.cnt); \ stat 787 drivers/scsi/esas2r/esas2r_ioctl.c u16 stat; stat 791 drivers/scsi/esas2r/esas2r_ioctl.c &stat); stat 796 drivers/scsi/esas2r/esas2r_ioctl.c (u8)(stat & PCI_EXP_LNKSTA_CLS); stat 800 drivers/scsi/esas2r/esas2r_ioctl.c (u8)((stat & PCI_EXP_LNKSTA_NLW) stat 576 drivers/scsi/hisi_sas/hisi_sas_main.c ts->stat = SAS_PHY_DOWN; stat 1002 drivers/scsi/hisi_sas/hisi_sas_main.c ts->stat = SAS_ABORTED_TASK; stat 1245 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat == TMF_RESP_FUNC_COMPLETE) { stat 1251 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat == TMF_RESP_FUNC_SUCC) { stat 1257 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat == SAS_DATA_UNDERRUN) { stat 1264 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat); stat 1270 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat == SAS_DATA_OVERRUN) { stat 1277 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat == SAS_OPEN_REJECT) { stat 1284 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat); stat 2090 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat == TMF_RESP_FUNC_COMPLETE) { stat 2096 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat == TMF_RESP_FUNC_SUCC) { stat 2105 drivers/scsi/hisi_sas/hisi_sas_main.c task->task_status.stat); stat 1096 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_DATA_UNDERRUN; stat 1106 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_DATA_OVERRUN; stat 1112 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_PHY_DOWN; stat 1128 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_OPEN_REJECT; stat 1134 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_OPEN_TO; stat 1140 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_NAK_R_ERR; stat 1147 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_QUEUE_FULL; stat 1153 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAM_STAT_CHECK_CONDITION; stat 1160 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAM_STAT_CHECK_CONDITION; stat 1212 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_PHY_DOWN; stat 1251 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_OPEN_REJECT; stat 1261 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c return ts->stat; stat 1281 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAM_STAT_GOOD; stat 1298 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAM_STAT_CHECK_CONDITION; stat 1305 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ts->stat = SAS_PHY_DOWN; stat 1310 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c sts = ts->stat; stat 2050 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2056 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2062 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2068 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2074 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2082 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2089 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2094 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_DATA_OVERRUN; stat 2101 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_DATA_UNDERRUN; stat 2156 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_QUEUE_FULL; stat 2166 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAM_STAT_CHECK_CONDITION; stat 2176 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2183 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2188 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2194 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2200 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2206 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2214 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_OPEN_REJECT; stat 2220 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_DATA_OVERRUN; stat 2227 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_DATA_UNDERRUN; stat 2299 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_PHY_DOWN; stat 2304 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_PROTO_RESPONSE; stat 2352 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_PHY_DOWN; stat 2362 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_ABORTED_TASK; stat 2366 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = TMF_RESP_FUNC_SUCC; stat 2370 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = TMF_RESP_FUNC_COMPLETE; stat 2377 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = TMF_RESP_FUNC_FAILED; stat 2395 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (ts->stat != SAS_DATA_UNDERRUN) stat 2404 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c return ts->stat; stat 2424 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAM_STAT_GOOD; stat 2438 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAM_STAT_GOOD; stat 2443 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAM_STAT_CHECK_CONDITION; stat 2450 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c ts->stat = SAS_PHY_DOWN; stat 2454 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c sts = ts->stat; stat 2107 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_DATA_UNDERRUN; stat 2109 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_QUEUE_FULL; stat 2112 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_OPEN_REJECT; stat 2121 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_DATA_UNDERRUN; stat 2123 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_PHY_DOWN; stat 2126 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_OPEN_REJECT; stat 2132 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAM_STAT_CHECK_CONDITION; stat 2175 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_PHY_DOWN; stat 2189 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_ABORTED_TASK; stat 2193 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = TMF_RESP_FUNC_SUCC; stat 2196 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = TMF_RESP_FUNC_COMPLETE; stat 2202 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = TMF_RESP_FUNC_FAILED; stat 2213 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c if (ts->stat != SAS_DATA_UNDERRUN) stat 2220 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c return ts->stat; stat 2237 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAM_STAT_GOOD; stat 2250 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAM_STAT_GOOD; stat 2254 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAM_STAT_CHECK_CONDITION; stat 2261 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ts->stat = SAS_PHY_DOWN; stat 2265 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c sts = ts->stat; stat 2484 drivers/scsi/isci/request.c task->task_status.stat = resp_iu->status; stat 2728 drivers/scsi/isci/request.c ts->stat = SAS_PROTO_RESPONSE; stat 2730 drivers/scsi/isci/request.c ts->stat = SAM_STAT_GOOD; stat 2786 drivers/scsi/isci/request.c status = task->task_status.stat; stat 2940 drivers/scsi/isci/request.c task->task_status.stat = status; stat 90 drivers/scsi/isci/task.c task->task_status.stat = status; stat 37 drivers/scsi/libsas/sas_ata.c switch (ts->stat) { stat 65 drivers/scsi/libsas/sas_ata.c __func__, ts->stat); stat 85 drivers/scsi/libsas/sas_ata.c struct task_status_struct *stat = &task->task_status; stat 86 drivers/scsi/libsas/sas_ata.c struct ata_task_resp *resp = (struct ata_task_resp *)stat->buf; stat 125 drivers/scsi/libsas/sas_ata.c if (stat->stat == SAS_PROTO_RESPONSE || stat->stat == SAM_STAT_GOOD || stat 126 drivers/scsi/libsas/sas_ata.c ((stat->stat == SAM_STAT_CHECK_CONDITION && stat 138 drivers/scsi/libsas/sas_ata.c ac = sas_to_ata_err(stat); stat 140 drivers/scsi/libsas/sas_ata.c pr_warn("%s: SAS error %x\n", __func__, stat->stat); stat 104 drivers/scsi/libsas/sas_expander.c task->task_status.stat == SAM_STAT_GOOD) { stat 109 drivers/scsi/libsas/sas_expander.c task->task_status.stat == SAS_DATA_UNDERRUN) { stat 116 drivers/scsi/libsas/sas_expander.c task->task_status.stat == SAS_DATA_OVERRUN) { stat 121 drivers/scsi/libsas/sas_expander.c task->task_status.stat == SAS_DEVICE_UNKNOWN) stat 128 drivers/scsi/libsas/sas_expander.c task->task_status.stat); stat 40 drivers/scsi/libsas/sas_scsi_host.c int hs = 0, stat = 0; stat 47 drivers/scsi/libsas/sas_scsi_host.c switch (ts->stat) { stat 88 drivers/scsi/libsas/sas_scsi_host.c stat = SAM_STAT_CHECK_CONDITION; stat 91 drivers/scsi/libsas/sas_scsi_host.c stat = ts->stat; stat 96 drivers/scsi/libsas/sas_scsi_host.c sc->result = (hs << 16) | stat; stat 19 drivers/scsi/libsas/sas_task.c tstat->stat = iu->status; stat 21 drivers/scsi/libsas/sas_task.c tstat->stat = iu->resp_data[3]; stat 23 drivers/scsi/libsas/sas_task.c tstat->stat = SAM_STAT_CHECK_CONDITION; stat 35 drivers/scsi/libsas/sas_task.c tstat->stat = SAM_STAT_CHECK_CONDITION; stat 3603 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 3730 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError = be32_to_cpu(irsp->un.ulpWord[4]); stat 3734 drivers/scsi/lpfc/lpfc_els.c switch (stat.un.b.lsRjtRsnCode) { stat 3749 drivers/scsi/lpfc/lpfc_els.c if (stat.un.b.lsRjtRsnCodeExp == stat 3758 drivers/scsi/lpfc/lpfc_els.c if (stat.un.b.lsRjtRsnCodeExp == stat 3775 drivers/scsi/lpfc/lpfc_els.c (stat.un.b.lsRjtRsnCodeExp == LSEXP_OUT_OF_RESOURCE)){ stat 3779 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError); stat 3806 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp == LSEXP_PORT_LOGIN_REQ) { stat 3811 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp == stat 3818 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError); stat 3825 drivers/scsi/lpfc/lpfc_els.c ((stat.un.b.lsRjtRsnCodeExp == LSEXP_INVALID_PNAME) || stat 3826 drivers/scsi/lpfc/lpfc_els.c (stat.un.b.lsRjtRsnCodeExp == LSEXP_INVALID_NPORT_ID)) stat 3831 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError); stat 3837 drivers/scsi/lpfc/lpfc_els.c if ((stat.un.b.vendorUnique == 0x45) && stat 3848 drivers/scsi/lpfc/lpfc_els.c if (stat.un.b.lsRjtRsnCodeExp == stat 5363 drivers/scsi/lpfc/lpfc_els.c READ_LNK_VAR *stat) stat 5374 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->linkFailureCnt); stat 5376 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->lossSyncCnt); stat 5378 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->lossSignalCnt); stat 5380 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->primSeqErrCnt); stat 5382 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->invalidXmitWord); stat 5383 drivers/scsi/lpfc/lpfc_els.c desc->info.link_status.invalid_crc_cnt = cpu_to_be32(stat->crcCnt); stat 5391 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_bbc_desc(struct fc_rdp_bbc_desc *desc, READ_LNK_VAR *stat, stat 5575 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_fec_desc(struct fc_fec_rdp_desc *desc, READ_LNK_VAR *stat) stat 5577 drivers/scsi/lpfc/lpfc_els.c if (bf_get(lpfc_read_link_stat_gec2, stat) == 0) stat 5582 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->fecCorrBlkCount); stat 5584 drivers/scsi/lpfc/lpfc_els.c cpu_to_be32(stat->fecUncorrBlkCount); stat 5711 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt *stat; stat 5821 drivers/scsi/lpfc/lpfc_els.c stat = (struct ls_rjt *)(pcmd + sizeof(uint32_t)); stat 5822 drivers/scsi/lpfc/lpfc_els.c stat->un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 5891 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 5952 drivers/scsi/lpfc/lpfc_els.c memset(&stat, 0, sizeof(stat)); stat 5953 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = rjt_err; stat 5954 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = rjt_expl; stat 5955 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 5968 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt *stat; stat 6050 drivers/scsi/lpfc/lpfc_els.c stat = (struct ls_rjt *)(pcmd + sizeof(uint32_t)); stat 6051 drivers/scsi/lpfc/lpfc_els.c stat->un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 6054 drivers/scsi/lpfc/lpfc_els.c stat->un.b.lsRjtRsnCodeExp = LSEXP_CMD_IN_PROGRESS; stat 6161 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 6216 drivers/scsi/lpfc/lpfc_els.c memset(&stat, 0, sizeof(stat)); stat 6217 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = rjt_err; stat 6218 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 6934 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 6952 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; stat 6953 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 6954 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; stat 6955 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; stat 6956 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, stat 7003 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 7006 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; stat 7007 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 7008 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; stat 7009 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; stat 7010 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 7246 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 7274 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; stat 7275 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 7276 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; stat 7277 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; stat 7278 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 7308 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 7362 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; stat 7363 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 7364 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; stat 7365 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; stat 7366 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 7397 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 7439 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; stat 7440 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 7441 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; stat 7442 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; stat 7443 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 7636 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 7641 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; stat 7642 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 7643 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; stat 7644 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; stat 7645 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, stat 8173 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 8191 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError = be32_to_cpu(rspiocbp->iocb.un.ulpWord[4]); stat 8192 drivers/scsi/lpfc/lpfc_els.c lsrjt_event.reason_code = stat.un.b.lsRjtRsnCode; stat 8193 drivers/scsi/lpfc/lpfc_els.c lsrjt_event.explanation = stat.un.b.lsRjtRsnCodeExp; stat 8322 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 8717 drivers/scsi/lpfc/lpfc_els.c memset(&stat, 0, sizeof(stat)); stat 8718 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = rjt_err; stat 8719 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = rjt_exp; stat 8720 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, elsiocb, ndlp, stat 9704 drivers/scsi/lpfc/lpfc_els.c struct ls_rjt stat; stat 9722 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError = stat 9724 drivers/scsi/lpfc/lpfc_els.c if ((stat.un.b.lsRjtRsnCode == LSRJT_UNABLE_TPC) || stat 9725 drivers/scsi/lpfc/lpfc_els.c (stat.un.b.lsRjtRsnCode == LSRJT_LOGICAL_BSY)) stat 4435 drivers/scsi/lpfc/lpfc_init.c int stat = 0; stat 4440 drivers/scsi/lpfc/lpfc_init.c stat = 1; stat 4447 drivers/scsi/lpfc/lpfc_init.c stat = 1; stat 4455 drivers/scsi/lpfc/lpfc_init.c stat = 1; stat 4468 drivers/scsi/lpfc/lpfc_init.c stat = 1; stat 4472 drivers/scsi/lpfc/lpfc_init.c return stat; stat 295 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 299 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof (struct ls_rjt)); stat 306 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 307 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_INVALID_PNAME; stat 308 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, stat 315 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 316 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_INVALID_NNAME; stat 317 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, stat 325 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 326 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_SPARM_OPTIONS; stat 327 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, stat 506 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_INVALID_CMD; stat 507 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; stat 508 drivers/scsi/lpfc/lpfc_nportdisc.c rc = lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, stat 519 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 520 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_OUT_OF_RESOURCE; stat 521 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 565 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 627 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsvd0 = 0; stat 628 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 629 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_SPARM_OPTIONS; stat 630 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.vendorUnique = 0; stat 631 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 743 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 765 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof(struct ls_rjt)); stat 766 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_CMD_UNSUPPORTED; stat 767 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_REQ_UNSUPPORTED; stat 768 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, stat 1043 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 1046 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof (struct ls_rjt)); stat 1058 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 1059 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CMD_IN_PROGRESS; stat 1060 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, stat 1089 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 1091 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof (struct ls_rjt)); stat 1092 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_LOGICAL_BSY; stat 1093 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; stat 1094 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 1629 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 1647 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof(struct ls_rjt)); stat 1648 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_LOGICAL_BSY; stat 1649 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; stat 1650 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, stat 2208 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 2210 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof(struct ls_rjt)); stat 2211 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 2212 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; stat 2213 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 2222 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 2224 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof(struct ls_rjt)); stat 2225 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 2226 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; stat 2227 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 2250 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 2252 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof(struct ls_rjt)); stat 2253 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 2254 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; stat 2255 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 2264 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 2266 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof(struct ls_rjt)); stat 2267 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 2268 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; stat 2269 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 2499 drivers/scsi/lpfc/lpfc_nportdisc.c struct ls_rjt stat; stat 2501 drivers/scsi/lpfc/lpfc_nportdisc.c memset(&stat, 0, sizeof (struct ls_rjt)); stat 2502 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; stat 2503 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; stat 2504 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); stat 200 drivers/scsi/mac53c94.c int nb, stat, seq, intr; stat 208 drivers/scsi/mac53c94.c stat = readb(®s->status); stat 213 drivers/scsi/mac53c94.c intr, stat, seq, state->phase); stat 226 drivers/scsi/mac53c94.c intr, stat, seq, state->phase); stat 230 drivers/scsi/mac53c94.c if (stat & STAT_ERROR) { stat 234 drivers/scsi/mac53c94.c intr, stat, seq, state->phase); stat 243 drivers/scsi/mac53c94.c if (stat & STAT_PARITY) { stat 267 drivers/scsi/mac53c94.c if ((stat & (STAT_MSG|STAT_CD)) == 0 stat 281 drivers/scsi/mac53c94.c } else if ((stat & STAT_PHASE) == STAT_CD + STAT_IO) { stat 287 drivers/scsi/mac53c94.c stat & STAT_PHASE); stat 300 drivers/scsi/mac53c94.c && (stat & (STAT_MSG|STAT_CD)) == 0) { stat 312 drivers/scsi/mac53c94.c if ((stat & STAT_PHASE) != STAT_CD + STAT_IO) { stat 160 drivers/scsi/mesh.c int stat; stat 437 drivers/scsi/mesh.c ms->stat = DID_OK; stat 475 drivers/scsi/mesh.c ms->stat = DID_BUS_BUSY; stat 598 drivers/scsi/mesh.c cmd->result = (ms->stat << 16) | cmd->SCp.Status; stat 599 drivers/scsi/mesh.c if (ms->stat == DID_OK) stat 982 drivers/scsi/mesh.c ms->stat = DID_ABORT; stat 1065 drivers/scsi/mesh.c ms->stat = DID_ABORT; stat 1079 drivers/scsi/mesh.c if (ms->stat == DID_OK) { stat 1082 drivers/scsi/mesh.c ms->stat = DID_PARITY; stat 1121 drivers/scsi/mesh.c ms->stat = DID_ERROR; stat 1138 drivers/scsi/mesh.c ms->stat = DID_BUS_BUSY; stat 1142 drivers/scsi/mesh.c ms->stat = DID_BAD_TARGET; stat 1435 drivers/scsi/mesh.c ms->stat = DID_ERROR; stat 441 drivers/scsi/mvsas/mv_64xx.c u32 stat; stat 444 drivers/scsi/mvsas/mv_64xx.c stat = mr32(MVS_GBL_INT_STAT); stat 446 drivers/scsi/mvsas/mv_64xx.c if (stat == 0 || stat == 0xffffffff) stat 449 drivers/scsi/mvsas/mv_64xx.c stat = 1; stat 450 drivers/scsi/mvsas/mv_64xx.c return stat; stat 453 drivers/scsi/mvsas/mv_64xx.c static irqreturn_t mvs_64xx_isr(struct mvs_info *mvi, int irq, u32 stat) stat 626 drivers/scsi/mvsas/mv_94xx.c u32 stat = 0; stat 628 drivers/scsi/mvsas/mv_94xx.c stat = mr32(MVS_GBL_INT_STAT); stat 630 drivers/scsi/mvsas/mv_94xx.c if (!(stat & (MVS_IRQ_SAS_A | MVS_IRQ_SAS_B))) stat 633 drivers/scsi/mvsas/mv_94xx.c return stat; stat 636 drivers/scsi/mvsas/mv_94xx.c static irqreturn_t mvs_94xx_isr(struct mvs_info *mvi, int irq, u32 stat) stat 640 drivers/scsi/mvsas/mv_94xx.c if (((stat & MVS_IRQ_SAS_A) && mvi->id == 0) || stat 641 drivers/scsi/mvsas/mv_94xx.c ((stat & MVS_IRQ_SAS_B) && mvi->id == 1)) { stat 184 drivers/scsi/mvsas/mv_chips.h u32 tmp, stat; stat 187 drivers/scsi/mvsas/mv_chips.h stat = mr32(MVS_INT_STAT); stat 191 drivers/scsi/mvsas/mv_chips.h tmp = (stat >> i) & (CINT_PORT | CINT_PORT_STOPPED); stat 196 drivers/scsi/mvsas/mv_chips.h if (stat & CINT_NON_SPEC_NCQ_ERROR) stat 199 drivers/scsi/mvsas/mv_chips.h if (stat & CINT_SRS) stat 202 drivers/scsi/mvsas/mv_chips.h mw32(MVS_INT_STAT, stat); stat 148 drivers/scsi/mvsas/mv_init.c u32 stat; stat 160 drivers/scsi/mvsas/mv_init.c stat = MVS_CHIP_DISP->isr_status(mvi, mvi->pdev->irq); stat 161 drivers/scsi/mvsas/mv_init.c if (!stat) stat 166 drivers/scsi/mvsas/mv_init.c MVS_CHIP_DISP->isr(mvi, mvi->pdev->irq, stat); stat 177 drivers/scsi/mvsas/mv_init.c u32 stat; stat 193 drivers/scsi/mvsas/mv_init.c stat = MVS_CHIP_DISP->isr_status(mvi, irq); stat 194 drivers/scsi/mvsas/mv_init.c if (!stat) { stat 206 drivers/scsi/mvsas/mv_init.c MVS_CHIP_DISP->isr(mvi, irq, stat); stat 709 drivers/scsi/mvsas/mv_sas.c tsm->stat = SAS_PHY_DOWN; stat 737 drivers/scsi/mvsas/mv_sas.c ts->stat = SAS_PHY_DOWN; stat 746 drivers/scsi/mvsas/mv_sas.c ts->stat = SAS_PHY_DOWN; stat 1319 drivers/scsi/mvsas/mv_sas.c task->task_status.stat == SAM_STAT_GOOD) { stat 1325 drivers/scsi/mvsas/mv_sas.c task->task_status.stat == SAS_DATA_UNDERRUN) { stat 1333 drivers/scsi/mvsas/mv_sas.c task->task_status.stat == SAS_DATA_OVERRUN) { stat 1342 drivers/scsi/mvsas/mv_sas.c task->task_status.stat); stat 1581 drivers/scsi/mvsas/mv_sas.c int stat = SAM_STAT_GOOD; stat 1591 drivers/scsi/mvsas/mv_sas.c stat = SAS_OPEN_REJECT; stat 1593 drivers/scsi/mvsas/mv_sas.c stat = SAS_PROTO_RESPONSE; stat 1596 drivers/scsi/mvsas/mv_sas.c return stat; stat 1653 drivers/scsi/mvsas/mv_sas.c int stat; stat 1664 drivers/scsi/mvsas/mv_sas.c stat = SAM_STAT_CHECK_CONDITION; stat 1668 drivers/scsi/mvsas/mv_sas.c stat = SAS_ABORTED_TASK; stat 1674 drivers/scsi/mvsas/mv_sas.c stat = SAM_STAT_CHECK_CONDITION; stat 1681 drivers/scsi/mvsas/mv_sas.c stat = SAM_STAT_CHECK_CONDITION; stat 1689 drivers/scsi/mvsas/mv_sas.c stat = SAS_PROTO_RESPONSE; stat 1697 drivers/scsi/mvsas/mv_sas.c return stat; stat 1732 drivers/scsi/mvsas/mv_sas.c tstat->stat = SAS_ABORTED_TASK; stat 1746 drivers/scsi/mvsas/mv_sas.c tstat->stat = SAS_PHY_DOWN; stat 1760 drivers/scsi/mvsas/mv_sas.c tstat->stat = mvs_slot_err(mvi, task, slot_idx); stat 1769 drivers/scsi/mvsas/mv_sas.c tstat->stat = SAM_STAT_GOOD; stat 1778 drivers/scsi/mvsas/mv_sas.c tstat->stat = SAM_STAT_CHECK_CONDITION; stat 1783 drivers/scsi/mvsas/mv_sas.c tstat->stat = SAM_STAT_GOOD; stat 1795 drivers/scsi/mvsas/mv_sas.c tstat->stat = mvs_sata_done(mvi, task, slot_idx, 0); stat 1800 drivers/scsi/mvsas/mv_sas.c tstat->stat = SAM_STAT_CHECK_CONDITION; stat 1805 drivers/scsi/mvsas/mv_sas.c tstat->stat = SAS_PHY_DOWN; stat 1816 drivers/scsi/mvsas/mv_sas.c sts = tstat->stat; stat 95 drivers/scsi/mvsas/mv_sas.h irqreturn_t (*isr)(struct mvs_info *mvi, int irq, u32 stat); stat 145 drivers/scsi/nsp32_debug.c static void show_busphase(unsigned char stat) stat 147 drivers/scsi/nsp32_debug.c switch(stat) { stat 170 drivers/scsi/nsp32_debug.c printk( "BUSPHASE_other: 0x%x\n", stat); stat 724 drivers/scsi/pcmcia/nsp_cs.c unsigned char stat, fifo_stat; stat 738 drivers/scsi/pcmcia/nsp_cs.c stat = nsp_index_read(base, SCSIBUSMON); stat 739 drivers/scsi/pcmcia/nsp_cs.c stat &= BUSMON_PHASE_MASK; stat 745 drivers/scsi/pcmcia/nsp_cs.c if (stat == BUSPHASE_DATA_IN) { /* phase changed? */ stat 749 drivers/scsi/pcmcia/nsp_cs.c nsp_dbg(NSP_DEBUG_DATA_IO, "phase changed stat=0x%x", stat); stat 756 drivers/scsi/pcmcia/nsp_cs.c stat == BUSPHASE_DATA_IN) { stat 823 drivers/scsi/pcmcia/nsp_cs.c unsigned char stat; stat 836 drivers/scsi/pcmcia/nsp_cs.c stat = nsp_index_read(base, SCSIBUSMON); stat 837 drivers/scsi/pcmcia/nsp_cs.c stat &= BUSMON_PHASE_MASK; stat 839 drivers/scsi/pcmcia/nsp_cs.c if (stat != BUSPHASE_DATA_OUT) { stat 842 drivers/scsi/pcmcia/nsp_cs.c nsp_dbg(NSP_DEBUG_DATA_IO, "phase changed stat=0x%x, res=%d\n", stat, res); stat 333 drivers/scsi/pcmcia/nsp_cs.h static void show_busphase(unsigned char stat); stat 338 drivers/scsi/pcmcia/nsp_cs.h # define show_busphase(stat) /* */ stat 174 drivers/scsi/pcmcia/nsp_debug.c static void show_busphase(unsigned char stat) stat 176 drivers/scsi/pcmcia/nsp_debug.c switch(stat) { stat 1558 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_QUEUE_FULL; stat 1571 drivers/scsi/pm8001/pm8001_hwi.c t, pw->handler, ts->resp, ts->stat)); stat 1899 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAM_STAT_GOOD; stat 1902 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_PROTO_RESPONSE; stat 1914 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_ABORTED_TASK; stat 1921 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_UNDERRUN; stat 1930 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_PHY_DOWN; stat 1936 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1944 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1951 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1958 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1965 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1972 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1983 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1991 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1998 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2005 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2012 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2018 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2024 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2031 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2037 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2043 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2053 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2059 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2065 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2071 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2079 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2094 drivers/scsi/pm8001/pm8001_hwi.c t, status, ts->resp, ts->stat)); stat 2135 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2149 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2157 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2164 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2171 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2178 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2189 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2197 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2204 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2211 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2218 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2229 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2235 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2241 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2247 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2253 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2259 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2270 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2282 drivers/scsi/pm8001/pm8001_hwi.c t, event, ts->resp, ts->stat)); stat 2400 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAM_STAT_GOOD; stat 2417 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_PROTO_RESPONSE; stat 2453 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_ABORTED_TASK; stat 2463 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_UNDERRUN; stat 2472 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_PHY_DOWN; stat 2478 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_INTERRUPTED; stat 2484 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2492 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2499 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2506 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2513 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2519 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2528 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2535 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2545 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2553 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2559 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2568 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2575 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2581 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2587 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_ABORTED_TASK; stat 2593 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2599 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_UNDERRUN; stat 2605 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2611 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2617 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2622 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2631 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2637 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2642 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2651 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2659 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2671 drivers/scsi/pm8001/pm8001_hwi.c t, status, ts->resp, ts->stat)); stat 2733 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2742 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_INTERRUPTED; stat 2748 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2756 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2763 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2770 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2777 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2783 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2792 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2800 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2807 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2814 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2820 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2826 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_UNDERRUN; stat 2832 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2838 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2844 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2850 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2856 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2862 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2872 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2879 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_TO; stat 2891 drivers/scsi/pm8001/pm8001_hwi.c t, event, ts->resp, ts->stat)); stat 2930 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAM_STAT_GOOD; stat 2938 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_ABORTED_TASK; stat 2945 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2953 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_PHY_DOWN; stat 2959 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAM_STAT_BUSY; stat 2965 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAM_STAT_BUSY; stat 2971 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAM_STAT_BUSY; stat 2977 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2984 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2991 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2998 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 3008 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 3016 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 3023 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 3030 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 3036 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 3043 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_QUEUE_FULL; stat 3049 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 3056 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 3062 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 3069 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_OPEN_REJECT; stat 3076 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 3089 drivers/scsi/pm8001/pm8001_hwi.c t, status, ts->resp, ts->stat)); stat 3760 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAM_STAT_GOOD; stat 4441 drivers/scsi/pm8001/pm8001_hwi.c ts->stat = SAM_STAT_GOOD; stat 4452 drivers/scsi/pm8001/pm8001_hwi.c "\n", task, ts->resp, ts->stat)); stat 393 drivers/scsi/pm8001/pm8001_sas.c tsm->stat = SAS_PHY_DOWN; stat 416 drivers/scsi/pm8001/pm8001_sas.c ts->stat = SAS_PHY_DOWN; stat 425 drivers/scsi/pm8001/pm8001_sas.c ts->stat = SAS_PHY_DOWN; stat 759 drivers/scsi/pm8001/pm8001_sas.c task->task_status.stat == SAM_STAT_GOOD) { stat 765 drivers/scsi/pm8001/pm8001_sas.c task->task_status.stat == SAS_DATA_UNDERRUN) { stat 773 drivers/scsi/pm8001/pm8001_sas.c task->task_status.stat == SAS_DATA_OVERRUN) { stat 784 drivers/scsi/pm8001/pm8001_sas.c task->task_status.stat)); stat 848 drivers/scsi/pm8001/pm8001_sas.c task->task_status.stat == SAM_STAT_GOOD) { stat 858 drivers/scsi/pm8001/pm8001_sas.c task->task_status.stat)); stat 966 drivers/scsi/pm8001/pm8001_sas.c ts->stat = SAS_OPEN_REJECT; stat 1587 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAM_STAT_GOOD; stat 1590 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_PROTO_RESPONSE; stat 1602 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_ABORTED_TASK; stat 1610 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_UNDERRUN; stat 1619 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_PHY_DOWN; stat 1625 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1633 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1640 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1647 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1654 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1661 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1673 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1684 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1691 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1698 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1705 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1712 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_NAK_R_ERR; stat 1718 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1724 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1731 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1737 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1743 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1753 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1759 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1765 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1771 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1779 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1794 drivers/scsi/pm8001/pm80xx_hwi.c t, status, ts->resp, ts->stat)); stat 1836 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1850 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1857 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1864 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1871 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1883 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1894 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1901 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1908 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1915 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 1922 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_NAK_R_ERR; stat 1933 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1939 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1945 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1951 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1957 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1963 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1970 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1981 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 1993 drivers/scsi/pm8001/pm80xx_hwi.c t, event, ts->resp, ts->stat)); stat 2111 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAM_STAT_GOOD; stat 2128 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_PROTO_RESPONSE; stat 2164 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_ABORTED_TASK; stat 2174 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_UNDERRUN; stat 2183 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_PHY_DOWN; stat 2189 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_INTERRUPTED; stat 2195 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2202 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2209 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2216 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2228 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2234 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2243 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2250 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2259 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2266 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2272 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2281 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2288 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2294 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2300 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_ABORTED_TASK; stat 2306 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2312 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_UNDERRUN; stat 2318 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2324 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2330 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2335 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2344 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2350 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2355 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2364 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2372 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2384 drivers/scsi/pm8001/pm80xx_hwi.c t, status, ts->resp, ts->stat)); stat 2447 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2456 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_INTERRUPTED; stat 2462 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2469 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2476 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2483 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2495 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2501 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2510 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2517 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2524 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2531 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2537 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_NAK_R_ERR; stat 2543 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_UNDERRUN; stat 2549 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2555 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2561 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2567 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2573 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2579 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2589 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2596 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2603 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2610 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_TO; stat 2622 drivers/scsi/pm8001/pm80xx_hwi.c t, event, ts->resp, ts->stat)); stat 2665 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAM_STAT_GOOD; stat 2688 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_ABORTED_TASK; stat 2695 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DATA_OVERRUN; stat 2703 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_PHY_DOWN; stat 2709 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAM_STAT_BUSY; stat 2715 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAM_STAT_BUSY; stat 2721 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAM_STAT_BUSY; stat 2727 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2734 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2741 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2753 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2763 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2770 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2777 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2784 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2790 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2797 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_QUEUE_FULL; stat 2803 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2810 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2816 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2823 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_OPEN_REJECT; stat 2830 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAS_DEV_NO_RESPONSE; stat 2843 drivers/scsi/pm8001/pm80xx_hwi.c t, status, ts->resp, ts->stat)); stat 4421 drivers/scsi/pm8001/pm80xx_hwi.c ts->stat = SAM_STAT_GOOD; stat 4432 drivers/scsi/pm8001/pm80xx_hwi.c "\n", task, ts->resp, ts->stat)); stat 118 drivers/scsi/qla2xxx/qla_dbg.c uint32_t stat; stat 146 drivers/scsi/qla2xxx/qla_dbg.c stat = RD_REG_DWORD(®->host_status); stat 148 drivers/scsi/qla2xxx/qla_dbg.c if (!(stat & HSRX_RISC_INT)) stat 151 drivers/scsi/qla2xxx/qla_dbg.c stat &= 0xff; stat 152 drivers/scsi/qla2xxx/qla_dbg.c if (stat != 0x1 && stat != 0x2 && stat 153 drivers/scsi/qla2xxx/qla_dbg.c stat != 0x10 && stat != 0x11) { stat 198 drivers/scsi/qla2xxx/qla_dbg.c uint32_t stat; stat 223 drivers/scsi/qla2xxx/qla_dbg.c stat = RD_REG_DWORD(®->host_status); stat 226 drivers/scsi/qla2xxx/qla_dbg.c if (!(stat & HSRX_RISC_INT)) stat 229 drivers/scsi/qla2xxx/qla_dbg.c stat &= 0xff; stat 230 drivers/scsi/qla2xxx/qla_dbg.c if (stat != 0x1 && stat != 0x2 && stat 231 drivers/scsi/qla2xxx/qla_dbg.c stat != 0x10 && stat != 0x11) { stat 373 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt, stat, timer, words, idx; stat 404 drivers/scsi/qla2xxx/qla_dbg.c stat = RD_REG_DWORD(®->u.isp2300.host_status); stat 405 drivers/scsi/qla2xxx/qla_dbg.c if (stat & HSR_RISC_INT) { stat 406 drivers/scsi/qla2xxx/qla_dbg.c stat &= 0xff; stat 408 drivers/scsi/qla2xxx/qla_dbg.c if (stat == 0x1 || stat == 0x2) { stat 420 drivers/scsi/qla2xxx/qla_dbg.c } else if (stat == 0x10 || stat == 0x11) { stat 169 drivers/scsi/qla2xxx/qla_isr.c uint32_t stat; stat 190 drivers/scsi/qla2xxx/qla_isr.c stat = RD_REG_DWORD(®->u.isp2300.host_status); stat 191 drivers/scsi/qla2xxx/qla_isr.c if (qla2x00_check_reg32_for_disconnect(vha, stat)) stat 193 drivers/scsi/qla2xxx/qla_isr.c if (stat & HSR_RISC_PAUSED) { stat 219 drivers/scsi/qla2xxx/qla_isr.c } else if ((stat & HSR_RISC_INT) == 0) stat 222 drivers/scsi/qla2xxx/qla_isr.c switch (stat & 0xff) { stat 227 drivers/scsi/qla2xxx/qla_isr.c qla2x00_mbx_completion(vha, MSW(stat)); stat 234 drivers/scsi/qla2xxx/qla_isr.c mb[0] = MSW(stat); stat 245 drivers/scsi/qla2xxx/qla_isr.c mb[1] = MSW(stat); stat 250 drivers/scsi/qla2xxx/qla_isr.c mb[1] = MSW(stat); stat 256 drivers/scsi/qla2xxx/qla_isr.c "Unrecognized interrupt type (%d).\n", stat & 0xff); stat 3178 drivers/scsi/qla2xxx/qla_isr.c uint32_t stat; stat 3202 drivers/scsi/qla2xxx/qla_isr.c stat = RD_REG_DWORD(®->host_status); stat 3203 drivers/scsi/qla2xxx/qla_isr.c if (qla2x00_check_reg32_for_disconnect(vha, stat)) stat 3205 drivers/scsi/qla2xxx/qla_isr.c if (stat & HSRX_RISC_PAUSED) { stat 3220 drivers/scsi/qla2xxx/qla_isr.c } else if ((stat & HSRX_RISC_INT) == 0) stat 3223 drivers/scsi/qla2xxx/qla_isr.c switch (stat & 0xff) { stat 3228 drivers/scsi/qla2xxx/qla_isr.c qla24xx_mbx_completion(vha, MSW(stat)); stat 3233 drivers/scsi/qla2xxx/qla_isr.c mb[0] = MSW(stat); stat 3253 drivers/scsi/qla2xxx/qla_isr.c "Unrecognized interrupt type (%d).\n", stat * 0xff); stat 3312 drivers/scsi/qla2xxx/qla_isr.c uint32_t stat; stat 3331 drivers/scsi/qla2xxx/qla_isr.c stat = RD_REG_DWORD(®->host_status); stat 3332 drivers/scsi/qla2xxx/qla_isr.c if (qla2x00_check_reg32_for_disconnect(vha, stat)) stat 3334 drivers/scsi/qla2xxx/qla_isr.c if (stat & HSRX_RISC_PAUSED) { stat 3349 drivers/scsi/qla2xxx/qla_isr.c } else if ((stat & HSRX_RISC_INT) == 0) stat 3352 drivers/scsi/qla2xxx/qla_isr.c switch (stat & 0xff) { stat 3357 drivers/scsi/qla2xxx/qla_isr.c qla24xx_mbx_completion(vha, MSW(stat)); stat 3362 drivers/scsi/qla2xxx/qla_isr.c mb[0] = MSW(stat); stat 3382 drivers/scsi/qla2xxx/qla_isr.c "Unrecognized interrupt type (%d).\n", stat & 0xff); stat 5264 drivers/scsi/qla2xxx/qla_mbx.c uint32_t stat, timer; stat 5288 drivers/scsi/qla2xxx/qla_mbx.c stat = RD_REG_DWORD(®->host_status); stat 5289 drivers/scsi/qla2xxx/qla_mbx.c if (stat & HSRX_RISC_INT) { stat 5290 drivers/scsi/qla2xxx/qla_mbx.c stat &= 0xff; stat 5292 drivers/scsi/qla2xxx/qla_mbx.c if (stat == 0x1 || stat == 0x2 || stat 5293 drivers/scsi/qla2xxx/qla_mbx.c stat == 0x10 || stat == 0x11) { stat 2911 drivers/scsi/qla2xxx/qla_mr.c uint32_t stat; stat 2935 drivers/scsi/qla2xxx/qla_mr.c stat = QLAFX00_RD_INTR_REG(ha); stat 2936 drivers/scsi/qla2xxx/qla_mr.c if (qla2x00_check_reg32_for_disconnect(vha, stat)) stat 2938 drivers/scsi/qla2xxx/qla_mr.c intr_stat = stat & QLAFX00_HST_INT_STS_BITS; stat 2942 drivers/scsi/qla2xxx/qla_mr.c if (stat & QLAFX00_INTR_MB_CMPLT) { stat 2038 drivers/scsi/qla2xxx/qla_nx.c uint32_t stat = 0; stat 2073 drivers/scsi/qla2xxx/qla_nx.c stat = RD_REG_DWORD(®->host_status); stat 2075 drivers/scsi/qla2xxx/qla_nx.c switch (stat & 0xff) { stat 2080 drivers/scsi/qla2xxx/qla_nx.c qla82xx_mbx_completion(vha, MSW(stat)); stat 2084 drivers/scsi/qla2xxx/qla_nx.c mb[0] = MSW(stat); stat 2096 drivers/scsi/qla2xxx/qla_nx.c stat & 0xff); stat 2121 drivers/scsi/qla2xxx/qla_nx.c uint32_t stat = 0; stat 2142 drivers/scsi/qla2xxx/qla_nx.c stat = RD_REG_DWORD(®->host_status); stat 2144 drivers/scsi/qla2xxx/qla_nx.c switch (stat & 0xff) { stat 2149 drivers/scsi/qla2xxx/qla_nx.c qla82xx_mbx_completion(vha, MSW(stat)); stat 2153 drivers/scsi/qla2xxx/qla_nx.c mb[0] = MSW(stat); stat 2165 drivers/scsi/qla2xxx/qla_nx.c stat & 0xff); stat 2217 drivers/scsi/qla2xxx/qla_nx.c uint32_t stat; stat 2238 drivers/scsi/qla2xxx/qla_nx.c stat = RD_REG_DWORD(®->host_status); stat 2239 drivers/scsi/qla2xxx/qla_nx.c switch (stat & 0xff) { stat 2244 drivers/scsi/qla2xxx/qla_nx.c qla82xx_mbx_completion(vha, MSW(stat)); stat 2248 drivers/scsi/qla2xxx/qla_nx.c mb[0] = MSW(stat); stat 2260 drivers/scsi/qla2xxx/qla_nx.c stat * 0xff); stat 3897 drivers/scsi/qla2xxx/qla_nx2.c uint32_t stat; stat 3950 drivers/scsi/qla2xxx/qla_nx2.c stat = RD_REG_DWORD(®->host_status); stat 3951 drivers/scsi/qla2xxx/qla_nx2.c if ((stat & HSRX_RISC_INT) == 0) stat 3954 drivers/scsi/qla2xxx/qla_nx2.c switch (stat & 0xff) { stat 3959 drivers/scsi/qla2xxx/qla_nx2.c qla82xx_mbx_completion(vha, MSW(stat)); stat 3963 drivers/scsi/qla2xxx/qla_nx2.c mb[0] = MSW(stat); stat 3975 drivers/scsi/qla2xxx/qla_nx2.c "(%d).\n", stat & 0xff); stat 6954 drivers/scsi/qla2xxx/qla_os.c uint32_t stat; stat 6966 drivers/scsi/qla2xxx/qla_os.c stat = RD_REG_DWORD(®->hccr); stat 6967 drivers/scsi/qla2xxx/qla_os.c if (stat & HCCR_RISC_PAUSE) stat 6970 drivers/scsi/qla2xxx/qla_os.c stat = RD_REG_DWORD(®->u.isp2300.host_status); stat 6971 drivers/scsi/qla2xxx/qla_os.c if (stat & HSR_RISC_PAUSED) stat 6974 drivers/scsi/qla2xxx/qla_os.c stat = RD_REG_DWORD(®24->host_status); stat 6975 drivers/scsi/qla2xxx/qla_os.c if (stat & HSRX_RISC_PAUSED) stat 308 drivers/scsi/qla2xxx/qla_sup.c int ret, stat; stat 318 drivers/scsi/qla2xxx/qla_sup.c stat = qla2x00_write_nvram_word_tmo(ha, ha->nvram_base, stat 321 drivers/scsi/qla2xxx/qla_sup.c if (stat != QLA_SUCCESS || wprot != 0x1234) { stat 372 drivers/scsi/qla2xxx/qla_sup.c qla2x00_set_nvram_protection(struct qla_hw_data *ha, int stat) stat 378 drivers/scsi/qla2xxx/qla_sup.c if (stat != QLA_SUCCESS) stat 1423 drivers/scsi/qla2xxx/qla_sup.c int ret, stat; stat 1435 drivers/scsi/qla2xxx/qla_sup.c stat = qla2x00_clear_nvram_protection(ha); stat 1445 drivers/scsi/qla2xxx/qla_sup.c qla2x00_set_nvram_protection(ha, stat); stat 9255 drivers/scsi/qla4xxx/ql4_os.c int ret = FAILED, stat; stat 9283 drivers/scsi/qla4xxx/ql4_os.c stat = qla4xxx_reset_lun(ha, ddb_entry, cmd->device->lun); stat 9284 drivers/scsi/qla4xxx/ql4_os.c if (stat != QLA_SUCCESS) { stat 9285 drivers/scsi/qla4xxx/ql4_os.c ql4_printk(KERN_INFO, ha, "DEVICE RESET FAILED. %d\n", stat); stat 9324 drivers/scsi/qla4xxx/ql4_os.c int stat, ret; stat 9349 drivers/scsi/qla4xxx/ql4_os.c stat = qla4xxx_reset_target(ha, ddb_entry); stat 9350 drivers/scsi/qla4xxx/ql4_os.c if (stat != QLA_SUCCESS) { stat 1303 drivers/scsi/scsi_transport_fc.c int stat; stat 1317 drivers/scsi/scsi_transport_fc.c stat = i->f->vport_disable(vport, ((*buf == '0') ? false : true)); stat 1318 drivers/scsi/scsi_transport_fc.c return stat ? stat : count; stat 1850 drivers/scsi/scsi_transport_fc.c int stat; stat 1862 drivers/scsi/scsi_transport_fc.c stat = fc_parse_wwn(&buf[0], &vid.port_name); stat 1863 drivers/scsi/scsi_transport_fc.c if (stat) stat 1864 drivers/scsi/scsi_transport_fc.c return stat; stat 1866 drivers/scsi/scsi_transport_fc.c stat = fc_parse_wwn(&buf[17], &vid.node_name); stat 1867 drivers/scsi/scsi_transport_fc.c if (stat) stat 1868 drivers/scsi/scsi_transport_fc.c return stat; stat 1876 drivers/scsi/scsi_transport_fc.c stat = fc_vport_setup(shost, 0, &shost->shost_gendev, &vid, &vport); stat 1877 drivers/scsi/scsi_transport_fc.c return stat ? stat : count; stat 1899 drivers/scsi/scsi_transport_fc.c int stat, match; stat 1909 drivers/scsi/scsi_transport_fc.c stat = fc_parse_wwn(&buf[0], &wwpn); stat 1910 drivers/scsi/scsi_transport_fc.c if (stat) stat 1911 drivers/scsi/scsi_transport_fc.c return stat; stat 1913 drivers/scsi/scsi_transport_fc.c stat = fc_parse_wwn(&buf[17], &wwnn); stat 1914 drivers/scsi/scsi_transport_fc.c if (stat) stat 1915 drivers/scsi/scsi_transport_fc.c return stat; stat 1935 drivers/scsi/scsi_transport_fc.c stat = fc_vport_terminate(vport); stat 1936 drivers/scsi/scsi_transport_fc.c return stat ? stat : count; stat 3461 drivers/scsi/scsi_transport_fc.c int stat; stat 3464 drivers/scsi/scsi_transport_fc.c stat = fc_vport_setup(shost, channel, &shost->shost_gendev, stat 3466 drivers/scsi/scsi_transport_fc.c return stat ? NULL : vport; stat 3488 drivers/scsi/scsi_transport_fc.c int stat; stat 3491 drivers/scsi/scsi_transport_fc.c stat = i->f->vport_delete(vport); stat 3493 drivers/scsi/scsi_transport_fc.c stat = -ENOENT; stat 3497 drivers/scsi/scsi_transport_fc.c if (!stat) { stat 3505 drivers/scsi/scsi_transport_fc.c if (stat) stat 3506 drivers/scsi/scsi_transport_fc.c return stat; stat 3534 drivers/scsi/scsi_transport_fc.c int stat; stat 3536 drivers/scsi/scsi_transport_fc.c stat = fc_vport_terminate(vport); stat 3537 drivers/scsi/scsi_transport_fc.c if (stat) stat 3542 drivers/scsi/scsi_transport_fc.c vport->channel, stat); stat 129 drivers/scsi/snic/snic_fwint.h snic_io_hdr_dec(struct snic_io_hdr *hdr, u8 *typ, u8 *stat, u32 *cmnd_id, stat 133 drivers/scsi/snic/snic_fwint.h *stat = hdr->status; stat 986 drivers/scsi/sr.c return cgc->stat; stat 256 drivers/scsi/sr_ioctl.c cgc->stat = err; stat 1275 drivers/scsi/ufs/ufshcd.c struct devfreq_dev_status *stat) stat 1284 drivers/scsi/ufs/ufshcd.c memset(stat, 0, sizeof(*stat)); stat 1294 drivers/scsi/ufs/ufshcd.c stat->total_time = jiffies_to_usecs((long)jiffies - stat 1296 drivers/scsi/ufs/ufshcd.c stat->busy_time = scaling->tot_busy_t; stat 167 drivers/slimbus/qcom-ctrl.c u32 stat) stat 171 drivers/slimbus/qcom-ctrl.c if (stat & MGR_INT_TX_MSG_SENT) stat 175 drivers/slimbus/qcom-ctrl.c if (stat & MGR_INT_TX_NACKED_2) { stat 189 drivers/slimbus/qcom-ctrl.c stat, mgr_stat); stat 208 drivers/slimbus/qcom-ctrl.c u32 stat) stat 266 drivers/slimbus/qcom-ctrl.c u32 stat = readl_relaxed(ctrl->base + MGR_INT_STAT); stat 269 drivers/slimbus/qcom-ctrl.c if (stat & MGR_INT_TX_MSG_SENT || stat & MGR_INT_TX_NACKED_2) stat 270 drivers/slimbus/qcom-ctrl.c ret = qcom_slim_handle_tx_irq(ctrl, stat); stat 272 drivers/slimbus/qcom-ctrl.c if (stat & MGR_INT_RX_MSG_RCVD) stat 273 drivers/slimbus/qcom-ctrl.c ret = qcom_slim_handle_rx_irq(ctrl, stat); stat 753 drivers/slimbus/qcom-ngd-ctrl.c u32 stat = readl(base + NGD_INT_STAT); stat 755 drivers/slimbus/qcom-ngd-ctrl.c if ((stat & NGD_INT_MSG_BUF_CONTE) || stat 756 drivers/slimbus/qcom-ngd-ctrl.c (stat & NGD_INT_MSG_TX_INVAL) || (stat & NGD_INT_DEV_ERR) || stat 757 drivers/slimbus/qcom-ngd-ctrl.c (stat & NGD_INT_TX_NACKED_2)) { stat 758 drivers/slimbus/qcom-ngd-ctrl.c dev_err(ctrl->dev, "Error Interrupt received 0x%x\n", stat); stat 761 drivers/slimbus/qcom-ngd-ctrl.c writel(stat, base + NGD_INT_CLR); stat 232 drivers/soc/dove/pmu.c u32 stat = readl_relaxed(base + PMC_IRQ_CAUSE) & gc->mask_cache; stat 235 drivers/soc/dove/pmu.c if (stat == 0) { stat 240 drivers/soc/dove/pmu.c while (stat) { stat 241 drivers/soc/dove/pmu.c u32 hwirq = fls(stat) - 1; stat 243 drivers/soc/dove/pmu.c stat &= ~(1 << hwirq); stat 775 drivers/soc/fsl/dpio/qbman-portal.c flags = p->dq.stat; stat 1623 drivers/soc/fsl/qbman/qman.c if (dq->stat & QM_DQRR_STAT_UNSCHEDULED) { stat 1636 drivers/soc/fsl/qbman/qman.c if (dq->stat & QM_DQRR_STAT_FQ_EMPTY) stat 1648 drivers/soc/fsl/qbman/qman.c if (dq->stat & QM_DQRR_STAT_DQCR_EXPIRED) stat 1668 drivers/soc/fsl/qbman/qman.c DPAA_ASSERT((dq->stat & QM_DQRR_STAT_FQ_HELDACTIVE) || stat 2594 drivers/soc/fsl/qbman/qman.c if (qm_fqid_get(dqrr) == fqid && (dqrr->stat & s)) stat 218 drivers/soc/fsl/qbman/qman_test_api.c if (!(dq->stat & QM_DQRR_STAT_UNSCHEDULED) && !fd_neq(&fd_dq, &fd)) { stat 143 drivers/soc/ixp4xx/ixp4xx-qmgr.c u32 en_bitmap, src, stat; stat 153 drivers/soc/ixp4xx/ixp4xx-qmgr.c stat = qmgr_regs->stat1[i >> 3]; stat 155 drivers/soc/ixp4xx/ixp4xx-qmgr.c stat = ~stat; stat 156 drivers/soc/ixp4xx/ixp4xx-qmgr.c if (stat & BIT(src & 3)) { stat 817 drivers/soundwire/bus.c int port_num, stat, ret, count = 0; stat 943 drivers/soundwire/bus.c stat = buf || buf2[0] || buf2[1]; stat 952 drivers/soundwire/bus.c } while (stat != 0 && count < SDW_READ_INTR_CLEAR_RETRY); stat 165 drivers/spi/spi-au1550.c u32 cfg, stat; stat 210 drivers/spi/spi-au1550.c stat = hw->regs->psc_spistat; stat 212 drivers/spi/spi-au1550.c } while ((stat & PSC_SPISTAT_DR) == 0); stat 225 drivers/spi/spi-au1550.c u32 cfg, stat; stat 261 drivers/spi/spi-au1550.c stat = hw->regs->psc_spistat; stat 263 drivers/spi/spi-au1550.c } while ((stat & PSC_SPISTAT_DR) == 0); stat 414 drivers/spi/spi-au1550.c u32 stat, evnt; stat 416 drivers/spi/spi-au1550.c stat = hw->regs->psc_spistat; stat 419 drivers/spi/spi-au1550.c if ((stat & PSC_SPISTAT_DI) == 0) { stat 451 drivers/spi/spi-au1550.c "(event=0x%x stat=0x%x)!\n", evnt, stat); stat 505 drivers/spi/spi-au1550.c u32 stat, mask; stat 527 drivers/spi/spi-au1550.c stat = hw->regs->psc_spistat; stat 529 drivers/spi/spi-au1550.c if (stat & PSC_SPISTAT_TF) stat 549 drivers/spi/spi-au1550.c u32 stat, evnt; stat 551 drivers/spi/spi-au1550.c stat = hw->regs->psc_spistat; stat 554 drivers/spi/spi-au1550.c if ((stat & PSC_SPISTAT_DI) == 0) { stat 571 drivers/spi/spi-au1550.c "(event=0x%x stat=0x%x)!\n", evnt, stat); stat 582 drivers/spi/spi-au1550.c stat = hw->regs->psc_spistat; stat 594 drivers/spi/spi-au1550.c if (!(stat & PSC_SPISTAT_RE) && hw->rx_count < hw->len) { stat 598 drivers/spi/spi-au1550.c if (!(stat & PSC_SPISTAT_TF) && hw->tx_count < hw->len) stat 675 drivers/spi/spi-au1550.c u32 stat, cfg; stat 690 drivers/spi/spi-au1550.c stat = hw->regs->psc_spistat; stat 692 drivers/spi/spi-au1550.c } while ((stat & PSC_SPISTAT_SR) == 0); stat 714 drivers/spi/spi-au1550.c stat = hw->regs->psc_spistat; stat 716 drivers/spi/spi-au1550.c } while ((stat & PSC_SPISTAT_DR) == 0); stat 219 drivers/spi/spi-bcm2835aux.c u32 stat = bcm2835aux_rd(bs, BCM2835_AUX_SPI_STAT); stat 222 drivers/spi/spi-bcm2835aux.c for (; bs->rx_len && (stat & BCM2835_AUX_SPI_STAT_RX_LVL); stat 223 drivers/spi/spi-bcm2835aux.c stat = bcm2835aux_rd(bs, BCM2835_AUX_SPI_STAT)) stat 649 drivers/spi/spi-lantiq-ssc.c u32 stat = lantiq_ssc_readl(spi, LTQ_SPI_STAT); stat 651 drivers/spi/spi-lantiq-ssc.c if (!(stat & LTQ_SPI_STAT_ERRORS)) stat 654 drivers/spi/spi-lantiq-ssc.c if (stat & LTQ_SPI_STAT_RUE) stat 656 drivers/spi/spi-lantiq-ssc.c if (stat & LTQ_SPI_STAT_TUE) stat 658 drivers/spi/spi-lantiq-ssc.c if (stat & LTQ_SPI_STAT_AE) stat 660 drivers/spi/spi-lantiq-ssc.c if (stat & LTQ_SPI_STAT_RE) stat 662 drivers/spi/spi-lantiq-ssc.c if (stat & LTQ_SPI_STAT_TE) stat 664 drivers/spi/spi-lantiq-ssc.c if (stat & LTQ_SPI_STAT_ME) stat 728 drivers/spi/spi-lantiq-ssc.c u32 stat = lantiq_ssc_readl(spi, LTQ_SPI_STAT); stat 730 drivers/spi/spi-lantiq-ssc.c if (!(stat & LTQ_SPI_STAT_BSY)) { stat 243 drivers/spi/spi-meson-spicc.c u32 stat = readl_relaxed(spicc->base + SPICC_STATREG) & ctrl; stat 258 drivers/spi/spi-meson-spicc.c stat = readl_relaxed(spicc->base + SPICC_STATREG) & ctrl; stat 262 drivers/spi/spi-meson-spicc.c if ((stat & SPICC_TC) && spicc->is_burst_end) { stat 297 drivers/spi/spi-npcm-pspi.c u8 stat; stat 299 drivers/spi/spi-npcm-pspi.c stat = ioread8(priv->base + NPCM_PSPI_STAT); stat 305 drivers/spi/spi-npcm-pspi.c if (stat & NPCM_PSPI_STAT_RBF) { stat 314 drivers/spi/spi-npcm-pspi.c if ((stat & NPCM_PSPI_STAT_BSY) == 0) stat 320 drivers/spi/spi-npcm-pspi.c if (stat & NPCM_PSPI_STAT_RBF) { stat 333 drivers/spi/spi-npcm-pspi.c if (((stat & NPCM_PSPI_STAT_BSY) == 0) && !priv->tx_buf) stat 214 drivers/spi/spi-ti-qspi.c u32 stat; stat 217 drivers/spi/spi-ti-qspi.c stat = ti_qspi_read(qspi, QSPI_SPI_STATUS_REG); stat 218 drivers/spi/spi-ti-qspi.c while ((stat & BUSY) && time_after(timeout, jiffies)) { stat 220 drivers/spi/spi-ti-qspi.c stat = ti_qspi_read(qspi, QSPI_SPI_STATUS_REG); stat 223 drivers/spi/spi-ti-qspi.c WARN(stat & BUSY, "qspi busy\n"); stat 224 drivers/spi/spi-ti-qspi.c return stat & BUSY; stat 229 drivers/spi/spi-ti-qspi.c u32 stat; stat 233 drivers/spi/spi-ti-qspi.c stat = ti_qspi_read(qspi, QSPI_SPI_STATUS_REG); stat 234 drivers/spi/spi-ti-qspi.c if (stat & WC) stat 239 drivers/spi/spi-ti-qspi.c stat = ti_qspi_read(qspi, QSPI_SPI_STATUS_REG); stat 240 drivers/spi/spi-ti-qspi.c if (stat & WC) stat 438 drivers/spi/spi-uniphier.c u32 val, stat; stat 440 drivers/spi/spi-uniphier.c stat = readl(priv->base + SSI_IS); stat 445 drivers/spi/spi-uniphier.c if (stat & SSI_IS_RORID) { stat 451 drivers/spi/spi-uniphier.c if ((stat & SSI_IS_RCID) && (stat & SSI_IS_RXRS)) { stat 226 drivers/spi/spi-xlp.c u32 stat; stat 228 drivers/spi/spi-xlp.c stat = xlp_spi_reg_read(xspi, xspi->cs, XLP_SPI_STATUS) & stat 230 drivers/spi/spi-xlp.c if (!stat) stat 233 drivers/spi/spi-xlp.c if (stat & XLP_SPI_TX_INT) { stat 236 drivers/spi/spi-xlp.c if (stat & XLP_SPI_TX_UF) stat 240 drivers/spi/spi-xlp.c if (stat & XLP_SPI_RX_INT) { stat 243 drivers/spi/spi-xlp.c if (stat & XLP_SPI_RX_OF) stat 248 drivers/spi/spi-xlp.c xlp_spi_reg_write(xspi, xspi->cs, XLP_SPI_STATUS, stat); stat 249 drivers/spi/spi-xlp.c if (stat & XLP_SPI_XFR_DONE) stat 144 drivers/spi/spi.c static ssize_t spi_statistics_##name##_show(struct spi_statistics *stat, \ stat 149 drivers/spi/spi.c spin_lock_irqsave(&stat->lock, flags); \ stat 150 drivers/spi/spi.c len = sprintf(buf, format_string, stat->field); \ stat 151 drivers/spi/spi.c spin_unlock_irqrestore(&stat->lock, flags); \ stat 229 drivers/staging/comedi/drivers/dt2801.c int stat = 0; stat 233 drivers/staging/comedi/drivers/dt2801.c stat = inb_p(dev->iobase + DT2801_STATUS); stat 234 drivers/staging/comedi/drivers/dt2801.c if (stat & (DT_S_COMPOSITE_ERROR | DT_S_READY)) stat 235 drivers/staging/comedi/drivers/dt2801.c return stat; stat 236 drivers/staging/comedi/drivers/dt2801.c if (stat & DT_S_DATA_OUT_READY) { stat 264 drivers/staging/comedi/drivers/dt2801.c int stat = 0; stat 268 drivers/staging/comedi/drivers/dt2801.c stat = inb_p(dev->iobase + DT2801_STATUS); stat 270 drivers/staging/comedi/drivers/dt2801.c if (stat & DT_S_COMPOSITE_ERROR) stat 271 drivers/staging/comedi/drivers/dt2801.c return stat; stat 272 drivers/staging/comedi/drivers/dt2801.c if (!(stat & DT_S_DATA_IN_FULL)) { stat 298 drivers/staging/comedi/drivers/dt2801.c int stat; stat 300 drivers/staging/comedi/drivers/dt2801.c stat = inb_p(dev->iobase + DT2801_STATUS); stat 301 drivers/staging/comedi/drivers/dt2801.c if (stat & DT_S_READY) stat 304 drivers/staging/comedi/drivers/dt2801.c stat = inb_p(dev->iobase + DT2801_STATUS); stat 306 drivers/staging/comedi/drivers/dt2801.c if (stat & DT_S_COMPOSITE_ERROR) stat 307 drivers/staging/comedi/drivers/dt2801.c return stat; stat 308 drivers/staging/comedi/drivers/dt2801.c if (stat & DT_S_READY) stat 317 drivers/staging/comedi/drivers/dt2801.c int stat; stat 321 drivers/staging/comedi/drivers/dt2801.c stat = inb_p(dev->iobase + DT2801_STATUS); stat 322 drivers/staging/comedi/drivers/dt2801.c if (stat & DT_S_COMPOSITE_ERROR) { stat 326 drivers/staging/comedi/drivers/dt2801.c if (!(stat & DT_S_READY)) stat 334 drivers/staging/comedi/drivers/dt2801.c unsigned int stat; stat 350 drivers/staging/comedi/drivers/dt2801.c stat = inb_p(dev->iobase + DT2801_STATUS); stat 351 drivers/staging/comedi/drivers/dt2801.c if (stat & DT_S_READY) stat 355 drivers/staging/comedi/drivers/dt2801.c dev_dbg(dev->class_dev, "timeout 1 status=0x%02x\n", stat); stat 365 drivers/staging/comedi/drivers/dt2801.c stat = inb_p(dev->iobase + DT2801_STATUS); stat 366 drivers/staging/comedi/drivers/dt2801.c if (stat & DT_S_READY) stat 370 drivers/staging/comedi/drivers/dt2801.c dev_dbg(dev->class_dev, "timeout 2 status=0x%02x\n", stat); stat 380 drivers/staging/comedi/drivers/dt2801.c int stat; stat 387 drivers/staging/comedi/drivers/dt2801.c stat = dt2801_readdata2(dev, &data); stat 389 drivers/staging/comedi/drivers/dt2801.c if (stat) stat 429 drivers/staging/comedi/drivers/dt2801.c static int dt2801_error(struct comedi_device *dev, int stat) stat 431 drivers/staging/comedi/drivers/dt2801.c if (stat < 0) { stat 432 drivers/staging/comedi/drivers/dt2801.c if (stat == -ETIME) stat 435 drivers/staging/comedi/drivers/dt2801.c dev_dbg(dev->class_dev, "error %d\n", stat); stat 436 drivers/staging/comedi/drivers/dt2801.c return stat; stat 438 drivers/staging/comedi/drivers/dt2801.c dev_dbg(dev->class_dev, "error status 0x%02x, resetting...\n", stat); stat 451 drivers/staging/comedi/drivers/dt2801.c int stat; stat 458 drivers/staging/comedi/drivers/dt2801.c stat = dt2801_readdata2(dev, &d); stat 460 drivers/staging/comedi/drivers/dt2801.c if (stat != 0) stat 461 drivers/staging/comedi/drivers/dt2801.c return dt2801_error(dev, stat); stat 2995 drivers/staging/exfat/exfat_super.c static int exfat_getattr(const struct path *path, struct kstat *stat, stat 3002 drivers/staging/exfat/exfat_super.c generic_fillattr(inode, stat); stat 3003 drivers/staging/exfat/exfat_super.c stat->blksize = EXFAT_SB(inode->i_sb)->fs_info.cluster_size; stat 129 drivers/staging/fwserial/fwserial.c static void fwtty_profile_fifo(struct fwtty_port *port, unsigned int *stat) stat 132 drivers/staging/fwserial/fwserial.c fwtty_profile_data(stat, dma_fifo_avail(&port->tx_fifo)); stat 176 drivers/staging/fwserial/fwserial.c #define fwtty_profile_fifo(port, stat) stat 26 drivers/staging/fwserial/fwserial.h static inline void fwtty_profile_data(unsigned int stat[], unsigned int val) stat 29 drivers/staging/fwserial/fwserial.h ++stat[n]; stat 1628 drivers/staging/iio/addac/adt7316.c u8 stat; stat 1631 drivers/staging/iio/addac/adt7316.c ret = chip->bus.read(chip->bus.client, ADT7316_SPI_LOCK_STAT, &stat); stat 1635 drivers/staging/iio/addac/adt7316.c if (stat) stat 1531 drivers/staging/qlge/qlge_dbg.c #define DUMP_STAT(qdev, stat) \ stat 1532 drivers/staging/qlge/qlge_dbg.c pr_err("%s = %ld\n", #stat, (unsigned long)qdev->nic_stats.stat) stat 2653 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static struct sta_info stat; stat 2803 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pstat = &stat; stat 2804 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memset((char *)pstat, '\0', sizeof(stat)); stat 51 drivers/staging/rtl8188eu/include/rtl8188e_recv.h struct recv_stat *stat); stat 890 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static struct sta_info stat; stat 1074 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pstat = &stat; stat 1075 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memset((char *)pstat, '\0', sizeof(stat)); stat 927 drivers/staging/rts5208/rtsx_chip.h #define rtsx_set_stat(chip, stat) \ stat 929 drivers/staging/rts5208/rtsx_chip.h if ((stat) != RTSX_STAT_IDLE) { \ stat 932 drivers/staging/rts5208/rtsx_chip.h (chip)->rtsx_stat = (enum RTSX_STAT)(stat); \ stat 935 drivers/staging/rts5208/rtsx_chip.h #define rtsx_chk_stat(chip, stat) ((chip)->rtsx_stat == (stat)) stat 98 drivers/staging/rts5208/sd.c u8 stat; stat 100 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, REG_SD_STAT1, &stat); stat 104 drivers/staging/rts5208/sd.c if (!(stat & SD_DAT0_STATUS)) { stat 729 drivers/staging/rts5208/sd.c u8 stat; stat 744 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, SD_BUS_STAT, &stat); stat 747 drivers/staging/rts5208/sd.c if (stat & (SD_CMD_STATUS | SD_DAT3_STATUS | SD_DAT2_STATUS | stat 768 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, SD_BUS_STAT, &stat); stat 771 drivers/staging/rts5208/sd.c if ((stat & (SD_CMD_STATUS | SD_DAT3_STATUS | SD_DAT2_STATUS | stat 775 drivers/staging/rts5208/sd.c dev_dbg(rtsx_dev(chip), "SD_BUS_STAT: 0x%x\n", stat); stat 1206 drivers/staging/rts5208/sd.c u8 stat; stat 1217 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, SD_STAT1, &stat); stat 1220 drivers/staging/rts5208/sd.c if (stat & SD_CRC16_ERR) { stat 3496 drivers/staging/rts5208/sd.c u8 stat = 0; stat 3506 drivers/staging/rts5208/sd.c rtsx_read_register(chip, REG_SD_STAT1, &stat); stat 3524 drivers/staging/rts5208/sd.c if (stat & (SD_CRC7_ERR | SD_CRC16_ERR | SD_CRC_WRITE_ERR)) { stat 126 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_STATS_INC(state, stat) (state->stats. stat++) stat 127 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_SERVICE_STATS_INC(service, stat) (service->stats. stat++) stat 128 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) \ stat 129 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h (service->stats. stat += addend) stat 131 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_STATS_INC(state, stat) ((void)0) stat 132 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_SERVICE_STATS_INC(service, stat) ((void)0) stat 133 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) ((void)0) stat 560 drivers/tty/mips_ejtag_fdc.c unsigned int stat, channel, data, cfg, i, flipped; stat 566 drivers/tty/mips_ejtag_fdc.c stat = mips_ejtag_fdc_read(priv, REG_FDSTAT); stat 567 drivers/tty/mips_ejtag_fdc.c if (stat & REG_FDSTAT_RXE) stat 569 drivers/tty/mips_ejtag_fdc.c channel = (stat & REG_FDSTAT_RXCHAN) >> REG_FDSTAT_RXCHAN_SHIFT; stat 622 drivers/tty/mips_ejtag_fdc.c if (priv->xmit_full && !(stat & REG_FDSTAT_TXF)) { stat 1183 drivers/tty/mips_ejtag_fdc.c unsigned int stat, channel, data; stat 1197 drivers/tty/mips_ejtag_fdc.c stat = __raw_readl(regs + REG_FDSTAT); stat 1200 drivers/tty/mips_ejtag_fdc.c if (stat & REG_FDSTAT_RXE) stat 1204 drivers/tty/mips_ejtag_fdc.c channel = (stat & REG_FDSTAT_RXCHAN) >> stat 144 drivers/tty/serial/arc_uart.c unsigned int stat; stat 146 drivers/tty/serial/arc_uart.c stat = UART_GET_STATUS(port); stat 147 drivers/tty/serial/arc_uart.c if (stat & TXEMPTY) stat 800 drivers/tty/serial/fsl_lpuart.c unsigned long stat = lpuart32_read(port, UARTSTAT); stat 806 drivers/tty/serial/fsl_lpuart.c if (stat & UARTSTAT_TC && sfifo & UARTFIFO_TXEMPT) stat 168 drivers/tty/serial/ip22zilog.c unsigned char stat = read_zsreg(channel, R1); stat 169 drivers/tty/serial/ip22zilog.c if (stat & ALL_SNT) stat 697 drivers/tty/serial/ip22zilog.c unsigned char stat = read_zsreg(channel, R1); stat 698 drivers/tty/serial/ip22zilog.c if (stat & ALL_SNT) stat 301 drivers/tty/serial/lantiq.c u32 stat; stat 306 drivers/tty/serial/lantiq.c stat = readl(port->membase + LTQ_ASC_IRNCR); stat 308 drivers/tty/serial/lantiq.c if (!(stat & ASC_IRNCR_MASK)) stat 311 drivers/tty/serial/lantiq.c if (stat & ASC_IRNCR_TIR) stat 314 drivers/tty/serial/lantiq.c if (stat & ASC_IRNCR_RIR) stat 317 drivers/tty/serial/lantiq.c if (stat & ASC_IRNCR_EIR) stat 121 drivers/tty/serial/mvebu-uart.c unsigned int stat; stat 761 drivers/tty/serial/mvebu-uart.c mvuart->pm_regs.stat = readl(port->membase + UART_STAT); stat 779 drivers/tty/serial/mvebu-uart.c writel(mvuart->pm_regs.stat, port->membase + UART_STAT); stat 650 drivers/tty/serial/mxs-auart.c u32 stat; stat 654 drivers/tty/serial/mxs-auart.c stat = mxs_read(s, REG_STAT); stat 659 drivers/tty/serial/mxs-auart.c if (stat & AUART_STAT_BERR) { stat 663 drivers/tty/serial/mxs-auart.c } else if (stat & AUART_STAT_PERR) { stat 665 drivers/tty/serial/mxs-auart.c } else if (stat & AUART_STAT_FERR) { stat 672 drivers/tty/serial/mxs-auart.c stat &= s->port.read_status_mask; stat 674 drivers/tty/serial/mxs-auart.c if (stat & AUART_STAT_BERR) { stat 676 drivers/tty/serial/mxs-auart.c } else if (stat & AUART_STAT_PERR) stat 678 drivers/tty/serial/mxs-auart.c else if (stat & AUART_STAT_FERR) stat 681 drivers/tty/serial/mxs-auart.c if (stat & AUART_STAT_OERR) stat 687 drivers/tty/serial/mxs-auart.c uart_insert_char(&s->port, stat, AUART_STAT_OERR, c, flag); stat 689 drivers/tty/serial/mxs-auart.c mxs_write(stat, s, REG_STAT); stat 694 drivers/tty/serial/mxs-auart.c u32 stat = 0; stat 697 drivers/tty/serial/mxs-auart.c stat = mxs_read(s, REG_STAT); stat 698 drivers/tty/serial/mxs-auart.c if (stat & AUART_STAT_RXFE) stat 703 drivers/tty/serial/mxs-auart.c mxs_write(stat, s, REG_STAT); stat 780 drivers/tty/serial/mxs-auart.c u32 stat = mxs_read(s, REG_STAT); stat 783 drivers/tty/serial/mxs-auart.c if (stat & AUART_STAT_CTS) stat 853 drivers/tty/serial/mxs-auart.c u32 stat; stat 857 drivers/tty/serial/mxs-auart.c stat = mxs_read(s, REG_STAT); stat 858 drivers/tty/serial/mxs-auart.c stat &= ~(AUART_STAT_OERR | AUART_STAT_BERR | stat 861 drivers/tty/serial/mxs-auart.c count = stat & AUART_STAT_RXCOUNT_MASK; stat 864 drivers/tty/serial/mxs-auart.c mxs_write(stat, s, REG_STAT); stat 1132 drivers/tty/serial/mxs-auart.c u32 stat = mxs_read(s, REG_STAT); stat 1153 drivers/tty/serial/mxs-auart.c stat & AUART_STAT_CTS); stat 107 drivers/tty/serial/owl-uart.c u32 stat, ctl; stat 110 drivers/tty/serial/owl-uart.c stat = owl_uart_read(port, OWL_UART_STAT); stat 111 drivers/tty/serial/owl-uart.c if (stat & OWL_UART_STAT_RTSS) stat 113 drivers/tty/serial/owl-uart.c if ((stat & OWL_UART_STAT_CTSS) || !(ctl & OWL_UART_CTL_AFE)) stat 213 drivers/tty/serial/owl-uart.c u32 stat, val; stat 219 drivers/tty/serial/owl-uart.c stat = owl_uart_read(port, OWL_UART_STAT); stat 220 drivers/tty/serial/owl-uart.c while (!(stat & OWL_UART_STAT_RFEM)) { stat 223 drivers/tty/serial/owl-uart.c if (stat & OWL_UART_STAT_RXER) stat 226 drivers/tty/serial/owl-uart.c if (stat & OWL_UART_STAT_RXST) { stat 231 drivers/tty/serial/owl-uart.c stat &= port->read_status_mask; stat 232 drivers/tty/serial/owl-uart.c if (stat & OWL_UART_STAT_RXST) stat 240 drivers/tty/serial/owl-uart.c if ((stat & port->ignore_status_mask) == 0) stat 243 drivers/tty/serial/owl-uart.c stat = owl_uart_read(port, OWL_UART_STAT); stat 255 drivers/tty/serial/owl-uart.c u32 stat; stat 259 drivers/tty/serial/owl-uart.c stat = owl_uart_read(port, OWL_UART_STAT); stat 261 drivers/tty/serial/owl-uart.c if (stat & OWL_UART_STAT_RIP) stat 264 drivers/tty/serial/owl-uart.c if (stat & OWL_UART_STAT_TIP) stat 267 drivers/tty/serial/owl-uart.c stat = owl_uart_read(port, OWL_UART_STAT); stat 268 drivers/tty/serial/owl-uart.c stat |= OWL_UART_STAT_RIP | OWL_UART_STAT_TIP; stat 269 drivers/tty/serial/owl-uart.c owl_uart_write(port, stat, OWL_UART_STAT); stat 122 drivers/tty/serial/pmac_zilog.c unsigned char stat = read_zsreg(uap, R1); stat 123 drivers/tty/serial/pmac_zilog.c if (stat & ALL_SNT) stat 126 drivers/tty/serial/sunhv.c long stat = sun4v_con_read(ra, PAGE_SIZE, &bytes_read); stat 128 drivers/tty/serial/sunhv.c if (stat != HV_EOK) { stat 131 drivers/tty/serial/sunhv.c if (stat == CON_BREAK) { stat 140 drivers/tty/serial/sunhv.c } else if (stat == CON_HUP) { stat 463 drivers/tty/serial/sunhv.c unsigned long stat; stat 465 drivers/tty/serial/sunhv.c stat = sun4v_con_write(ra, page_bytes, stat 467 drivers/tty/serial/sunhv.c if (stat == HV_EOK) stat 113 drivers/tty/serial/sunsab.c union sab82532_irq_status *stat) stat 126 drivers/tty/serial/sunsab.c if (stat->sreg.isr0 & SAB82532_ISR0_RPF) { stat 131 drivers/tty/serial/sunsab.c if (stat->sreg.isr0 & SAB82532_ISR0_TCD) { stat 137 drivers/tty/serial/sunsab.c if (stat->sreg.isr0 & SAB82532_ISR0_TIME) { stat 143 drivers/tty/serial/sunsab.c if (stat->sreg.isr0 & SAB82532_ISR0_RFO) stat 157 drivers/tty/serial/sunsab.c if ((stat->sreg.isr1 & SAB82532_ISR1_BRK) && stat 162 drivers/tty/serial/sunsab.c if (unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { stat 163 drivers/tty/serial/sunsab.c stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | stat 176 drivers/tty/serial/sunsab.c if (unlikely(stat->sreg.isr0 & (SAB82532_ISR0_PERR | stat 179 drivers/tty/serial/sunsab.c unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { stat 183 drivers/tty/serial/sunsab.c if (stat->sreg.isr1 & SAB82532_ISR1_BRK) { stat 184 drivers/tty/serial/sunsab.c stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | stat 195 drivers/tty/serial/sunsab.c } else if (stat->sreg.isr0 & SAB82532_ISR0_PERR) stat 197 drivers/tty/serial/sunsab.c else if (stat->sreg.isr0 & SAB82532_ISR0_FERR) stat 199 drivers/tty/serial/sunsab.c if (stat->sreg.isr0 & SAB82532_ISR0_RFO) stat 205 drivers/tty/serial/sunsab.c stat->sreg.isr0 &= (up->port.read_status_mask & 0xff); stat 206 drivers/tty/serial/sunsab.c stat->sreg.isr1 &= ((up->port.read_status_mask >> 8) & 0xff); stat 208 drivers/tty/serial/sunsab.c if (stat->sreg.isr1 & SAB82532_ISR1_BRK) { stat 210 drivers/tty/serial/sunsab.c } else if (stat->sreg.isr0 & SAB82532_ISR0_PERR) stat 212 drivers/tty/serial/sunsab.c else if (stat->sreg.isr0 & SAB82532_ISR0_FERR) stat 219 drivers/tty/serial/sunsab.c if ((stat->sreg.isr0 & (up->port.ignore_status_mask & 0xff)) == 0 && stat 220 drivers/tty/serial/sunsab.c (stat->sreg.isr1 & ((up->port.ignore_status_mask >> 8) & 0xff)) == 0) stat 222 drivers/tty/serial/sunsab.c if (stat->sreg.isr0 & SAB82532_ISR0_RFO) stat 236 drivers/tty/serial/sunsab.c union sab82532_irq_status *stat) stat 241 drivers/tty/serial/sunsab.c if (stat->sreg.isr1 & SAB82532_ISR1_ALLS) { stat 248 drivers/tty/serial/sunsab.c if (!(stat->sreg.isr1 & SAB82532_ISR1_XPR)) stat 291 drivers/tty/serial/sunsab.c union sab82532_irq_status *stat) stat 293 drivers/tty/serial/sunsab.c if (stat->sreg.isr0 & SAB82532_ISR0_CDSC) stat 297 drivers/tty/serial/sunsab.c if (stat->sreg.isr1 & SAB82532_ISR1_CSC) stat 319 drivers/tty/serial/sunsab.c status.stat = 0; stat 326 drivers/tty/serial/sunsab.c if (status.stat) { stat 120 drivers/tty/serial/sunsab.h unsigned short stat; stat 187 drivers/tty/serial/sunzilog.c unsigned char stat = read_zsreg(channel, R1); stat 188 drivers/tty/serial/sunzilog.c if (stat & ALL_SNT) stat 126 drivers/tty/serial/uartlite.c static int ulite_receive(struct uart_port *port, int stat) stat 132 drivers/tty/serial/uartlite.c if ((stat & (ULITE_STATUS_RXVALID | ULITE_STATUS_OVERRUN stat 137 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_RXVALID) { stat 141 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_PARITY) stat 145 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_OVERRUN) stat 148 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_FRAME) stat 153 drivers/tty/serial/uartlite.c if (stat & port->ignore_status_mask & ULITE_STATUS_PARITY) stat 154 drivers/tty/serial/uartlite.c stat &= ~ULITE_STATUS_RXVALID; stat 156 drivers/tty/serial/uartlite.c stat &= port->read_status_mask; stat 158 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_PARITY) stat 162 drivers/tty/serial/uartlite.c stat &= ~port->ignore_status_mask; stat 164 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_RXVALID) stat 167 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_FRAME) stat 170 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_OVERRUN) stat 176 drivers/tty/serial/uartlite.c static int ulite_transmit(struct uart_port *port, int stat) stat 180 drivers/tty/serial/uartlite.c if (stat & ULITE_STATUS_TXFULL) stat 207 drivers/tty/serial/uartlite.c int stat, busy, n = 0; stat 212 drivers/tty/serial/uartlite.c stat = uart_in32(ULITE_STATUS, port); stat 213 drivers/tty/serial/uartlite.c busy = ulite_receive(port, stat); stat 214 drivers/tty/serial/uartlite.c busy |= ulite_transmit(port, stat); stat 1829 drivers/tty/synclink_gt.c int stat; stat 1845 drivers/tty/synclink_gt.c stat = 0; stat 1857 drivers/tty/synclink_gt.c stat = TTY_PARITY; stat 1859 drivers/tty/synclink_gt.c stat = TTY_FRAME; stat 1861 drivers/tty/synclink_gt.c tty_insert_flip_char(&info->port, ch, stat); stat 135 drivers/usb/atm/ueagle-atm.c int (*stat)(struct uea_softc *); stat 1896 drivers/usb/atm/ueagle-atm.c ret = sc->stat(sc); stat 2139 drivers/usb/atm/ueagle-atm.c sc->stat = uea_stat_e4; stat 2146 drivers/usb/atm/ueagle-atm.c sc->stat = uea_stat_e1; stat 778 drivers/usb/class/cdc-acm.c int stat; stat 807 drivers/usb/class/cdc-acm.c stat = usb_autopm_get_interface_async(acm->control); stat 808 drivers/usb/class/cdc-acm.c if (stat) { stat 811 drivers/usb/class/cdc-acm.c return stat; stat 820 drivers/usb/class/cdc-acm.c stat = acm_start_wb(acm, wb); stat 823 drivers/usb/class/cdc-acm.c if (stat < 0) stat 824 drivers/usb/class/cdc-acm.c return stat; stat 278 drivers/usb/gadget/udc/aspeed-vhub/ep0.c u32 stat; stat 281 drivers/usb/gadget/udc/aspeed-vhub/ep0.c stat = readl(ep->ep0.ctlstat); stat 287 drivers/usb/gadget/udc/aspeed-vhub/ep0.c stat, ep->ep0.state, ep->ep0.dir_in, in_ack, req); stat 301 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if ((ep->ep0.dir_in && (stat & VHUB_EP0_TX_BUFF_RDY)) || stat 302 drivers/usb/gadget/udc/aspeed-vhub/ep0.c (!ep->ep0.dir_in && (stat & VHUB_EP0_RX_BUFF_RDY)) || stat 322 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ast_vhub_ep0_do_receive(ep, req, VHUB_EP0_RX_LEN(stat)); stat 92 drivers/usb/gadget/udc/aspeed-vhub/epn.c u32 stat; stat 95 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); stat 101 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat, ep->epn.is_in, req, req ? req->active : 0); stat 115 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (VHUB_EP_DMA_RPTR(stat) != 0) { stat 124 drivers/usb/gadget/udc/aspeed-vhub/epn.c len = VHUB_EP_DMA_TX_SIZE(stat); stat 250 drivers/usb/gadget/udc/aspeed-vhub/epn.c u32 stat, stat1; stat 254 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); stat 256 drivers/usb/gadget/udc/aspeed-vhub/epn.c } while(stat != stat1); stat 259 drivers/usb/gadget/udc/aspeed-vhub/epn.c d_last = VHUB_EP_DMA_RPTR(stat); stat 265 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat, ep->epn.is_in, ep->epn.d_last, d_last); stat 677 drivers/usb/gadget/udc/aspeed-vhub/hub.c u16 stat, chg; stat 683 drivers/usb/gadget/udc/aspeed-vhub/hub.c stat = vhub->ports[port].status; stat 687 drivers/usb/gadget/udc/aspeed-vhub/hub.c stat |= USB_PORT_STAT_POWER; stat 689 drivers/usb/gadget/udc/aspeed-vhub/hub.c EPDBG(ep, " port status=%04x change=%04x\n", stat, chg); stat 692 drivers/usb/gadget/udc/aspeed-vhub/hub.c stat & 0xff, stat 693 drivers/usb/gadget/udc/aspeed-vhub/hub.c stat >> 8, stat 1973 drivers/usb/gadget/udc/bcm63xx_udc.c u32 stat; stat 1976 drivers/usb/gadget/udc/bcm63xx_udc.c stat = usbd_readl(udc, USBD_EVENT_IRQ_STATUS_REG) & stat 1979 drivers/usb/gadget/udc/bcm63xx_udc.c usbd_writel(udc, stat, USBD_EVENT_IRQ_STATUS_REG); stat 1982 drivers/usb/gadget/udc/bcm63xx_udc.c if (stat & BIT(USBD_EVENT_IRQ_USB_LINK)) { stat 1993 drivers/usb/gadget/udc/bcm63xx_udc.c if (stat & BIT(USBD_EVENT_IRQ_USB_RESET)) { stat 2004 drivers/usb/gadget/udc/bcm63xx_udc.c if (stat & BIT(USBD_EVENT_IRQ_SETUP)) { stat 2011 drivers/usb/gadget/udc/bcm63xx_udc.c if (stat & BIT(USBD_EVENT_IRQ_SETCFG)) { stat 2016 drivers/usb/gadget/udc/bcm63xx_udc.c if (stat & BIT(USBD_EVENT_IRQ_SETINTF)) { stat 233 drivers/usb/gadget/udc/fsl_qe_udc.h #define frame_set_status(frm, stat) (frm->status = stat) stat 1526 drivers/usb/gadget/udc/goku_udc.c stat &= ~irqbit; \ stat 1536 drivers/usb/gadget/udc/goku_udc.c u32 stat, handled = 0; stat 1542 drivers/usb/gadget/udc/goku_udc.c stat = readl(®s->int_status) & dev->int_enable; stat 1543 drivers/usb/gadget/udc/goku_udc.c if (!stat) stat 1548 drivers/usb/gadget/udc/goku_udc.c if (unlikely(stat & INT_DEVWIDE)) { stat 1549 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_SYSERROR) { stat 1552 drivers/usb/gadget/udc/goku_udc.c stat = 0; stat 1558 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_PWRDETECT) { stat 1559 drivers/usb/gadget/udc/goku_udc.c writel(~stat, ®s->int_status); stat 1571 drivers/usb/gadget/udc/goku_udc.c stat = 0; stat 1575 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_SUSPEND) { stat 1612 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_USBRESET) { /* hub reset done */ stat 1623 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_SETUP) { stat 1628 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_STATUSNAK) { stat 1638 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_ENDPOINT0) { stat 1646 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_MSTRDEND) { /* IN */ stat 1652 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_MSTWREND) { /* OUT */ stat 1658 drivers/usb/gadget/udc/goku_udc.c if (stat & INT_MSTWRTMOUT) { /* OUT */ stat 1670 drivers/usb/gadget/udc/goku_udc.c if (!(stat & tmp)) stat 1676 drivers/usb/gadget/udc/goku_udc.c stat &= ~tmp; stat 1687 drivers/usb/gadget/udc/goku_udc.c if (stat) stat 1688 drivers/usb/gadget/udc/goku_udc.c DBG(dev, "unhandled irq status: %05x (%05x, %05x)\n", stat, stat 1705 drivers/usb/gadget/udc/net2272.c net2272_handle_stat0_irqs(struct net2272 *dev, u8 stat) stat 1711 drivers/usb/gadget/udc/net2272.c if (unlikely(stat & (1 << SETUP_PACKET_INTERRUPT))) { stat 1732 drivers/usb/gadget/udc/net2272.c stat &= ~(1 << ENDPOINT_0_INTERRUPT); stat 1788 drivers/usb/gadget/udc/net2272.c stat ^= (1 << SETUP_PACKET_INTERRUPT); stat 1926 drivers/usb/gadget/udc/net2272.c } else if (stat & (1 << DMA_DONE_INTERRUPT)) { stat 1929 drivers/usb/gadget/udc/net2272.c stat &= ~(1 << DMA_DONE_INTERRUPT); stat 1939 drivers/usb/gadget/udc/net2272.c scratch = stat & 0x0f; stat 1940 drivers/usb/gadget/udc/net2272.c stat &= ~0x0f; stat 1955 drivers/usb/gadget/udc/net2272.c stat &= ~(1 << SOF_INTERRUPT); stat 1957 drivers/usb/gadget/udc/net2272.c if (stat) stat 1958 drivers/usb/gadget/udc/net2272.c dev_dbg(dev->dev, "unhandled irqstat0 %02x\n", stat); stat 1962 drivers/usb/gadget/udc/net2272.c net2272_handle_stat1_irqs(struct net2272 *dev, u8 stat) stat 1970 drivers/usb/gadget/udc/net2272.c if (stat & tmp) { stat 1980 drivers/usb/gadget/udc/net2272.c if ((stat & (1 << VBUS_INTERRUPT)) && stat 1986 drivers/usb/gadget/udc/net2272.c } else if ((stat & (1 << ROOT_PORT_RESET_INTERRUPT)) && stat 2008 drivers/usb/gadget/udc/net2272.c stat &= ~tmp; stat 2010 drivers/usb/gadget/udc/net2272.c if (!stat) stat 2015 drivers/usb/gadget/udc/net2272.c if (stat & tmp) { stat 2017 drivers/usb/gadget/udc/net2272.c if (stat & (1 << SUSPEND_REQUEST_INTERRUPT)) { stat 2021 drivers/usb/gadget/udc/net2272.c stat &= ~(1 << SUSPEND_REQUEST_INTERRUPT); stat 2028 drivers/usb/gadget/udc/net2272.c stat &= ~tmp; stat 2032 drivers/usb/gadget/udc/net2272.c if (stat) stat 2033 drivers/usb/gadget/udc/net2272.c net2272_write(dev, IRQSTAT1, stat); stat 2036 drivers/usb/gadget/udc/net2272.c stat &= ~((1 << CONTROL_STATUS_INTERRUPT) stat 2039 drivers/usb/gadget/udc/net2272.c if (!stat) stat 2042 drivers/usb/gadget/udc/net2272.c dev_dbg(dev->dev, "unhandled irqstat1 %02x\n", stat); stat 3089 drivers/usb/gadget/udc/net2280.c static void handle_stat0_irqs(struct net2280 *dev, u32 stat) stat 3095 drivers/usb/gadget/udc/net2280.c stat &= ~BIT(INTA_ASSERTED); stat 3096 drivers/usb/gadget/udc/net2280.c if (!stat) stat 3101 drivers/usb/gadget/udc/net2280.c if (unlikely(stat & BIT(SETUP_PACKET_INTERRUPT))) { stat 3133 drivers/usb/gadget/udc/net2280.c stat &= ~BIT(ENDPOINT_0_INTERRUPT); stat 3180 drivers/usb/gadget/udc/net2280.c stat ^= BIT(SETUP_PACKET_INTERRUPT); stat 3318 drivers/usb/gadget/udc/net2280.c if (stat & mask) { stat 3319 drivers/usb/gadget/udc/net2280.c usb338x_handle_ep_intr(dev, stat & mask); stat 3320 drivers/usb/gadget/udc/net2280.c stat &= ~mask; stat 3324 drivers/usb/gadget/udc/net2280.c scratch = stat & 0x7f; stat 3325 drivers/usb/gadget/udc/net2280.c stat &= ~0x7f; stat 3340 drivers/usb/gadget/udc/net2280.c if (stat) stat 3341 drivers/usb/gadget/udc/net2280.c ep_dbg(dev, "unhandled irqstat0 %08x\n", stat); stat 3353 drivers/usb/gadget/udc/net2280.c static void handle_stat1_irqs(struct net2280 *dev, u32 stat) stat 3369 drivers/usb/gadget/udc/net2280.c if (stat & tmp) { stat 3379 drivers/usb/gadget/udc/net2280.c if ((stat & BIT(VBUS_INTERRUPT)) && stat 3385 drivers/usb/gadget/udc/net2280.c } else if ((stat & BIT(ROOT_PORT_RESET_INTERRUPT)) && stat 3407 drivers/usb/gadget/udc/net2280.c stat &= ~tmp; stat 3412 drivers/usb/gadget/udc/net2280.c if (!stat) stat 3420 drivers/usb/gadget/udc/net2280.c if (stat & tmp) { stat 3423 drivers/usb/gadget/udc/net2280.c if (stat & BIT(SUSPEND_REQUEST_INTERRUPT)) { stat 3427 drivers/usb/gadget/udc/net2280.c stat &= ~BIT(SUSPEND_REQUEST_INTERRUPT); stat 3434 drivers/usb/gadget/udc/net2280.c stat &= ~tmp; stat 3438 drivers/usb/gadget/udc/net2280.c if (stat) stat 3439 drivers/usb/gadget/udc/net2280.c writel(stat, &dev->regs->irqstat1); stat 3443 drivers/usb/gadget/udc/net2280.c stat &= ~(BIT(CONTROL_STATUS_INTERRUPT) | stat 3448 drivers/usb/gadget/udc/net2280.c stat &= ~(BIT(CONTROL_STATUS_INTERRUPT) | stat 3453 drivers/usb/gadget/udc/net2280.c if (!stat) stat 3458 drivers/usb/gadget/udc/net2280.c scratch = stat & DMA_INTERRUPTS; stat 3459 drivers/usb/gadget/udc/net2280.c stat &= ~DMA_INTERRUPTS; stat 3517 drivers/usb/gadget/udc/net2280.c if (stat & PCI_ERROR_INTERRUPTS) { stat 3518 drivers/usb/gadget/udc/net2280.c ep_err(dev, "pci dma error; stat %08x\n", stat); stat 3519 drivers/usb/gadget/udc/net2280.c stat &= ~PCI_ERROR_INTERRUPTS; stat 3525 drivers/usb/gadget/udc/net2280.c stat = 0; stat 3528 drivers/usb/gadget/udc/net2280.c if (stat) stat 3529 drivers/usb/gadget/udc/net2280.c ep_dbg(dev, "unhandled irqstat1 %08x\n", stat); stat 1422 drivers/usb/gadget/udc/omap_udc.c int stat; stat 1426 drivers/usb/gadget/udc/omap_udc.c stat = omap_readw(UDC_STAT_FLG); stat 1427 drivers/usb/gadget/udc/omap_udc.c if (stat & UDC_ACK) { stat 1433 drivers/usb/gadget/udc/omap_udc.c stat = write_fifo(ep0, req); stat 1449 drivers/usb/gadget/udc/omap_udc.c } else if (stat & UDC_STALL) { stat 1459 drivers/usb/gadget/udc/omap_udc.c int stat; stat 1463 drivers/usb/gadget/udc/omap_udc.c stat = omap_readw(UDC_STAT_FLG); stat 1464 drivers/usb/gadget/udc/omap_udc.c if (stat & UDC_ACK) { stat 1466 drivers/usb/gadget/udc/omap_udc.c stat = 0; stat 1470 drivers/usb/gadget/udc/omap_udc.c stat = read_fifo(ep0, req); stat 1471 drivers/usb/gadget/udc/omap_udc.c if (!req || stat < 0) { stat 1474 drivers/usb/gadget/udc/omap_udc.c stat = 0; stat 1475 drivers/usb/gadget/udc/omap_udc.c } else if (stat == 0) stat 1480 drivers/usb/gadget/udc/omap_udc.c if (stat == 1) { stat 1496 drivers/usb/gadget/udc/omap_udc.c } else if (stat & UDC_STALL) { stat 1913 drivers/usb/gadget/udc/omap_udc.c int stat; stat 1916 drivers/usb/gadget/udc/omap_udc.c stat = read_fifo(ep, req); stat 1976 drivers/usb/gadget/udc/omap_udc.c u16 stat; stat 1984 drivers/usb/gadget/udc/omap_udc.c stat = omap_readw(UDC_STAT_FLG); stat 1990 drivers/usb/gadget/udc/omap_udc.c if (stat & UDC_MISS_IN) stat 1997 drivers/usb/gadget/udc/omap_udc.c if (stat & UDC_NO_RXPACKET) stat 1999 drivers/usb/gadget/udc/omap_udc.c else if (stat & UDC_ISO_ERR) stat 2001 drivers/usb/gadget/udc/omap_udc.c else if (stat & UDC_DATA_FLUSH) stat 908 drivers/usb/gadget/udc/pch_udc.c u32 stat) stat 910 drivers/usb/gadget/udc/pch_udc.c return pch_udc_ep_writel(ep, stat, UDC_EPSTS_ADDR); stat 2367 drivers/usb/gadget/udc/pch_udc.c u32 stat; stat 2372 drivers/usb/gadget/udc/pch_udc.c stat = ep->epsts; stat 2376 drivers/usb/gadget/udc/pch_udc.c if (((stat & UDC_EPSTS_OUT_MASK) >> UDC_EPSTS_OUT_SHIFT) == stat 2426 drivers/usb/gadget/udc/pch_udc.c } else if ((((stat & UDC_EPSTS_OUT_MASK) >> UDC_EPSTS_OUT_SHIFT) == stat 2431 drivers/usb/gadget/udc/pch_udc.c ep->epsts = stat; stat 1472 drivers/usb/host/isp116x-hcd.c u32 stat = stat 1475 drivers/usb/host/isp116x-hcd.c if (!(stat & RH_PS_PSS)) stat 1879 drivers/usb/host/isp1362-hcd.c u32 stat = isp1362_read_reg32(isp1362_hcd, HCRHPORT1 + port); stat 1882 drivers/usb/host/isp1362-hcd.c if (!(stat & RH_PS_PSS)) { stat 308 drivers/usb/misc/uss720.c unsigned char stat; stat 310 drivers/usb/misc/uss720.c if (get_1284_register(pp, 1, &stat, GFP_KERNEL)) stat 312 drivers/usb/misc/uss720.c return stat & 1; stat 932 drivers/usb/phy/phy-isp1301-omap.c static void isp_update_otg(struct isp1301 *isp, u8 stat) stat 938 drivers/usb/phy/phy-isp1301-omap.c if (stat & INTR_BDIS_ACON) stat 1105 drivers/usb/phy/phy-isp1301-omap.c u8 stat = isp1301_clear_latch(isp); stat 1107 drivers/usb/phy/phy-isp1301-omap.c isp_update_otg(isp, stat); stat 816 drivers/usb/serial/keyspan.c int stat = data[i]; stat 819 drivers/usb/serial/keyspan.c if (stat & RXERROR_OVERRUN) { stat 824 drivers/usb/serial/keyspan.c if (stat & RXERROR_PARITY) stat 826 drivers/usb/serial/keyspan.c else if (stat & RXERROR_FRAMING) stat 1160 drivers/usb/serial/keyspan.c int stat = data[i]; stat 1163 drivers/usb/serial/keyspan.c if (stat & RXERROR_OVERRUN) { stat 1168 drivers/usb/serial/keyspan.c if (stat & RXERROR_PARITY) stat 1170 drivers/usb/serial/keyspan.c else if (stat & RXERROR_FRAMING) stat 1230 drivers/usb/serial/keyspan.c int stat = data[i]; stat 1233 drivers/usb/serial/keyspan.c if (stat & RXERROR_OVERRUN) { stat 1238 drivers/usb/serial/keyspan.c if (stat & RXERROR_PARITY) stat 1240 drivers/usb/serial/keyspan.c else if (stat & RXERROR_FRAMING) stat 1305 drivers/usb/serial/keyspan.c int stat = data[i]; stat 1308 drivers/usb/serial/keyspan.c if (stat & RXERROR_OVERRUN) { stat 1314 drivers/usb/serial/keyspan.c if (stat & RXERROR_PARITY) stat 1316 drivers/usb/serial/keyspan.c else if (stat & RXERROR_FRAMING) stat 63 drivers/usb/storage/realtek_cr.c #define rts51x_set_stat(chip, stat) \ stat 64 drivers/usb/storage/realtek_cr.c ((chip)->state = (enum RTS51X_STAT)(stat)) stat 824 drivers/video/fbdev/da8xx-fb.c u32 stat = lcdc_read(LCD_MASKED_STAT_REG); stat 826 drivers/video/fbdev/da8xx-fb.c if ((stat & LCD_SYNC_LOST) && (stat & LCD_FIFO_UNDERFLOW)) { stat 828 drivers/video/fbdev/da8xx-fb.c lcdc_write(stat, LCD_MASKED_STAT_REG); stat 830 drivers/video/fbdev/da8xx-fb.c } else if (stat & LCD_PL_LOAD_DONE) { stat 839 drivers/video/fbdev/da8xx-fb.c lcdc_write(stat, LCD_MASKED_STAT_REG); stat 847 drivers/video/fbdev/da8xx-fb.c lcdc_write(stat, LCD_MASKED_STAT_REG); stat 849 drivers/video/fbdev/da8xx-fb.c if (stat & LCD_END_OF_FRAME0) { stat 859 drivers/video/fbdev/da8xx-fb.c if (stat & LCD_END_OF_FRAME1) { stat 872 drivers/video/fbdev/da8xx-fb.c if (stat & BIT(0)) { stat 886 drivers/video/fbdev/da8xx-fb.c u32 stat = lcdc_read(LCD_STAT_REG); stat 889 drivers/video/fbdev/da8xx-fb.c if ((stat & LCD_SYNC_LOST) && (stat & LCD_FIFO_UNDERFLOW)) { stat 891 drivers/video/fbdev/da8xx-fb.c lcdc_write(stat, LCD_STAT_REG); stat 893 drivers/video/fbdev/da8xx-fb.c } else if (stat & LCD_PL_LOAD_DONE) { stat 902 drivers/video/fbdev/da8xx-fb.c lcdc_write(stat, LCD_STAT_REG); stat 912 drivers/video/fbdev/da8xx-fb.c lcdc_write(stat, LCD_STAT_REG); stat 914 drivers/video/fbdev/da8xx-fb.c if (stat & LCD_END_OF_FRAME0) { stat 924 drivers/video/fbdev/da8xx-fb.c if (stat & LCD_END_OF_FRAME1) { stat 158 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c u32 stat; stat 160 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c stat = REG_GET(base, HDMI_CORE_IH_I2CM_STAT0, 1, 0); stat 163 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c if (stat & 1) { stat 169 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c if (stat & (1 << 1)) stat 189 drivers/video/fbdev/stifb.c char stat; stat 192 drivers/video/fbdev/stifb.c stat = READ_BYTE(fb, REG_15b0); stat 193 drivers/video/fbdev/stifb.c if (!stat) stat 194 drivers/video/fbdev/stifb.c stat = READ_BYTE(fb, REG_15b0); stat 195 drivers/video/fbdev/stifb.c } while (stat); stat 62 drivers/vme/bridges/vme_ca91cx42.c static u32 ca91cx42_LM_irqhandler(struct ca91cx42_driver *bridge, u32 stat) stat 68 drivers/vme/bridges/vme_ca91cx42.c if (stat & CA91CX42_LINT_LM[i]) { stat 128 drivers/vme/bridges/vme_ca91cx42.c int stat) stat 137 drivers/vme/bridges/vme_ca91cx42.c if (stat & (1 << i)) { stat 152 drivers/vme/bridges/vme_ca91cx42.c u32 stat, enable, serviced = 0; stat 161 drivers/vme/bridges/vme_ca91cx42.c stat = ioread32(bridge->base + LINT_STAT); stat 164 drivers/vme/bridges/vme_ca91cx42.c stat &= enable; stat 166 drivers/vme/bridges/vme_ca91cx42.c if (unlikely(!stat)) stat 169 drivers/vme/bridges/vme_ca91cx42.c if (stat & CA91CX42_LINT_DMA) stat 171 drivers/vme/bridges/vme_ca91cx42.c if (stat & (CA91CX42_LINT_LM0 | CA91CX42_LINT_LM1 | CA91CX42_LINT_LM2 | stat 173 drivers/vme/bridges/vme_ca91cx42.c serviced |= ca91cx42_LM_irqhandler(bridge, stat); stat 174 drivers/vme/bridges/vme_ca91cx42.c if (stat & CA91CX42_LINT_MBOX) stat 175 drivers/vme/bridges/vme_ca91cx42.c serviced |= ca91cx42_MB_irqhandler(bridge, stat); stat 176 drivers/vme/bridges/vme_ca91cx42.c if (stat & CA91CX42_LINT_SW_IACK) stat 178 drivers/vme/bridges/vme_ca91cx42.c if (stat & CA91CX42_LINT_VERR) stat 180 drivers/vme/bridges/vme_ca91cx42.c if (stat & CA91CX42_LINT_LERR) stat 182 drivers/vme/bridges/vme_ca91cx42.c if (stat & (CA91CX42_LINT_VIRQ1 | CA91CX42_LINT_VIRQ2 | stat 186 drivers/vme/bridges/vme_ca91cx42.c serviced |= ca91cx42_VIRQ_irqhandler(ca91cx42_bridge, stat); stat 95 drivers/vme/bridges/vme_tsi148.c static u32 tsi148_LM_irqhandler(struct tsi148_driver *bridge, u32 stat) stat 101 drivers/vme/bridges/vme_tsi148.c if (stat & TSI148_LCSR_INTS_LMS[i]) { stat 116 drivers/vme/bridges/vme_tsi148.c static u32 tsi148_MB_irqhandler(struct vme_bridge *tsi148_bridge, u32 stat) stat 126 drivers/vme/bridges/vme_tsi148.c if (stat & TSI148_LCSR_INTS_MBS[i]) { stat 215 drivers/vme/bridges/vme_tsi148.c u32 stat) stat 223 drivers/vme/bridges/vme_tsi148.c if (stat & (1 << i)) { stat 246 drivers/vme/bridges/vme_tsi148.c u32 stat, enable, serviced = 0; stat 256 drivers/vme/bridges/vme_tsi148.c stat = ioread32be(bridge->base + TSI148_LCSR_INTS); stat 259 drivers/vme/bridges/vme_tsi148.c stat &= enable; stat 261 drivers/vme/bridges/vme_tsi148.c if (unlikely(!stat)) stat 266 drivers/vme/bridges/vme_tsi148.c if (stat & (TSI148_LCSR_INTS_DMA1S | TSI148_LCSR_INTS_DMA0S)) stat 267 drivers/vme/bridges/vme_tsi148.c serviced |= tsi148_DMA_irqhandler(bridge, stat); stat 270 drivers/vme/bridges/vme_tsi148.c if (stat & (TSI148_LCSR_INTS_LM3S | TSI148_LCSR_INTS_LM2S | stat 272 drivers/vme/bridges/vme_tsi148.c serviced |= tsi148_LM_irqhandler(bridge, stat); stat 275 drivers/vme/bridges/vme_tsi148.c if (stat & (TSI148_LCSR_INTS_MB3S | TSI148_LCSR_INTS_MB2S | stat 277 drivers/vme/bridges/vme_tsi148.c serviced |= tsi148_MB_irqhandler(tsi148_bridge, stat); stat 280 drivers/vme/bridges/vme_tsi148.c if (stat & TSI148_LCSR_INTS_PERRS) stat 284 drivers/vme/bridges/vme_tsi148.c if (stat & TSI148_LCSR_INTS_VERRS) stat 288 drivers/vme/bridges/vme_tsi148.c if (stat & TSI148_LCSR_INTS_IACKS) stat 292 drivers/vme/bridges/vme_tsi148.c if (stat & (TSI148_LCSR_INTS_IRQ7S | TSI148_LCSR_INTS_IRQ6S | stat 296 drivers/vme/bridges/vme_tsi148.c serviced |= tsi148_VIRQ_irqhandler(tsi148_bridge, stat); stat 156 drivers/watchdog/asm9260_wdt.c u32 stat; stat 158 drivers/watchdog/asm9260_wdt.c stat = ioread32(priv->iobase + HW_WDMOD); stat 159 drivers/watchdog/asm9260_wdt.c if (!(stat & BM_MOD_WDINT)) stat 305 drivers/watchdog/cpwd.c unsigned char stat = cpwd_readb(p->devs[index].regs + WD_STATUS); stat 310 drivers/watchdog/cpwd.c if (!stat) stat 314 drivers/watchdog/cpwd.c else if (WD_S_EXPIRED & stat) { stat 316 drivers/watchdog/cpwd.c } else if (WD_S_RUNNING & stat) { stat 52 fs/9p/v9fs_vfs.h void v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, stat 54 fs/9p/v9fs_vfs.h void v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode, stat 58 fs/9p/v9fs_vfs.h void v9fs_inode2stat(struct inode *inode, struct p9_wstat *stat); stat 84 fs/9p/vfs_inode.c struct p9_wstat *stat) stat 87 fs/9p/vfs_inode.c int mode = stat->mode; stat 111 fs/9p/vfs_inode.c struct p9_wstat *stat, dev_t *rdev) stat 114 fs/9p/vfs_inode.c u32 mode = stat->mode; stat 117 fs/9p/vfs_inode.c res = p9mode2perm(v9ses, stat); stat 134 fs/9p/vfs_inode.c strlcpy(ext, stat->extension, sizeof(ext)); stat 145 fs/9p/vfs_inode.c type, stat->extension); stat 1052 fs/9p/vfs_inode.c v9fs_vfs_getattr(const struct path *path, struct kstat *stat, stat 1063 fs/9p/vfs_inode.c generic_fillattr(d_inode(dentry), stat); stat 1075 fs/9p/vfs_inode.c generic_fillattr(d_inode(dentry), stat); stat 1157 fs/9p/vfs_inode.c v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, stat 1169 fs/9p/vfs_inode.c inode->i_atime.tv_sec = stat->atime; stat 1170 fs/9p/vfs_inode.c inode->i_mtime.tv_sec = stat->mtime; stat 1171 fs/9p/vfs_inode.c inode->i_ctime.tv_sec = stat->mtime; stat 1177 fs/9p/vfs_inode.c inode->i_uid = stat->n_uid; stat 1178 fs/9p/vfs_inode.c inode->i_gid = stat->n_gid; stat 1181 fs/9p/vfs_inode.c if (v9fs_proto_dotu(v9ses) && (stat->extension[0] != '\0')) { stat 1189 fs/9p/vfs_inode.c strlcpy(ext, stat->extension, sizeof(ext)); stat 1196 fs/9p/vfs_inode.c mode = p9mode2perm(v9ses, stat); stat 1201 fs/9p/vfs_inode.c v9fs_i_size_write(inode, stat->length); stat 1203 fs/9p/vfs_inode.c inode->i_blocks = (stat->length + 512 - 1) >> 9; stat 458 fs/9p/vfs_inode_dotl.c v9fs_vfs_getattr_dotl(const struct path *path, struct kstat *stat, stat 469 fs/9p/vfs_inode_dotl.c generic_fillattr(d_inode(dentry), stat); stat 485 fs/9p/vfs_inode_dotl.c generic_fillattr(d_inode(dentry), stat); stat 487 fs/9p/vfs_inode_dotl.c stat->blksize = st->st_blksize; stat 600 fs/9p/vfs_inode_dotl.c v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode, stat 606 fs/9p/vfs_inode_dotl.c if ((stat->st_result_mask & P9_STATS_BASIC) == P9_STATS_BASIC) { stat 607 fs/9p/vfs_inode_dotl.c inode->i_atime.tv_sec = stat->st_atime_sec; stat 608 fs/9p/vfs_inode_dotl.c inode->i_atime.tv_nsec = stat->st_atime_nsec; stat 609 fs/9p/vfs_inode_dotl.c inode->i_mtime.tv_sec = stat->st_mtime_sec; stat 610 fs/9p/vfs_inode_dotl.c inode->i_mtime.tv_nsec = stat->st_mtime_nsec; stat 611 fs/9p/vfs_inode_dotl.c inode->i_ctime.tv_sec = stat->st_ctime_sec; stat 612 fs/9p/vfs_inode_dotl.c inode->i_ctime.tv_nsec = stat->st_ctime_nsec; stat 613 fs/9p/vfs_inode_dotl.c inode->i_uid = stat->st_uid; stat 614 fs/9p/vfs_inode_dotl.c inode->i_gid = stat->st_gid; stat 615 fs/9p/vfs_inode_dotl.c set_nlink(inode, stat->st_nlink); stat 617 fs/9p/vfs_inode_dotl.c mode = stat->st_mode & S_IALLUGO; stat 622 fs/9p/vfs_inode_dotl.c v9fs_i_size_write(inode, stat->st_size); stat 623 fs/9p/vfs_inode_dotl.c inode->i_blocks = stat->st_blocks; stat 625 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_ATIME) { stat 626 fs/9p/vfs_inode_dotl.c inode->i_atime.tv_sec = stat->st_atime_sec; stat 627 fs/9p/vfs_inode_dotl.c inode->i_atime.tv_nsec = stat->st_atime_nsec; stat 629 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_MTIME) { stat 630 fs/9p/vfs_inode_dotl.c inode->i_mtime.tv_sec = stat->st_mtime_sec; stat 631 fs/9p/vfs_inode_dotl.c inode->i_mtime.tv_nsec = stat->st_mtime_nsec; stat 633 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_CTIME) { stat 634 fs/9p/vfs_inode_dotl.c inode->i_ctime.tv_sec = stat->st_ctime_sec; stat 635 fs/9p/vfs_inode_dotl.c inode->i_ctime.tv_nsec = stat->st_ctime_nsec; stat 637 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_UID) stat 638 fs/9p/vfs_inode_dotl.c inode->i_uid = stat->st_uid; stat 639 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_GID) stat 640 fs/9p/vfs_inode_dotl.c inode->i_gid = stat->st_gid; stat 641 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_NLINK) stat 642 fs/9p/vfs_inode_dotl.c set_nlink(inode, stat->st_nlink); stat 643 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_MODE) { stat 644 fs/9p/vfs_inode_dotl.c inode->i_mode = stat->st_mode; stat 650 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_RDEV) stat 651 fs/9p/vfs_inode_dotl.c inode->i_rdev = new_decode_dev(stat->st_rdev); stat 653 fs/9p/vfs_inode_dotl.c stat->st_result_mask & P9_STATS_SIZE) stat 654 fs/9p/vfs_inode_dotl.c v9fs_i_size_write(inode, stat->st_size); stat 655 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_BLOCKS) stat 656 fs/9p/vfs_inode_dotl.c inode->i_blocks = stat->st_blocks; stat 658 fs/9p/vfs_inode_dotl.c if (stat->st_result_mask & P9_STATS_GEN) stat 659 fs/9p/vfs_inode_dotl.c inode->i_generation = stat->st_gen; stat 723 fs/afs/inode.c int afs_getattr(const struct path *path, struct kstat *stat, stat 734 fs/afs/inode.c generic_fillattr(inode, stat); stat 93 fs/bad_inode.c static int bad_inode_getattr(const struct path *path, struct kstat *stat, stat 9567 fs/btrfs/inode.c static int btrfs_getattr(const struct path *path, struct kstat *stat, stat 9575 fs/btrfs/inode.c stat->result_mask |= STATX_BTIME; stat 9576 fs/btrfs/inode.c stat->btime.tv_sec = BTRFS_I(inode)->i_otime.tv_sec; stat 9577 fs/btrfs/inode.c stat->btime.tv_nsec = BTRFS_I(inode)->i_otime.tv_nsec; stat 9579 fs/btrfs/inode.c stat->attributes |= STATX_ATTR_APPEND; stat 9581 fs/btrfs/inode.c stat->attributes |= STATX_ATTR_COMPRESSED; stat 9583 fs/btrfs/inode.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 9585 fs/btrfs/inode.c stat->attributes |= STATX_ATTR_NODUMP; stat 9587 fs/btrfs/inode.c stat->attributes_mask |= (STATX_ATTR_APPEND | stat 9592 fs/btrfs/inode.c generic_fillattr(inode, stat); stat 9593 fs/btrfs/inode.c stat->dev = BTRFS_I(inode)->root->anon_dev; stat 9598 fs/btrfs/inode.c stat->blocks = (ALIGN(inode_get_bytes(inode), blocksize) + stat 4547 fs/btrfs/ioctl.c memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); stat 180 fs/btrfs/scrub.c struct btrfs_scrub_progress stat; stat 851 fs/btrfs/scrub.c ++sctx->stat.super_errors; stat 885 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 886 fs/btrfs/scrub.c sctx->stat.read_errors++; stat 887 fs/btrfs/scrub.c sctx->stat.uncorrectable_errors++; stat 925 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 926 fs/btrfs/scrub.c sctx->stat.read_errors++; stat 927 fs/btrfs/scrub.c sctx->stat.uncorrectable_errors++; stat 937 fs/btrfs/scrub.c sctx->stat.read_errors++; stat 938 fs/btrfs/scrub.c sctx->stat.uncorrectable_errors++; stat 960 fs/btrfs/scrub.c sctx->stat.unverified_errors++; stat 971 fs/btrfs/scrub.c sctx->stat.read_errors++; stat 978 fs/btrfs/scrub.c sctx->stat.csum_errors++; stat 986 fs/btrfs/scrub.c sctx->stat.verify_errors++; stat 1178 fs/btrfs/scrub.c sctx->stat.corrected_errors++; stat 1188 fs/btrfs/scrub.c sctx->stat.uncorrectable_errors++; stat 1338 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 1974 fs/btrfs/scrub.c ++sctx->stat.super_errors; stat 2135 fs/btrfs/scrub.c sctx->stat.read_errors++; stat 2142 fs/btrfs/scrub.c sctx->stat.uncorrectable_errors++; stat 2217 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 2232 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 2251 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 2449 fs/btrfs/scrub.c ++sctx->stat.csum_discards; stat 2485 fs/btrfs/scrub.c sctx->stat.data_extents_scrubbed++; stat 2486 fs/btrfs/scrub.c sctx->stat.data_bytes_scrubbed += len; stat 2494 fs/btrfs/scrub.c sctx->stat.tree_extents_scrubbed++; stat 2495 fs/btrfs/scrub.c sctx->stat.tree_bytes_scrubbed += len; stat 2510 fs/btrfs/scrub.c ++sctx->stat.no_csum; stat 2537 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 2558 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 2709 fs/btrfs/scrub.c sctx->stat.read_errors += nbits; stat 2710 fs/btrfs/scrub.c sctx->stat.uncorrectable_errors += nbits; stat 2794 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 2853 fs/btrfs/scrub.c sctx->stat.malloc_errors++; stat 2946 fs/btrfs/scrub.c sctx->stat.uncorrectable_errors++; stat 3297 fs/btrfs/scrub.c sctx->stat.uncorrectable_errors++; stat 3395 fs/btrfs/scrub.c sctx->stat.last_physical = map->stripes[num].physical + stat 3398 fs/btrfs/scrub.c sctx->stat.last_physical = physical; stat 3696 fs/btrfs/scrub.c if (sctx->stat.malloc_errors > 0) { stat 3938 fs/btrfs/scrub.c memcpy(progress, &sctx->stat, sizeof(*progress)); stat 4046 fs/btrfs/scrub.c memcpy(progress, &sctx->stat, sizeof(*progress)); stat 3715 fs/btrfs/volumes.c memset(&bctl->stat, 0, sizeof(bctl->stat)); stat 3774 fs/btrfs/volumes.c bctl->stat.considered++; stat 3789 fs/btrfs/volumes.c bctl->stat.expected++; stat 3846 fs/btrfs/volumes.c bctl->stat.completed++; stat 396 fs/btrfs/volumes.h struct btrfs_balance_progress stat; stat 2329 fs/ceph/inode.c int ceph_getattr(const struct path *path, struct kstat *stat, stat 2345 fs/ceph/inode.c generic_fillattr(inode, stat); stat 2346 fs/ceph/inode.c stat->ino = ceph_translate_ino(inode->i_sb, inode->i_ino); stat 2353 fs/ceph/inode.c stat->btime = ci->i_btime; stat 2358 fs/ceph/inode.c stat->dev = inode->i_sb->s_dev; stat 2360 fs/ceph/inode.c stat->dev = ci->i_snapid_map ? ci->i_snapid_map->dev : 0; stat 2365 fs/ceph/inode.c stat->size = ci->i_rbytes; stat 2367 fs/ceph/inode.c stat->size = ci->i_files + ci->i_subdirs; stat 2368 fs/ceph/inode.c stat->blocks = 0; stat 2369 fs/ceph/inode.c stat->blksize = 65536; stat 2375 fs/ceph/inode.c if (stat->nlink == 1) stat 2377 fs/ceph/inode.c stat->nlink = 1 + 1 + ci->i_subdirs; stat 2380 fs/ceph/inode.c stat->result_mask = request_mask & valid_mask; stat 935 fs/ceph/super.h extern int ceph_getattr(const struct path *path, struct kstat *stat, stat 2076 fs/cifs/inode.c int cifs_getattr(const struct path *path, struct kstat *stat, stat 2102 fs/cifs/inode.c generic_fillattr(inode, stat); stat 2103 fs/cifs/inode.c stat->blksize = cifs_sb->bsize; stat 2104 fs/cifs/inode.c stat->ino = CIFS_I(inode)->uniqueid; stat 2108 fs/cifs/inode.c stat->result_mask |= STATX_BTIME; stat 2109 fs/cifs/inode.c stat->btime = stat 2113 fs/cifs/inode.c stat->attributes_mask |= (STATX_ATTR_COMPRESSED | STATX_ATTR_ENCRYPTED); stat 2115 fs/cifs/inode.c stat->attributes |= STATX_ATTR_COMPRESSED; stat 2117 fs/cifs/inode.c stat->attributes |= STATX_ATTR_ENCRYPTED; stat 2128 fs/cifs/inode.c stat->uid = current_fsuid(); stat 2130 fs/cifs/inode.c stat->gid = current_fsgid(); stat 254 fs/coda/inode.c int coda_getattr(const struct path *path, struct kstat *stat, stat 259 fs/coda/inode.c generic_fillattr(d_inode(path->dentry), stat); stat 561 fs/coda/upcall.c sfs->f_blocks = outp->coda_statfs.stat.f_blocks; stat 562 fs/coda/upcall.c sfs->f_bfree = outp->coda_statfs.stat.f_bfree; stat 563 fs/coda/upcall.c sfs->f_bavail = outp->coda_statfs.stat.f_bavail; stat 564 fs/coda/upcall.c sfs->f_files = outp->coda_statfs.stat.f_files; stat 565 fs/coda/upcall.c sfs->f_ffree = outp->coda_statfs.stat.f_ffree; stat 969 fs/ecryptfs/inode.c static int ecryptfs_getattr_link(const struct path *path, struct kstat *stat, stat 978 fs/ecryptfs/inode.c generic_fillattr(d_inode(dentry), stat); stat 986 fs/ecryptfs/inode.c stat->size = targetsiz; stat 994 fs/ecryptfs/inode.c static int ecryptfs_getattr(const struct path *path, struct kstat *stat, stat 1006 fs/ecryptfs/inode.c generic_fillattr(d_inode(dentry), stat); stat 1007 fs/ecryptfs/inode.c stat->blocks = lower_stat.blocks; stat 296 fs/erofs/inode.c int erofs_getattr(const struct path *path, struct kstat *stat, stat 302 fs/erofs/inode.c stat->attributes |= STATX_ATTR_COMPRESSED; stat 304 fs/erofs/inode.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 305 fs/erofs/inode.c stat->attributes_mask |= (STATX_ATTR_COMPRESSED | stat 308 fs/erofs/inode.c generic_fillattr(inode, stat); stat 372 fs/erofs/internal.h int erofs_getattr(const struct path *path, struct kstat *stat, stat 283 fs/exportfs/expfs.c struct kstat stat; stat 305 fs/exportfs/expfs.c error = vfs_getattr_nosec(&child_path, &stat, stat 309 fs/exportfs/expfs.c buffer.ino = stat.ino; stat 1644 fs/ext2/inode.c int ext2_getattr(const struct path *path, struct kstat *stat, stat 1653 fs/ext2/inode.c stat->attributes |= STATX_ATTR_APPEND; stat 1655 fs/ext2/inode.c stat->attributes |= STATX_ATTR_COMPRESSED; stat 1657 fs/ext2/inode.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 1659 fs/ext2/inode.c stat->attributes |= STATX_ATTR_NODUMP; stat 1660 fs/ext2/inode.c stat->attributes_mask |= (STATX_ATTR_APPEND | stat 1666 fs/ext2/inode.c generic_fillattr(inode, stat); stat 5732 fs/ext4/inode.c int ext4_getattr(const struct path *path, struct kstat *stat, stat 5741 fs/ext4/inode.c stat->result_mask |= STATX_BTIME; stat 5742 fs/ext4/inode.c stat->btime.tv_sec = ei->i_crtime.tv_sec; stat 5743 fs/ext4/inode.c stat->btime.tv_nsec = ei->i_crtime.tv_nsec; stat 5748 fs/ext4/inode.c stat->attributes |= STATX_ATTR_APPEND; stat 5750 fs/ext4/inode.c stat->attributes |= STATX_ATTR_COMPRESSED; stat 5752 fs/ext4/inode.c stat->attributes |= STATX_ATTR_ENCRYPTED; stat 5754 fs/ext4/inode.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 5756 fs/ext4/inode.c stat->attributes |= STATX_ATTR_NODUMP; stat 5758 fs/ext4/inode.c stat->attributes_mask |= (STATX_ATTR_APPEND | stat 5764 fs/ext4/inode.c generic_fillattr(inode, stat); stat 5768 fs/ext4/inode.c int ext4_file_getattr(const struct path *path, struct kstat *stat, stat 5774 fs/ext4/inode.c ext4_getattr(path, stat, request_mask, query_flags); stat 5783 fs/ext4/inode.c stat->blocks += (stat->size + 511) >> 9; stat 5797 fs/ext4/inode.c stat->blocks += delalloc_blocks << (inode->i_sb->s_blocksize_bits - 9); stat 463 fs/f2fs/debug.c DEFINE_SHOW_ATTRIBUTE(stat); stat 2929 fs/f2fs/f2fs.h int f2fs_getattr(const struct path *path, struct kstat *stat, stat 705 fs/f2fs/file.c int f2fs_getattr(const struct path *path, struct kstat *stat, stat 716 fs/f2fs/file.c stat->result_mask |= STATX_BTIME; stat 717 fs/f2fs/file.c stat->btime.tv_sec = fi->i_crtime.tv_sec; stat 718 fs/f2fs/file.c stat->btime.tv_nsec = fi->i_crtime.tv_nsec; stat 723 fs/f2fs/file.c stat->attributes |= STATX_ATTR_APPEND; stat 725 fs/f2fs/file.c stat->attributes |= STATX_ATTR_ENCRYPTED; stat 727 fs/f2fs/file.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 729 fs/f2fs/file.c stat->attributes |= STATX_ATTR_NODUMP; stat 731 fs/f2fs/file.c stat->attributes_mask |= (STATX_ATTR_APPEND | stat 736 fs/f2fs/file.c generic_fillattr(inode, stat); stat 741 fs/f2fs/file.c stat->blocks += (stat->size + 511) >> 9; stat 402 fs/fat/fat.h extern int fat_getattr(const struct path *path, struct kstat *stat, stat 408 fs/fat/file.c int fat_getattr(const struct path *path, struct kstat *stat, stat 412 fs/fat/file.c generic_fillattr(inode, stat); stat 413 fs/fat/file.c stat->blksize = MSDOS_SB(inode->i_sb)->cluster_size; stat 417 fs/fat/file.c stat->ino = fat_i_pos_read(MSDOS_SB(inode->i_sb), inode); stat 281 fs/fscache/internal.h static inline void fscache_stat(atomic_t *stat) stat 283 fs/fscache/internal.h atomic_inc(stat); stat 286 fs/fscache/internal.h static inline void fscache_stat_d(atomic_t *stat) stat 288 fs/fscache/internal.h atomic_dec(stat); stat 291 fs/fscache/internal.h #define __fscache_stat(stat) (stat) stat 296 fs/fscache/internal.h #define __fscache_stat(stat) (NULL) stat 297 fs/fscache/internal.h #define fscache_stat(stat) do {} while (0) stat 298 fs/fscache/internal.h #define fscache_stat_d(stat) do {} while (0) stat 885 fs/fuse/dir.c struct kstat *stat) stat 899 fs/fuse/dir.c stat->dev = inode->i_sb->s_dev; stat 900 fs/fuse/dir.c stat->ino = attr->ino; stat 901 fs/fuse/dir.c stat->mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777); stat 902 fs/fuse/dir.c stat->nlink = attr->nlink; stat 903 fs/fuse/dir.c stat->uid = make_kuid(fc->user_ns, attr->uid); stat 904 fs/fuse/dir.c stat->gid = make_kgid(fc->user_ns, attr->gid); stat 905 fs/fuse/dir.c stat->rdev = inode->i_rdev; stat 906 fs/fuse/dir.c stat->atime.tv_sec = attr->atime; stat 907 fs/fuse/dir.c stat->atime.tv_nsec = attr->atimensec; stat 908 fs/fuse/dir.c stat->mtime.tv_sec = attr->mtime; stat 909 fs/fuse/dir.c stat->mtime.tv_nsec = attr->mtimensec; stat 910 fs/fuse/dir.c stat->ctime.tv_sec = attr->ctime; stat 911 fs/fuse/dir.c stat->ctime.tv_nsec = attr->ctimensec; stat 912 fs/fuse/dir.c stat->size = attr->size; stat 913 fs/fuse/dir.c stat->blocks = attr->blocks; stat 920 fs/fuse/dir.c stat->blksize = 1 << blkbits; stat 923 fs/fuse/dir.c static int fuse_do_getattr(struct inode *inode, struct kstat *stat, stat 962 fs/fuse/dir.c if (stat) stat 963 fs/fuse/dir.c fuse_fillattr(inode, &outarg.attr, stat); stat 970 fs/fuse/dir.c struct kstat *stat, u32 request_mask, stat 988 fs/fuse/dir.c err = fuse_do_getattr(inode, stat, file); stat 989 fs/fuse/dir.c } else if (stat) { stat 990 fs/fuse/dir.c generic_fillattr(inode, stat); stat 991 fs/fuse/dir.c stat->mode = fi->orig_i_mode; stat 992 fs/fuse/dir.c stat->ino = fi->orig_ino; stat 1686 fs/fuse/dir.c static int fuse_getattr(const struct path *path, struct kstat *stat, stat 1695 fs/fuse/dir.c return fuse_update_get_attr(inode, NULL, stat, request_mask, flags); stat 1993 fs/gfs2/inode.c static int gfs2_getattr(const struct path *path, struct kstat *stat, stat 2011 fs/gfs2/inode.c stat->attributes |= STATX_ATTR_APPEND; stat 2013 fs/gfs2/inode.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 2015 fs/gfs2/inode.c stat->attributes_mask |= (STATX_ATTR_APPEND | stat 2021 fs/gfs2/inode.c generic_fillattr(inode, stat); stat 491 fs/hfsplus/hfsplus_fs.h int hfsplus_getattr(const struct path *path, struct kstat *stat, stat 273 fs/hfsplus/inode.c int hfsplus_getattr(const struct path *path, struct kstat *stat, stat 280 fs/hfsplus/inode.c stat->attributes |= STATX_ATTR_APPEND; stat 282 fs/hfsplus/inode.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 284 fs/hfsplus/inode.c stat->attributes |= STATX_ATTR_NODUMP; stat 286 fs/hfsplus/inode.c stat->attributes_mask |= STATX_ATTR_APPEND | STATX_ATTR_IMMUTABLE | stat 289 fs/hfsplus/inode.c generic_fillattr(inode, stat); stat 184 fs/kernfs/inode.c int kernfs_iop_getattr(const struct path *path, struct kstat *stat, stat 194 fs/kernfs/inode.c generic_fillattr(inode, stat); stat 92 fs/kernfs/kernfs-internal.h int kernfs_iop_getattr(const struct path *path, struct kstat *stat, stat 27 fs/libfs.c int simple_getattr(const struct path *path, struct kstat *stat, stat 31 fs/libfs.c generic_fillattr(inode, stat); stat 32 fs/libfs.c stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); stat 1229 fs/libfs.c static int empty_dir_getattr(const struct path *path, struct kstat *stat, stat 1233 fs/libfs.c generic_fillattr(inode, stat); stat 202 fs/lockd/clnt4xdr.c const __be32 stat) stat 206 fs/lockd/clnt4xdr.c BUG_ON(be32_to_cpu(stat) > NLM_FAILED); stat 208 fs/lockd/clnt4xdr.c *p = stat; stat 211 fs/lockd/clnt4xdr.c static int decode_nlm4_stat(struct xdr_stream *xdr, __be32 *stat) stat 220 fs/lockd/clnt4xdr.c *stat = *p; stat 30 fs/lockd/clntproc.c static int nlm_stat_to_errno(__be32 stat); stat 196 fs/lockd/clntxdr.c const __be32 stat) stat 200 fs/lockd/clntxdr.c WARN_ON_ONCE(be32_to_cpu(stat) > NLM_LCK_DENIED_GRACE_PERIOD); stat 202 fs/lockd/clntxdr.c *p = stat; stat 206 fs/lockd/clntxdr.c __be32 *stat) stat 215 fs/lockd/clntxdr.c *stat = *p; stat 294 fs/lockd/svc4proc.c __be32 stat; stat 307 fs/lockd/svc4proc.c stat = func(rqstp, &call->a_res); stat 308 fs/lockd/svc4proc.c if (stat != 0) { stat 310 fs/lockd/svc4proc.c return stat; stat 335 fs/lockd/svcproc.c __be32 stat; stat 348 fs/lockd/svcproc.c stat = func(rqstp, &call->a_res); stat 349 fs/lockd/svcproc.c if (stat != 0) { stat 351 fs/lockd/svcproc.c return stat; stat 622 fs/minix/inode.c int minix_getattr(const struct path *path, struct kstat *stat, stat 628 fs/minix/inode.c generic_fillattr(inode, stat); stat 630 fs/minix/inode.c stat->blocks = (BLOCK_SIZE / 512) * V1_minix_blocks(stat->size, sb); stat 632 fs/minix/inode.c stat->blocks = (sb->s_blocksize / 512) * V2_minix_blocks(stat->size, sb); stat 633 fs/minix/inode.c stat->blksize = sb->s_blocksize; stat 322 fs/nfs/callback_proc.c int stat; stat 325 fs/nfs/callback_proc.c stat = pnfs_destroy_layouts_byfsid(clp, &args->cbl_fsid, true); stat 327 fs/nfs/callback_proc.c stat = pnfs_destroy_layouts_byclid(clp, true); stat 328 fs/nfs/callback_proc.c if (stat != 0) stat 2341 fs/nfs/flexfilelayout/flexfilelayout.c struct nfs4_ff_io_stat *stat) stat 2346 fs/nfs/flexfilelayout/flexfilelayout.c p = xdr_encode_hyper(p, stat->ops_requested); stat 2347 fs/nfs/flexfilelayout/flexfilelayout.c p = xdr_encode_hyper(p, stat->bytes_requested); stat 2348 fs/nfs/flexfilelayout/flexfilelayout.c p = xdr_encode_hyper(p, stat->ops_completed); stat 2349 fs/nfs/flexfilelayout/flexfilelayout.c p = xdr_encode_hyper(p, stat->bytes_completed); stat 2350 fs/nfs/flexfilelayout/flexfilelayout.c p = xdr_encode_hyper(p, stat->bytes_not_delivered); stat 2351 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_nfstime(xdr, stat->total_busy_time); stat 2352 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_nfstime(xdr, stat->aggregate_completion_time); stat 778 fs/nfs/inode.c int nfs_getattr(const struct path *path, struct kstat *stat, stat 842 fs/nfs/inode.c stat->result_mask &= request_mask; stat 844 fs/nfs/inode.c generic_fillattr(inode, stat); stat 845 fs/nfs/inode.c stat->ino = nfs_compat_user_ino64(NFS_FILEID(inode)); stat 847 fs/nfs/inode.c stat->blksize = NFS_SERVER(inode)->dtsize; stat 27 fs/nfs/iostat.h enum nfs_stat_eventcounters stat) stat 29 fs/nfs/iostat.h this_cpu_inc(server->io_stats->events[stat]); stat 33 fs/nfs/iostat.h enum nfs_stat_eventcounters stat) stat 35 fs/nfs/iostat.h nfs_inc_server_stats(NFS_SERVER(inode), stat); stat 39 fs/nfs/iostat.h enum nfs_stat_bytecounters stat, stat 42 fs/nfs/iostat.h this_cpu_add(server->io_stats->bytes[stat], addend); stat 46 fs/nfs/iostat.h enum nfs_stat_bytecounters stat, stat 49 fs/nfs/iostat.h nfs_add_server_stats(NFS_SERVER(inode), stat, addend); stat 54 fs/nfs/iostat.h enum nfs_stat_fscachecounters stat, stat 57 fs/nfs/iostat.h this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); stat 60 fs/nfs/iostat.h enum nfs_stat_fscachecounters stat) stat 62 fs/nfs/iostat.h this_cpu_inc(NFS_SERVER(inode)->io_stats->fscache[stat]); stat 171 fs/nfs/namespace.c nfs_namespace_getattr(const struct path *path, struct kstat *stat, stat 175 fs/nfs/namespace.c return nfs_getattr(path, stat, request_mask, query_flags); stat 176 fs/nfs/namespace.c generic_fillattr(d_inode(path->dentry), stat); stat 1068 fs/nfs/nfs2xdr.c int stat; stat 1118 fs/nfs/nfs2xdr.c for (i = 0; nfs_errtbl[i].stat != -1; i++) { stat 1119 fs/nfs/nfs2xdr.c if (nfs_errtbl[i].stat == (int)status) stat 1145 fs/nfs/nfs2xdr.c PROC(REMOVE, removeargs, stat, 0), stat 1146 fs/nfs/nfs2xdr.c PROC(RENAME, renameargs, stat, 0), stat 1147 fs/nfs/nfs2xdr.c PROC(LINK, linkargs, stat, 0), stat 1148 fs/nfs/nfs2xdr.c PROC(SYMLINK, symlinkargs, stat, 0), stat 1150 fs/nfs/nfs2xdr.c PROC(RMDIR, diropargs, stat, 0), stat 745 fs/nfs/nfs3proc.c struct nfs_fsstat *stat) stat 750 fs/nfs/nfs3proc.c .rpc_resp = stat, stat 755 fs/nfs/nfs3proc.c nfs_fattr_init(stat->fattr); stat 2456 fs/nfs/nfs3xdr.c int stat; stat 2506 fs/nfs/nfs3xdr.c for (i = 0; nfs_errtbl[i].stat != -1; i++) { stat 2507 fs/nfs/nfs3xdr.c if (nfs_errtbl[i].stat == (int)status) stat 7430 fs/nfs/nfs4xdr.c int stat; stat 7470 fs/nfs/nfs4xdr.c nfs4_stat_to_errno(int stat) stat 7473 fs/nfs/nfs4xdr.c for (i = 0; nfs_errtbl[i].stat != -1; i++) { stat 7474 fs/nfs/nfs4xdr.c if (nfs_errtbl[i].stat == stat) stat 7477 fs/nfs/nfs4xdr.c if (stat <= 10000 || stat > 10100) { stat 7486 fs/nfs/nfs4xdr.c return -stat; stat 521 fs/nfs/proc.c struct nfs_fsstat *stat) stat 532 fs/nfs/proc.c nfs_fattr_init(stat->fattr); stat 537 fs/nfs/proc.c stat->tbytes = (u64)fsinfo.blocks * fsinfo.bsize; stat 538 fs/nfs/proc.c stat->fbytes = (u64)fsinfo.bfree * fsinfo.bsize; stat 539 fs/nfs/proc.c stat->abytes = (u64)fsinfo.bavail * fsinfo.bsize; stat 540 fs/nfs/proc.c stat->tfiles = 0; stat 541 fs/nfs/proc.c stat->ffiles = 0; stat 542 fs/nfs/proc.c stat->afiles = 0; stat 53 fs/nfsd/nfs2acl.c nfserr = fh_getattr(fh, &resp->stat); stat 127 fs/nfsd/nfs2acl.c nfserr = fh_getattr(fh, &resp->stat); stat 157 fs/nfsd/nfs2acl.c nfserr = fh_getattr(&resp->fh, &resp->stat); stat 179 fs/nfsd/nfs2acl.c nfserr = fh_getattr(&resp->fh, &resp->stat); stat 280 fs/nfsd/nfs2acl.c p = nfs2svc_encode_fattr(rqstp, p, &resp->fh, &resp->stat); stat 310 fs/nfsd/nfs2acl.c p = nfs2svc_encode_fattr(rqstp, p, &resp->fh, &resp->stat); stat 319 fs/nfsd/nfs2acl.c p = nfs2svc_encode_fattr(rqstp, p, &resp->fh, &resp->stat); stat 59 fs/nfsd/nfs3proc.c nfserr = fh_getattr(&resp->fh, &resp->stat); stat 167 fs/nfsd/nfs3xdr.c struct kstat *stat) stat 171 fs/nfsd/nfs3xdr.c *p++ = htonl(nfs3_ftypes[(stat->mode & S_IFMT) >> 12]); stat 172 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) (stat->mode & S_IALLUGO)); stat 173 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) stat->nlink); stat 174 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) from_kuid_munged(userns, stat->uid)); stat 175 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) from_kgid_munged(userns, stat->gid)); stat 176 fs/nfsd/nfs3xdr.c if (S_ISLNK(stat->mode) && stat->size > NFS3_MAXPATHLEN) { stat 179 fs/nfsd/nfs3xdr.c p = xdr_encode_hyper(p, (u64) stat->size); stat 181 fs/nfsd/nfs3xdr.c p = xdr_encode_hyper(p, ((u64)stat->blocks) << 9); stat 182 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) MAJOR(stat->rdev)); stat 183 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) MINOR(stat->rdev)); stat 185 fs/nfsd/nfs3xdr.c p = xdr_encode_hyper(p, stat->ino); stat 186 fs/nfsd/nfs3xdr.c ts = timespec64_to_timespec(stat->atime); stat 188 fs/nfsd/nfs3xdr.c ts = timespec64_to_timespec(stat->mtime); stat 190 fs/nfsd/nfs3xdr.c ts = timespec64_to_timespec(stat->ctime); stat 215 fs/nfsd/nfs3xdr.c struct kstat stat; stat 217 fs/nfsd/nfs3xdr.c err = fh_getattr(fhp, &stat); stat 220 fs/nfsd/nfs3xdr.c lease_get_mtime(d_inode(dentry), &stat.mtime); stat 221 fs/nfsd/nfs3xdr.c return encode_fattr3(rqstp, p, fhp, &stat); stat 265 fs/nfsd/nfs3xdr.c struct kstat stat; stat 272 fs/nfsd/nfs3xdr.c err = fh_getattr(fhp, &stat); stat 275 fs/nfsd/nfs3xdr.c stat.mtime = inode->i_mtime; stat 276 fs/nfsd/nfs3xdr.c stat.ctime = inode->i_ctime; stat 277 fs/nfsd/nfs3xdr.c stat.size = inode->i_size; stat 280 fs/nfsd/nfs3xdr.c fhp->fh_pre_mtime = timespec64_to_timespec(stat.mtime); stat 281 fs/nfsd/nfs3xdr.c fhp->fh_pre_ctime = timespec64_to_timespec(stat.ctime); stat 282 fs/nfsd/nfs3xdr.c fhp->fh_pre_size = stat.size; stat 283 fs/nfsd/nfs3xdr.c fhp->fh_pre_change = nfsd4_change_attribute(&stat, inode); stat 660 fs/nfsd/nfs3xdr.c &resp->stat.mtime); stat 661 fs/nfsd/nfs3xdr.c p = encode_fattr3(rqstp, p, &resp->fh, &resp->stat); stat 162 fs/nfsd/nfs4callback.c int stat; stat 209 fs/nfsd/nfs4callback.c for (i = 0; nfs_cb_errtbl[i].stat != -1; i++) { stat 210 fs/nfsd/nfs4callback.c if (nfs_cb_errtbl[i].stat == status) stat 1999 fs/nfsd/nfs4xdr.c static __be32 *encode_change(__be32 *p, struct kstat *stat, struct inode *inode, stat 2006 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, nfsd4_change_attribute(stat, inode)); stat 2008 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat->ctime.tv_sec); stat 2009 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat->ctime.tv_nsec); stat 2349 fs/nfsd/nfs4xdr.c static int get_parent_attributes(struct svc_export *exp, struct kstat *stat) stat 2359 fs/nfsd/nfs4xdr.c err = vfs_getattr(&path, stat, STATX_BASIC_STATS, AT_STATX_SYNC_AS_STAT); stat 2410 fs/nfsd/nfs4xdr.c struct kstat stat; stat 2445 fs/nfsd/nfs4xdr.c err = vfs_getattr(&path, &stat, STATX_BASIC_STATS, AT_STATX_SYNC_AS_STAT); stat 2536 fs/nfsd/nfs4xdr.c dummy = nfs4_file_type(stat.mode); stat 2557 fs/nfsd/nfs4xdr.c p = encode_change(p, &stat, d_inode(dentry), exp); stat 2563 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, stat.size); stat 2597 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(MAJOR(stat.dev)); stat 2599 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(MINOR(stat.dev)); stat 2697 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, stat.ino); stat 2762 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.mode & S_IALLUGO); stat 2774 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.nlink); stat 2777 fs/nfsd/nfs4xdr.c status = nfsd4_encode_user(xdr, rqstp, stat.uid); stat 2782 fs/nfsd/nfs4xdr.c status = nfsd4_encode_group(xdr, rqstp, stat.gid); stat 2790 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32((u32) MAJOR(stat.rdev)); stat 2791 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32((u32) MINOR(stat.rdev)); stat 2818 fs/nfsd/nfs4xdr.c dummy64 = (u64)stat.blocks << 9; stat 2825 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, (s64)stat.atime.tv_sec); stat 2826 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.atime.tv_nsec); stat 2838 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, (s64)stat.ctime.tv_sec); stat 2839 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.ctime.tv_nsec); stat 2845 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, (s64)stat.mtime.tv_sec); stat 2846 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.mtime.tv_nsec); stat 2850 fs/nfsd/nfs4xdr.c u64 ino = stat.ino; stat 2885 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(stat.blksize); stat 256 fs/nfsd/nfsfh.h static inline u64 nfsd4_change_attribute(struct kstat *stat, stat 261 fs/nfsd/nfsfh.h chattr = stat->ctime.tv_sec; stat 263 fs/nfsd/nfsfh.h chattr += stat->ctime.tv_nsec; stat 30 fs/nfsd/nfsproc.c return fh_getattr(&resp->fh, &resp->stat); stat 36 fs/nfsd/nfsproc.c return fh_getattr(&resp->fh, &resp->stat); stat 203 fs/nfsd/nfsproc.c return fh_getattr(&resp->fh, &resp->stat); stat 130 fs/nfsd/nfsxdr.c struct kstat *stat) stat 138 fs/nfsd/nfsxdr.c type = (stat->mode & S_IFMT); stat 141 fs/nfsd/nfsxdr.c *p++ = htonl((u32) stat->mode); stat 142 fs/nfsd/nfsxdr.c *p++ = htonl((u32) stat->nlink); stat 143 fs/nfsd/nfsxdr.c *p++ = htonl((u32) from_kuid_munged(userns, stat->uid)); stat 144 fs/nfsd/nfsxdr.c *p++ = htonl((u32) from_kgid_munged(userns, stat->gid)); stat 146 fs/nfsd/nfsxdr.c if (S_ISLNK(type) && stat->size > NFS_MAXPATHLEN) { stat 149 fs/nfsd/nfsxdr.c *p++ = htonl((u32) stat->size); stat 151 fs/nfsd/nfsxdr.c *p++ = htonl((u32) stat->blksize); stat 153 fs/nfsd/nfsxdr.c *p++ = htonl(new_encode_dev(stat->rdev)); stat 156 fs/nfsd/nfsxdr.c *p++ = htonl((u32) stat->blocks); stat 160 fs/nfsd/nfsxdr.c *p++ = htonl(new_encode_dev(stat->dev)); stat 173 fs/nfsd/nfsxdr.c *p++ = htonl((u32) stat->ino); stat 174 fs/nfsd/nfsxdr.c *p++ = htonl((u32) stat->atime.tv_sec); stat 175 fs/nfsd/nfsxdr.c *p++ = htonl(stat->atime.tv_nsec ? stat->atime.tv_nsec / 1000 : 0); stat 176 fs/nfsd/nfsxdr.c time = stat->mtime; stat 180 fs/nfsd/nfsxdr.c *p++ = htonl((u32) stat->ctime.tv_sec); stat 181 fs/nfsd/nfsxdr.c *p++ = htonl(stat->ctime.tv_nsec ? stat->ctime.tv_nsec / 1000 : 0); stat 187 fs/nfsd/nfsxdr.c __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat) stat 189 fs/nfsd/nfsxdr.c return encode_fattr(rqstp, p, fhp, stat); stat 437 fs/nfsd/nfsxdr.c p = encode_fattr(rqstp, p, &resp->fh, &resp->stat); stat 447 fs/nfsd/nfsxdr.c p = encode_fattr(rqstp, p, &resp->fh, &resp->stat); stat 473 fs/nfsd/nfsxdr.c p = encode_fattr(rqstp, p, &resp->fh, &resp->stat); stat 506 fs/nfsd/nfsxdr.c struct kstatfs *stat = &resp->stats; stat 509 fs/nfsd/nfsxdr.c *p++ = htonl(stat->f_bsize); stat 510 fs/nfsd/nfsxdr.c *p++ = htonl(stat->f_blocks); stat 511 fs/nfsd/nfsxdr.c *p++ = htonl(stat->f_bfree); stat 512 fs/nfsd/nfsxdr.c *p++ = htonl(stat->f_bavail); stat 1989 fs/nfsd/vfs.c nfsd_statfs(struct svc_rqst *rqstp, struct svc_fh *fhp, struct kstatfs *stat, int access) stat 1999 fs/nfsd/vfs.c if (vfs_statfs(&path, stat)) stat 141 fs/nfsd/vfs.h static inline __be32 fh_getattr(struct svc_fh *fh, struct kstat *stat) stat 145 fs/nfsd/vfs.h return nfserrno(vfs_getattr(&p, stat, STATX_BASIC_STATS, stat 87 fs/nfsd/xdr.h struct kstat stat; stat 92 fs/nfsd/xdr.h struct kstat stat; stat 102 fs/nfsd/xdr.h struct kstat stat; stat 162 fs/nfsd/xdr.h __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat); stat 127 fs/nfsd/xdr3.h struct kstat stat; stat 141 fs/nfsd/xdr3.h struct kstat stat; stat 234 fs/nfsd/xdr3.h struct kstat stat; stat 1301 fs/ocfs2/file.c int ocfs2_getattr(const struct path *path, struct kstat *stat, stat 1316 fs/ocfs2/file.c generic_fillattr(inode, stat); stat 1324 fs/ocfs2/file.c stat->blocks += (stat->size + 511)>>9; stat 1327 fs/ocfs2/file.c stat->blksize = osb->s_clustersize; stat 55 fs/ocfs2/file.h int ocfs2_getattr(const struct path *path, struct kstat *stat, stat 940 fs/orangefs/inode.c int orangefs_getattr(const struct path *path, struct kstat *stat, stat 953 fs/orangefs/inode.c generic_fillattr(inode, stat); stat 957 fs/orangefs/inode.c stat->result_mask &= ~STATX_SIZE; stat 959 fs/orangefs/inode.c stat->attributes_mask = STATX_ATTR_IMMUTABLE | stat 962 fs/orangefs/inode.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 964 fs/orangefs/inode.c stat->attributes |= STATX_ATTR_APPEND; stat 368 fs/orangefs/orangefs-kernel.h int orangefs_getattr(const struct path *path, struct kstat *stat, stat 180 fs/overlayfs/copy_up.c static int ovl_set_size(struct dentry *upperdentry, struct kstat *stat) stat 184 fs/overlayfs/copy_up.c .ia_size = stat->size, stat 190 fs/overlayfs/copy_up.c static int ovl_set_timestamps(struct dentry *upperdentry, struct kstat *stat) stat 195 fs/overlayfs/copy_up.c .ia_atime = stat->atime, stat 196 fs/overlayfs/copy_up.c .ia_mtime = stat->mtime, stat 202 fs/overlayfs/copy_up.c int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat) stat 206 fs/overlayfs/copy_up.c if (!S_ISLNK(stat->mode)) { stat 209 fs/overlayfs/copy_up.c .ia_mode = stat->mode, stat 216 fs/overlayfs/copy_up.c .ia_uid = stat->uid, stat 217 fs/overlayfs/copy_up.c .ia_gid = stat->gid, stat 222 fs/overlayfs/copy_up.c ovl_set_timestamps(upperdentry, stat); stat 389 fs/overlayfs/copy_up.c struct kstat stat; stat 447 fs/overlayfs/copy_up.c if (S_ISREG(c->stat.mode) && !c->metacopy) { stat 456 fs/overlayfs/copy_up.c err = ovl_copy_up_data(&datapath, &upperpath, c->stat.size); stat 487 fs/overlayfs/copy_up.c err = ovl_set_size(temp, &c->stat); stat 489 fs/overlayfs/copy_up.c err = ovl_set_attr(temp, &c->stat); stat 536 fs/overlayfs/copy_up.c .mode = c->stat.mode & S_IFMT, stat 537 fs/overlayfs/copy_up.c .rdev = c->stat.rdev, stat 560 fs/overlayfs/copy_up.c if (S_ISDIR(c->stat.mode) && c->indexed) { stat 605 fs/overlayfs/copy_up.c temp = ovl_do_tmpfile(c->workdir, c->stat.mode); stat 662 fs/overlayfs/copy_up.c if (S_ISDIR(c->stat.mode)) stat 668 fs/overlayfs/copy_up.c if (S_ISDIR(c->stat.mode) || c->stat.nlink == 1 || to_index) stat 690 fs/overlayfs/copy_up.c if (S_ISREG(c->stat.mode) && ofs->tmpfile) stat 753 fs/overlayfs/copy_up.c if (c->stat.size) { stat 760 fs/overlayfs/copy_up.c err = ovl_copy_up_data(&datapath, &upperpath, c->stat.size); stat 803 fs/overlayfs/copy_up.c err = vfs_getattr(&ctx.lowerpath, &ctx.stat, stat 808 fs/overlayfs/copy_up.c ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags); stat 824 fs/overlayfs/copy_up.c ctx.stat.size = 0; stat 826 fs/overlayfs/copy_up.c if (S_ISLNK(ctx.stat.mode)) { stat 340 fs/overlayfs/dir.c struct kstat stat; stat 351 fs/overlayfs/dir.c err = vfs_getattr(&upperpath, &stat, stat 357 fs/overlayfs/dir.c if (!S_ISDIR(stat.mode)) stat 363 fs/overlayfs/dir.c opaquedir = ovl_create_temp(workdir, OVL_CATTR(stat.mode)); stat 377 fs/overlayfs/dir.c err = ovl_set_attr(opaquedir, &stat); stat 78 fs/overlayfs/inode.c static int ovl_map_dev_ino(struct dentry *dentry, struct kstat *stat, stat 90 fs/overlayfs/inode.c stat->dev = dentry->d_sb->s_dev; stat 102 fs/overlayfs/inode.c if (stat->ino >> shift) { stat 104 fs/overlayfs/inode.c dentry, stat->ino, xinobits); stat 107 fs/overlayfs/inode.c stat->ino |= ((u64)lower_layer->fsid) << shift; stat 109 fs/overlayfs/inode.c stat->dev = dentry->d_sb->s_dev; stat 125 fs/overlayfs/inode.c stat->dev = dentry->d_sb->s_dev; stat 126 fs/overlayfs/inode.c stat->ino = dentry->d_inode->i_ino; stat 135 fs/overlayfs/inode.c stat->dev = lower_layer->fs->pseudo_dev; stat 141 fs/overlayfs/inode.c int ovl_getattr(const struct path *path, struct kstat *stat, stat 158 fs/overlayfs/inode.c err = vfs_getattr(&realpath, stat, request_mask, flags); stat 210 fs/overlayfs/inode.c stat->ino = lowerstat.ino; stat 222 fs/overlayfs/inode.c stat->blocks = lowerstat.blocks; stat 240 fs/overlayfs/inode.c stat->blocks = lowerdatastat.blocks; stat 244 fs/overlayfs/inode.c err = ovl_map_dev_ino(dentry, stat, lower_layer); stat 254 fs/overlayfs/inode.c stat->nlink = 1; stat 263 fs/overlayfs/inode.c stat->nlink = dentry->d_inode->i_nlink; stat 353 fs/overlayfs/overlayfs.h int ovl_getattr(const struct path *path, struct kstat *stat, stat 426 fs/overlayfs/overlayfs.h int ovl_set_attr(struct dentry *upper, struct kstat *stat); stat 499 fs/overlayfs/readdir.c struct kstat stat; stat 503 fs/overlayfs/readdir.c err = vfs_getattr(&statpath, &stat, STATX_INO, 0); stat 512 fs/overlayfs/readdir.c WARN_ON_ONCE(S_ISDIR(stat.mode) && stat 513 fs/overlayfs/readdir.c dir->d_sb->s_dev != stat.dev); stat 514 fs/overlayfs/readdir.c ino = stat.ino; stat 705 fs/overlayfs/readdir.c struct kstat stat; stat 709 fs/overlayfs/readdir.c err = vfs_getattr(&statpath, &stat, STATX_INO, 0); stat 713 fs/overlayfs/readdir.c WARN_ON_ONCE(dir->d_sb->s_dev != stat.dev); stat 714 fs/overlayfs/readdir.c rdt.parent_ino = stat.ino; stat 1783 fs/proc/base.c int pid_getattr(const struct path *path, struct kstat *stat, stat 1790 fs/proc/base.c generic_fillattr(inode, stat); stat 1792 fs/proc/base.c stat->uid = GLOBAL_ROOT_UID; stat 1793 fs/proc/base.c stat->gid = GLOBAL_ROOT_GID; stat 1805 fs/proc/base.c task_dump_owner(task, inode->i_mode, &stat->uid, &stat->gid); stat 3688 fs/proc/base.c static int proc_task_getattr(const struct path *path, struct kstat *stat, stat 3693 fs/proc/base.c generic_fillattr(inode, stat); stat 3696 fs/proc/base.c stat->nlink += get_nr_threads(p); stat 136 fs/proc/generic.c static int proc_getattr(const struct path *path, struct kstat *stat, stat 144 fs/proc/generic.c generic_fillattr(inode, stat); stat 289 fs/proc/proc_net.c static int proc_tgid_net_getattr(const struct path *path, struct kstat *stat, stat 297 fs/proc/proc_net.c generic_fillattr(inode, stat); stat 300 fs/proc/proc_net.c stat->nlink = net->proc_net->nlink; stat 852 fs/proc/proc_sysctl.c static int proc_sys_getattr(const struct path *path, struct kstat *stat, stat 862 fs/proc/proc_sysctl.c generic_fillattr(inode, stat); stat 864 fs/proc/proc_sysctl.c stat->mode = (stat->mode & S_IFMT) | table->mode; stat 238 fs/proc/root.c static int proc_root_getattr(const struct path *path, struct kstat *stat, stat 241 fs/proc/root.c generic_fillattr(d_inode(path->dentry), stat); stat 242 fs/proc/root.c stat->nlink = proc_root.nlink + nr_processes(); stat 2865 fs/quota/dquot.c unsigned int type = (unsigned long *)table->data - dqstats.stat; stat 2874 fs/quota/dquot.c dqstats.stat[type] = value; stat 2881 fs/quota/dquot.c .data = &dqstats.stat[DQST_LOOKUPS], stat 2888 fs/quota/dquot.c .data = &dqstats.stat[DQST_DROPS], stat 2895 fs/quota/dquot.c .data = &dqstats.stat[DQST_READS], stat 2902 fs/quota/dquot.c .data = &dqstats.stat[DQST_WRITES], stat 2909 fs/quota/dquot.c .data = &dqstats.stat[DQST_CACHE_HITS], stat 2916 fs/quota/dquot.c .data = &dqstats.stat[DQST_ALLOC_DQUOTS], stat 2923 fs/quota/dquot.c .data = &dqstats.stat[DQST_FREE_DQUOTS], stat 2930 fs/quota/dquot.c .data = &dqstats.stat[DQST_SYNCS], stat 33 fs/stat.c void generic_fillattr(struct inode *inode, struct kstat *stat) stat 35 fs/stat.c stat->dev = inode->i_sb->s_dev; stat 36 fs/stat.c stat->ino = inode->i_ino; stat 37 fs/stat.c stat->mode = inode->i_mode; stat 38 fs/stat.c stat->nlink = inode->i_nlink; stat 39 fs/stat.c stat->uid = inode->i_uid; stat 40 fs/stat.c stat->gid = inode->i_gid; stat 41 fs/stat.c stat->rdev = inode->i_rdev; stat 42 fs/stat.c stat->size = i_size_read(inode); stat 43 fs/stat.c stat->atime = inode->i_atime; stat 44 fs/stat.c stat->mtime = inode->i_mtime; stat 45 fs/stat.c stat->ctime = inode->i_ctime; stat 46 fs/stat.c stat->blksize = i_blocksize(inode); stat 47 fs/stat.c stat->blocks = inode->i_blocks; stat 64 fs/stat.c int vfs_getattr_nosec(const struct path *path, struct kstat *stat, stat 69 fs/stat.c memset(stat, 0, sizeof(*stat)); stat 70 fs/stat.c stat->result_mask |= STATX_BASIC_STATS; stat 76 fs/stat.c stat->result_mask &= ~STATX_ATIME; stat 78 fs/stat.c stat->attributes |= STATX_ATTR_AUTOMOUNT; stat 81 fs/stat.c return inode->i_op->getattr(path, stat, request_mask, stat 84 fs/stat.c generic_fillattr(inode, stat); stat 110 fs/stat.c int vfs_getattr(const struct path *path, struct kstat *stat, stat 118 fs/stat.c return vfs_getattr_nosec(path, stat, request_mask, query_flags); stat 134 fs/stat.c int vfs_statx_fd(unsigned int fd, struct kstat *stat, stat 145 fs/stat.c error = vfs_getattr(&f.file->f_path, stat, stat 169 fs/stat.c struct kstat *stat, u32 request_mask) stat 191 fs/stat.c error = vfs_getattr(&path, stat, request_mask, flags); stat 209 fs/stat.c static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) stat 224 fs/stat.c tmp.st_dev = old_encode_dev(stat->dev); stat 225 fs/stat.c tmp.st_ino = stat->ino; stat 226 fs/stat.c if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) stat 228 fs/stat.c tmp.st_mode = stat->mode; stat 229 fs/stat.c tmp.st_nlink = stat->nlink; stat 230 fs/stat.c if (tmp.st_nlink != stat->nlink) stat 232 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); stat 233 fs/stat.c SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); stat 234 fs/stat.c tmp.st_rdev = old_encode_dev(stat->rdev); stat 236 fs/stat.c if (stat->size > MAX_NON_LFS) stat 239 fs/stat.c tmp.st_size = stat->size; stat 240 fs/stat.c tmp.st_atime = stat->atime.tv_sec; stat 241 fs/stat.c tmp.st_mtime = stat->mtime.tv_sec; stat 242 fs/stat.c tmp.st_ctime = stat->ctime.tv_sec; stat 246 fs/stat.c SYSCALL_DEFINE2(stat, const char __user *, filename, stat 249 fs/stat.c struct kstat stat; stat 252 fs/stat.c error = vfs_stat(filename, &stat); stat 256 fs/stat.c return cp_old_stat(&stat, statbuf); stat 262 fs/stat.c struct kstat stat; stat 265 fs/stat.c error = vfs_lstat(filename, &stat); stat 269 fs/stat.c return cp_old_stat(&stat, statbuf); stat 274 fs/stat.c struct kstat stat; stat 275 fs/stat.c int error = vfs_fstat(fd, &stat); stat 278 fs/stat.c error = cp_old_stat(&stat, statbuf); stat 300 fs/stat.c static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) stat 302 fs/stat.c struct stat tmp; stat 304 fs/stat.c if (!valid_dev(stat->dev) || !valid_dev(stat->rdev)) stat 307 fs/stat.c if (stat->size > MAX_NON_LFS) stat 312 fs/stat.c tmp.st_dev = encode_dev(stat->dev); stat 313 fs/stat.c tmp.st_ino = stat->ino; stat 314 fs/stat.c if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) stat 316 fs/stat.c tmp.st_mode = stat->mode; stat 317 fs/stat.c tmp.st_nlink = stat->nlink; stat 318 fs/stat.c if (tmp.st_nlink != stat->nlink) stat 320 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); stat 321 fs/stat.c SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); stat 322 fs/stat.c tmp.st_rdev = encode_dev(stat->rdev); stat 323 fs/stat.c tmp.st_size = stat->size; stat 324 fs/stat.c tmp.st_atime = stat->atime.tv_sec; stat 325 fs/stat.c tmp.st_mtime = stat->mtime.tv_sec; stat 326 fs/stat.c tmp.st_ctime = stat->ctime.tv_sec; stat 328 fs/stat.c tmp.st_atime_nsec = stat->atime.tv_nsec; stat 329 fs/stat.c tmp.st_mtime_nsec = stat->mtime.tv_nsec; stat 330 fs/stat.c tmp.st_ctime_nsec = stat->ctime.tv_nsec; stat 332 fs/stat.c tmp.st_blocks = stat->blocks; stat 333 fs/stat.c tmp.st_blksize = stat->blksize; stat 338 fs/stat.c struct stat __user *, statbuf) stat 340 fs/stat.c struct kstat stat; stat 341 fs/stat.c int error = vfs_stat(filename, &stat); stat 345 fs/stat.c return cp_new_stat(&stat, statbuf); stat 349 fs/stat.c struct stat __user *, statbuf) stat 351 fs/stat.c struct kstat stat; stat 354 fs/stat.c error = vfs_lstat(filename, &stat); stat 358 fs/stat.c return cp_new_stat(&stat, statbuf); stat 363 fs/stat.c struct stat __user *, statbuf, int, flag) stat 365 fs/stat.c struct kstat stat; stat 368 fs/stat.c error = vfs_fstatat(dfd, filename, &stat, flag); stat 371 fs/stat.c return cp_new_stat(&stat, statbuf); stat 375 fs/stat.c SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) stat 377 fs/stat.c struct kstat stat; stat 378 fs/stat.c int error = vfs_fstat(fd, &stat); stat 381 fs/stat.c error = cp_new_stat(&stat, statbuf); stat 443 fs/stat.c static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) stat 450 fs/stat.c tmp.st_dev = new_encode_dev(stat->dev); stat 451 fs/stat.c tmp.st_rdev = new_encode_dev(stat->rdev); stat 453 fs/stat.c tmp.st_dev = huge_encode_dev(stat->dev); stat 454 fs/stat.c tmp.st_rdev = huge_encode_dev(stat->rdev); stat 456 fs/stat.c tmp.st_ino = stat->ino; stat 457 fs/stat.c if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) stat 460 fs/stat.c tmp.__st_ino = stat->ino; stat 462 fs/stat.c tmp.st_mode = stat->mode; stat 463 fs/stat.c tmp.st_nlink = stat->nlink; stat 464 fs/stat.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); stat 465 fs/stat.c tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); stat 466 fs/stat.c tmp.st_atime = stat->atime.tv_sec; stat 467 fs/stat.c tmp.st_atime_nsec = stat->atime.tv_nsec; stat 468 fs/stat.c tmp.st_mtime = stat->mtime.tv_sec; stat 469 fs/stat.c tmp.st_mtime_nsec = stat->mtime.tv_nsec; stat 470 fs/stat.c tmp.st_ctime = stat->ctime.tv_sec; stat 471 fs/stat.c tmp.st_ctime_nsec = stat->ctime.tv_nsec; stat 472 fs/stat.c tmp.st_size = stat->size; stat 473 fs/stat.c tmp.st_blocks = stat->blocks; stat 474 fs/stat.c tmp.st_blksize = stat->blksize; stat 481 fs/stat.c struct kstat stat; stat 482 fs/stat.c int error = vfs_stat(filename, &stat); stat 485 fs/stat.c error = cp_new_stat64(&stat, statbuf); stat 493 fs/stat.c struct kstat stat; stat 494 fs/stat.c int error = vfs_lstat(filename, &stat); stat 497 fs/stat.c error = cp_new_stat64(&stat, statbuf); stat 504 fs/stat.c struct kstat stat; stat 505 fs/stat.c int error = vfs_fstat(fd, &stat); stat 508 fs/stat.c error = cp_new_stat64(&stat, statbuf); stat 516 fs/stat.c struct kstat stat; stat 519 fs/stat.c error = vfs_fstatat(dfd, filename, &stat, flag); stat 522 fs/stat.c return cp_new_stat64(&stat, statbuf); stat 527 fs/stat.c cp_statx(const struct kstat *stat, struct statx __user *buffer) stat 533 fs/stat.c tmp.stx_mask = stat->result_mask; stat 534 fs/stat.c tmp.stx_blksize = stat->blksize; stat 535 fs/stat.c tmp.stx_attributes = stat->attributes; stat 536 fs/stat.c tmp.stx_nlink = stat->nlink; stat 537 fs/stat.c tmp.stx_uid = from_kuid_munged(current_user_ns(), stat->uid); stat 538 fs/stat.c tmp.stx_gid = from_kgid_munged(current_user_ns(), stat->gid); stat 539 fs/stat.c tmp.stx_mode = stat->mode; stat 540 fs/stat.c tmp.stx_ino = stat->ino; stat 541 fs/stat.c tmp.stx_size = stat->size; stat 542 fs/stat.c tmp.stx_blocks = stat->blocks; stat 543 fs/stat.c tmp.stx_attributes_mask = stat->attributes_mask; stat 544 fs/stat.c tmp.stx_atime.tv_sec = stat->atime.tv_sec; stat 545 fs/stat.c tmp.stx_atime.tv_nsec = stat->atime.tv_nsec; stat 546 fs/stat.c tmp.stx_btime.tv_sec = stat->btime.tv_sec; stat 547 fs/stat.c tmp.stx_btime.tv_nsec = stat->btime.tv_nsec; stat 548 fs/stat.c tmp.stx_ctime.tv_sec = stat->ctime.tv_sec; stat 549 fs/stat.c tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; stat 550 fs/stat.c tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; stat 551 fs/stat.c tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; stat 552 fs/stat.c tmp.stx_rdev_major = MAJOR(stat->rdev); stat 553 fs/stat.c tmp.stx_rdev_minor = MINOR(stat->rdev); stat 554 fs/stat.c tmp.stx_dev_major = MAJOR(stat->dev); stat 555 fs/stat.c tmp.stx_dev_minor = MINOR(stat->dev); stat 576 fs/stat.c struct kstat stat; stat 584 fs/stat.c error = vfs_statx(dfd, filename, flags, &stat, mask); stat 588 fs/stat.c return cp_statx(&stat, buffer); stat 592 fs/stat.c static int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf) stat 596 fs/stat.c if (!old_valid_dev(stat->dev) || !old_valid_dev(stat->rdev)) stat 600 fs/stat.c tmp.st_dev = old_encode_dev(stat->dev); stat 601 fs/stat.c tmp.st_ino = stat->ino; stat 602 fs/stat.c if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) stat 604 fs/stat.c tmp.st_mode = stat->mode; stat 605 fs/stat.c tmp.st_nlink = stat->nlink; stat 606 fs/stat.c if (tmp.st_nlink != stat->nlink) stat 608 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); stat 609 fs/stat.c SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); stat 610 fs/stat.c tmp.st_rdev = old_encode_dev(stat->rdev); stat 611 fs/stat.c if ((u64) stat->size > MAX_NON_LFS) stat 613 fs/stat.c tmp.st_size = stat->size; stat 614 fs/stat.c tmp.st_atime = stat->atime.tv_sec; stat 615 fs/stat.c tmp.st_atime_nsec = stat->atime.tv_nsec; stat 616 fs/stat.c tmp.st_mtime = stat->mtime.tv_sec; stat 617 fs/stat.c tmp.st_mtime_nsec = stat->mtime.tv_nsec; stat 618 fs/stat.c tmp.st_ctime = stat->ctime.tv_sec; stat 619 fs/stat.c tmp.st_ctime_nsec = stat->ctime.tv_nsec; stat 620 fs/stat.c tmp.st_blocks = stat->blocks; stat 621 fs/stat.c tmp.st_blksize = stat->blksize; stat 628 fs/stat.c struct kstat stat; stat 631 fs/stat.c error = vfs_stat(filename, &stat); stat 634 fs/stat.c return cp_compat_stat(&stat, statbuf); stat 640 fs/stat.c struct kstat stat; stat 643 fs/stat.c error = vfs_lstat(filename, &stat); stat 646 fs/stat.c return cp_compat_stat(&stat, statbuf); stat 654 fs/stat.c struct kstat stat; stat 657 fs/stat.c error = vfs_fstatat(dfd, filename, &stat, flag); stat 660 fs/stat.c return cp_compat_stat(&stat, statbuf); stat 667 fs/stat.c struct kstat stat; stat 668 fs/stat.c int error = vfs_fstat(fd, &stat); stat 671 fs/stat.c error = cp_compat_stat(&stat, statbuf); stat 444 fs/sysv/itree.c int sysv_getattr(const struct path *path, struct kstat *stat, stat 448 fs/sysv/itree.c generic_fillattr(d_inode(path->dentry), stat); stat 449 fs/sysv/itree.c stat->blocks = (s->s_blocksize / 512) * sysv_nblocks(s, stat->size); stat 450 fs/sysv/itree.c stat->blksize = s->s_blocksize; stat 1567 fs/ubifs/dir.c int ubifs_getattr(const struct path *path, struct kstat *stat, stat 1577 fs/ubifs/dir.c stat->attributes |= STATX_ATTR_APPEND; stat 1579 fs/ubifs/dir.c stat->attributes |= STATX_ATTR_COMPRESSED; stat 1581 fs/ubifs/dir.c stat->attributes |= STATX_ATTR_ENCRYPTED; stat 1583 fs/ubifs/dir.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 1585 fs/ubifs/dir.c stat->attributes_mask |= (STATX_ATTR_APPEND | stat 1590 fs/ubifs/dir.c generic_fillattr(inode, stat); stat 1591 fs/ubifs/dir.c stat->blksize = UBIFS_BLOCK_SIZE; stat 1592 fs/ubifs/dir.c stat->size = ui->ui_size; stat 1608 fs/ubifs/dir.c size += stat->size; stat 1614 fs/ubifs/dir.c stat->blocks = size >> 9; stat 1616 fs/ubifs/dir.c stat->blocks = 0; stat 1997 fs/ubifs/ubifs.h int ubifs_getattr(const struct path *path, struct kstat *stat, stat 155 fs/udf/symlink.c static int udf_symlink_getattr(const struct path *path, struct kstat *stat, stat 162 fs/udf/symlink.c generic_fillattr(inode, stat); stat 175 fs/udf/symlink.c stat->size = strlen(page_address(page)); stat 147 fs/xfs/libxfs/xfs_alloc.c int *stat) /* success/failure */ stat 151 fs/xfs/libxfs/xfs_alloc.c return xfs_btree_lookup(cur, XFS_LOOKUP_EQ, stat); stat 163 fs/xfs/libxfs/xfs_alloc.c int *stat) /* success/failure */ stat 167 fs/xfs/libxfs/xfs_alloc.c return xfs_btree_lookup(cur, XFS_LOOKUP_GE, stat); stat 179 fs/xfs/libxfs/xfs_alloc.c int *stat) /* success/failure */ stat 183 fs/xfs/libxfs/xfs_alloc.c return xfs_btree_lookup(cur, XFS_LOOKUP_LE, stat); stat 212 fs/xfs/libxfs/xfs_alloc.c int *stat) /* output: success/failure */ stat 219 fs/xfs/libxfs/xfs_alloc.c error = xfs_btree_get_rec(cur, &rec, stat); stat 220 fs/xfs/libxfs/xfs_alloc.c if (error || !(*stat)) stat 709 fs/xfs/libxfs/xfs_alloc.c int *stat) /* status: 0-freelist, 1-normal/none */ stat 776 fs/xfs/libxfs/xfs_alloc.c *stat = 0; stat 790 fs/xfs/libxfs/xfs_alloc.c *stat = 1; stat 205 fs/xfs/libxfs/xfs_alloc.h int *stat); /* success/failure */ stat 212 fs/xfs/libxfs/xfs_alloc.h int *stat); /* success/failure */ stat 219 fs/xfs/libxfs/xfs_alloc.h int *stat); /* output: success/failure */ stat 59 fs/xfs/libxfs/xfs_alloc_btree.c int *stat) stat 71 fs/xfs/libxfs/xfs_alloc_btree.c *stat = 0; stat 80 fs/xfs/libxfs/xfs_alloc_btree.c *stat = 1; stat 100 fs/xfs/libxfs/xfs_bmap.c int *stat) /* success/failure */ stat 103 fs/xfs/libxfs/xfs_bmap.c return xfs_btree_lookup(cur, XFS_LOOKUP_EQ, stat); stat 109 fs/xfs/libxfs/xfs_bmap.c int *stat) /* success/failure */ stat 114 fs/xfs/libxfs/xfs_bmap.c return xfs_btree_lookup(cur, XFS_LOOKUP_GE, stat); stat 928 fs/xfs/libxfs/xfs_bmap.c int stat; /* newroot status */ stat 935 fs/xfs/libxfs/xfs_bmap.c error = xfs_bmbt_lookup_first(cur, &stat); stat 939 fs/xfs/libxfs/xfs_bmap.c XFS_WANT_CORRUPTED_GOTO(mp, stat == 1, error0); stat 940 fs/xfs/libxfs/xfs_bmap.c if ((error = xfs_btree_new_iroot(cur, flags, &stat))) stat 942 fs/xfs/libxfs/xfs_bmap.c if (stat == 0) { stat 199 fs/xfs/libxfs/xfs_bmap_btree.c int *stat) stat 256 fs/xfs/libxfs/xfs_bmap_btree.c *stat = 0; stat 270 fs/xfs/libxfs/xfs_bmap_btree.c *stat = 1; stat 1579 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 1662 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 1666 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 1681 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 1754 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 1758 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 1857 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 1918 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 1991 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 2000 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 2002 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 2004 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 2294 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 2467 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 2471 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 2490 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 2632 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 2636 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 2659 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 2690 fs/xfs/libxfs/xfs_btree.c error = cur->bc_ops->alloc_block(cur, &lptr, &rptr, stat); stat 2693 fs/xfs/libxfs/xfs_btree.c if (*stat == 0) stat 2823 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 2826 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 2839 fs/xfs/libxfs/xfs_btree.c int *stat; /* success/failure */ stat 2870 fs/xfs/libxfs/xfs_btree.c args->key, args->curp, args->stat); stat 2888 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 2894 fs/xfs/libxfs/xfs_btree.c return __xfs_btree_split(cur, level, ptrp, key, curp, stat); stat 2901 fs/xfs/libxfs/xfs_btree.c args.stat = stat; stat 2920 fs/xfs/libxfs/xfs_btree.c int *stat) /* return status - 0 fail */ stat 2944 fs/xfs/libxfs/xfs_btree.c error = cur->bc_ops->alloc_block(cur, pp, &nptr, stat); stat 2947 fs/xfs/libxfs/xfs_btree.c if (*stat == 0) stat 3009 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 3021 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 3042 fs/xfs/libxfs/xfs_btree.c error = cur->bc_ops->alloc_block(cur, &rptr, &lptr, stat); stat 3045 fs/xfs/libxfs/xfs_btree.c if (*stat == 0) stat 3135 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 3140 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 3154 fs/xfs/libxfs/xfs_btree.c int *stat) stat 3165 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 3170 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_new_iroot(cur, &logflags, stat); stat 3171 fs/xfs/libxfs/xfs_btree.c if (error || *stat == 0) stat 3181 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_rshift(cur, level, stat); stat 3182 fs/xfs/libxfs/xfs_btree.c if (error || *stat) stat 3186 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lshift(cur, level, stat); stat 3190 fs/xfs/libxfs/xfs_btree.c if (*stat) { stat 3201 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_split(cur, level, nptr, key, ncur, stat); stat 3202 fs/xfs/libxfs/xfs_btree.c if (error || *stat == 0) stat 3222 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 3246 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_new_root(cur, stat); stat 3255 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 3292 fs/xfs/libxfs/xfs_btree.c &optr, &ptr, &nptr, &ncur, lkey, stat); stat 3293 fs/xfs/libxfs/xfs_btree.c if (error || *stat == 0) stat 3408 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 3425 fs/xfs/libxfs/xfs_btree.c int *stat) stat 3489 fs/xfs/libxfs/xfs_btree.c *stat = i; stat 3637 fs/xfs/libxfs/xfs_btree.c int *stat) stat 3648 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 3662 fs/xfs/libxfs/xfs_btree.c int *stat) /* fail/done/go-on */ stat 3688 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 3704 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 3771 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); stat 3774 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 3794 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); stat 3798 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 3817 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); stat 3842 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); stat 3907 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); stat 3977 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 4032 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); stat 4147 fs/xfs/libxfs/xfs_btree.c *stat = 2; stat 4164 fs/xfs/libxfs/xfs_btree.c int *stat) /* success/failure */ stat 4206 fs/xfs/libxfs/xfs_btree.c *stat = i; stat 4219 fs/xfs/libxfs/xfs_btree.c int *stat) /* output: success/failure */ stat 4241 fs/xfs/libxfs/xfs_btree.c *stat = 0; stat 4249 fs/xfs/libxfs/xfs_btree.c *stat = 1; stat 4554 fs/xfs/libxfs/xfs_btree.c int stat; stat 4565 fs/xfs/libxfs/xfs_btree.c stat = 0; stat 4566 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lookup(cur, XFS_LOOKUP_LE, &stat); stat 4571 fs/xfs/libxfs/xfs_btree.c if (!stat) { stat 4572 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_increment(cur, 0, &stat); stat 4577 fs/xfs/libxfs/xfs_btree.c while (stat) { stat 4579 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_get_rec(cur, &recp, &stat); stat 4580 fs/xfs/libxfs/xfs_btree.c if (error || !stat) stat 4606 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_increment(cur, 0, &stat); stat 88 fs/xfs/libxfs/xfs_btree.h #define XFS_BTREE_STATS_INC(cur, stat) \ stat 89 fs/xfs/libxfs/xfs_btree.h XFS_STATS_INC_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat) stat 90 fs/xfs/libxfs/xfs_btree.h #define XFS_BTREE_STATS_ADD(cur, stat, val) \ stat 91 fs/xfs/libxfs/xfs_btree.h XFS_STATS_ADD_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat, val) stat 113 fs/xfs/libxfs/xfs_btree.h int *stat); stat 39 fs/xfs/libxfs/xfs_ialloc.c int *stat) /* success/failure */ stat 46 fs/xfs/libxfs/xfs_ialloc.c return xfs_btree_lookup(cur, dir, stat); stat 105 fs/xfs/libxfs/xfs_ialloc.c int *stat) stat 113 fs/xfs/libxfs/xfs_ialloc.c error = xfs_btree_get_rec(cur, &rec, stat); stat 114 fs/xfs/libxfs/xfs_ialloc.c if (error || *stat == 0) stat 158 fs/xfs/libxfs/xfs_ialloc.c int *stat) stat 164 fs/xfs/libxfs/xfs_ialloc.c return xfs_btree_insert(cur, stat); stat 121 fs/xfs/libxfs/xfs_ialloc.h xfs_lookup_t dir, int *stat); stat 127 fs/xfs/libxfs/xfs_ialloc.h xfs_inobt_rec_incore_t *rec, int *stat); stat 151 fs/xfs/libxfs/xfs_ialloc.h int *stat); stat 75 fs/xfs/libxfs/xfs_ialloc_btree.c int *stat, stat 98 fs/xfs/libxfs/xfs_ialloc_btree.c *stat = 0; stat 104 fs/xfs/libxfs/xfs_ialloc_btree.c *stat = 1; stat 113 fs/xfs/libxfs/xfs_ialloc_btree.c int *stat) stat 115 fs/xfs/libxfs/xfs_ialloc_btree.c return __xfs_inobt_alloc_block(cur, start, new, stat, XFS_AG_RESV_NONE); stat 123 fs/xfs/libxfs/xfs_ialloc_btree.c int *stat) stat 126 fs/xfs/libxfs/xfs_ialloc_btree.c return xfs_inobt_alloc_block(cur, start, new, stat); stat 127 fs/xfs/libxfs/xfs_ialloc_btree.c return __xfs_inobt_alloc_block(cur, start, new, stat, stat 47 fs/xfs/libxfs/xfs_refcount.c int *stat) stat 53 fs/xfs/libxfs/xfs_refcount.c return xfs_btree_lookup(cur, XFS_LOOKUP_LE, stat); stat 64 fs/xfs/libxfs/xfs_refcount.c int *stat) stat 70 fs/xfs/libxfs/xfs_refcount.c return xfs_btree_lookup(cur, XFS_LOOKUP_GE, stat); stat 81 fs/xfs/libxfs/xfs_refcount.c int *stat) stat 87 fs/xfs/libxfs/xfs_refcount.c return xfs_btree_lookup(cur, XFS_LOOKUP_EQ, stat); stat 108 fs/xfs/libxfs/xfs_refcount.c int *stat) stat 116 fs/xfs/libxfs/xfs_refcount.c error = xfs_btree_get_rec(cur, &rec, stat); stat 117 fs/xfs/libxfs/xfs_refcount.c if (error || !*stat) stat 10 fs/xfs/libxfs/xfs_refcount.h xfs_agblock_t bno, int *stat); stat 12 fs/xfs/libxfs/xfs_refcount.h xfs_agblock_t bno, int *stat); stat 14 fs/xfs/libxfs/xfs_refcount.h xfs_agblock_t bno, int *stat); stat 16 fs/xfs/libxfs/xfs_refcount.h struct xfs_refcount_irec *irec, int *stat); stat 77 fs/xfs/libxfs/xfs_refcount.h struct xfs_refcount_irec *irec, int *stat); stat 58 fs/xfs/libxfs/xfs_refcount_btree.c int *stat) stat 81 fs/xfs/libxfs/xfs_refcount_btree.c *stat = 0; stat 91 fs/xfs/libxfs/xfs_refcount_btree.c *stat = 1; stat 37 fs/xfs/libxfs/xfs_rmap.c int *stat) stat 44 fs/xfs/libxfs/xfs_rmap.c return xfs_btree_lookup(cur, XFS_LOOKUP_LE, stat); stat 59 fs/xfs/libxfs/xfs_rmap.c int *stat) stat 66 fs/xfs/libxfs/xfs_rmap.c return xfs_btree_lookup(cur, XFS_LOOKUP_EQ, stat); stat 185 fs/xfs/libxfs/xfs_rmap.c int *stat) stat 192 fs/xfs/libxfs/xfs_rmap.c error = xfs_btree_get_rec(cur, &rec, stat); stat 193 fs/xfs/libxfs/xfs_rmap.c if (error || !*stat) stat 238 fs/xfs/libxfs/xfs_rmap.c int *stat; stat 263 fs/xfs/libxfs/xfs_rmap.c *info->stat = 1; stat 280 fs/xfs/libxfs/xfs_rmap.c int *stat) stat 285 fs/xfs/libxfs/xfs_rmap.c *stat = 0; stat 300 fs/xfs/libxfs/xfs_rmap.c info.stat = stat; stat 309 fs/xfs/libxfs/xfs_rmap.c if (*stat) stat 340 fs/xfs/libxfs/xfs_rmap.c *info->stat = 1; stat 358 fs/xfs/libxfs/xfs_rmap.c int *stat) stat 371 fs/xfs/libxfs/xfs_rmap.c *stat = 0; stat 373 fs/xfs/libxfs/xfs_rmap.c info.stat = stat; stat 381 fs/xfs/libxfs/xfs_rmap.c if (*stat) stat 124 fs/xfs/libxfs/xfs_rmap.h unsigned int flags, int *stat); stat 127 fs/xfs/libxfs/xfs_rmap.h unsigned int flags, int *stat); stat 132 fs/xfs/libxfs/xfs_rmap.h int *stat); stat 186 fs/xfs/libxfs/xfs_rmap.h struct xfs_rmap_irec *irec, int *stat); stat 189 fs/xfs/libxfs/xfs_rmap.h struct xfs_rmap_irec *irec, int *stat); stat 84 fs/xfs/libxfs/xfs_rmap_btree.c int *stat) stat 100 fs/xfs/libxfs/xfs_rmap_btree.c *stat = 0; stat 114 fs/xfs/libxfs/xfs_rmap_btree.c *stat = 1; stat 771 fs/xfs/libxfs/xfs_rtbitmap.c int *stat) /* out: 1 for matches, 0 for not */ stat 830 fs/xfs/libxfs/xfs_rtbitmap.c *stat = 0; stat 876 fs/xfs/libxfs/xfs_rtbitmap.c *stat = 0; stat 921 fs/xfs/libxfs/xfs_rtbitmap.c *stat = 0; stat 931 fs/xfs/libxfs/xfs_rtbitmap.c *stat = 1; stat 947 fs/xfs/libxfs/xfs_rtbitmap.c int stat; stat 950 fs/xfs/libxfs/xfs_rtbitmap.c error = xfs_rtcheck_range(mp, tp, bno, len, 0, &new, &stat); stat 953 fs/xfs/libxfs/xfs_rtbitmap.c ASSERT(stat); stat 195 fs/xfs/xfs_fsmap.c bool *stat) stat 203 fs/xfs/xfs_fsmap.c *stat = false; stat 222 fs/xfs/xfs_fsmap.c *stat = flen > 0; stat 490 fs/xfs/xfs_iops.c struct kstat *stat, stat 503 fs/xfs/xfs_iops.c stat->size = XFS_ISIZE(ip); stat 504 fs/xfs/xfs_iops.c stat->dev = inode->i_sb->s_dev; stat 505 fs/xfs/xfs_iops.c stat->mode = inode->i_mode; stat 506 fs/xfs/xfs_iops.c stat->nlink = inode->i_nlink; stat 507 fs/xfs/xfs_iops.c stat->uid = inode->i_uid; stat 508 fs/xfs/xfs_iops.c stat->gid = inode->i_gid; stat 509 fs/xfs/xfs_iops.c stat->ino = ip->i_ino; stat 510 fs/xfs/xfs_iops.c stat->atime = inode->i_atime; stat 511 fs/xfs/xfs_iops.c stat->mtime = inode->i_mtime; stat 512 fs/xfs/xfs_iops.c stat->ctime = inode->i_ctime; stat 513 fs/xfs/xfs_iops.c stat->blocks = stat 518 fs/xfs/xfs_iops.c stat->result_mask |= STATX_BTIME; stat 519 fs/xfs/xfs_iops.c stat->btime.tv_sec = ip->i_d.di_crtime.t_sec; stat 520 fs/xfs/xfs_iops.c stat->btime.tv_nsec = ip->i_d.di_crtime.t_nsec; stat 529 fs/xfs/xfs_iops.c stat->attributes |= STATX_ATTR_IMMUTABLE; stat 531 fs/xfs/xfs_iops.c stat->attributes |= STATX_ATTR_APPEND; stat 533 fs/xfs/xfs_iops.c stat->attributes |= STATX_ATTR_NODUMP; stat 535 fs/xfs/xfs_iops.c stat->attributes_mask |= (STATX_ATTR_IMMUTABLE | stat 542 fs/xfs/xfs_iops.c stat->blksize = BLKDEV_IOSIZE; stat 543 fs/xfs/xfs_iops.c stat->rdev = inode->i_rdev; stat 552 fs/xfs/xfs_iops.c stat->blksize = stat 555 fs/xfs/xfs_iops.c stat->blksize = xfs_preferred_iosize(mp); stat 556 fs/xfs/xfs_iops.c stat->rdev = 0; stat 55 fs/xfs/xfs_rtalloc.c int *stat) /* out: any good extents here? */ stat 80 fs/xfs/xfs_rtalloc.c *stat = 1; stat 87 fs/xfs/xfs_rtalloc.c *stat = 0; stat 240 fs/xfs/xfs_rtalloc.c int stat; /* status from internal calls */ stat 254 fs/xfs/xfs_rtalloc.c error = xfs_rtcheck_range(mp, tp, i, maxlen, 1, &next, &stat); stat 258 fs/xfs/xfs_rtalloc.c if (stat) { stat 107 fs/xfs/xfs_rtalloc.h xfs_rtblock_t *new, int *stat); stat 142 include/linux/backing-dev-defs.h struct percpu_counter stat[NR_WB_STAT_ITEMS]; stat 74 include/linux/backing-dev.h percpu_counter_add_batch(&wb->stat[item], amount, WB_STAT_BATCH); stat 89 include/linux/backing-dev.h return percpu_counter_read_positive(&wb->stat[item]); stat 94 include/linux/backing-dev.h return percpu_counter_sum_positive(&wb->stat[item]); stat 24 include/linux/cdrom.h int stat; stat 101 include/linux/devfreq.h struct devfreq_dev_status *stat); stat 3248 include/linux/fs.h static inline int vfs_stat(const char __user *filename, struct kstat *stat) stat 3251 include/linux/fs.h stat, STATX_BASIC_STATS); stat 3253 include/linux/fs.h static inline int vfs_lstat(const char __user *name, struct kstat *stat) stat 3256 include/linux/fs.h stat, STATX_BASIC_STATS); stat 3259 include/linux/fs.h struct kstat *stat, int flags) stat 3262 include/linux/fs.h stat, STATX_BASIC_STATS); stat 3264 include/linux/fs.h static inline int vfs_fstat(int fd, struct kstat *stat) stat 3266 include/linux/fs.h return vfs_statx_fd(fd, stat, STATX_BASIC_STATS, 0); stat 125 include/linux/ide.h #define OK_STAT(stat,good,bad) (((stat)&((good)|(bad)))==(good)) stat 286 include/linux/kvm_host.h struct kvm_vcpu_stat stat; stat 471 include/linux/kvm_host.h struct kvm_vm_stat stat; stat 89 include/linux/memcontrol.h long stat[MEMCG_NR_STAT]; stat 615 include/linux/memcontrol.h x += per_cpu(memcg->vmstats_local->stat[idx], cpu); stat 2408 include/linux/netdevice.h typeof(type) *stat; \ stat 2409 include/linux/netdevice.h stat = per_cpu_ptr(pcpu_stats, __cpu); \ stat 2410 include/linux/netdevice.h u64_stats_init(&stat->syncp); \ stat 266 include/linux/quota.h unsigned long stat[_DQST_DQSTAT_LAST]; stat 71 include/linux/scc.h struct scc_stat stat; /* statistical information */ stat 49 include/linux/slub_def.h unsigned stat[NR_SLUB_STAT_ITEMS]; stat 280 include/linux/sunrpc/xprt.h } stat; stat 46 include/linux/syscalls.h struct stat; stat 514 include/linux/syscalls.h struct stat __user *statbuf, int flag); stat 515 include/linux/syscalls.h asmlinkage long sys_newfstat(unsigned int fd, struct stat __user *statbuf); stat 1070 include/linux/syscalls.h struct stat __user *statbuf); stat 1072 include/linux/syscalls.h struct stat __user *statbuf); stat 401 include/net/bluetooth/hci_core.h struct hci_dev_stats stat; stat 128 include/net/bluetooth/hci_sock.h struct hci_dev_stats stat; stat 18 include/net/kcm.h #define KCM_STATS_ADD(stat, count) ((stat) += (count)) stat 19 include/net/kcm.h #define KCM_STATS_INCR(stat) ((stat)++) stat 322 include/net/netfilter/nf_conntrack.h #define NF_CT_STAT_INC(net, count) __this_cpu_inc((net)->ct.stat->count) stat 323 include/net/netfilter/nf_conntrack.h #define NF_CT_STAT_INC_ATOMIC(net, count) this_cpu_inc((net)->ct.stat->count) stat 324 include/net/netfilter/nf_conntrack.h #define NF_CT_STAT_ADD_ATOMIC(net, count, v) this_cpu_add((net)->ct.stat->count, (v)) stat 114 include/net/netns/conntrack.h struct ip_conntrack_stat __percpu *stat; stat 14 include/net/strparser.h #define STRP_STATS_ADD(stat, count) ((stat) += (count)) stat 15 include/net/strparser.h #define STRP_STATS_INCR(stat) ((stat)++) stat 530 include/scsi/libsas.h enum exec_status stat; stat 22 include/soc/fsl/dpaa2-global.h u8 stat; stat 36 include/soc/fsl/dpaa2-global.h u8 stat; stat 70 include/soc/fsl/dpaa2-global.h return dq->dq.stat; stat 250 include/soc/fsl/qman.h u8 stat; stat 339 include/trace/events/vmscan.h struct reclaim_stat *stat, int priority, int file), stat 341 include/trace/events/vmscan.h TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file), stat 363 include/trace/events/vmscan.h __entry->nr_dirty = stat->nr_dirty; stat 364 include/trace/events/vmscan.h __entry->nr_writeback = stat->nr_writeback; stat 365 include/trace/events/vmscan.h __entry->nr_congested = stat->nr_congested; stat 366 include/trace/events/vmscan.h __entry->nr_immediate = stat->nr_immediate; stat 367 include/trace/events/vmscan.h __entry->nr_activate0 = stat->nr_activate[0]; stat 368 include/trace/events/vmscan.h __entry->nr_activate1 = stat->nr_activate[1]; stat 369 include/trace/events/vmscan.h __entry->nr_ref_keep = stat->nr_ref_keep; stat 370 include/trace/events/vmscan.h __entry->nr_unmap_fail = stat->nr_unmap_fail; stat 17 include/trace/events/wbt.h TP_PROTO(struct backing_dev_info *bdi, struct blk_rq_stat *stat), stat 19 include/trace/events/wbt.h TP_ARGS(bdi, stat), stat 38 include/trace/events/wbt.h __entry->rmean = stat[0].mean; stat 39 include/trace/events/wbt.h __entry->rmin = stat[0].min; stat 40 include/trace/events/wbt.h __entry->rmax = stat[0].max; stat 41 include/trace/events/wbt.h __entry->rnr_samples = stat[0].nr_samples; stat 42 include/trace/events/wbt.h __entry->wmean = stat[1].mean; stat 43 include/trace/events/wbt.h __entry->wmin = stat[1].min; stat 44 include/trace/events/wbt.h __entry->wmax = stat[1].max; stat 45 include/trace/events/wbt.h __entry->wnr_samples = stat[1].nr_samples; stat 414 include/uapi/linux/btrfs.h struct btrfs_balance_progress stat; /* out */ stat 287 include/uapi/linux/cdrom.h int stat; stat 642 include/uapi/linux/coda.h struct coda_statfs stat; stat 827 include/uapi/linux/dvb/frontend.h struct dtv_stats stat[MAX_DTV_STATS]; stat 123 include/video/mmp_disp.h static inline const char *stat_name(int stat) stat 125 include/video/mmp_disp.h switch (stat) { stat 25 init/do_mounts.h struct kstat stat; stat 26 init/do_mounts.h if (vfs_stat(name, &stat) != 0) stat 28 init/do_mounts.h if (!S_ISBLK(stat.mode)) stat 30 init/do_mounts.h return stat.rdev; stat 274 kernel/sched/cpuacct.c int stat; stat 287 kernel/sched/cpuacct.c for (stat = 0; stat < CPUACCT_STAT_NSTATS; stat++) { stat 289 kernel/sched/cpuacct.c cpuacct_stat_desc[stat], stat 290 kernel/sched/cpuacct.c (long long)nsec_to_clock_t(val[stat])); stat 410 kernel/trace/ftrace.c struct tracer_stat stat; stat 455 kernel/trace/ftrace.c struct ftrace_profile_stat *stat = stat 456 kernel/trace/ftrace.c container_of(trace, struct ftrace_profile_stat, stat); stat 458 kernel/trace/ftrace.c if (!stat || !stat->start) stat 461 kernel/trace/ftrace.c return function_stat_next(&stat->start->records[0], 0); stat 572 kernel/trace/ftrace.c static void ftrace_profile_reset(struct ftrace_profile_stat *stat) stat 576 kernel/trace/ftrace.c pg = stat->pages = stat->start; stat 584 kernel/trace/ftrace.c memset(stat->hash, 0, stat 588 kernel/trace/ftrace.c int ftrace_profile_pages_init(struct ftrace_profile_stat *stat) stat 596 kernel/trace/ftrace.c if (stat->pages) stat 599 kernel/trace/ftrace.c stat->pages = (void *)get_zeroed_page(GFP_KERNEL); stat 600 kernel/trace/ftrace.c if (!stat->pages) stat 616 kernel/trace/ftrace.c pg = stat->start = stat->pages; stat 630 kernel/trace/ftrace.c pg = stat->start; stat 638 kernel/trace/ftrace.c stat->pages = NULL; stat 639 kernel/trace/ftrace.c stat->start = NULL; stat 646 kernel/trace/ftrace.c struct ftrace_profile_stat *stat; stat 649 kernel/trace/ftrace.c stat = &per_cpu(ftrace_profile_stats, cpu); stat 651 kernel/trace/ftrace.c if (stat->hash) { stat 653 kernel/trace/ftrace.c ftrace_profile_reset(stat); stat 663 kernel/trace/ftrace.c stat->hash = kcalloc(size, sizeof(struct hlist_head), GFP_KERNEL); stat 665 kernel/trace/ftrace.c if (!stat->hash) stat 669 kernel/trace/ftrace.c if (ftrace_profile_pages_init(stat) < 0) { stat 670 kernel/trace/ftrace.c kfree(stat->hash); stat 671 kernel/trace/ftrace.c stat->hash = NULL; stat 694 kernel/trace/ftrace.c ftrace_find_profiled_func(struct ftrace_profile_stat *stat, unsigned long ip) stat 701 kernel/trace/ftrace.c hhd = &stat->hash[key]; stat 714 kernel/trace/ftrace.c static void ftrace_add_profile(struct ftrace_profile_stat *stat, stat 720 kernel/trace/ftrace.c hlist_add_head_rcu(&rec->node, &stat->hash[key]); stat 727 kernel/trace/ftrace.c ftrace_profile_alloc(struct ftrace_profile_stat *stat, unsigned long ip) stat 732 kernel/trace/ftrace.c if (atomic_inc_return(&stat->disabled) != 1) stat 739 kernel/trace/ftrace.c rec = ftrace_find_profiled_func(stat, ip); stat 743 kernel/trace/ftrace.c if (stat->pages->index == PROFILES_PER_PAGE) { stat 744 kernel/trace/ftrace.c if (!stat->pages->next) stat 746 kernel/trace/ftrace.c stat->pages = stat->pages->next; stat 749 kernel/trace/ftrace.c rec = &stat->pages->records[stat->pages->index++]; stat 751 kernel/trace/ftrace.c ftrace_add_profile(stat, rec); stat 754 kernel/trace/ftrace.c atomic_dec(&stat->disabled); stat 763 kernel/trace/ftrace.c struct ftrace_profile_stat *stat; stat 772 kernel/trace/ftrace.c stat = this_cpu_ptr(&ftrace_profile_stats); stat 773 kernel/trace/ftrace.c if (!stat->hash || !ftrace_profile_enabled) stat 776 kernel/trace/ftrace.c rec = ftrace_find_profiled_func(stat, ip); stat 778 kernel/trace/ftrace.c rec = ftrace_profile_alloc(stat, ip); stat 816 kernel/trace/ftrace.c struct ftrace_profile_stat *stat; stat 822 kernel/trace/ftrace.c stat = this_cpu_ptr(&ftrace_profile_stats); stat 823 kernel/trace/ftrace.c if (!stat->hash || !ftrace_profile_enabled) stat 846 kernel/trace/ftrace.c rec = ftrace_find_profiled_func(stat, trace->func); stat 963 kernel/trace/ftrace.c struct ftrace_profile_stat *stat; stat 970 kernel/trace/ftrace.c stat = &per_cpu(ftrace_profile_stats, cpu); stat 983 kernel/trace/ftrace.c stat->stat = function_stats; stat 984 kernel/trace/ftrace.c stat->stat.name = name; stat 985 kernel/trace/ftrace.c ret = register_stat_tracer(&stat->stat); stat 200 kernel/trace/ring_buffer_benchmark.c enum event_status stat; stat 203 kernel/trace/ring_buffer_benchmark.c stat = read_event(cpu); stat 205 kernel/trace/ring_buffer_benchmark.c stat = read_page(cpu); stat 210 kernel/trace/ring_buffer_benchmark.c if (stat == EVENT_FOUND) stat 28 kernel/trace/trace_stat.c void *stat; stat 53 kernel/trace/trace_stat.c session->ts->stat_release(snode->stat); stat 77 kernel/trace/trace_stat.c static int insert_stat(struct rb_root *root, void *stat, cmp_stat_t cmp) stat 85 kernel/trace/trace_stat.c data->stat = stat; stat 96 kernel/trace/trace_stat.c result = cmp(data->stat, this->stat); stat 129 kernel/trace/trace_stat.c void *stat; stat 139 kernel/trace/trace_stat.c stat = ts->stat_start(ts); stat 140 kernel/trace/trace_stat.c if (!stat) stat 143 kernel/trace/trace_stat.c ret = insert_stat(root, stat, ts->stat_cmp); stat 151 kernel/trace/trace_stat.c stat = ts->stat_next(stat, i); stat 154 kernel/trace/trace_stat.c if (!stat) stat 157 kernel/trace/trace_stat.c ret = insert_stat(root, stat, ts->stat_cmp); stat 224 kernel/trace/trace_stat.c return session->ts->stat_show(s, l->stat); stat 23 kernel/trace/trace_stat.h void (*stat_release)(void *stat); stat 261 lib/reed_solomon/test_rslib.c int eras, int trials, struct estat *stat, stat 298 lib/reed_solomon/test_rslib.c stat->irv++; stat 303 lib/reed_solomon/test_rslib.c stat->wepos++; stat 308 lib/reed_solomon/test_rslib.c stat->dwrong++; stat 310 lib/reed_solomon/test_rslib.c stat->nwords += trials; stat 322 lib/reed_solomon/test_rslib.c struct estat stat = {0, 0, 0, 0}; stat 331 lib/reed_solomon/test_rslib.c test_uc(rs, len, errs, eras, trials, &stat, ws, method); stat 335 lib/reed_solomon/test_rslib.c stat.dwrong, stat.nwords); stat 337 lib/reed_solomon/test_rslib.c stat.irv, stat.nwords); stat 339 lib/reed_solomon/test_rslib.c pr_info(" Wrong error position: %d\n", stat.wepos); stat 342 lib/reed_solomon/test_rslib.c retval = stat.dwrong + stat.wepos + stat.irv; stat 367 lib/reed_solomon/test_rslib.c int eras, int trials, struct bcstat *stat, stat 384 lib/reed_solomon/test_rslib.c stat->rsuccess++; stat 399 lib/reed_solomon/test_rslib.c stat->noncw++; stat 401 lib/reed_solomon/test_rslib.c stat->rfail++; stat 404 lib/reed_solomon/test_rslib.c stat->nwords += trials; stat 410 lib/reed_solomon/test_rslib.c struct bcstat stat = {0, 0, 0, 0}; stat 424 lib/reed_solomon/test_rslib.c test_bc(rs, len, errs, eras, trials, &stat, ws); stat 429 lib/reed_solomon/test_rslib.c stat.rfail, stat.nwords); stat 431 lib/reed_solomon/test_rslib.c stat.rsuccess, stat.nwords); stat 433 lib/reed_solomon/test_rslib.c stat.noncw, stat.rsuccess); stat 436 lib/reed_solomon/test_rslib.c if (stat.noncw && v >= V_PROGRESS) stat 437 lib/reed_solomon/test_rslib.c pr_warn(" FAIL: %d silent failures!\n", stat.noncw); stat 439 lib/reed_solomon/test_rslib.c return stat.noncw; stat 323 mm/backing-dev.c err = percpu_counter_init(&wb->stat[i], 0, gfp); stat 332 mm/backing-dev.c percpu_counter_destroy(&wb->stat[i]); stat 375 mm/backing-dev.c percpu_counter_destroy(&wb->stat[i]); stat 698 mm/memcontrol.c x = val + __this_cpu_read(memcg->vmstats_percpu->stat[idx]); stat 706 mm/memcontrol.c __this_cpu_add(memcg->vmstats_local->stat[idx], x); stat 711 mm/memcontrol.c __this_cpu_write(memcg->vmstats_percpu->stat[idx], x); stat 2321 mm/memcontrol.c x = this_cpu_xchg(memcg->vmstats_percpu->stat[i], 0); stat 3475 mm/memcontrol.c unsigned long stat[MEMCG_NR_STAT] = {0}; stat 3481 mm/memcontrol.c stat[i] += per_cpu(memcg->vmstats_percpu->stat[i], cpu); stat 3485 mm/memcontrol.c atomic_long_add(stat[i], &mi->vmstats[i]); stat 3492 mm/memcontrol.c stat[i] = 0; stat 3496 mm/memcontrol.c stat[i] += per_cpu( stat 3501 mm/memcontrol.c atomic_long_add(stat[i], &pi->lruvec_stat[i]); stat 3841 mm/memcontrol.c const struct numa_stat *stat; stat 3846 mm/memcontrol.c for (stat = stats; stat < stats + ARRAY_SIZE(stats); stat++) { stat 3847 mm/memcontrol.c nr = mem_cgroup_nr_lru_pages(memcg, stat->lru_mask); stat 3848 mm/memcontrol.c seq_printf(m, "%s=%lu", stat->name, nr); stat 3851 mm/memcontrol.c stat->lru_mask); stat 3857 mm/memcontrol.c for (stat = stats; stat < stats + ARRAY_SIZE(stats); stat++) { stat 3862 mm/memcontrol.c nr += mem_cgroup_nr_lru_pages(iter, stat->lru_mask); stat 3863 mm/memcontrol.c seq_printf(m, "hierarchical_%s=%lu", stat->name, nr); stat 3868 mm/memcontrol.c iter, nid, stat->lru_mask); stat 4414 mm/memcontrol.c x += per_cpu_ptr(memcg->vmstats_percpu, cpu)->stat[idx]; stat 1364 mm/page-writeback.c dirtied = percpu_counter_read(&wb->stat[WB_DIRTIED]); stat 1365 mm/page-writeback.c written = percpu_counter_read(&wb->stat[WB_WRITTEN]); stat 997 mm/shmem.c static int shmem_getattr(const struct path *path, struct kstat *stat, stat 1009 mm/shmem.c generic_fillattr(inode, stat); stat 1012 mm/shmem.c stat->blksize = HPAGE_PMD_SIZE; stat 236 mm/slub.c raw_cpu_inc(s->cpu_slab->stat[si]); stat 393 mm/slub.c stat(s, CMPXCHG_DOUBLE_FAIL); stat 434 mm/slub.c stat(s, CMPXCHG_DOUBLE_FAIL); stat 1651 mm/slub.c stat(s, ORDER_FALLBACK); stat 1866 mm/slub.c stat(s, ALLOC_FROM_PARTIAL); stat 1870 mm/slub.c stat(s, CPU_PARTIAL_NODE); stat 2022 mm/slub.c stat(s, CMPXCHG_DOUBLE_CPU_FAIL); stat 2049 mm/slub.c stat(s, DEACTIVATE_REMOTE_FREES); stat 2161 mm/slub.c stat(s, tail); stat 2163 mm/slub.c stat(s, DEACTIVATE_FULL); stat 2165 mm/slub.c stat(s, DEACTIVATE_EMPTY); stat 2167 mm/slub.c stat(s, FREE_SLAB); stat 2224 mm/slub.c stat(s, FREE_ADD_PARTIAL); stat 2235 mm/slub.c stat(s, DEACTIVATE_EMPTY); stat 2237 mm/slub.c stat(s, FREE_SLAB); stat 2277 mm/slub.c stat(s, CPU_PARTIAL_DRAIN); stat 2303 mm/slub.c stat(s, CPUSLAB_FLUSH); stat 2468 mm/slub.c stat(s, ALLOC_SLAB); stat 2565 mm/slub.c stat(s, ALLOC_NODE_MISMATCH); stat 2590 mm/slub.c stat(s, DEACTIVATE_BYPASS); stat 2594 mm/slub.c stat(s, ALLOC_REFILL); stat 2612 mm/slub.c stat(s, CPU_PARTIAL_ALLOC); stat 2731 mm/slub.c stat(s, ALLOC_SLOWPATH); stat 2758 mm/slub.c stat(s, ALLOC_FASTPATH); stat 2848 mm/slub.c stat(s, FREE_SLOWPATH); stat 2906 mm/slub.c stat(s, CPU_PARTIAL_FREE); stat 2913 mm/slub.c stat(s, FREE_FROZEN); stat 2927 mm/slub.c stat(s, FREE_ADD_PARTIAL); stat 2938 mm/slub.c stat(s, FREE_REMOVE_PARTIAL); stat 2945 mm/slub.c stat(s, FREE_SLAB); stat 3000 mm/slub.c stat(s, FREE_FASTPATH); stat 5372 mm/slub.c unsigned x = per_cpu_ptr(s->cpu_slab, cpu)->stat[si]; stat 5395 mm/slub.c per_cpu_ptr(s->cpu_slab, cpu)->stat[si] = 0; stat 1123 mm/vmscan.c struct reclaim_stat *stat, stat 1131 mm/vmscan.c memset(stat, 0, sizeof(*stat)); stat 1174 mm/vmscan.c stat->nr_dirty++; stat 1177 mm/vmscan.c stat->nr_unqueued_dirty++; stat 1189 mm/vmscan.c stat->nr_congested++; stat 1238 mm/vmscan.c stat->nr_immediate++; stat 1256 mm/vmscan.c stat->nr_writeback++; stat 1276 mm/vmscan.c stat->nr_ref_keep += nr_pages; stat 1353 mm/vmscan.c stat->nr_unmap_fail += nr_pages; stat 1514 mm/vmscan.c stat->nr_activate[type] += nr_pages; stat 1524 mm/vmscan.c pgactivate = stat->nr_activate[0] + stat->nr_activate[1]; stat 1955 mm/vmscan.c struct reclaim_stat stat; stat 1995 mm/vmscan.c &stat, false); stat 2003 mm/vmscan.c reclaim_stat->recent_rotated[0] += stat.nr_activate[0]; stat 2004 mm/vmscan.c reclaim_stat->recent_rotated[1] += stat.nr_activate[1]; stat 2026 mm/vmscan.c if (stat.nr_unqueued_dirty == nr_taken) stat 2029 mm/vmscan.c sc->nr.dirty += stat.nr_dirty; stat 2030 mm/vmscan.c sc->nr.congested += stat.nr_congested; stat 2031 mm/vmscan.c sc->nr.unqueued_dirty += stat.nr_unqueued_dirty; stat 2032 mm/vmscan.c sc->nr.writeback += stat.nr_writeback; stat 2033 mm/vmscan.c sc->nr.immediate += stat.nr_immediate; stat 2039 mm/vmscan.c nr_scanned, nr_reclaimed, &stat, sc->priority, file); stat 1896 net/bluetooth/hci_core.c memset(&hdev->stat, 0, sizeof(struct hci_dev_stats)); stat 2137 net/bluetooth/hci_core.c memcpy(&di.stat, &hdev->stat, sizeof(di.stat)); stat 4300 net/bluetooth/hci_core.c hdev->stat.acl_rx++; stat 4333 net/bluetooth/hci_core.c hdev->stat.sco_rx++; stat 6049 net/bluetooth/hci_event.c hdev->stat.evt_rx++; stat 7535 net/bluetooth/l2cap_core.c __u16 res, stat; stat 7540 net/bluetooth/l2cap_core.c stat = L2CAP_CS_AUTHOR_PEND; stat 7545 net/bluetooth/l2cap_core.c stat = L2CAP_CS_NO_INFO; stat 7551 net/bluetooth/l2cap_core.c stat = L2CAP_CS_NO_INFO; stat 7557 net/bluetooth/l2cap_core.c rsp.status = cpu_to_le16(stat); stat 2367 net/ipv4/fib_trie.c static void trie_show_stats(struct seq_file *seq, struct trie_stat *stat) stat 2371 net/ipv4/fib_trie.c if (stat->leaves) stat 2372 net/ipv4/fib_trie.c avdepth = stat->totdepth*100 / stat->leaves; stat 2378 net/ipv4/fib_trie.c seq_printf(seq, "\tMax depth: %u\n", stat->maxdepth); stat 2380 net/ipv4/fib_trie.c seq_printf(seq, "\tLeaves: %u\n", stat->leaves); stat 2381 net/ipv4/fib_trie.c bytes = LEAF_SIZE * stat->leaves; stat 2383 net/ipv4/fib_trie.c seq_printf(seq, "\tPrefixes: %u\n", stat->prefixes); stat 2384 net/ipv4/fib_trie.c bytes += sizeof(struct fib_alias) * stat->prefixes; stat 2386 net/ipv4/fib_trie.c seq_printf(seq, "\tInternal nodes: %u\n\t", stat->tnodes); stat 2387 net/ipv4/fib_trie.c bytes += TNODE_SIZE(0) * stat->tnodes; stat 2390 net/ipv4/fib_trie.c while (max > 0 && stat->nodesizes[max-1] == 0) stat 2395 net/ipv4/fib_trie.c if (stat->nodesizes[i] != 0) { stat 2396 net/ipv4/fib_trie.c seq_printf(seq, " %u: %u", i, stat->nodesizes[i]); stat 2397 net/ipv4/fib_trie.c pointers += (1<<i) * stat->nodesizes[i]; stat 2403 net/ipv4/fib_trie.c seq_printf(seq, "Null ptrs: %u\n", stat->nullpointers); stat 2465 net/ipv4/fib_trie.c struct trie_stat stat; stat 2472 net/ipv4/fib_trie.c trie_collect_stats(t, &stat); stat 2473 net/ipv4/fib_trie.c trie_show_stats(seq, &stat); stat 2302 net/netfilter/nf_conntrack_core.c free_percpu(net->ct.stat); stat 2592 net/netfilter/nf_conntrack_core.c net->ct.stat = alloc_percpu(struct ip_conntrack_stat); stat 2593 net/netfilter/nf_conntrack_core.c if (!net->ct.stat) stat 2609 net/netfilter/nf_conntrack_core.c free_percpu(net->ct.stat); stat 2254 net/netfilter/nf_conntrack_netlink.c st = per_cpu_ptr(net->ct.stat, cpu); stat 3477 net/netfilter/nf_conntrack_netlink.c st = per_cpu_ptr(net->ct.stat, cpu); stat 397 net/netfilter/nf_conntrack_standalone.c return per_cpu_ptr(net->ct.stat, cpu); stat 412 net/netfilter/nf_conntrack_standalone.c return per_cpu_ptr(net->ct.stat, cpu); stat 754 net/packet/af_packet.c struct packet_sock *po, unsigned int stat) stat 756 net/packet/af_packet.c __u32 status = TP_STATUS_USER | stat; stat 808 net/sunrpc/auth_gss/svcauth_gss.c int stat = -ENOMEM; stat 820 net/sunrpc/auth_gss/svcauth_gss.c stat = 0; stat 832 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 858 net/sunrpc/auth_gss/svcauth_gss.c int stat = -EINVAL; stat 877 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 879 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 882 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 886 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 888 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 891 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 901 net/sunrpc/auth_gss/svcauth_gss.c stat = 0; stat 904 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 986 net/sunrpc/auth_gss/svcauth_gss.c int stat; stat 1000 net/sunrpc/auth_gss/svcauth_gss.c stat = svcauth_unix_set_client(rqstp); stat 1001 net/sunrpc/auth_gss/svcauth_gss.c if (stat == SVC_DROP || stat == SVC_CLOSE) stat 1002 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 1670 net/sunrpc/auth_gss/svcauth_gss.c int stat = -EINVAL; stat 1703 net/sunrpc/auth_gss/svcauth_gss.c stat = 0; stat 1705 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 1779 net/sunrpc/auth_gss/svcauth_gss.c int stat = -EINVAL; stat 1795 net/sunrpc/auth_gss/svcauth_gss.c stat = svcauth_gss_wrap_resp_integ(rqstp); stat 1796 net/sunrpc/auth_gss/svcauth_gss.c if (stat) stat 1800 net/sunrpc/auth_gss/svcauth_gss.c stat = svcauth_gss_wrap_resp_priv(rqstp); stat 1801 net/sunrpc/auth_gss/svcauth_gss.c if (stat) stat 1811 net/sunrpc/auth_gss/svcauth_gss.c stat = 0; stat 1826 net/sunrpc/auth_gss/svcauth_gss.c return stat; stat 805 net/sunrpc/rpcb_clnt.c xprt->stat.bind_count++; stat 845 net/sunrpc/xprt.c xprt->stat.connect_start = jiffies; stat 865 net/sunrpc/xprt.c start = xprt->stat.connect_start + xprt->reestablish_timeout; stat 978 net/sunrpc/xprt.c xprt->stat.bad_xids++; stat 1120 net/sunrpc/xprt.c xprt->stat.recvs++; stat 1477 net/sunrpc/xprt.c xprt->stat.sends++; stat 1478 net/sunrpc/xprt.c xprt->stat.req_u += xprt->stat.sends - xprt->stat.recvs; stat 1479 net/sunrpc/xprt.c xprt->stat.bklog_u += xprt->backlog.qlen; stat 1480 net/sunrpc/xprt.c xprt->stat.sending_u += xprt->sending.qlen; stat 1481 net/sunrpc/xprt.c xprt->stat.pending_u += xprt->pending.qlen; stat 1616 net/sunrpc/xprt.c xprt->stat.max_slots = max_t(unsigned int, xprt->stat.max_slots, stat 86 net/sunrpc/xprtrdma/svc_rdma.c atomic_t *stat = (atomic_t *)table->data; stat 88 net/sunrpc/xprtrdma/svc_rdma.c if (!stat) stat 92 net/sunrpc/xprtrdma/svc_rdma.c atomic_set(stat, 0); stat 95 net/sunrpc/xprtrdma/svc_rdma.c int len = snprintf(str_buf, 32, "%d\n", atomic_read(stat)); stat 247 net/sunrpc/xprtrdma/transport.c xprt->stat.connect_count++; stat 248 net/sunrpc/xprtrdma/transport.c xprt->stat.connect_time += (long)jiffies - stat 249 net/sunrpc/xprtrdma/transport.c xprt->stat.connect_start; stat 749 net/sunrpc/xprtrdma/transport.c xprt->stat.bind_count, stat 750 net/sunrpc/xprtrdma/transport.c xprt->stat.connect_count, stat 751 net/sunrpc/xprtrdma/transport.c xprt->stat.connect_time / HZ, stat 753 net/sunrpc/xprtrdma/transport.c xprt->stat.sends, stat 754 net/sunrpc/xprtrdma/transport.c xprt->stat.recvs, stat 755 net/sunrpc/xprtrdma/transport.c xprt->stat.bad_xids, stat 756 net/sunrpc/xprtrdma/transport.c xprt->stat.req_u, stat 757 net/sunrpc/xprtrdma/transport.c xprt->stat.bklog_u); stat 746 net/sunrpc/xprtsock.c transport->xprt.stat.connect_count++; stat 747 net/sunrpc/xprtsock.c transport->xprt.stat.connect_start = jiffies; stat 1527 net/sunrpc/xprtsock.c xprt->stat.connect_count++; stat 1528 net/sunrpc/xprtsock.c xprt->stat.connect_time += (long)jiffies - stat 1529 net/sunrpc/xprtsock.c xprt->stat.connect_start; stat 2000 net/sunrpc/xprtsock.c xprt->stat.connect_count++; stat 2001 net/sunrpc/xprtsock.c xprt->stat.connect_time += (long)jiffies - stat 2002 net/sunrpc/xprtsock.c xprt->stat.connect_start; stat 2158 net/sunrpc/xprtsock.c xprt->stat.connect_start = jiffies; stat 2528 net/sunrpc/xprtsock.c xprt->stat.bind_count, stat 2529 net/sunrpc/xprtsock.c xprt->stat.connect_count, stat 2530 net/sunrpc/xprtsock.c xprt->stat.connect_time / HZ, stat 2532 net/sunrpc/xprtsock.c xprt->stat.sends, stat 2533 net/sunrpc/xprtsock.c xprt->stat.recvs, stat 2534 net/sunrpc/xprtsock.c xprt->stat.bad_xids, stat 2535 net/sunrpc/xprtsock.c xprt->stat.req_u, stat 2536 net/sunrpc/xprtsock.c xprt->stat.bklog_u, stat 2537 net/sunrpc/xprtsock.c xprt->stat.max_slots, stat 2538 net/sunrpc/xprtsock.c xprt->stat.sending_u, stat 2539 net/sunrpc/xprtsock.c xprt->stat.pending_u); stat 2555 net/sunrpc/xprtsock.c xprt->stat.bind_count, stat 2556 net/sunrpc/xprtsock.c xprt->stat.sends, stat 2557 net/sunrpc/xprtsock.c xprt->stat.recvs, stat 2558 net/sunrpc/xprtsock.c xprt->stat.bad_xids, stat 2559 net/sunrpc/xprtsock.c xprt->stat.req_u, stat 2560 net/sunrpc/xprtsock.c xprt->stat.bklog_u, stat 2561 net/sunrpc/xprtsock.c xprt->stat.max_slots, stat 2562 net/sunrpc/xprtsock.c xprt->stat.sending_u, stat 2563 net/sunrpc/xprtsock.c xprt->stat.pending_u); stat 2583 net/sunrpc/xprtsock.c xprt->stat.bind_count, stat 2584 net/sunrpc/xprtsock.c xprt->stat.connect_count, stat 2585 net/sunrpc/xprtsock.c xprt->stat.connect_time / HZ, stat 2587 net/sunrpc/xprtsock.c xprt->stat.sends, stat 2588 net/sunrpc/xprtsock.c xprt->stat.recvs, stat 2589 net/sunrpc/xprtsock.c xprt->stat.bad_xids, stat 2590 net/sunrpc/xprtsock.c xprt->stat.req_u, stat 2591 net/sunrpc/xprtsock.c xprt->stat.bklog_u, stat 2592 net/sunrpc/xprtsock.c xprt->stat.max_slots, stat 2593 net/sunrpc/xprtsock.c xprt->stat.sending_u, stat 2594 net/sunrpc/xprtsock.c xprt->stat.pending_u); stat 3440 net/tipc/socket.c struct nlattr *stat; stat 3464 net/tipc/socket.c stat = nla_nest_start_noflag(skb, TIPC_NLA_SOCK_STAT); stat 3465 net/tipc/socket.c if (!stat) stat 3484 net/tipc/socket.c nla_nest_end(skb, stat); stat 3495 net/tipc/socket.c nla_nest_cancel(skb, stat); stat 173 samples/bpf/test_lru_dist.c struct stat fst; stat 1471 samples/mic/mpssd/mpssd.c int fd, ret, stat = 0; stat 1499 samples/mic/mpssd/mpssd.c ret = waitpid(mic->pid, &stat, stat 1500 samples/mic/mpssd/mpssd.c WIFSIGNALED(stat)); stat 562 scripts/asn1_compiler.c struct stat st; stat 268 scripts/basic/fixdep.c struct stat st; stat 132 scripts/dtc/dtc.c struct stat statbuf; stat 136 scripts/dtc/dtc.c if (stat(fname, &statbuf) != 0) stat 15 scripts/dtc/fstree.c struct stat st; stat 203 scripts/insert-sys-cert.c struct stat st; stat 230 scripts/insert-sys-cert.c struct stat st; stat 24 scripts/kconfig/confdata.c struct stat st; stat 26 scripts/kconfig/confdata.c return !stat(path, &st); stat 32 scripts/kconfig/confdata.c struct stat st; stat 34 scripts/kconfig/confdata.c if (stat(path, &st)) stat 44 scripts/kconfig/confdata.c struct stat st1, st2; stat 421 scripts/mod/modpost.c struct stat st; stat 2396 scripts/mod/modpost.c struct stat st; stat 48 scripts/recordmcount.c static struct stat sb; /* Remember .st_size, etc. */ stat 57 scripts/sortextable.c static struct stat sb; /* Remember .st_size, etc. */ stat 330 scripts/unifdef.c struct stat ist, ost; stat 331 scripts/unifdef.c if (stat(ofilename, &ost) == 0 && stat 186 security/tomoyo/audit.c struct tomoyo_mini_stat *stat; stat 192 security/tomoyo/audit.c stat = &obj->stat[i]; stat 193 security/tomoyo/audit.c dev = stat->dev; stat 194 security/tomoyo/audit.c mode = stat->mode; stat 200 security/tomoyo/audit.c from_kuid(&init_user_ns, stat->uid), stat 201 security/tomoyo/audit.c from_kgid(&init_user_ns, stat->gid), stat 202 security/tomoyo/audit.c (unsigned long)stat->ino, stat 203 security/tomoyo/audit.c stat->mode & S_IALLUGO); stat 209 security/tomoyo/audit.c from_kuid(&init_user_ns, stat->uid), stat 210 security/tomoyo/audit.c from_kgid(&init_user_ns, stat->gid), stat 211 security/tomoyo/audit.c (unsigned long)stat->ino, stat 215 security/tomoyo/audit.c dev = stat->rdev; stat 598 security/tomoyo/common.h struct tomoyo_mini_stat stat[TOMOYO_MAX_PATH_STAT]; stat 740 security/tomoyo/condition.c struct tomoyo_mini_stat *stat = &obj->stat[i]; stat 742 security/tomoyo/condition.c stat->uid = inode->i_uid; stat 743 security/tomoyo/condition.c stat->gid = inode->i_gid; stat 744 security/tomoyo/condition.c stat->ino = inode->i_ino; stat 745 security/tomoyo/condition.c stat->mode = inode->i_mode; stat 746 security/tomoyo/condition.c stat->dev = inode->i_sb->s_dev; stat 747 security/tomoyo/condition.c stat->rdev = inode->i_rdev; stat 949 security/tomoyo/condition.c struct tomoyo_mini_stat *stat; stat 993 security/tomoyo/condition.c stat = &obj->stat[stat_index]; stat 999 security/tomoyo/condition.c value = from_kuid(&init_user_ns, stat->uid); stat 1005 security/tomoyo/condition.c value = from_kgid(&init_user_ns, stat->gid); stat 1011 security/tomoyo/condition.c value = stat->ino; stat 1015 security/tomoyo/condition.c value = MAJOR(stat->dev); stat 1019 security/tomoyo/condition.c value = MINOR(stat->dev); stat 1023 security/tomoyo/condition.c value = stat->mode & S_IFMT; stat 1027 security/tomoyo/condition.c value = MAJOR(stat->rdev); stat 1031 security/tomoyo/condition.c value = MINOR(stat->rdev); stat 1037 security/tomoyo/condition.c value = stat->mode & S_IALLUGO; stat 822 sound/drivers/ml403-ac97cr.c u32 stat; stat 886 sound/drivers/ml403-ac97cr.c stat = in_be32(CR_REG(ml403_ac97cr, STATUS)); stat 887 sound/drivers/ml403-ac97cr.c if ((stat & CR_RAF) == CR_RAF) { stat 892 sound/drivers/ml403-ac97cr.c reg, value, value, stat); stat 921 sound/drivers/ml403-ac97cr.c reg, stat, value, value, rafaccess, stat 945 sound/drivers/ml403-ac97cr.c u32 stat; stat 1000 sound/drivers/ml403-ac97cr.c stat = in_be32(CR_REG(ml403_ac97cr, STATUS)) stat 1001 sound/drivers/ml403-ac97cr.c if ((stat & CR_RAF) == CR_RAF) { stat 1027 sound/drivers/ml403-ac97cr.c reg, val, val, stat, rafaccess, ml403_ac97cr->ac97_write, stat 16 sound/isa/gus/gus_uart.c unsigned char stat, data, byte; stat 22 sound/isa/gus/gus_uart.c stat = snd_gf1_uart_stat(gus); stat 23 sound/isa/gus/gus_uart.c if (!(stat & 0x01)) { /* data in Rx FIFO? */ stat 34 sound/isa/gus/gus_uart.c if (stat & 0x10) { /* framing error */ stat 42 sound/isa/gus/gus_uart.c if (stat & 0x20) { stat 220 sound/pci/lx6464es/lx_core.c memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32)); stat 240 sound/pci/lx6464es/lx_core.c snd_printk(LXRMH "\tstat[%d]: %08x\n", i, rmh->stat[i]); stat 291 sound/pci/lx6464es/lx_core.c lx_dsp_reg_readbuf(chip, eReg_CRM2, rmh->stat, stat 326 sound/pci/lx6464es/lx_core.c *rdsp_version = chip->rmh.stat[1]; stat 344 sound/pci/lx6464es/lx_core.c freq_raw = chip->rmh.stat[0] >> FREQ_FIELD_OFFSET; stat 408 sound/pci/lx6464es/lx_core.c memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); stat 481 sound/pci/lx6464es/lx_core.c u32 stat = chip->rmh.stat[i]; stat 482 sound/pci/lx6464es/lx_core.c if (stat & (BF_EOB << BUFF_FLAGS_OFFSET)) { stat 486 sound/pci/lx6464es/lx_core.c size_array[i] = stat & MASK_DATA_SIZE; stat 487 sound/pci/lx6464es/lx_core.c } else if ((stat & (BF_VALID << BUFF_FLAGS_OFFSET)) stat 500 sound/pci/lx6464es/lx_core.c chip->rmh.stat[i], stat 501 sound/pci/lx6464es/lx_core.c chip->rmh.stat[i] & MASK_DATA_SIZE); stat 588 sound/pci/lx6464es/lx_core.c *rsample_count = ((u64)(chip->rmh.stat[0] & MASK_SPL_COUNT_HI) stat 590 sound/pci/lx6464es/lx_core.c + chip->rmh.stat[1]; /* lo part */ stat 612 sound/pci/lx6464es/lx_core.c *rstate = (chip->rmh.stat[0] >> PSTATE_OFFSET) & 0x0F; stat 715 sound/pci/lx6464es/lx_core.c *rstate = (chip->rmh.stat[0] & SF_START) ? START_STATE : PAUSE_STATE; stat 734 sound/pci/lx6464es/lx_core.c *r_bytepos = ((u64) (chip->rmh.stat[0] & MASK_SPL_COUNT_HI) stat 736 sound/pci/lx6464es/lx_core.c + chip->rmh.stat[1]; /* lo part */ stat 770 sound/pci/lx6464es/lx_core.c *r_buffer_index = chip->rmh.stat[0]; stat 807 sound/pci/lx6464es/lx_core.c *r_buffer_size = chip->rmh.stat[0] & MASK_DATA_SIZE; stat 896 sound/pci/lx6464es/lx_core.c s0 = peak_map[chip->rmh.stat[0] & 0x0F]; stat 897 sound/pci/lx6464es/lx_core.c s1 = peak_map[(chip->rmh.stat[0] >> 4) & 0xf]; stat 898 sound/pci/lx6464es/lx_core.c s2 = peak_map[(chip->rmh.stat[0] >> 8) & 0xf]; stat 899 sound/pci/lx6464es/lx_core.c s3 = peak_map[(chip->rmh.stat[0] >> 12) & 0xf]; stat 974 sound/pci/lx6464es/lx_core.c u32 stat[9]; /* answer from CMD_04_GET_EVENT */ stat 994 sound/pci/lx6464es/lx_core.c err = lx_dsp_read_async_events(chip, stat); stat 999 sound/pci/lx6464es/lx_core.c *r_notified_in_pipe_mask = ((u64)stat[3] << 32) stat 1000 sound/pci/lx6464es/lx_core.c + stat[4]; stat 1005 sound/pci/lx6464es/lx_core.c *r_notified_out_pipe_mask = ((u64)stat[1] << 32) stat 1006 sound/pci/lx6464es/lx_core.c + stat[2]; stat 92 sound/pci/lx6464es/lx_core.h u32 stat[REG_CRM_NUMBER]; stat 122 sound/pci/mixart/mixart.c u32 stat = 0; stat 141 sound/pci/mixart/mixart.c err = snd_mixart_send_msg(mgr, &request, sizeof(stat), &stat); stat 142 sound/pci/mixart/mixart.c if (err < 0 || stat != 0) { stat 145 sound/pci/mixart/mixart.c err, stat); stat 458 sound/pci/pcxhr/pcxhr.c switch (rmh.stat[1] & 0x0f) { stat 674 sound/pci/pcxhr/pcxhr.c *sample_count = ((snd_pcm_uframes_t)rmh.stat[0]) << 24; stat 675 sound/pci/pcxhr/pcxhr.c *sample_count += (snd_pcm_uframes_t)rmh.stat[1]; stat 1260 sound/pci/pcxhr/pcxhr.c int cur = rmh.stat[0]; stat 1261 sound/pci/pcxhr/pcxhr.c int ref = rmh.stat[1]; stat 1274 sound/pci/pcxhr/pcxhr.c rmh.stat[2], rmh.stat[3]); stat 1299 sound/pci/pcxhr/pcxhr.c i, rmh.stat[i]); stat 1426 sound/pci/pcxhr/pcxhr.c ltcHrs = 10*((rmh.stat[0] >> 8) & 0x3) + (rmh.stat[0] & 0xf); stat 1427 sound/pci/pcxhr/pcxhr.c ltcMin = 10*((rmh.stat[1] >> 16) & 0x7) + ((rmh.stat[1] >> 8) & 0xf); stat 1428 sound/pci/pcxhr/pcxhr.c ltcSec = 10*(rmh.stat[1] & 0x7) + ((rmh.stat[2] >> 16) & 0xf); stat 1429 sound/pci/pcxhr/pcxhr.c ltcFrm = 10*((rmh.stat[2] >> 8) & 0x3) + (rmh.stat[2] & 0xf); stat 1433 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "raw: 0x%04x%06x%06x\n", rmh.stat[0] & 0x00ffff, stat 1434 sound/pci/pcxhr/pcxhr.c rmh.stat[1] & 0xffffff, rmh.stat[2] & 0xffffff); stat 1437 sound/pci/pcxhr/pcxhr.c if (!(rmh.stat[0] & TIME_CODE_VALID_MASK)) { stat 585 sound/pci/pcxhr/pcxhr_core.c rmh->stat[i] = data; stat 812 sound/pci/pcxhr/pcxhr_core.c if (rmh.stat[0] == 0) stat 1054 sound/pci/pcxhr/pcxhr_core.c err, prmh->stat[0]); stat 1070 sound/pci/pcxhr/pcxhr_core.c int nb_audio = ((prmh->stat[i] >> FIELD_SIZE) & stat 1072 sound/pci/pcxhr/pcxhr_core.c int nb_stream = ((prmh->stat[i] >> (2*FIELD_SIZE)) & stat 1074 sound/pci/pcxhr/pcxhr_core.c int pipe = prmh->stat[i] & MASK_FIRST_FIELD; stat 1075 sound/pci/pcxhr/pcxhr_core.c int is_capture = prmh->stat[i] & 0x400000; stat 1078 sound/pci/pcxhr/pcxhr_core.c if (prmh->stat[i] & 0x800000) { /* if BIT_END */ stat 1085 sound/pci/pcxhr/pcxhr_core.c err2 = prmh->stat[i] ? prmh->stat[i] : prmh->stat[i+1]; stat 1092 sound/pci/pcxhr/pcxhr_core.c err2 = prmh->stat[i] ? stat 1093 sound/pci/pcxhr/pcxhr_core.c prmh->stat[i] : prmh->stat[i+1]; stat 1102 sound/pci/pcxhr/pcxhr_core.c err2 = prmh->stat[i] ? stat 1103 sound/pci/pcxhr/pcxhr_core.c prmh->stat[i] : prmh->stat[i+1]; stat 1134 sound/pci/pcxhr/pcxhr_core.c hw_sample_count = ((u_int64_t)rmh.stat[0]) << 24; stat 1135 sound/pci/pcxhr/pcxhr_core.c hw_sample_count += (u_int64_t)rmh.stat[1]; stat 40 sound/pci/pcxhr/pcxhr_core.h u32 stat[PCXHR_SIZE_MAX_STATUS]; stat 50 sound/pci/pcxhr/pcxhr_hwdep.c if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2) stat 53 sound/pci/pcxhr/pcxhr_hwdep.c if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < stat 57 sound/pci/pcxhr/pcxhr_hwdep.c if ((rmh.stat[1] & 0x5F) < card_streams) stat 60 sound/pci/pcxhr/pcxhr_hwdep.c if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS) stat 64 sound/pci/pcxhr/pcxhr_hwdep.c rmh.stat[2], rmh.stat[3]); stat 76 sound/pci/pcxhr/pcxhr_hwdep.c "PCXHR DSP version is %d.%d.%d\n", (rmh.stat[0]>>16)&0xff, stat 77 sound/pci/pcxhr/pcxhr_hwdep.c (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff); stat 78 sound/pci/pcxhr/pcxhr_hwdep.c mgr->dsp_version = rmh.stat[0]; stat 101 sound/pci/pcxhr/pcxhr_hwdep.c if ((rmh.stat[1] & REG_STATUS_OPT_DAUGHTER_MASK) == stat 898 sound/pci/pcxhr/pcxhr_mixer.c temp = (unsigned char)rmh.stat[1]; stat 904 sound/pci/pcxhr/pcxhr_mixer.c if (rmh.stat[1] & (1 << i)) stat 193 sound/pci/riptide/riptide.c #define IS_CMDE(a) (READ_PORT_ULONG(a->stat)&0x1) /* cmd empty */ stat 194 sound/pci/riptide/riptide.c #define IS_DATF(a) (READ_PORT_ULONG(a->stat)&0x2) /* data filled */ stat 372 sound/pci/riptide/riptide.c u32 stat; /* status */ stat 917 sound/pci/riptide/riptide.c cif->cmdcnt, (int)((void *)&(cmdport->stat) - (void *)hwport), stat 529 sound/pci/via82xx.c unsigned int stat = !secondary ? VIA_REG_AC97_PRIMARY_VALID : stat 534 sound/pci/via82xx.c val1 = val & (VIA_REG_AC97_BUSY | stat); stat 535 sound/pci/via82xx.c if (val1 == stat) stat 383 sound/pci/via82xx_modem.c unsigned int stat = !secondary ? VIA_REG_AC97_PRIMARY_VALID : stat 388 sound/pci/via82xx_modem.c val1 = val & (VIA_REG_AC97_BUSY | stat); stat 389 sound/pci/via82xx_modem.c if (val1 == stat) stat 19 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c unsigned short stat; stat 27 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c stat = inw(chip->port + PDAUDIOCF_REG_ISR); stat 28 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c if (stat & (PDAUDIOCF_IRQLVL|PDAUDIOCF_IRQOVR)) { stat 29 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c if (stat & PDAUDIOCF_IRQOVR) /* should never happen */ stat 33 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c if (!(stat & PDAUDIOCF_IRQAKM)) stat 34 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c stat |= PDAUDIOCF_IRQAKM; /* check rate */ stat 315 sound/ppc/pmac.c int stat; stat 317 sound/ppc/pmac.c stat = le16_to_cpu(cp->xfer_status); stat 318 sound/ppc/pmac.c if (stat & (ACTIVE|DEAD)) { stat 453 sound/ppc/pmac.c int stat; stat 464 sound/ppc/pmac.c stat = le16_to_cpu(cp->xfer_status); stat 466 sound/ppc/pmac.c if (stat & DEAD) { stat 474 sound/ppc/pmac.c if (! (stat & ACTIVE)) stat 80 sound/soc/adi/axi-spdif.c unsigned int clkdiv, stat; stat 84 sound/soc/adi/axi-spdif.c stat = AXI_SPDIF_FREQ_32000; stat 87 sound/soc/adi/axi-spdif.c stat = AXI_SPDIF_FREQ_44100; stat 90 sound/soc/adi/axi-spdif.c stat = AXI_SPDIF_FREQ_48000; stat 93 sound/soc/adi/axi-spdif.c stat = AXI_SPDIF_FREQ_NA; stat 101 sound/soc/adi/axi-spdif.c regmap_write(spdif->regmap, AXI_SPDIF_REG_STAT, stat); stat 212 sound/soc/au1x/psc-ac97.c unsigned long r, ro, stat; stat 218 sound/soc/au1x/psc-ac97.c stat = __raw_readl(AC97_STAT(pscdata)); stat 221 sound/soc/au1x/psc-ac97.c if (stat & (PSC_AC97STAT_TB | PSC_AC97STAT_RB)) { stat 117 sound/soc/au1x/psc-i2s.c unsigned long stat; stat 120 sound/soc/au1x/psc-i2s.c stat = __raw_readl(I2S_STAT(pscdata)); stat 121 sound/soc/au1x/psc-i2s.c if (stat & (PSC_I2SSTAT_TB | PSC_I2SSTAT_RB)) { stat 181 sound/soc/au1x/psc-i2s.c unsigned long tmo, stat; stat 187 sound/soc/au1x/psc-i2s.c stat = __raw_readl(I2S_STAT(pscdata)); stat 188 sound/soc/au1x/psc-i2s.c if (!(stat & (PSC_I2SSTAT_TB | PSC_I2SSTAT_RB))) { stat 215 sound/soc/au1x/psc-i2s.c unsigned long tmo, stat; stat 226 sound/soc/au1x/psc-i2s.c stat = __raw_readl(I2S_STAT(pscdata)); stat 227 sound/soc/au1x/psc-i2s.c if (!(stat & (PSC_I2SSTAT_TB | PSC_I2SSTAT_RB))) { stat 78 sound/soc/meson/axg-spdifin.c unsigned int stat, mode, rate = 0; stat 80 sound/soc/meson/axg-spdifin.c regmap_read(priv->map, SPDIFIN_STAT0, &stat); stat 81 sound/soc/meson/axg-spdifin.c mode = FIELD_GET(SPDIFIN_STAT0_MODE, stat); stat 88 sound/soc/meson/axg-spdifin.c if (FIELD_GET(SPDIFIN_STAT0_MAXW, stat) && stat 208 sound/soc/mxs/mxs-saif.c u32 stat; stat 213 sound/soc/mxs/mxs-saif.c stat = __raw_readl(saif->base + SAIF_STAT); stat 214 sound/soc/mxs/mxs-saif.c if (stat & BM_SAIF_STAT_BUSY) { stat 242 sound/soc/mxs/mxs-saif.c u32 stat; stat 263 sound/soc/mxs/mxs-saif.c stat = __raw_readl(saif->base + SAIF_STAT); stat 264 sound/soc/mxs/mxs-saif.c if (stat & BM_SAIF_STAT_BUSY) { stat 292 sound/soc/mxs/mxs-saif.c u32 scr, stat; stat 296 sound/soc/mxs/mxs-saif.c stat = __raw_readl(saif->base + SAIF_STAT); stat 297 sound/soc/mxs/mxs-saif.c if (stat & BM_SAIF_STAT_BUSY) { stat 420 sound/soc/mxs/mxs-saif.c u32 scr, stat; stat 433 sound/soc/mxs/mxs-saif.c stat = __raw_readl(saif->base + SAIF_STAT); stat 434 sound/soc/mxs/mxs-saif.c if (!saif->mclk_in_use && (stat & BM_SAIF_STAT_BUSY)) { stat 679 sound/soc/mxs/mxs-saif.c unsigned int stat; stat 681 sound/soc/mxs/mxs-saif.c stat = __raw_readl(saif->base + SAIF_STAT); stat 682 sound/soc/mxs/mxs-saif.c if (!(stat & (BM_SAIF_STAT_FIFO_UNDERFLOW_IRQ | stat 686 sound/soc/mxs/mxs-saif.c if (stat & BM_SAIF_STAT_FIFO_UNDERFLOW_IRQ) { stat 692 sound/soc/mxs/mxs-saif.c if (stat & BM_SAIF_STAT_FIFO_OVERFLOW_IRQ) { stat 365 sound/soc/ti/davinci-mcasp.c u32 stat; stat 367 sound/soc/ti/davinci-mcasp.c stat = mcasp_get_reg(mcasp, DAVINCI_MCASP_TXSTAT_REG); stat 368 sound/soc/ti/davinci-mcasp.c if (stat & XUNDRN & irq_mask) { stat 379 sound/soc/ti/davinci-mcasp.c stat); stat 381 sound/soc/ti/davinci-mcasp.c if (stat & XRERR) stat 396 sound/soc/ti/davinci-mcasp.c u32 stat; stat 398 sound/soc/ti/davinci-mcasp.c stat = mcasp_get_reg(mcasp, DAVINCI_MCASP_RXSTAT_REG); stat 399 sound/soc/ti/davinci-mcasp.c if (stat & ROVRN & irq_mask) { stat 410 sound/soc/ti/davinci-mcasp.c stat); stat 412 sound/soc/ti/davinci-mcasp.c if (stat & XRERR) stat 946 tools/bpf/bpf_dbg.c struct stat sb; stat 129 tools/bpf/bpf_jit_disasm.c struct stat fi; stat 258 tools/bpf/bpftool/cgroup.c static int do_show_tree_fn(const char *fpath, const struct stat *sb, stat 459 tools/bpf/bpftool/common.c struct stat st; stat 462 tools/bpf/bpftool/common.c err = stat("/proc/self/ns/net", &st); stat 150 tools/bpf/bpftool/perf.c static int show_proc(const char *fpath, const struct stat *sb, stat 123 tools/build/fixdep.c struct stat st; stat 75 tools/firmware/ihex2fw.c struct stat st; stat 116 tools/hv/hv_vss_daemon.c struct stat sb; stat 140 tools/hv/hv_vss_daemon.c if (stat(ent->mnt_fsname, &sb)) { stat 1687 tools/include/nolibc/nolibc.h int sys_stat(const char *path, struct stat *buf) stat 1689 tools/include/nolibc/nolibc.h struct sys_stat_struct stat; stat 1694 tools/include/nolibc/nolibc.h ret = my_syscall4(__NR_newfstatat, AT_FDCWD, path, &stat, 0); stat 1696 tools/include/nolibc/nolibc.h ret = my_syscall2(__NR_stat, path, &stat); stat 1698 tools/include/nolibc/nolibc.h buf->st_dev = stat.st_dev; stat 1699 tools/include/nolibc/nolibc.h buf->st_ino = stat.st_ino; stat 1700 tools/include/nolibc/nolibc.h buf->st_mode = stat.st_mode; stat 1701 tools/include/nolibc/nolibc.h buf->st_nlink = stat.st_nlink; stat 1702 tools/include/nolibc/nolibc.h buf->st_uid = stat.st_uid; stat 1703 tools/include/nolibc/nolibc.h buf->st_gid = stat.st_gid; stat 1704 tools/include/nolibc/nolibc.h buf->st_rdev = stat.st_rdev; stat 1705 tools/include/nolibc/nolibc.h buf->st_size = stat.st_size; stat 1706 tools/include/nolibc/nolibc.h buf->st_blksize = stat.st_blksize; stat 1707 tools/include/nolibc/nolibc.h buf->st_blocks = stat.st_blocks; stat 1708 tools/include/nolibc/nolibc.h buf->st_atime = stat.st_atime; stat 1709 tools/include/nolibc/nolibc.h buf->st_mtime = stat.st_mtime; stat 1710 tools/include/nolibc/nolibc.h buf->st_ctime = stat.st_ctime; stat 2170 tools/include/nolibc/nolibc.h int stat(const char *path, struct stat *buf) stat 224 tools/io_uring/io_uring-bench.c struct stat st; stat 49 tools/io_uring/io_uring-cp.c struct stat st; stat 109 tools/laptop/freefall/freefall.c struct stat st; stat 131 tools/laptop/freefall/freefall.c if (stat("/sys/class/leds/hp::hddprotect/brightness", &st)) stat 2828 tools/lib/bpf/libbpf.c struct stat st; stat 2832 tools/lib/bpf/libbpf.c if (stat(path, &st)) stat 40 tools/lib/subcmd/exec-cmd.c struct stat cwd_stat, pwd_stat; stat 45 tools/lib/subcmd/exec-cmd.c stat(cwd, &cwd_stat); stat 46 tools/lib/subcmd/exec-cmd.c if (!stat(pwd, &pwd_stat) && stat 138 tools/lib/subcmd/help.c struct stat st; stat 140 tools/lib/subcmd/help.c if (stat(name, &st) || /* stat, not lstat */ stat 336 tools/lib/traceevent/event-plugin.c struct stat st; stat 340 tools/lib/traceevent/event-plugin.c ret = stat(path, &st); stat 271 tools/perf/builtin-diff.c double old_percent = period_percent(he, he->stat.period); stat 272 tools/perf/builtin-diff.c double new_percent = period_percent(pair, pair->stat.period); stat 281 tools/perf/builtin-diff.c double old_period = he->stat.period ?: 1; stat 282 tools/perf/builtin-diff.c double new_period = pair->stat.period; stat 291 tools/perf/builtin-diff.c u64 old_period = he->stat.period; stat 292 tools/perf/builtin-diff.c u64 new_period = pair->stat.period; stat 314 tools/perf/builtin-diff.c pair->stat.period, pair_total, stat 315 tools/perf/builtin-diff.c he->stat.period, he_total); stat 321 tools/perf/builtin-diff.c double old_period = he->stat.period; stat 322 tools/perf/builtin-diff.c double new_period = pair->stat.period; stat 330 tools/perf/builtin-diff.c u64 old_period = he->stat.period; stat 331 tools/perf/builtin-diff.c u64 new_period = pair->stat.period; stat 912 tools/perf/builtin-diff.c if (left->stat.period == right->stat.period) stat 914 tools/perf/builtin-diff.c return left->stat.period > right->stat.period ? 1 : -1; stat 1297 tools/perf/builtin-diff.c return 100.0 * he->stat.period / total; stat 1470 tools/perf/builtin-diff.c scnprintf(buf, size, "%" PRIu64, he->stat.period); stat 1534 tools/perf/builtin-diff.c scnprintf(buf, size, "%" PRIu64, pair->stat.period); stat 389 tools/perf/builtin-help.c struct stat st; stat 393 tools/perf/builtin-help.c if (stat(mkpath("%s/perf.html", html_path), &st) stat 390 tools/perf/builtin-mem.c struct stat st; stat 1030 tools/perf/builtin-report.c struct stat st; stat 299 tools/perf/builtin-script.c struct stat st; stat 3435 tools/perf/builtin-script.c .stat = perf_event__process_stat_event, stat 3813 tools/perf/builtin-script.c struct stat perf_stat; stat 404 tools/perf/builtin-stat.c struct stat st; stat 416 tools/perf/builtin-stat.c if (!stat(path, &st)) stat 1602 tools/perf/builtin-stat.c .stat = perf_event__process_stat_event, stat 1623 tools/perf/builtin-stat.c struct stat st; stat 1156 tools/perf/builtin-trace.c struct stat st; stat 1157 tools/perf/builtin-trace.c if (stat(pathname, &st) == 0) stat 1170 tools/perf/builtin-trace.c struct stat st; stat 3829 tools/perf/builtin-trace.c struct stat st; stat 3831 tools/perf/builtin-trace.c if (!stat(filename, &st) && st.st_size) { stat 100 tools/perf/examples/bpf/augmented_syscalls.c struct stat *statbuf; stat 378 tools/perf/lib/include/perf/event.h struct perf_record_stat stat; stat 298 tools/perf/perf.c struct stat st; stat 896 tools/perf/pmu-events/jevents.c struct stat st; stat 899 tools/perf/pmu-events/jevents.c if (stat(path, &st)) stat 928 tools/perf/pmu-events/jevents.c static int preprocess_arch_std_files(const char *fpath, const struct stat *sb, stat 940 tools/perf/pmu-events/jevents.c static int process_one_file(const char *fpath, const struct stat *sb, stat 1078 tools/perf/pmu-events/jevents.c struct stat stbuf; stat 1103 tools/perf/pmu-events/jevents.c if (stat(ldirname, &stbuf) < 0) { stat 47 tools/perf/pmu-events/json.c struct stat st; stat 182 tools/perf/tests/attr.c struct stat st; stat 458 tools/perf/tests/builtin-test.c struct stat st; stat 185 tools/perf/tests/hists_common.c he->ms.sym->name, he->stat.period); stat 212 tools/perf/tests/hists_common.c he->ms.sym->name, he->stat.period, stat 210 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && stat 170 tools/perf/tests/hists_output.c !strcmp(SYM(he), "main") && he->stat.period == 200); stat 176 tools/perf/tests/hists_output.c !strcmp(SYM(he), "page_fault") && he->stat.period == 100); stat 182 tools/perf/tests/hists_output.c !strcmp(SYM(he), "main") && he->stat.period == 100); stat 188 tools/perf/tests/hists_output.c !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); stat 194 tools/perf/tests/hists_output.c !strcmp(SYM(he), "page_fault") && he->stat.period == 100); stat 200 tools/perf/tests/hists_output.c !strcmp(SYM(he), "schedule") && he->stat.period == 100); stat 206 tools/perf/tests/hists_output.c !strcmp(SYM(he), "free") && he->stat.period == 100); stat 212 tools/perf/tests/hists_output.c !strcmp(SYM(he), "malloc") && he->stat.period == 100); stat 218 tools/perf/tests/hists_output.c !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); stat 269 tools/perf/tests/hists_output.c CPU(he) == 1 && PID(he) == 100 && he->stat.period == 300); stat 274 tools/perf/tests/hists_output.c CPU(he) == 0 && PID(he) == 100 && he->stat.period == 100); stat 324 tools/perf/tests/hists_output.c he->stat.period == 200); stat 330 tools/perf/tests/hists_output.c he->stat.period == 100); stat 336 tools/perf/tests/hists_output.c he->stat.period == 300); stat 342 tools/perf/tests/hists_output.c he->stat.period == 200); stat 348 tools/perf/tests/hists_output.c he->stat.period == 200); stat 402 tools/perf/tests/hists_output.c !strcmp(COMM(he), "perf") && he->stat.period == 100); stat 408 tools/perf/tests/hists_output.c !strcmp(COMM(he), "perf") && he->stat.period == 100); stat 414 tools/perf/tests/hists_output.c !strcmp(COMM(he), "bash") && he->stat.period == 100); stat 420 tools/perf/tests/hists_output.c !strcmp(COMM(he), "perf") && he->stat.period == 200); stat 426 tools/perf/tests/hists_output.c !strcmp(COMM(he), "perf") && he->stat.period == 100); stat 432 tools/perf/tests/hists_output.c !strcmp(COMM(he), "bash") && he->stat.period == 100); stat 438 tools/perf/tests/hists_output.c !strcmp(COMM(he), "perf") && he->stat.period == 100); stat 444 tools/perf/tests/hists_output.c !strcmp(COMM(he), "perf") && he->stat.period == 100); stat 450 tools/perf/tests/hists_output.c !strcmp(COMM(he), "bash") && he->stat.period == 100); stat 507 tools/perf/tests/hists_output.c !strcmp(SYM(he), "schedule") && he->stat.period == 100); stat 514 tools/perf/tests/hists_output.c !strcmp(SYM(he), "page_fault") && he->stat.period == 100); stat 521 tools/perf/tests/hists_output.c !strcmp(SYM(he), "page_fault") && he->stat.period == 100); stat 528 tools/perf/tests/hists_output.c !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); stat 535 tools/perf/tests/hists_output.c !strcmp(SYM(he), "main") && he->stat.period == 100); stat 542 tools/perf/tests/hists_output.c !strcmp(SYM(he), "malloc") && he->stat.period == 100); stat 549 tools/perf/tests/hists_output.c !strcmp(SYM(he), "free") && he->stat.period == 100); stat 556 tools/perf/tests/hists_output.c !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); stat 563 tools/perf/tests/hists_output.c !strcmp(SYM(he), "main") && he->stat.period == 100); stat 570 tools/perf/tests/hists_output.c !strcmp(SYM(he), "main") && he->stat.period == 100); stat 1855 tools/perf/tests/parse-events.c struct stat st; stat 1862 tools/perf/tests/parse-events.c ret = stat(path, &st); stat 1870 tools/perf/tests/parse-events.c struct stat st; stat 1879 tools/perf/tests/parse-events.c ret = stat(path, &st); stat 69 tools/perf/tests/stat.c struct perf_record_stat *st = &event->stat; stat 1126 tools/perf/ui/browsers/hists.c parent_total = entry->stat.period; stat 1180 tools/perf/ui/browsers/hists.c return he->stat._field; \ stat 2803 tools/perf/ui/browsers/hists.c total = he->stat.period; stat 46 tools/perf/ui/gtk/hists.c return he->stat._field; \ stat 391 tools/perf/ui/gtk/hists.c h->stat_acc->period : h->stat.period; stat 488 tools/perf/ui/gtk/hists.c he->stat_acc->period : he->stat.period; stat 280 tools/perf/ui/hist.c return he->stat._field; \ stat 336 tools/perf/ui/hist.c return he->stat._field; \ stat 384 tools/perf/ui/stdio/hist.c u64 parent_samples = he->stat.period; stat 657 tools/perf/util/config.c struct stat st; stat 683 tools/perf/util/config.c if (stat(user_config, &st) < 0) { stat 77 tools/perf/util/copyfile.c struct stat st; stat 83 tools/perf/util/copyfile.c err = stat(from, &st); stat 93 tools/perf/util/data.c struct stat st; stat 96 tools/perf/util/data.c if (stat(path, &st)) stat 144 tools/perf/util/data.c struct stat st; stat 157 tools/perf/util/data.c struct stat st; stat 178 tools/perf/util/data.c struct stat st; stat 183 tools/perf/util/data.c if (!stat(data->path, &st) && st.st_size) { stat 212 tools/perf/util/data.c struct stat st; stat 214 tools/perf/util/data.c if (stat(data->path, &st)) stat 222 tools/perf/util/data.c struct stat st; stat 953 tools/perf/util/dso.c struct stat st; stat 1034 tools/perf/util/header.c struct stat st; stat 1040 tools/perf/util/header.c if (stat(file, &st)) stat 2860 tools/perf/util/header.c FEAT_OPN(STAT, stat, false), stat 2914 tools/perf/util/header.c struct stat st; stat 300 tools/perf/util/hist.c u64 prev_period = he->stat.period; stat 306 tools/perf/util/hist.c he_stat__decay(&he->stat); stat 311 tools/perf/util/hist.c diff = prev_period - he->stat.period; stat 331 tools/perf/util/hist.c return he->stat.period == 0; stat 420 tools/perf/util/hist.c he->stat_acc = malloc(sizeof(he->stat)); stat 423 tools/perf/util/hist.c memcpy(he->stat_acc, &he->stat, sizeof(he->stat)); stat 425 tools/perf/util/hist.c memset(&he->stat, 0, sizeof(he->stat)); stat 573 tools/perf/util/hist.c u64 period = entry->stat.period; stat 574 tools/perf/util/hist.c u64 weight = entry->stat.weight; stat 593 tools/perf/util/hist.c he_stat__add_period(&he->stat, period, weight); stat 640 tools/perf/util/hist.c he_stat__add_cpumode_period(&he->stat, al->cpumode, period); stat 701 tools/perf/util/hist.c .stat = { stat 1419 tools/perf/util/hist.c he_stat__add_stat(&iter->stat, &he->stat); stat 1535 tools/perf/util/hist.c he_stat__add_stat(&iter->stat, &he->stat); stat 1663 tools/perf/util/hist.c hists->stats.total_non_filtered_period += h->stat.period; stat 1672 tools/perf/util/hist.c hists->stats.total_period += h->stat.period; stat 1694 tools/perf/util/hist.c hists->stats.total_period += he->stat.period; stat 1696 tools/perf/util/hist.c hists->stats.total_non_filtered_period += he->stat.period; stat 1772 tools/perf/util/hist.c u64 total = he->stat.period; stat 1798 tools/perf/util/hist.c u64 total = he->stat.period; stat 2007 tools/perf/util/hist.c he_stat__add_stat(&parent->stat, &h->stat); stat 2033 tools/perf/util/hist.c hists->stats.nr_non_filtered_samples += h->stat.nr_events; stat 2173 tools/perf/util/hist.c memset(&h->stat, 0, sizeof(h->stat)); stat 2312 tools/perf/util/hist.c memset(&he->stat, 0, sizeof(he->stat)); stat 2315 tools/perf/util/hist.c memset(he->stat_acc, 0, sizeof(he->stat)); stat 2365 tools/perf/util/hist.c memset(&he->stat, 0, sizeof(he->stat)); stat 394 tools/perf/util/jitdump.c struct stat st; stat 449 tools/perf/util/jitdump.c if (stat(filename, &st)) stat 509 tools/perf/util/jitdump.c struct stat st; stat 539 tools/perf/util/jitdump.c if (stat(filename, &st)) stat 1306 tools/perf/util/machine.c struct stat st; stat 1310 tools/perf/util/machine.c if (stat(path, &st)) stat 94 tools/perf/util/mem-events.c struct stat st; stat 99 tools/perf/util/mem-events.c if (!stat(path, &st)) stat 69 tools/perf/util/namespaces.c struct stat old_stat; stat 70 tools/perf/util/namespaces.c struct stat new_stat; stat 81 tools/perf/util/namespaces.c if (stat(oldns, &old_stat) < 0) stat 84 tools/perf/util/namespaces.c if (stat(newns, &new_stat) < 0) stat 75 tools/perf/util/path.c struct stat st; stat 77 tools/perf/util/path.c if (stat(file, &st)) stat 87 tools/perf/util/path.c struct stat st; stat 90 tools/perf/util/path.c if (stat(path, &st)) stat 85 tools/perf/util/pmu.c struct stat st; stat 95 tools/perf/util/pmu.c if (stat(path, &st) < 0) stat 143 tools/perf/util/pmu.c struct stat st; stat 473 tools/perf/util/pmu.c struct stat st; stat 483 tools/perf/util/pmu.c if (stat(path, &st) < 0) stat 523 tools/perf/util/pmu.c struct stat st; stat 535 tools/perf/util/pmu.c if (stat(path, &st) < 0) stat 643 tools/perf/util/pmu.c struct stat st; stat 653 tools/perf/util/pmu.c if (stat(path, &st) == 0) stat 1522 tools/perf/util/pmu.c struct stat st; stat 1533 tools/perf/util/pmu.c if (stat(path, &st) < 0) stat 875 tools/perf/util/probe-file.c struct stat st; stat 1088 tools/perf/util/s390-cpumsf.c struct stat stbuf; stat 1099 tools/perf/util/s390-cpumsf.c rc = stat(sf->logdir, &stbuf); stat 522 tools/perf/util/session.c if (tool->stat == NULL) stat 523 tools/perf/util/session.c tool->stat = process_stat_stub; stat 894 tools/perf/util/session.c event->stat.id = bswap_64(event->stat.id); stat 895 tools/perf/util/session.c event->stat.thread = bswap_32(event->stat.thread); stat 896 tools/perf/util/session.c event->stat.cpu = bswap_32(event->stat.cpu); stat 897 tools/perf/util/session.c event->stat.val = bswap_64(event->stat.val); stat 898 tools/perf/util/session.c event->stat.ena = bswap_64(event->stat.ena); stat 899 tools/perf/util/session.c event->stat.run = bswap_64(event->stat.run); stat 1555 tools/perf/util/session.c return tool->stat(session, event); stat 1299 tools/perf/util/sort.c return he->stat.nr_events ? he->stat.weight / he->stat.nr_events : 0; stat 1324 tools/perf/util/sort.c return left->stat.weight - right->stat.weight; stat 1330 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*llu", width, he->stat.weight); stat 94 tools/perf/util/sort.h struct he_stat stat; stat 183 tools/perf/util/sort.h u64 period = he->stat.period; stat 98 tools/perf/util/srccode.c struct stat st; stat 31 tools/perf/util/stat-shadow.c struct runtime_stat *stat; stat 61 tools/perf/util/stat-shadow.c if (a->stat == b->stat) stat 64 tools/perf/util/stat-shadow.c if ((char *)a->stat < (char *)b->stat) stat 112 tools/perf/util/stat-shadow.c .stat = st, stat 407 tools/perf/util/stat.c struct perf_record_stat *st = &event->stat; stat 227 tools/perf/util/symbol-minimal.c struct stat stbuf; stat 103 tools/perf/util/thread_map.c struct stat st; stat 105 tools/perf/util/thread_map.c if (stat(path, &st) != 0 || st.st_uid != uid) stat 73 tools/perf/util/tool.h stat, stat 91 tools/perf/util/trace-event-info.c struct stat st; stat 99 tools/perf/util/trace-event-info.c if (stat(path, &st) < 0) { stat 123 tools/perf/util/trace-event-info.c if (stat(path, &st) < 0) { stat 164 tools/perf/util/trace-event-info.c struct stat st; stat 185 tools/perf/util/trace-event-info.c ret = stat(format, &st); stat 207 tools/perf/util/trace-event-info.c ret = stat(format, &st); stat 256 tools/perf/util/trace-event-info.c struct stat st; stat 301 tools/perf/util/trace-event-info.c ret = stat(sys, &st); stat 338 tools/perf/util/trace-event-info.c struct stat st; stat 347 tools/perf/util/trace-event-info.c ret = stat(path, &st); stat 366 tools/perf/util/trace-event-info.c struct stat st; stat 375 tools/perf/util/trace-event-info.c ret = stat(path, &st); stat 75 tools/perf/util/util.c struct stat st; stat 82 tools/perf/util/util.c if (stat(path, &st) == 0) stat 89 tools/perf/util/util.c err = stat(path, &st) && mkdir(path, mode); stat 96 tools/perf/util/util.c return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0; stat 136 tools/perf/util/util.c struct stat statbuf; stat 22 tools/perf/util/zlib.c struct stat stbuf; stat 96 tools/power/acpi/os_specific/service_layers/osunixdir.c struct stat temp_stat; stat 120 tools/power/acpi/os_specific/service_layers/osunixdir.c err = stat(temp_str, &temp_stat); stat 31 tools/power/acpi/tools/acpidump/apfiles.c struct stat stat_info; stat 34 tools/power/acpi/tools/acpidump/apfiles.c if (!stat(pathname, &stat_info)) { stat 34 tools/power/cpupower/lib/cpuidle.c struct stat statbuf; stat 39 tools/power/cpupower/lib/cpuidle.c if (stat(path, &statbuf) != 0) stat 287 tools/power/cpupower/lib/cpuidle.c struct stat statbuf; stat 292 tools/power/cpupower/lib/cpuidle.c if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) stat 296 tools/power/cpupower/lib/cpuidle.c if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) stat 299 tools/power/cpupower/lib/cpuidle.c while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { stat 54 tools/power/cpupower/lib/cpupower.c struct stat statbuf; stat 58 tools/power/cpupower/lib/cpupower.c if (stat(path, &statbuf) != 0) stat 66 tools/power/cpupower/lib/cpupower.c if (stat(path, &statbuf) != 0) stat 176 tools/power/cpupower/utils/cpupower.c struct stat statbuf; stat 215 tools/power/cpupower/utils/cpupower.c stat(pathname, &statbuf) != 0) { stat 55 tools/power/cpupower/utils/helpers/sysfs.c struct stat statbuf; stat 59 tools/power/cpupower/utils/helpers/sysfs.c if (stat(path, &statbuf) != 0) stat 67 tools/power/cpupower/utils/helpers/sysfs.c if (stat(path, &statbuf) != 0) stat 108 tools/power/cpupower/utils/helpers/sysfs.c struct stat statbuf; stat 113 tools/power/cpupower/utils/helpers/sysfs.c if (stat(path, &statbuf) != 0) stat 357 tools/power/cpupower/utils/helpers/sysfs.c struct stat statbuf; stat 362 tools/power/cpupower/utils/helpers/sysfs.c if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) stat 366 tools/power/cpupower/utils/helpers/sysfs.c if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) stat 369 tools/power/cpupower/utils/helpers/sysfs.c while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { stat 3144 tools/power/x86/turbostat/turbostat.c struct stat sb; stat 3148 tools/power/x86/turbostat/turbostat.c if (stat(pathname, &sb)) stat 1254 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c struct stat sb; stat 1258 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (stat(pathname, &sb)) stat 320 tools/spi/spidev_test.c struct stat sb; stat 325 tools/spi/spidev_test.c if (stat(filename, &sb) == -1) stat 134 tools/testing/selftests/bpf/cgroup_helpers.c static int nftwfunc(const char *filename, const struct stat *statptr, stat 343 tools/testing/selftests/cgroup/cgroup_util.c struct stat st; stat 142 tools/testing/selftests/exec/execveat.c struct stat info; stat 67 tools/testing/selftests/ia64/aliasing-test.c struct stat buf; stat 152 tools/testing/selftests/ia64/aliasing-test.c struct stat buf; stat 27 tools/testing/selftests/memfd/fuse_mnt.c static int memfd_getattr(const char *path, struct stat *st) stat 144 tools/testing/selftests/memfd/memfd_test.c struct stat st; stat 118 tools/testing/selftests/mount/unprivileged-remount-test.c struct statvfs stat; stat 121 tools/testing/selftests/mount/unprivileged-remount-test.c ret = statvfs(path, &stat); stat 126 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ~(ST_RDONLY | ST_NOSUID | ST_NODEV | \ stat 132 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_RDONLY) stat 134 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_NOSUID) stat 136 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_NODEV) stat 138 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_NOEXEC) stat 140 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_NOATIME) stat 142 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_NODIRATIME) stat 144 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_RELATIME) stat 146 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_SYNCHRONOUS) stat 148 tools/testing/selftests/mount/unprivileged-remount-test.c if (stat.f_flag & ST_MANDLOCK) stat 173 tools/testing/selftests/net/tls.c struct stat st; stat 186 tools/testing/selftests/net/tls.c struct stat st; stat 29 tools/testing/selftests/nsfs/owner.c struct stat st1, st2; stat 68 tools/testing/selftests/nsfs/owner.c if (stat(path, &st2)) stat 46 tools/testing/selftests/nsfs/pidns.c struct stat st1, st2; stat 65 tools/testing/selftests/nsfs/pidns.c if (stat(path, &st2)) stat 177 tools/testing/selftests/powerpc/ptrace/core-pkey.c struct stat buf; stat 180 tools/testing/selftests/powerpc/ptrace/core-pkey.c ret = stat(filename, &buf); stat 35 tools/testing/selftests/proc/fd-001-lookup.c struct stat st; stat 38 tools/testing/selftests/proc/fd-001-lookup.c memset(&st, 0, sizeof(struct stat)); stat 46 tools/testing/selftests/proc/fd-001-lookup.c struct stat st; stat 28 tools/testing/selftests/proc/fd-002-posix-eq.c struct stat st0, st1, st2; stat 296 tools/testing/selftests/proc/proc-pid-vm.c struct stat st; stat 67 tools/testing/selftests/sync/sync_test.c struct stat sbuf; stat 70 tools/testing/selftests/sync/sync_test.c ret = stat("/sys/kernel/debug/sync/sw_sync", &sbuf); stat 125 tools/testing/vsock/vsock_diag_test.c struct stat stat; stat 127 tools/testing/vsock/vsock_diag_test.c if (fstat(fd, &stat) < 0) { stat 133 tools/testing/vsock/vsock_diag_test.c if (st->msg.vdiag_ino == stat.st_ino) stat 137 tools/thermal/tmon/tmon.c struct stat logstat; stat 233 tools/usb/testusb.c static int find_testdev(const char *name, const struct stat *sb, int flag) stat 50 tools/usb/usbip/src/usbip_attach.c struct stat s; stat 52 tools/usb/usbip/src/usbip_attach.c ret = stat(VHCI_STATE_PATH, &s); stat 933 tools/vm/page-types.c static void show_file(const char *name, const struct stat *st) stat 968 tools/vm/page-types.c static void walk_file(const char *name, const struct stat *st) stat 1048 tools/vm/page-types.c int walk_tree(const char *name, const struct stat *st, int type, struct FTW *f) stat 1065 tools/vm/page-types.c struct stat st; stat 1071 tools/vm/page-types.c if (stat(opt_file, &st)) stat 1100 tools/vm/page-types.c struct stat st; stat 1102 tools/vm/page-types.c if (stat(path, &st)) stat 93 tools/vm/page_owner_sort.c struct stat st; stat 301 usr/gen_init_cpio.c struct stat buf; stat 793 virt/kvm/arm/arm.c vcpu->stat.exits++; stat 209 virt/kvm/arm/mmio.c vcpu->stat.mmio_exit_kernel++; stat 216 virt/kvm/arm/mmio.c vcpu->stat.mmio_exit_user++; stat 313 virt/kvm/kvm_main.c ++kvm->stat.remote_tlb_flush; stat 2482 virt/kvm/kvm_main.c ++vcpu->stat.halt_attempted_poll; stat 2489 virt/kvm/kvm_main.c ++vcpu->stat.halt_successful_poll; stat 2491 virt/kvm/kvm_main.c ++vcpu->stat.halt_poll_invalid; stat 2545 virt/kvm/kvm_main.c ++vcpu->stat.halt_wakeup;