/openbmc/qemu/hw/net/ |
H A D | sungem.c | 241 uint32_t stat, mask; in sungem_eval_irq() local 245 if (stat & ~mask) { in sungem_eval_irq() 254 uint32_t stat; in sungem_update_status() local 256 stat = s->gregs[GREG_STAT >> 2]; in sungem_update_status() 258 stat |= bits; in sungem_update_status() 260 stat &= ~bits; in sungem_update_status() 262 s->gregs[GREG_STAT >> 2] = stat; in sungem_update_status() 268 uint32_t stat, mask; in sungem_eval_cascade_irq() local 272 if (stat & ~mask) { in sungem_eval_cascade_irq() 280 if (stat & ~mask) { in sungem_eval_cascade_irq() [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_state_updatepending_unittest.cpp | 149 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F() 158 EXPECT_FALSE(handler->stat(updateBlobId, &meta)); in TEST_F() 170 EXPECT_TRUE(handler->stat(blob, &meta)); in TEST_F() 194 EXPECT_TRUE(handler->stat(session, &meta)); in TEST_F()
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | cpu-load.rst | 5 Linux exports various bits of information via ``/proc/stat`` and 21 In most cases the ``/proc/stat`` information reflects the reality quite 47 ``/proc/stat`` (since the timer interrupt will always happen when the 52 will lead to quite erratic information inside ``/proc/stat``::
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-bcm2836.c | 140 u32 stat; in bcm2836_arm_irqchip_handle_irq() local 142 stat = readl_relaxed(intc.base + LOCAL_IRQ_PENDING0 + 4 * cpu); in bcm2836_arm_irqchip_handle_irq() 143 if (stat) { in bcm2836_arm_irqchip_handle_irq() 144 u32 hwirq = ffs(stat) - 1; in bcm2836_arm_irqchip_handle_irq()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_vf_isr.c | 49 int stat = pci_alloc_irq_vectors(pci_dev_info->pci_dev, 1, 1, in adf_enable_msi() local 51 if (unlikely(stat < 0)) { in adf_enable_msi() 53 "Failed to enable MSI interrupt: %d\n", stat); in adf_enable_msi() 54 return stat; in adf_enable_msi()
|
H A D | qat_hal.c | 1257 int stat = 0; in qat_hal_exec_micro_init_lm() local 1291 int stat = 0; in qat_hal_batch_wr_lm() local 1322 return stat; in qat_hal_batch_wr_lm() 1432 int stat = 0; in qat_hal_put_rel_nn() local 1440 return stat; in qat_hal_put_rel_nn() 1469 int stat = 0; in qat_hal_init_gpr() local 1489 if (stat) { in qat_hal_init_gpr() 1503 int stat = 0; in qat_hal_init_wr_xfer() local 1524 if (stat) { in qat_hal_init_wr_xfer() 1559 if (stat) { in qat_hal_init_rd_xfer() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | gf100.c | 99 u32 stat = intr & 0x0000ffff; in gf100_ltc_lts_intr() local 102 if (stat) { in gf100_ltc_lts_intr() 103 nvkm_snprintbf(msg, sizeof(msg), gf100_ltc_lts_intr_name, stat); in gf100_ltc_lts_intr() 104 nvkm_error(subdev, "LTC%d_LTS%d: %08x [%s]\n", c, s, stat, msg); in gf100_ltc_lts_intr()
|
H A D | gm107.c | 78 u16 stat = intr & 0x0000ffff; in gm107_ltc_intr_lts() local 81 if (stat) { in gm107_ltc_intr_lts() 82 nvkm_snprintbf(msg, sizeof(msg), gf100_ltc_lts_intr_name, stat); in gm107_ltc_intr_lts()
|
/openbmc/phosphor-ipmi-blobs/ |
H A D | manager.cpp | 107 bool BlobManager::stat(const std::string& path, BlobMeta* meta) in stat() function in blobs::BlobManager 118 return handler->stat(path, meta); in stat() 121 bool BlobManager::stat(uint16_t session, BlobMeta* meta) in stat() function in blobs::BlobManager 125 return handler->stat(session, meta); in stat()
|
/openbmc/linux/tools/power/cpupower/lib/ |
H A D | powercap.c | 97 struct stat statbuf; in powercap_get_driver() 99 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) { in powercap_get_driver() 219 struct stat st; in powercap_read_zone() 224 if (stat(dent->d_name, &st) != 0 || !S_ISDIR(st.st_mode)) in powercap_read_zone()
|
/openbmc/linux/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_irq.c | 19 unsigned short stat; in pdacf_interrupt() local 27 stat = inw(chip->port + PDAUDIOCF_REG_ISR); in pdacf_interrupt() 28 if (stat & (PDAUDIOCF_IRQLVL|PDAUDIOCF_IRQOVR)) { in pdacf_interrupt() 29 if (stat & PDAUDIOCF_IRQOVR) /* should never happen */ in pdacf_interrupt() 33 if (!(stat & PDAUDIOCF_IRQAKM)) in pdacf_interrupt() 34 stat |= PDAUDIOCF_IRQAKM; /* check rate */ in pdacf_interrupt()
|
/openbmc/linux/drivers/net/wan/ |
H A D | c101.c | 122 u8 stat = sca_in(MSCI0_OFFSET + ST1, port); /* read MSCI ST1 status */ in sca_msci_intr() local 125 sca_out(stat & (ST1_UDRN | ST1_CDCD), MSCI0_OFFSET + ST1, port); in sca_msci_intr() 127 if (stat & ST1_UDRN) { in sca_msci_intr() 133 stat = sca_in(MSCI1_OFFSET + ST1, port); /* read MSCI1 ST1 status */ in sca_msci_intr() 135 sca_out(stat & ST1_CDCD, MSCI1_OFFSET + ST1, port); in sca_msci_intr() 137 if (stat & ST1_CDCD) in sca_msci_intr()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-npcm-pspi.c | 297 u8 stat; in npcm_pspi_handler() local 299 stat = ioread8(priv->base + NPCM_PSPI_STAT); in npcm_pspi_handler() 305 if (stat & NPCM_PSPI_STAT_RBF) { in npcm_pspi_handler() 314 if ((stat & NPCM_PSPI_STAT_BSY) == 0) in npcm_pspi_handler() 320 if (stat & NPCM_PSPI_STAT_RBF) { in npcm_pspi_handler() 333 if (((stat & NPCM_PSPI_STAT_BSY) == 0) && !priv->tx_buf) in npcm_pspi_handler()
|
/openbmc/u-boot/tools/ |
H A D | fit_check_sign.c | 39 struct stat fsbuf; in main() 40 struct stat ksbuf; in main()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 288 | 61 stat -c "image file size in bytes: %s" "$TEST_IMG_FILE" 68 stat -c "image file size in bytes: %s" "$TEST_IMG_FILE"
|
/openbmc/linux/drivers/media/cec/usb/rainshadow/ |
H A D | rainshadow-cec.c | 69 int stat = -1; in rain_process_msg() local 84 stat = hex_to_bin(cmd[0]); in rain_process_msg() 89 if (stat == 1 || stat == 2) in rain_process_msg() 94 switch (stat) { in rain_process_msg()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | verify_pkcs7_sig.c | 97 struct stat st; in populate_data_item_str() 140 ret = stat(path, &st); in populate_data_item_str() 179 struct stat st; in populate_data_item_mod() 187 if (stat("/lib/modules", &st) == -1) in populate_data_item_mod() 207 if (stat(mod_path, &st) == -1) in populate_data_item_mod()
|
/openbmc/linux/tools/perf/util/ |
H A D | util.c | 96 struct stat st; in mkdir_p() 103 if (stat(path, &st) == 0) in mkdir_p() 110 err = stat(path, &st) && mkdir(path, mode); in mkdir_p() 117 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0; in mkdir_p() 157 struct stat statbuf; in rm_rf_depth_pat()
|
H A D | hist.c | 331 he_stat__decay(&he->stat); in hists__decay_entry() 356 return he->stat.period == 0; in hists__decay_entry() 448 memcpy(he->stat_acc, &he->stat, sizeof(he->stat)); in hist_entry__init() 450 memset(&he->stat, 0, sizeof(he->stat)); in hist_entry__init() 737 .stat = { in __hists__add_entry() 1504 he_stat__add_stat(&iter->stat, &he->stat); in hierarchy_insert_entry() 1625 he_stat__add_stat(&iter->stat, &he->stat); in hists__collapse_insert_entry() 2101 he_stat__add_stat(&parent->stat, &h->stat); in hists__remove_entry_filter() 2267 memset(&h->stat, 0, sizeof(h->stat)); in hists__filter_hierarchy() 2416 memset(&he->stat, 0, sizeof(he->stat)); in hists__add_dummy_entry() [all …]
|
/openbmc/linux/drivers/media/platform/ti/omap3isp/ |
H A D | isph3a_aewb.c | 243 struct ispstat *stat = v4l2_get_subdevdata(sd); in h3a_aewb_ioctl() local 247 return omap3isp_stat_config(stat, arg); in h3a_aewb_ioctl() 249 return omap3isp_stat_request_statistics(stat, arg); in h3a_aewb_ioctl() 251 return omap3isp_stat_request_statistics_time32(stat, arg); in h3a_aewb_ioctl() 254 return omap3isp_stat_enable(stat, !!*en); in h3a_aewb_ioctl()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_serdev.c | 31 hdev->stat.cmd_tx++; in hci_uart_tx_complete() 35 hdev->stat.acl_tx++; in hci_uart_tx_complete() 39 hdev->stat.sco_tx++; in hci_uart_tx_complete() 75 hdev->stat.byte_tx += len; in hci_uart_write_work() 293 hu->hdev->stat.byte_rx += count; in hci_uart_receive_buf()
|
/openbmc/linux/drivers/gpu/drm/mxsfb/ |
H A D | lcdif_drv.c | 115 u32 reg, stat; in lcdif_irq_handler() local 117 stat = readl(lcdif->base + LCDC_V8_INT_STATUS_D0); in lcdif_irq_handler() 118 if (!stat) in lcdif_irq_handler() 121 if (stat & INT_STATUS_D0_VS_BLANK) { in lcdif_irq_handler() 127 writel(stat, lcdif->base + LCDC_V8_INT_STATUS_D0); in lcdif_irq_handler()
|
/openbmc/linux/drivers/firmware/ |
H A D | arm_scpi.c | 563 int stat; in scpi_clk_set_val() local 570 &stat, sizeof(stat)); in scpi_clk_set_val() 575 int stat; in legacy_scpi_clk_set_val() local 582 &stat, sizeof(stat)); in legacy_scpi_clk_set_val() 598 int stat; in scpi_dvfs_set_idx() local 602 &stat, sizeof(stat)); in scpi_dvfs_set_idx() 772 int stat; in scpi_device_set_power_state() local 779 sizeof(dev_set), &stat, sizeof(stat)); in scpi_device_set_power_state()
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-regs.h | 122 #define SOLO_P2M_CURRENT_ID(stat) (0xff & (stat)) argument 186 #define DISP_PAGE(stat) ((stat) & 0x07) argument 581 #define SOLO_UART_RX_BUFF_CNT(stat) (((stat)>>6) & 0x1f) argument 583 #define SOLO_UART_TX_BUFF_CNT(stat) (((stat)>>0) & 0x1f) argument
|
/openbmc/u-boot/drivers/ram/rockchip/ |
H A D | sdram_rk322x.c | 275 state = readl(&pctl->stat) & PCTL_STAT_MASK; in move_to_config_state() 279 while ((readl(&pctl->stat) & PCTL_STAT_MASK) in move_to_config_state() 290 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != CONFIG) in move_to_config_state() 306 state = readl(&pctl->stat) & PCTL_STAT_MASK; in move_to_access_state() 310 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != ACCESS) in move_to_access_state() 315 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != CONFIG) in move_to_access_state() 320 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != ACCESS) in move_to_access_state() 336 state = readl(&pctl->stat) & PCTL_STAT_MASK; in move_to_lowpower_state() 340 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != CONFIG) in move_to_lowpower_state() 345 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != ACCESS) in move_to_lowpower_state() [all …]
|