/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/ |
H A D | mali_kbase_devfreq.c | 192 kbase_devfreq_status(struct device *dev, struct devfreq_dev_status *stat) in kbase_devfreq_status() argument 196 stat->current_frequency = kbdev->current_nominal_freq; in kbase_devfreq_status() 199 &stat->total_time, &stat->busy_time); in kbase_devfreq_status() 201 stat->private_data = NULL; in kbase_devfreq_status()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/ |
H A D | mali_kbase_devfreq.c | 185 static int kbase_devfreq_status(struct device *dev, struct devfreq_dev_status *stat) in kbase_devfreq_status() argument 189 stat->current_frequency = kbdev->current_nominal_freq; in kbase_devfreq_status() 191 kbase_pm_get_dvfs_utilisation(kbdev, &stat->total_time, &stat->busy_time); in kbase_devfreq_status() 193 stat->private_data = NULL; in kbase_devfreq_status()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | isp_stats.c | 132 INIT_LIST_HEAD(&stats_vdev->stat); in rkisp_stats_vb2_queue_setup() 148 list_add_tail(&stats_buf->queue, &stats_dev->stat); in rkisp_stats_vb2_buf_queue() 168 if (list_empty(&stats_vdev->stat)) in rkisp_stats_vb2_stop_streaming() 170 buf = list_first_entry(&stats_vdev->stat, in rkisp_stats_vb2_stop_streaming() 297 INIT_LIST_HEAD(&stats_vdev->stat); in rkisp_register_stats_vdev()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
H A D | file_path.cpp | 17 #include <sys/stat.h> 252 struct stat fileInfo; in DirectoryExists() 253 if (stat(const_cast<FilePath &>(path).Value().c_str(), &fileInfo) == 0) { in DirectoryExists() 257 APP_LOGD("stat returns an error"); in DirectoryExists() 266 struct stat fileInfo; in IsDir() 267 int ret = stat(mPath.c_str(), &fileInfo); in IsDir() 393 APP_LOGE("fail to stat errno:%{public}d", errno); in GetZipAllDirFiles()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | acl.cpp | 22 #include <sys/stat.h> 217 struct stat st; in AclFromMode() 219 if (stat(file.c_str(), &st) == -1) { in AclFromMode() 286 struct stat st; in RecursiveEnableAcl() 302 if (stat(fileName.c_str(), &st) != 0) { in RecursiveEnableAcl() 303 MEDIA_ERR_LOG("getting file: %{private}s stat fail, error: %s", fileName.c_str(), strerror(errno)); in RecursiveEnableAcl()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner_db_test/src/ |
H A D | medialibrary_scanner_db_test.cpp | 128 struct stat statInfo; in HWTEST_F() 154 struct stat statInfo; in HWTEST_F() 203 struct stat statInfo; in HWTEST_F() 283 struct stat statInfo; in HWTEST_F() 310 struct stat statInfo; in HWTEST_F()
|
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_dualfwk_restore.cpp | 22 #include <sys/stat.h> 437 struct stat statInfo; in UpdateRestoreFileInfo() 438 if (stat(info.restorePath.c_str(), &statInfo) != 0) { in UpdateRestoreFileInfo() 439 RINGTONE_ERR_LOG("stat syscall err %{public}d", errno); in UpdateRestoreFileInfo() 467 struct stat dstStatInfo {}; in OnPrepare() 468 if (stat(info.restorePath.c_str(), &dstStatInfo) != 0) { in OnPrepare()
|
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 18 #include <sys/stat.h> 48 struct stat buffer; in IsFileExist() 49 return (stat(inputPath.c_str(), &buffer) == 0); in IsFileExist() 518 struct stat fileStat = { 0 }; in LimitXmlPermission() 519 if (stat(fileName.c_str(), &fileStat) != 0) { in LimitXmlPermission() 520 LOG_ERROR("Failed to obtain stat of file, errno:%{public}d.", errno); in LimitXmlPermission()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | listfile.cpp | 22 #include <sys/stat.h>
187 struct stat info;
in FilterFilesizeOver() 189 int32_t res = stat(stPath.c_str(), &info);
in FilterFilesizeOver() 191 HILOGE("Failed to stat file.");
in FilterFilesizeOver() 205 struct stat info;
in FilterLastModifyTime() 207 int32_t res = stat(stPath.c_str(), &info);
in FilterLastModifyTime() 209 HILOGE("Failed to stat file.");
in FilterLastModifyTime()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | uniphier-mdmac.c | 289 enum dma_status stat; in uniphier_mdmac_tx_status() local 293 stat = dma_cookie_status(chan, cookie, txstate); in uniphier_mdmac_tx_status() 295 if (stat == DMA_COMPLETE || !txstate) in uniphier_mdmac_tx_status() 296 return stat; in uniphier_mdmac_tx_status() 325 return stat; in uniphier_mdmac_tx_status()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
H A D | spu.c | 491 static void int_stat_clear(struct spu *spu, int class, u64 stat) in int_stat_clear() argument 496 stat, 0); in int_stat_clear() 501 u64 stat; in int_stat_get() local 503 lv1_get_spe_interrupt_status(spu_pdata(spu)->spe_id, class, &stat); in int_stat_get() 504 return stat; in int_stat_get()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | dtl1_cs.c | 171 info->hdev->stat.byte_tx += len; in dtl1_write_wakeup() 216 info->hdev->stat.byte_rx++; in dtl1_receive() 392 hdev->stat.cmd_tx++; in dtl1_hci_send_frame() 396 hdev->stat.acl_tx++; in dtl1_hci_send_frame() 400 hdev->stat.sco_tx++; in dtl1_hci_send_frame()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-ep93xx.c | 116 unsigned long stat; in ep93xx_gpio_ab_irq_handler() local 127 stat = readb(epg->base + EP93XX_GPIO_A_INT_STATUS); in ep93xx_gpio_ab_irq_handler() 128 for_each_set_bit(offset, &stat, 8) in ep93xx_gpio_ab_irq_handler() 132 stat = readb(epg->base + EP93XX_GPIO_B_INT_STATUS); in ep93xx_gpio_ab_irq_handler() 133 for_each_set_bit(offset, &stat, 8) in ep93xx_gpio_ab_irq_handler()
|
H A D | gpio-tc3589x.c | 270 unsigned int stat = status[i]; in tc3589x_gpio_irq() local 271 if (!stat) in tc3589x_gpio_irq() 274 while (stat) { in tc3589x_gpio_irq() 275 int bit = __ffs(stat); in tc3589x_gpio_irq() 281 stat &= ~(1 << bit); in tc3589x_gpio_irq()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | txx9ndfmc.c | 194 int stat; in txx9ndfmc_correct_data() local 197 stat = __nand_correct_data(buf, read_ecc, calc_ecc, 256, in txx9ndfmc_correct_data() 199 if (stat < 0) in txx9ndfmc_correct_data() 200 return stat; in txx9ndfmc_correct_data() 201 corrected += stat; in txx9ndfmc_correct_data()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | kapi.c | 293 struct kstat stat; in ubi_open_volume_path() local 304 error = vfs_getattr(&path, &stat, STATX_TYPE, AT_STATX_SYNC_AS_STAT); in ubi_open_volume_path() 309 if (!S_ISCHR(stat.mode)) in ubi_open_volume_path() 312 ubi_num = ubi_major2num(MAJOR(stat.rdev)); in ubi_open_volume_path() 313 vol_id = MINOR(stat.rdev) - 1; in ubi_open_volume_path()
|
/kernel/linux/linux-5.10/tools/testing/vsock/ |
H A D | vsock_diag_test.c | 16 #include <sys/stat.h> 115 struct stat stat; in find_vsock_stat() local 117 if (fstat(fd, &stat) < 0) { in find_vsock_stat() 123 if (st->msg.vdiag_ino == stat.st_ino) in find_vsock_stat()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/ |
H A D | spu.c | 491 static void int_stat_clear(struct spu *spu, int class, u64 stat) in int_stat_clear() argument 496 stat, 0); in int_stat_clear() 501 u64 stat; in int_stat_get() local 503 lv1_get_spe_interrupt_status(spu_pdata(spu)->spe_id, class, &stat); in int_stat_get() 504 return stat; in int_stat_get()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | fsl-imx25-tcq.c | 339 u32 stat; in mx25_tcq_irq() local 342 regmap_read(priv->regs, MX25_ADCQ_SR, &stat); in mx25_tcq_irq() 344 if (stat & (MX25_ADCQ_SR_FRR | MX25_ADCQ_SR_FUR | MX25_ADCQ_SR_FOR)) in mx25_tcq_irq() 347 if (stat & MX25_ADCQ_SR_PD) { in mx25_tcq_irq() 353 if (stat & MX25_ADCQ_SR_FDRY) { in mx25_tcq_irq()
|
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | isphist.c | 428 struct ispstat *stat = v4l2_get_subdevdata(sd); in hist_ioctl() local 432 return omap3isp_stat_config(stat, arg); in hist_ioctl() 434 return omap3isp_stat_request_statistics(stat, arg); in hist_ioctl() 436 return omap3isp_stat_request_statistics_time32(stat, arg); in hist_ioctl() 439 return omap3isp_stat_enable(stat, !!*en); in hist_ioctl()
|
H A D | isph3a_af.c | 307 struct ispstat *stat = v4l2_get_subdevdata(sd); in h3a_af_ioctl() local 311 return omap3isp_stat_config(stat, arg); in h3a_af_ioctl() 313 return omap3isp_stat_request_statistics(stat, arg); in h3a_af_ioctl() 315 return omap3isp_stat_request_statistics_time32(stat, arg); in h3a_af_ioctl() 318 return omap3isp_stat_enable(stat, !!*en); in h3a_af_ioctl()
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-dma.c | 95 u8 stat = 0, dma_stat = 0; in ide_dma_intr() local 100 stat = hwif->tp_ops->read_status(hwif); in ide_dma_intr() 102 if (OK_STAT(stat, DRIVE_READY, drive->bad_wstat | ATA_DRQ)) { in ide_dma_intr() 105 ide_finish_cmd(drive, cmd, stat); in ide_dma_intr() 114 return ide_error(drive, "dma_intr", stat); in ide_dma_intr()
|
/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
H A D | mtk-eint.c | 31 .stat = 0x000, 317 void __iomem *reg = mtk_eint_get_offset(eint, 0, eint->regs->stat); in mtk_eint_irq_handler() 340 eint->regs->stat + in mtk_eint_irq_handler() 350 writel(BIT(offset), reg - eint->regs->stat + in mtk_eint_irq_handler() 369 eint->regs->stat + in mtk_eint_irq_handler()
|
/kernel/linux/linux-5.10/drivers/soc/dove/ |
H A D | pmu.c | 232 u32 stat = readl_relaxed(base + PMC_IRQ_CAUSE) & gc->mask_cache; in pmu_irq_handler() local 235 if (stat == 0) { in pmu_irq_handler() 240 while (stat) { in pmu_irq_handler() 241 u32 hwirq = fls(stat) - 1; in pmu_irq_handler() 243 stat &= ~(1 << hwirq); in pmu_irq_handler()
|
/kernel/linux/linux-5.10/drivers/soc/ixp4xx/ |
H A D | ixp4xx-qmgr.c | 143 u32 en_bitmap, src, stat; in qmgr_irq1_a0() local 153 stat = __raw_readl(&qmgr_regs->stat1[i >> 3]); in qmgr_irq1_a0() 155 stat = ~stat; in qmgr_irq1_a0() 156 if (stat & BIT(src & 3)) { in qmgr_irq1_a0()
|