Home
last modified time | relevance | path

Searched refs:stat (Results 301 – 325 of 1972) sorted by relevance

1...<<11121314151617181920>>...79

/openbmc/linux/tools/perf/tests/attr/
H A Dtest-stat-basic2 command = stat
6 [event:base-stat]
H A Dtest-stat-no-inherit2 command = stat
6 [event:base-stat]
H A Dtest-stat-C02 command = stat
6 [event:base-stat]
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-cec.c128 unsigned int stat = dw_hdmi_read(cec, HDMI_IH_CEC_STAT0); in dw_hdmi_cec_hardirq() local
131 if (stat == 0) in dw_hdmi_cec_hardirq()
134 dw_hdmi_write(cec, stat, HDMI_IH_CEC_STAT0); in dw_hdmi_cec_hardirq()
136 if (stat & CEC_STAT_ERROR_INIT) { in dw_hdmi_cec_hardirq()
140 } else if (stat & CEC_STAT_DONE) { in dw_hdmi_cec_hardirq()
144 } else if (stat & CEC_STAT_NACK) { in dw_hdmi_cec_hardirq()
150 if (stat & CEC_STAT_EOM) { in dw_hdmi_cec_hardirq()
/openbmc/linux/drivers/media/dvb-frontends/
H A Drtl2832.c354 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init()
356 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init()
679 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in rtl2832_read_status()
680 c->strength.stat[0].uvalue = u16tmp; in rtl2832_read_status()
682 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status()
722 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2832_read_status()
723 c->cnr.stat[0].svalue = tmp; in rtl2832_read_status()
725 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status()
740 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in rtl2832_read_status()
760 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in rtl2832_read_snr()
[all …]
/openbmc/openbmc/poky/meta/recipes-bsp/acpid/acpid/
H A D0001-Replace-stat64-with-stat.patch4 Subject: [PATCH] Replace stat64 with stat
8 are correctly setup for stat APIs on platforms needing large
27 + struct stat st;
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dintr.c65 if (type < intr->leaves * sizeof(*intr->stat) * 8) { in nvkm_intr_xlat()
199 if (intr->stat[inth->leaf] & inth->mask) { in nvkm_intr()
214 if (intr->stat[leaf]) { in nvkm_intr()
216 leaf, intr->stat[leaf]); in nvkm_intr()
217 nvkm_intr_block_locked(intr, leaf, intr->stat[leaf]); in nvkm_intr()
242 intr->stat = kcalloc(leaves, sizeof(*intr->stat), GFP_KERNEL); in nvkm_intr_add()
244 if (!intr->stat || !intr->mask) { in nvkm_intr_add()
245 kfree(intr->stat); in nvkm_intr_add()
374 kfree(intr->stat); in nvkm_intr_dtor()
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Ddebugfs.c355 struct b43_txstatus *stat; in txstat_read_file() local
370 stat = &(log->log[i]); in txstat_read_file()
371 if (stat->cookie) { in txstat_read_file()
378 stat->cookie, stat->seq, stat->phy_stat, in txstat_read_file()
379 stat->frame_count, stat->rts_count, in txstat_read_file()
380 stat->supp_reason, stat->pm_indicated, in txstat_read_file()
381 stat->intermediate, stat->for_ampdu, in txstat_read_file()
382 stat->acked); in txstat_read_file()
/openbmc/linux/scripts/
H A Dcheckpatch.pl4234 my $s = $stat;
5565 if (defined($stat) && $stat =~ /^.\s*return(\s*)\(/s) {
6475 if (defined $stat &&
6891 defined $stat &&
6947 defined $stat &&
7025 defined $stat &&
7049 defined $stat &&
7065 defined $stat &&
7079 defined $stat &&
7112 my $s = $stat;
[all …]
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_chips.h184 u32 tmp, stat; in mvs_int_full() local
187 stat = mr32(MVS_INT_STAT); in mvs_int_full()
191 tmp = (stat >> i) & (CINT_PORT | CINT_PORT_STOPPED); in mvs_int_full()
196 if (stat & CINT_NON_SPEC_NCQ_ERROR) in mvs_int_full()
199 if (stat & CINT_SRS) in mvs_int_full()
202 mw32(MVS_INT_STAT, stat); in mvs_int_full()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgf119.c1074 u32 type = (stat & 0x00007000) >> 12; in gf119_disp_intr_error()
1075 u32 mthd = (stat & 0x00000ffc); in gf119_disp_intr_error()
1109 u32 stat = nvkm_rd32(device, 0x61008c); in gf119_disp_intr() local
1110 while (stat) { in gf119_disp_intr()
1111 int chid = __ffs(stat); stat &= ~(1 << chid); in gf119_disp_intr()
1120 int chid = ffs(stat) - 1; in gf119_disp_intr()
1128 if (stat & 0x00000007) { in gf119_disp_intr()
1132 stat &= ~0x00000007; in gf119_disp_intr()
1135 if (stat) { in gf119_disp_intr()
1137 nvkm_wr32(device, 0x6100ac, stat); in gf119_disp_intr()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Dsa1100_generic.c76 skt->stat[i].name = sa11x0_cf_gpio_names[i]; in sa11x0_cf_hw_init()
77 skt->stat[i].desc = devm_gpiod_get_optional(dev, in sa11x0_cf_hw_init()
79 if (IS_ERR(skt->stat[i].desc)) in sa11x0_cf_hw_init()
80 return PTR_ERR(skt->stat[i].desc); in sa11x0_cf_hw_init()
/openbmc/linux/fs/overlayfs/
H A Dinode.c111 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
125 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
129 dentry, stat->ino, xinobits); in ovl_map_dev_ino()
144 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
145 stat->ino = dentry->d_inode->i_ino; in ovl_map_dev_ino()
179 generic_fill_statx_attr(inode, stat); in ovl_getattr()
223 stat->ino = lowerstat.ino; in ovl_getattr()
235 stat->blocks = lowerstat.blocks; in ovl_getattr()
258 round_up(stat->size, stat->blksize) >> 9; in ovl_getattr()
264 ovl_map_dev_ino(dentry, stat, fsid); in ovl_getattr()
[all …]
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dtransport.c238 xprt->stat.connect_count++; in xprt_rdma_connect_worker()
239 xprt->stat.connect_time += (long)jiffies - in xprt_rdma_connect_worker()
240 xprt->stat.connect_start; in xprt_rdma_connect_worker()
680 xprt->stat.bind_count, in xprt_rdma_print_stats()
681 xprt->stat.connect_count, in xprt_rdma_print_stats()
682 xprt->stat.connect_time / HZ, in xprt_rdma_print_stats()
684 xprt->stat.sends, in xprt_rdma_print_stats()
685 xprt->stat.recvs, in xprt_rdma_print_stats()
686 xprt->stat.bad_xids, in xprt_rdma_print_stats()
687 xprt->stat.req_u, in xprt_rdma_print_stats()
[all …]
/openbmc/linux/drivers/devfreq/
H A Dexynos-bus.c120 struct devfreq_dev_status *stat) in exynos_bus_get_dev_status() argument
126 stat->current_frequency = bus->curr_freq; in exynos_bus_get_dev_status()
131 stat->total_time = stat->busy_time = 0; in exynos_bus_get_dev_status()
135 stat->busy_time = (edata.load_count * 100) / bus->ratio; in exynos_bus_get_dev_status()
136 stat->total_time = edata.total_count; in exynos_bus_get_dev_status()
138 dev_dbg(dev, "Usage of devfreq-event : %lu/%lu\n", stat->busy_time, in exynos_bus_get_dev_status()
139 stat->total_time); in exynos_bus_get_dev_status()
H A Dsun8i-a33-mbus.c242 struct devfreq_dev_status *stat) in sun8i_a33_mbus_get_dram_status() argument
246 stat->busy_time = sun8i_a33_mbus_get_peak_bw(priv); in sun8i_a33_mbus_get_dram_status()
247 stat->total_time = priv->nominal_bw; in sun8i_a33_mbus_get_dram_status()
248 stat->current_frequency = priv->devfreq_dram->previous_freq; in sun8i_a33_mbus_get_dram_status()
253 stat->busy_time, stat->total_time, in sun8i_a33_mbus_get_dram_status()
254 DIV_ROUND_CLOSEST(stat->busy_time * 100, stat->total_time), in sun8i_a33_mbus_get_dram_status()
255 stat->current_frequency / USEC_PER_SEC); in sun8i_a33_mbus_get_dram_status()
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-ci.c134 int stat = 0; in poll_slot_status() local
137 stat |= DVB_CA_EN50221_POLL_CAM_PRESENT; in poll_slot_status()
139 stat |= DVB_CA_EN50221_POLL_CAM_READY; in poll_slot_status()
140 return stat; in poll_slot_status()
265 int stat = 0; in poll_slot_status_xo2() local
270 stat |= DVB_CA_EN50221_POLL_CAM_PRESENT; in poll_slot_status_xo2()
272 stat |= DVB_CA_EN50221_POLL_CAM_READY; in poll_slot_status_xo2()
273 return stat; in poll_slot_status_xo2()
/openbmc/linux/drivers/nvme/target/
H A Ddiscovery.c307 u16 stat; in nvmet_execute_disc_set_features() local
314 stat = nvmet_set_feat_kato(req); in nvmet_execute_disc_set_features()
317 stat = nvmet_set_feat_async_event(req, in nvmet_execute_disc_set_features()
323 stat = NVME_SC_INVALID_FIELD | NVME_SC_DNR; in nvmet_execute_disc_set_features()
327 nvmet_req_complete(req, stat); in nvmet_execute_disc_set_features()
333 u16 stat = 0; in nvmet_execute_disc_get_features() local
348 stat = NVME_SC_INVALID_FIELD | NVME_SC_DNR; in nvmet_execute_disc_get_features()
352 nvmet_req_complete(req, stat); in nvmet_execute_disc_get_features()
/openbmc/linux/drivers/base/
H A Ddevtmpfs.c288 static int dev_mynode(struct device *dev, struct inode *inode, struct kstat *stat) in dev_mynode() argument
296 if (!S_ISBLK(stat->mode)) in dev_mynode()
299 if (!S_ISCHR(stat->mode)) in dev_mynode()
302 if (stat->rdev != dev->devt) in dev_mynode()
321 struct kstat stat; in handle_remove() local
323 err = vfs_getattr(&p, &stat, STATX_TYPE | STATX_MODE, in handle_remove()
325 if (!err && dev_mynode(dev, d_inode(dentry), &stat)) { in handle_remove()
333 newattrs.ia_mode = stat.mode & ~0777; in handle_remove()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dcoex.c41 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_limited_tx()
116 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_freerun_check()
151 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_wl_slot_extend()
169 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_wl_ccklock_action()
209 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_wl_ccklock_detect()
261 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_wl_noisy_detect()
311 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_tdma_timer_base()
370 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_write_scbd()
415 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_check_rfk()
452 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_query_bt_info()
[all …]
/openbmc/linux/fs/9p/
H A Dvfs_inode.c81 struct p9_wstat *stat) in p9mode2perm() argument
84 int mode = stat->mode; in p9mode2perm()
111 u32 mode = stat->mode; in p9mode2unixmode()
114 res = p9mode2perm(v9ses, stat); in p9mode2unixmode()
135 stat->extension); in p9mode2unixmode()
147 type, stat->extension); in p9mode2unixmode()
1156 inode->i_atime.tv_sec = stat->atime; in v9fs_stat2inode()
1164 inode->i_uid = stat->n_uid; in v9fs_stat2inode()
1165 inode->i_gid = stat->n_gid; in v9fs_stat2inode()
1178 if (sscanf(stat->extension, in v9fs_stat2inode()
[all …]
/openbmc/u-boot/drivers/ram/stm32mp1/
H A Dstm32mp1_ddr.c307 u32 stat, val, mask, val2 = 0, mask2 = 0; in wait_operating_mode() local
315 stat |= DDRCTRL_STAT_SELFREF_TYPE_SR; in wait_operating_mode()
324 ret = readl_poll_timeout(&priv->ctl->stat, stat, in wait_operating_mode()
325 ((stat & mask) == val) || in wait_operating_mode()
326 (mask2 && ((stat & mask2) == val2)), in wait_operating_mode()
330 panic("Timeout DRAM : DDR->stat = %x\n", stat); in wait_operating_mode()
332 debug("[0x%08x] stat = 0x%08x\n", (u32)&priv->ctl->stat, stat); in wait_operating_mode()
/openbmc/openbmc/poky/scripts/tiny/
H A Ddirsize.py15 import stat
22 if stat.S_ISDIR(s.st_mode):
26 if not stat.S_ISLNK(ss.st_mode):
/openbmc/u-boot/board/renesas/lager/
H A Dlager.c45 u32 stat = 0; in s_init() local
51 stat = readl(PLLECR) & PLL0ST; in s_init()
52 } while (stat == 0x0); in s_init()
/openbmc/phosphor-debug-collector/tools/dreport.d/include.d/
H A Dfunctions95 size=$(stat -c%s "$source.tar")
98 size=$(stat -c%s "$source")
106 size=$(stat -c%s "$name_dir.tar.xz")

1...<<11121314151617181920>>...79