Searched refs:stat (Results 76 - 100 of 1632) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dnv04.c76 u32 stat = nvkm_rd32(device, NV04_PTIMER_INTR_0); local
78 if (stat & 0x00000001) {
81 stat &= ~0x00000001;
84 if (stat) {
85 nvkm_error(subdev, "intr %08x\n", stat);
86 nvkm_wr32(device, NV04_PTIMER_INTR_0, stat);
/linux-master/drivers/pcmcia/
H A Dsoc_common.c151 if (skt->stat[i].irq)
152 free_irq(skt->stat[i].irq, skt);
162 __soc_pcmcia_hw_shutdown(skt, ARRAY_SIZE(skt->stat));
171 for (i = 0; i < ARRAY_SIZE(skt->stat); i++) {
172 if (!skt->stat[i].name)
175 desc = devm_gpiod_get(dev, skt->stat[i].name, GPIOD_IN);
178 skt->stat[i].name, PTR_ERR(desc));
182 skt->stat[i].desc = desc;
205 for (i = 0; i < ARRAY_SIZE(skt->stat); i++) {
206 if (gpio_is_valid(skt->stat[
285 unsigned int stat; local
[all...]
H A Dbcm63xx_pcmcia.c164 unsigned int stat; local
167 stat = 0;
173 stat |= SS_DETECT;
176 if ((stat & SS_DETECT) && !skt->card_detected) {
177 unsigned int stat = 0; local
187 stat |= (val & PCMCIA_C1_VS1_MASK) ? IN_VS1 : 0;
188 stat |= (val & PCMCIA_C1_VS2_MASK) ? IN_VS2 : 0;
198 stat |= (val & PCMCIA_C1_CD1_MASK) ? IN_CD1_VS2H : 0;
199 stat |= (val & PCMCIA_C1_CD2_MASK) ? IN_CD2_VS2H : 0;
209 stat |
269 unsigned int stat, events; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgv100.c345 u32 stat = nvkm_rd32(device, 0x610664 + soff);
346 if ((stat & 0x000f0000) == 0x00040000)
560 u32 stat = nvkm_rd32(device, 0x610664 + soff);
561 if ((stat & 0x00070000) == 0x00040000)
726 u32 stat = nvkm_rd32(device, 0x610630);
727 if ((stat & 0x001f0000) == 0x000b0000)
841 u32 stat, mask[4]; local
844 stat = nvkm_rd32(device, 0x6107a8);
846 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super.pending), stat);
898 u32 stat local
940 u32 stat = nvkm_rd32(device, 0x611c30); local
988 u32 stat = nvkm_rd32(device, 0x611854); local
1017 unsigned long stat = nvkm_rd32(device, 0x611850); local
1037 unsigned long stat = nvkm_rd32(device, 0x61184c); local
1057 u32 stat = nvkm_rd32(device, 0x611800 + (head * 0x04)); local
1082 u32 stat = nvkm_rd32(device, 0x611ec0); local
[all...]
/linux-master/arch/s390/include/uapi/asm/
H A Dstat.h5 * Derived from "include/asm-i386/stat.h"
26 struct stat { struct
79 struct stat { struct
/linux-master/tools/testing/selftests/splice/
H A Dsplice_read.c10 #include <sys/stat.h>
32 struct stat statbuf;
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dgk104.c206 u32 stat = nvkm_rd32(engn->runl->fifo->engine.subdev.device, 0x002640 + (engn->id * 0x08)); local
208 status->busy = !!(stat & 0x80000000);
209 status->faulted = !!(stat & 0x40000000);
210 status->next.tsg = !!(stat & 0x10000000);
211 status->next.id = (stat & 0x0fff0000) >> 16;
212 status->chsw = !!(stat & 0x00008000);
213 status->save = !!(stat & 0x00004000);
214 status->load = !!(stat & 0x00002000);
215 status->prev.tsg = !!(stat & 0x00001000);
216 status->prev.id = (stat
312 u32 stat = nvkm_rd32(device, 0x040148 + (runq->id * 0x2000)) & mask; local
624 u32 stat = nvkm_rd32(device, 0x00256c); local
634 u32 stat = nvkm_rd32(subdev->device, 0x00259c); local
658 u32 stat = nvkm_rd32(device, 0x002100) & mask; local
[all...]
/linux-master/arch/alpha/include/uapi/asm/
H A Dstat.h5 struct stat { struct
/linux-master/tools/usb/usbip/libsrc/
H A Dsysfs_utils.c3 #include <sys/stat.h>
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ioread.c148 int stat; local
155 stat = pvr2_buffer_queue(bp);
156 if (stat < 0) {
159 cp,stat);
161 return stat;
248 int stat; local
253 stat = pvr2_buffer_queue(cp->c_buf);
254 if (stat < 0) {
258 cp,stat);
273 stat
393 int stat; local
[all...]
/linux-master/drivers/irqchip/
H A Dirq-rda-intc.c51 u32 stat = readl_relaxed(rda_intc_base + RDA_INTC_FINALSTATUS); local
54 while (stat) {
55 hwirq = __fls(stat);
57 stat &= ~BIT(hwirq);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_d_path_check_rdonly_mem.c11 int BPF_PROG(d_path_check_rdonly_mem, struct path *path, struct kstat *stat, argument
H A Dtest_d_path_check_types.c15 int BPF_PROG(d_path_check_rdonly_mem, struct path *path, struct kstat *stat, argument
/linux-master/tools/testing/selftests/mm/
H A Dpkey-powerpc.h70 struct stat buf;
72 if ((stat("/sys/firmware/devicetree/base/ibm,partition-name", &buf) == 0) &&
73 (stat("/sys/firmware/devicetree/base/hmc-managed?", &buf) == 0) &&
74 (stat("/sys/firmware/devicetree/base/chosen/qemu,graphic-width", &buf) == -1) )
/linux-master/tools/perf/tests/shell/
H A Dstat_all_pfm.sh20 result=$(perf stat --pfm-events "$p" true 2>&1)
35 result=$(perf stat --pfm-events "$p" perf bench internals synthesize 2>&1)
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_common.h41 struct fm10k_hw_stat *stat);
42 #define fm10k_update_hw_base_32b(stat, delta) ((stat)->base_l += (delta))
/linux-master/drivers/media/firewire/
H A Dfiredtv-fe.c85 struct firedtv_tuner_status stat; local
87 if (avc_tuner_status(fdtv, &stat))
90 if (stat.no_rf)
101 struct firedtv_tuner_status stat; local
103 if (avc_tuner_status(fdtv, &stat))
106 *ber = stat.ber;
113 struct firedtv_tuner_status stat; local
115 if (avc_tuner_status(fdtv, &stat))
118 *strength = stat.signal_strength << 8;
125 struct firedtv_tuner_status stat; local
[all...]
/linux-master/scripts/dtc/
H A Dfstree.c9 #include <sys/stat.h>
15 struct stat st;
33 if (stat(tmpname, &st) < 0)
34 die("stat(%s): %s\n", tmpname, strerror(errno));
/linux-master/tools/testing/selftests/sync/
H A Dsync_test.c32 #include <sys/stat.h>
67 struct stat sbuf;
70 ret = stat("/sys/kernel/debug/sync/sw_sync", &sbuf);
80 ksft_exit_fail_msg("stat failed on /sys/kernel/debug/sync/sw_sync: %s",
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dksyms.c6 #include <sys/stat.h>
16 struct stat st;
32 if (CHECK(stat(btf_path, &st), "stat_btf", "err %d\n", errno))
H A Dns_current_pid_tgid.c7 #include <sys/stat.h>
25 struct stat st;
34 err = stat("/proc/self/ns/pid", &st);
35 if (CHECK(err, "stat", "failed /proc/self/ns/pid: %d\n", err))
/linux-master/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c118 struct statvfs stat; local
121 ret = statvfs(path, &stat);
126 if (stat.f_flag & ~(ST_RDONLY | ST_NOSUID | ST_NODEV | \
132 if (stat.f_flag & ST_RDONLY)
134 if (stat.f_flag & ST_NOSUID)
136 if (stat.f_flag & ST_NODEV)
138 if (stat.f_flag & ST_NOEXEC)
140 if (stat.f_flag & ST_NOATIME)
142 if (stat.f_flag & ST_NODIRATIME)
144 if (stat
[all...]
/linux-master/drivers/mmc/host/
H A Dmxcmmc.c347 static void mxcmci_cmd_done(struct mxcmci_host *host, unsigned int stat);
348 static void mxcmci_data_done(struct mxcmci_host *host, unsigned int stat);
353 u32 stat; local
357 stat = mxcmci_readl(host, MMC_REG_STATUS);
359 dev_dbg(mmc_dev(host->mmc), "%s: 0x%08x\n", __func__, stat);
361 mxcmci_data_done(host, stat);
436 static int mxcmci_finish_data(struct mxcmci_host *host, unsigned int stat) argument
447 if (stat & STATUS_ERR_MASK) {
449 stat);
450 if (stat
483 mxcmci_read_response(struct mxcmci_host *host, unsigned int stat) argument
518 u32 stat; local
538 unsigned int stat; local
566 unsigned int stat; local
595 int stat; local
649 mxcmci_data_done(struct mxcmci_host *host, unsigned int stat) argument
691 mxcmci_cmd_done(struct mxcmci_host *host, unsigned int stat) argument
714 u32 stat; local
960 unsigned int stat = mxcmci_readl(host, MMC_REG_STATUS); local
[all...]
/linux-master/drivers/regulator/
H A Dirq_helpers.c104 struct regulator_err_state *stat; local
107 stat = &rid->states[i];
108 rdev = stat->rdev;
109 rdev_clear_err(rdev, (~stat->errors) &
110 stat->possible_errs);
129 struct regulator_err_state *stat; local
132 stat = &rid->states[i];
133 rdev = stat->rdev;
134 rdev_clear_err(rdev, stat->possible_errs);
237 struct regulator_err_state *stat; local
[all...]
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dfault.c55 unsigned long stat = ctx->csa.class_0_pending & CLASS0_INTR_MASK; local
57 if (likely(!stat))
60 if (stat & CLASS0_DMA_ALIGNMENT_INTR)
64 if (stat & CLASS0_INVALID_DMA_COMMAND_INTR)
68 if (stat & CLASS0_SPU_ERROR_INTR)

Completed in 218 milliseconds

1234567891011>>