/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-driver.c | 176 static const char *get_link_speed(u16 stat) in get_link_speed() argument 178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed() 191 u16 stat, ctrl; in cobalt_pcie_status_show() local 199 pcie_capability_read_word(pci_dev, PCI_EXP_DEVSTA, &stat); in cobalt_pcie_status_show() 206 cobalt_info("PCIe device status 0x%04x\n", stat); in cobalt_pcie_status_show() 211 pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &stat); in cobalt_pcie_status_show() 217 stat, get_link_speed(stat), in cobalt_pcie_status_show() 218 FIELD_GET(PCI_EXP_LNKSTA_NLW, stat)); in cobalt_pcie_status_show() 229 pcie_capability_read_word(pci_dev, PCI_EXP_SLTSTA, &stat); in cobalt_pcie_status_show() 232 cobalt_info("PCIe slot status 0x%04x\n", stat); in cobalt_pcie_status_show()
|
/openbmc/linux/drivers/devfreq/ |
H A D | tegra30-devfreq.c | 656 struct devfreq_dev_status *stat) in tegra_devfreq_get_dev_status() argument 665 stat->private_data = tegra; in tegra_devfreq_get_dev_status() 668 stat->current_frequency = cur_freq * KHZ; in tegra_devfreq_get_dev_status() 673 stat->busy_time = device_readl(actmon_dev, ACTMON_DEV_AVG_COUNT); in tegra_devfreq_get_dev_status() 676 stat->busy_time *= 100 / BUS_SATURATION_RATIO; in tegra_devfreq_get_dev_status() 679 stat->total_time = tegra->devfreq->profile->polling_ms * cur_freq; in tegra_devfreq_get_dev_status() 681 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status() 696 struct devfreq_dev_status *stat; in tegra_governor_get_target() local 707 stat = &devfreq->last_status; in tegra_governor_get_target() 709 tegra = stat->private_data; in tegra_governor_get_target()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-s3c2410.c | 247 unsigned long stat; in s3c24xx_i2c_message_start() local 250 stat = 0; in s3c24xx_i2c_message_start() 251 stat |= S3C2410_IICSTAT_TXRXEN; in s3c24xx_i2c_message_start() 254 stat |= S3C2410_IICSTAT_MASTER_RX; in s3c24xx_i2c_message_start() 257 stat |= S3C2410_IICSTAT_MASTER_TX; in s3c24xx_i2c_message_start() 266 writel(stat, i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_message_start() 280 stat |= S3C2410_IICSTAT_START; in s3c24xx_i2c_message_start() 281 writel(stat, i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_message_start() 711 i2c_s3c_irq_nextbyte(i2c, stat); in s3c24xx_i2c_doxfer() 713 stat = readl(i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_doxfer() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 121 | 111 stat -c "size=%s (expected 131072)" $TEST_IMG 118 stat -c "size=%s (expected 132096)" $TEST_IMG
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | stat_all_pfm.sh | 20 result=$(perf stat --pfm-events "$p" true 2>&1) 35 result=$(perf stat --pfm-events "$p" perf bench internals synthesize 2>&1)
|
/openbmc/linux/drivers/dma/ |
H A D | fsldma.c | 916 u32 stat; in fsldma_chan_irq() local 919 stat = get_sr(chan); in fsldma_chan_irq() 920 set_sr(chan, stat); in fsldma_chan_irq() 925 if (!stat) in fsldma_chan_irq() 928 if (stat & FSL_DMA_SR_TE) in fsldma_chan_irq() 936 if (stat & FSL_DMA_SR_PE) { in fsldma_chan_irq() 938 stat &= ~FSL_DMA_SR_PE; in fsldma_chan_irq() 947 if (stat & FSL_DMA_SR_EOCDI) { in fsldma_chan_irq() 949 stat &= ~FSL_DMA_SR_EOCDI; in fsldma_chan_irq() 959 stat &= ~FSL_DMA_SR_EOLNI; in fsldma_chan_irq() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | af9013.c | 629 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in af9013_read_status() 630 c->strength.stat[0].svalue = stmp1; in af9013_read_status() 711 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in af9013_read_status() 712 c->cnr.stat[0].svalue = utmp1; in af9013_read_status() 715 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9013_read_status() 769 c->post_bit_error.stat[0].uvalue += utmp1; in af9013_read_status() 771 c->post_bit_count.stat[0].uvalue += utmp2; in af9013_read_status() 773 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in af9013_read_status() 774 c->block_error.stat[0].uvalue += utmp3; in af9013_read_status() 775 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in af9013_read_status() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/sysvinit/sysvinit/ |
H A D | 0001-include-sys-sysmacros.h-for-major-minor-defines-in-g.patch | 22 #include <sys/stat.h> 34 #include <sys/stat.h> 46 #include <sys/stat.h>
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ohci-hcd.c | 1136 int stat = 0; in takeback_td() local 1175 return stat; in takeback_td() 1180 int stat = 0; in dl_done_list() local 1188 return stat; in dl_done_list() 1248 int stat = 0; in ohci_submit_rh_msg() local 1460 return stat; in ohci_submit_rh_msg() 1516 int stat = 0; in submit_common_msg() local 1573 if ((stat >= 0) && (stat != 0xff) && (urb->finished)) { in submit_common_msg() 1931 stat = 0xff; in hc_interrupt() 1964 stat = -1; in hc_interrupt() [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_state_uploadinprogress_unittest.cpp | 78 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F() 90 EXPECT_FALSE(handler->stat(activeHashBlobId, &meta)); in TEST_F() 104 EXPECT_TRUE(handler->stat(blob, &meta)); in TEST_F() 127 EXPECT_TRUE(handler->stat(session, &meta)); in TEST_F()
|
/openbmc/linux/drivers/reset/ |
H A D | reset-lpc18xx.c | 73 u32 stat, rst_bit; in lpc18xx_rgu_setclear_reset() local 80 stat = ~readl(rc->base + stat_offset); in lpc18xx_rgu_setclear_reset() 82 writel(stat | rst_bit, rc->base + ctrl_offset); in lpc18xx_rgu_setclear_reset() 84 writel(stat & ~rst_bit, rc->base + ctrl_offset); in lpc18xx_rgu_setclear_reset()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | nic_common.h | 212 static inline void efx_update_diff_stat(u64 *stat, u64 diff) in efx_update_diff_stat() argument 214 if ((s64)(diff - *stat) > 0) in efx_update_diff_stat() 215 *stat = diff; in efx_update_diff_stat() 247 void efx_siena_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *stat);
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-mxs.c | 52 void __iomem *stat; member 137 irqnr = __raw_readl(icoll_priv.stat); in icoll_handle_irq() 193 icoll_priv.stat = icoll_base + HW_ICOLL_STAT_OFFSET; in icoll_of_init() 222 icoll_priv.stat = icoll_base + ASM9260_HW_ICOLL_STAT_OFFSET; in asm9260_of_init()
|
/openbmc/linux/net/sunrpc/ |
H A D | xprtsock.c | 2833 xprt->stat.sends, in xs_local_print_stats() 2834 xprt->stat.recvs, in xs_local_print_stats() 2836 xprt->stat.req_u, in xs_local_print_stats() 2837 xprt->stat.bklog_u, in xs_local_print_stats() 2857 xprt->stat.sends, in xs_udp_print_stats() 2858 xprt->stat.recvs, in xs_udp_print_stats() 2860 xprt->stat.req_u, in xs_udp_print_stats() 2861 xprt->stat.bklog_u, in xs_udp_print_stats() 2888 xprt->stat.sends, in xs_tcp_print_stats() 2889 xprt->stat.recvs, in xs_tcp_print_stats() [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | clock_manager.c | 24 inter_val = readl(&clock_manager_base->stat) & mask; in cm_wait_for_lock() 39 return wait_for_bit_le32(&clock_manager_base->stat, in cm_wait_for_fsm()
|
/openbmc/linux/tools/testing/selftests/proc/ |
H A D | fd-001-lookup.c | 35 struct stat st; in test_lookup_pass() 38 memset(&st, 0, sizeof(struct stat)); in test_lookup_pass() 46 struct stat st; in test_lookup_fail()
|
/openbmc/openbmc/poky/scripts/contrib/bb-perf/ |
H A D | buildstats-plot.sh | 60 -s stats The stats to be matched. If more that one stat, units 63 (build)stat separated by colons, i.e. stime:utime 66 -S Sum values for a particular stat for found recipes
|
/openbmc/u-boot/tools/ |
H A D | imagetool.c | 31 struct stat *sbuf, in imagetool_verify_print_header() 70 struct stat *sbuf, in imagetool_verify_print_header_by_type() 129 struct stat sbuf; in imagetool_get_filesize()
|
/openbmc/openbmc/poky/meta/recipes-extended/quota/quota/ |
H A D | fcntl.patch | 33 #include <sys/stat.h> 45 #include <sys/stat.h> 60 #include <sys/stat.h>
|
/openbmc/linux/fs/udf/ |
H A D | symlink.c | 145 const struct path *path, struct kstat *stat, in udf_symlink_getattr() argument 152 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in udf_symlink_getattr() 165 stat->size = strlen(page_address(page)); in udf_symlink_getattr()
|
/openbmc/u-boot/drivers/mmc/ |
H A D | omap_hsmmc.c | 287 writel(CC_MASK, &mmc_base->stat) in mmc_init_stream() 1074 while (readl(&mmc_base->stat)) { 1150 mmc_stat = readl(&mmc_base->stat); 1164 writel(CC_MASK, &mmc_base->stat); 1198 &mmc_base->stat); 1256 &mmc_base->stat); 1266 &mmc_base->stat); 1270 &mmc_base->stat); 1312 &mmc_base->stat); 1322 &mmc_base->stat); [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/makedevs/makedevs/ |
H A D | makedevs.c | 255 struct stat sb; in add_new_device() 262 memset(&sb, 0, sizeof(struct stat)); in add_new_device() 323 struct stat sb; in add_new_fifo() 325 memset(&sb, 0, sizeof(struct stat)); in add_new_fifo() 326 status = stat(path, &sb); in add_new_fifo() 467 struct stat sb; in parse_devtable() 506 struct stat statbuf; in main()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sunhv.c | 120 long stat = sun4v_con_read(ra, PAGE_SIZE, &bytes_read); in receive_chars_read() local 122 if (stat != HV_EOK) { in receive_chars_read() 125 if (stat == CON_BREAK) { in receive_chars_read() 134 } else if (stat == CON_HUP) { in receive_chars_read() 457 unsigned long stat; in sunhv_console_write_paged() local 459 stat = sun4v_con_write(ra, page_bytes, in sunhv_console_write_paged() 461 if (stat == HV_EOK) in sunhv_console_write_paged()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | bpa10x.c | 58 hdev->stat.byte_tx += urb->transfer_buffer_length; in bpa10x_tx_complete() 60 hdev->stat.err_tx++; in bpa10x_tx_complete() 106 hdev->stat.err_rx++; in bpa10x_rx_complete() 303 hdev->stat.cmd_tx++; in bpa10x_send_frame() 312 hdev->stat.acl_tx++; in bpa10x_send_frame() 321 hdev->stat.sco_tx++; in bpa10x_send_frame()
|
/openbmc/linux/fs/nfsd/ |
H A D | nfs2acl.c | 53 resp->status = fh_getattr(fh, &resp->stat); in nfsacld_proc_getacl() 129 resp->status = fh_getattr(fh, &resp->stat); in nfsacld_proc_setacl() 160 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsacld_proc_getattr() 182 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsacld_proc_access() 257 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfsaclsvc_encode_getaclres() 282 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfsaclsvc_encode_accessres()
|