/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_hal.c | 1257 int stat = 0; in qat_hal_exec_micro_init_lm() local 1269 stat = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, inst_num, 1, in qat_hal_exec_micro_init_lm() 1271 if (stat != 0) in qat_hal_exec_micro_init_lm() 1291 int stat = 0; in qat_hal_batch_wr_lm() local 1317 stat = qat_hal_exec_micro_init_lm(handle, ae, 0, &first_exec, in qat_hal_batch_wr_lm() 1322 return stat; in qat_hal_batch_wr_lm() 1432 int stat = 0; in qat_hal_put_rel_nn() local 1438 stat = qat_hal_put_rel_wr_xfer(handle, ae, ctx, ICP_NEIGH_REL, nn, val); in qat_hal_put_rel_nn() 1440 return stat; in qat_hal_put_rel_nn() 1469 int stat in qat_hal_init_gpr() local 1503 int stat = 0; qat_hal_init_wr_xfer() local 1538 int stat = 0; qat_hal_init_rd_xfer() local 1572 int stat = 0; qat_hal_init_nn() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/ |
H A D | func_test.cpp | 97 struct stat fileStatus {}; in HWTEST_F() 98 if (stat(g_doubleHevcPath.c_str(), &fileStatus) == 0) { in HWTEST_F() 147 struct stat fileStatus {}; in HWTEST_F() 148 if (stat(g_singleHevcPath.c_str(), &fileStatus) == 0) { in HWTEST_F() 179 struct stat fileStatus {}; in HWTEST_F() 180 if (stat(g_singleRkPath.c_str(), &fileStatus) == 0) { in HWTEST_F() 206 struct stat fileStatus {}; in HWTEST_F() 207 if (stat(g_xmPath.c_str(), &fileStatus) == 0) { in HWTEST_F() 234 struct stat fileStatus {}; in HWTEST_F() 235 if (stat(g_doubleVividPat in HWTEST_F() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | copy.cpp | 23 #include <sys/stat.h> 86 struct stat srcStat{}; in SendFileCore() 88 LOGE("Failed to get stat of file by fd: %{public}d ,errno = %{public}d", srcFdg->GetFD(), errno); in SendFileCore() 158 struct stat buf {}; in IsFile() 159 int ret = stat(path.c_str(), &buf); in IsFile() 161 LOGI("stat failed, errno is %{public}d, ", errno); in IsFile() 169 struct stat buf {}; in GetFileSize() 170 int ret = stat(path.c_str(), &buf); in GetFileSize() 296 struct stat buf {}; in IsDirectory() 297 int ret = stat(pat in IsDirectory() [all...] |
H A D | file_impl.h | 20 #include <sys/stat.h> 46 struct stat buf;
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 232 unsigned long stat, spf; in ioc_interrupt() local 235 stat = in_be64(iommu->xlate_regs + IOC_IO_ExcpStat); in ioc_interrupt() 236 spf = stat & IOC_IO_ExcpStat_SPF_Mask; in ioc_interrupt() 239 printk(KERN_ERR "iommu: DMA exception 0x%016lx\n", stat); in ioc_interrupt() 241 !!(stat & IOC_IO_ExcpStat_V), in ioc_interrupt() 244 (stat & IOC_IO_ExcpStat_RW_Mask) ? "Read" : "Write", in ioc_interrupt() 245 (unsigned int)(stat & IOC_IO_ExcpStat_IOID_Mask)); in ioc_interrupt() 247 stat & IOC_IO_ExcpStat_ADDR_Mask); in ioc_interrupt() 250 stat &= ~IOC_IO_ExcpStat_V; in ioc_interrupt() 251 out_be64(iommu->xlate_regs + IOC_IO_ExcpStat, stat); in ioc_interrupt() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 234 unsigned long stat, spf; in ioc_interrupt() local 237 stat = in_be64(iommu->xlate_regs + IOC_IO_ExcpStat); in ioc_interrupt() 238 spf = stat & IOC_IO_ExcpStat_SPF_Mask; in ioc_interrupt() 241 printk(KERN_ERR "iommu: DMA exception 0x%016lx\n", stat); in ioc_interrupt() 243 !!(stat & IOC_IO_ExcpStat_V), in ioc_interrupt() 246 (stat & IOC_IO_ExcpStat_RW_Mask) ? "Read" : "Write", in ioc_interrupt() 247 (unsigned int)(stat & IOC_IO_ExcpStat_IOID_Mask)); in ioc_interrupt() 249 stat & IOC_IO_ExcpStat_ADDR_Mask); in ioc_interrupt() 252 stat &= ~IOC_IO_ExcpStat_V; in ioc_interrupt() 253 out_be64(iommu->xlate_regs + IOC_IO_ExcpStat, stat); in ioc_interrupt() [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | pxamci.c | 275 static int pxamci_cmd_done(struct pxamci_host *host, unsigned int stat) in pxamci_cmd_done() argument 298 if (stat & STAT_TIME_OUT_RESPONSE) { in pxamci_cmd_done() 300 } else if (stat & STAT_RES_CRC_ERR && cmd->flags & MMC_RSP_CRC) { in pxamci_cmd_done() 330 static int pxamci_data_done(struct pxamci_host *host, unsigned int stat) in pxamci_data_done() argument 345 if (stat & STAT_READ_TIME_OUT) in pxamci_data_done() 347 else if (stat & (STAT_CRC_READ_ERROR|STAT_CRC_WRITE_ERROR)) in pxamci_data_done() 383 unsigned stat = readl(host->base + MMC_STAT); in pxamci_irq() local 385 pr_debug("PXAMCI: irq %08x stat %08x\n", ireg, stat); in pxamci_irq() 388 handled |= pxamci_cmd_done(host, stat); in pxamci_irq() [all...] |
H A D | mxs-mmc.c | 182 u32 stat; in mxs_mmc_irq_handler() local 186 stat = readl(ssp->base + HW_SSP_CTRL1(ssp)); in mxs_mmc_irq_handler() 187 writel(stat & MXS_MMC_IRQ_BITS, in mxs_mmc_irq_handler() 192 if ((stat & BM_SSP_CTRL1_SDIO_IRQ) && (stat & BM_SSP_CTRL1_SDIO_IRQ_EN)) in mxs_mmc_irq_handler() 195 if (stat & BM_SSP_CTRL1_RESP_TIMEOUT_IRQ) in mxs_mmc_irq_handler() 197 else if (stat & BM_SSP_CTRL1_RESP_ERR_IRQ) in mxs_mmc_irq_handler() 201 if (stat & (BM_SSP_CTRL1_DATA_TIMEOUT_IRQ | in mxs_mmc_irq_handler() 204 else if (stat & BM_SSP_CTRL1_DATA_CRC_IRQ) in mxs_mmc_irq_handler() 206 else if (stat in mxs_mmc_irq_handler() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 92 u32 stat; in ast_vhub_epn_handle_ack() local 95 stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_handle_ack() 101 stat, ep->epn.is_in, req, req ? req->active : 0); in ast_vhub_epn_handle_ack() 115 if (VHUB_EP_DMA_RPTR(stat) != 0) { in ast_vhub_epn_handle_ack() 124 len = VHUB_EP_DMA_TX_SIZE(stat); in ast_vhub_epn_handle_ack() 250 u32 stat, stat1; in ast_vhub_epn_handle_ack_desc() local 254 stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_handle_ack_desc() 256 } while(stat != stat1); in ast_vhub_epn_handle_ack_desc() 259 d_last = VHUB_EP_DMA_RPTR(stat); in ast_vhub_epn_handle_ack_desc() 265 stat, e in ast_vhub_epn_handle_ack_desc() [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-mvebu.c | 130 u32 stat; in mvebu_pcie_set_local_bus_nr() local 132 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr() 133 stat &= ~PCIE_STAT_BUS; in mvebu_pcie_set_local_bus_nr() 134 stat |= nr << 8; in mvebu_pcie_set_local_bus_nr() 135 mvebu_writel(port, stat, PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr() 140 u32 stat; in mvebu_pcie_set_local_dev_nr() local 142 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_dev_nr() 143 stat &= ~PCIE_STAT_DEV; in mvebu_pcie_set_local_dev_nr() 144 stat |= nr << 16; in mvebu_pcie_set_local_dev_nr() 145 mvebu_writel(port, stat, PCIE_STAT_OF in mvebu_pcie_set_local_dev_nr() [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-lantiq-ssc.c | 668 u32 stat = lantiq_ssc_readl(spi, LTQ_SPI_STAT); in lantiq_ssc_err_interrupt() local 671 if (!(stat & LTQ_SPI_STAT_ERRORS)) in lantiq_ssc_err_interrupt() 678 if (stat & LTQ_SPI_STAT_RUE) in lantiq_ssc_err_interrupt() 680 if (stat & LTQ_SPI_STAT_TUE) in lantiq_ssc_err_interrupt() 682 if (stat & LTQ_SPI_STAT_AE) in lantiq_ssc_err_interrupt() 684 if (stat & LTQ_SPI_STAT_RE) in lantiq_ssc_err_interrupt() 686 if (stat & LTQ_SPI_STAT_TE) in lantiq_ssc_err_interrupt() 688 if (stat & LTQ_SPI_STAT_ME) in lantiq_ssc_err_interrupt() 771 u32 stat = lantiq_ssc_readl(spi, LTQ_SPI_STAT); in lantiq_ssc_bussy_work() local 773 if (!(stat in lantiq_ssc_bussy_work() [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | pxamci.c | 274 static int pxamci_cmd_done(struct pxamci_host *host, unsigned int stat) in pxamci_cmd_done() argument 297 if (stat & STAT_TIME_OUT_RESPONSE) { in pxamci_cmd_done() 299 } else if (stat & STAT_RES_CRC_ERR && cmd->flags & MMC_RSP_CRC) { in pxamci_cmd_done() 329 static int pxamci_data_done(struct pxamci_host *host, unsigned int stat) in pxamci_data_done() argument 344 if (stat & STAT_READ_TIME_OUT) in pxamci_data_done() 346 else if (stat & (STAT_CRC_READ_ERROR|STAT_CRC_WRITE_ERROR)) in pxamci_data_done() 382 unsigned stat = readl(host->base + MMC_STAT); in pxamci_irq() local 384 pr_debug("PXAMCI: irq %08x stat %08x\n", ireg, stat); in pxamci_irq() 387 handled |= pxamci_cmd_done(host, stat); in pxamci_irq() [all...] |
H A D | mxs-mmc.c | 181 u32 stat; in mxs_mmc_irq_handler() local 185 stat = readl(ssp->base + HW_SSP_CTRL1(ssp)); in mxs_mmc_irq_handler() 186 writel(stat & MXS_MMC_IRQ_BITS, in mxs_mmc_irq_handler() 191 if ((stat & BM_SSP_CTRL1_SDIO_IRQ) && (stat & BM_SSP_CTRL1_SDIO_IRQ_EN)) in mxs_mmc_irq_handler() 194 if (stat & BM_SSP_CTRL1_RESP_TIMEOUT_IRQ) in mxs_mmc_irq_handler() 196 else if (stat & BM_SSP_CTRL1_RESP_ERR_IRQ) in mxs_mmc_irq_handler() 200 if (stat & (BM_SSP_CTRL1_DATA_TIMEOUT_IRQ | in mxs_mmc_irq_handler() 203 else if (stat & BM_SSP_CTRL1_DATA_CRC_IRQ) in mxs_mmc_irq_handler() 205 else if (stat in mxs_mmc_irq_handler() [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-lantiq-ssc.c | 669 u32 stat = lantiq_ssc_readl(spi, LTQ_SPI_STAT); in lantiq_ssc_err_interrupt() local 672 if (!(stat & LTQ_SPI_STAT_ERRORS)) in lantiq_ssc_err_interrupt() 679 if (stat & LTQ_SPI_STAT_RUE) in lantiq_ssc_err_interrupt() 681 if (stat & LTQ_SPI_STAT_TUE) in lantiq_ssc_err_interrupt() 683 if (stat & LTQ_SPI_STAT_AE) in lantiq_ssc_err_interrupt() 685 if (stat & LTQ_SPI_STAT_RE) in lantiq_ssc_err_interrupt() 687 if (stat & LTQ_SPI_STAT_TE) in lantiq_ssc_err_interrupt() 689 if (stat & LTQ_SPI_STAT_ME) in lantiq_ssc_err_interrupt() 772 u32 stat = lantiq_ssc_readl(spi, LTQ_SPI_STAT); in lantiq_ssc_bussy_work() local 774 if (!(stat in lantiq_ssc_bussy_work() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 87 u32 stat; in ast_vhub_epn_handle_ack() local 90 stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_handle_ack() 96 stat, ep->epn.is_in, req, req ? req->active : 0); in ast_vhub_epn_handle_ack() 110 if (VHUB_EP_DMA_RPTR(stat) != 0) { in ast_vhub_epn_handle_ack() 119 len = VHUB_EP_DMA_TX_SIZE(stat); in ast_vhub_epn_handle_ack() 252 u32 stat, stat1; in ast_vhub_epn_handle_ack_desc() local 256 stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_handle_ack_desc() 258 } while(stat != stat1); in ast_vhub_epn_handle_ack_desc() 261 d_last = VHUB_EP_DMA_RPTR(stat); in ast_vhub_epn_handle_ack_desc() 267 stat, e in ast_vhub_epn_handle_ack_desc() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | net2280.c | 970 ep_vdbg(dev, "complete %s req %p stat %d len %u/%u\n", in done() 1765 " dma\tctl %08x stat %08x count %08x\n" in registers_show() 3051 ep_vdbg(dev, "req %02x.%02x protocol STALL; stat %d\n", in handle_stat0_irqs_superspeed() 3087 static void handle_stat0_irqs(struct net2280 *dev, u32 stat) in handle_stat0_irqs() argument 3093 stat &= ~BIT(INTA_ASSERTED); in handle_stat0_irqs() 3094 if (!stat) in handle_stat0_irqs() 3096 /* ep_dbg(dev, "irqstat0 %04x\n", stat); */ in handle_stat0_irqs() 3099 if (unlikely(stat & BIT(SETUP_PACKET_INTERRUPT))) { in handle_stat0_irqs() 3131 stat &= ~BIT(ENDPOINT_0_INTERRUPT); in handle_stat0_irqs() 3178 stat in handle_stat0_irqs() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | net2280.c | 962 ep_vdbg(dev, "complete %s req %p stat %d len %u/%u\n", in done() 1762 " dma\tctl %08x stat %08x count %08x\n" in registers_show() 3056 ep_vdbg(dev, "req %02x.%02x protocol STALL; stat %d\n", in handle_stat0_irqs_superspeed() 3092 static void handle_stat0_irqs(struct net2280 *dev, u32 stat) in handle_stat0_irqs() argument 3098 stat &= ~BIT(INTA_ASSERTED); in handle_stat0_irqs() 3099 if (!stat) in handle_stat0_irqs() 3101 /* ep_dbg(dev, "irqstat0 %04x\n", stat); */ in handle_stat0_irqs() 3104 if (unlikely(stat & BIT(SETUP_PACKET_INTERRUPT))) { in handle_stat0_irqs() 3136 stat &= ~BIT(ENDPOINT_0_INTERRUPT); in handle_stat0_irqs() 3183 stat in handle_stat0_irqs() [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/ |
H A D | n_class.cpp | 31 napi_status stat = napi_define_class(env, className.c_str(), className.length(), constructor, in DefineClass() local 33 return { stat == napi_ok, classVal }; in DefineClass()
|
/foundation/multimedia/image_framework/mock/native/src/ |
H A D | directory_ex.cpp | 20 #include <sys/stat.h> 71 struct stat info = { 0 }; in GetDirFiles()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/log_storage_test/src/ |
H A D | hi_audit_test.cpp | 72 struct stat st; in HWTEST_F() 73 ASSERT_EQ(stat(HIAUDIT_LOG_NAME.c_str(), &st), 0); in HWTEST_F()
|
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | assistant.h | 40 virtual int fuse_reply_attr(fuse_req_t, const struct stat *, double) = 0; 70 MOCK_METHOD3(fuse_reply_attr, int(fuse_req_t, const struct stat *, double));
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_dfinder_hievent.c | 60 const uint64_t *stat = GetStatistics(); in CreateStatisticsEventParams() local 68 para[i].value.u64v = stat[g_statisticsIdx[i]]; in CreateStatisticsEventParams()
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
H A D | stat.h | 10 struct stat { struct 83 struct stat { struct
|
/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
H A D | procfs.c | 10 #include <sys/stat.h> 42 struct stat st1, st2; in init_namespaces() 49 return pr_perror("Unable to stat the parent timens"); in init_namespaces() 59 return pr_perror("Unable to stat the timens"); in init_namespaces()
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | sa1100_simpad.c | 23 skt->stat[SOC_STAT_CD].name = "cf-detect"; in simpad_pcmcia_hw_init() 24 skt->stat[SOC_STAT_RDY].name = "cf-ready"; in simpad_pcmcia_hw_init()
|