/openbmc/linux/drivers/irqchip/ |
H A D | irq-vic.c | 206 u32 stat, irq; in handle_one_vic() local 209 while ((stat = readl_relaxed(vic->base + VIC_IRQ_STATUS))) { in handle_one_vic() 210 irq = ffs(stat) - 1; in handle_one_vic() 220 u32 stat, hwirq; in vic_handle_irq_cascaded() local 226 while ((stat = readl_relaxed(vic->base + VIC_IRQ_STATUS))) { in vic_handle_irq_cascaded() 227 hwirq = ffs(stat) - 1; in vic_handle_irq_cascaded()
|
/openbmc/linux/drivers/atm/ |
H A D | idt77252.c | 163 u32 stat; in waitfor_idle() local 165 stat = readl(SAR_REG_STAT); in waitfor_idle() 166 while (stat & SAR_STAT_CMDBZ) in waitfor_idle() 167 stat = readl(SAR_REG_STAT); in waitfor_idle() 1018 u32 stat; in dequeue_rx() local 1410 u32 conn, stat; in idt77252_tx() local 2711 u32 stat; in idt77252_interrupt() local 2804 u32 stat; in idt77252_softint() local 2815 stat >>= 4; in idt77252_softint() 2821 stat >>= 4; in idt77252_softint() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | da8xx-fb.c | 826 if ((stat & LCD_SYNC_LOST) && (stat & LCD_FIFO_UNDERFLOW)) { in lcdc_irq_handler_rev02() 849 if (stat & LCD_END_OF_FRAME0) { in lcdc_irq_handler_rev02() 859 if (stat & LCD_END_OF_FRAME1) { in lcdc_irq_handler_rev02() 872 if (stat & BIT(0)) { in lcdc_irq_handler_rev02() 886 u32 stat = lcdc_read(LCD_STAT_REG); in lcdc_irq_handler_rev01() local 889 if ((stat & LCD_SYNC_LOST) && (stat & LCD_FIFO_UNDERFLOW)) { in lcdc_irq_handler_rev01() 891 lcdc_write(stat, LCD_STAT_REG); in lcdc_irq_handler_rev01() 902 lcdc_write(stat, LCD_STAT_REG); in lcdc_irq_handler_rev01() 912 lcdc_write(stat, LCD_STAT_REG); in lcdc_irq_handler_rev01() 914 if (stat & LCD_END_OF_FRAME0) { in lcdc_irq_handler_rev01() [all …]
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | 82596.c | 263 unsigned short stat; member 305 unsigned long stat; member 323 unsigned long stat; member 665 lp->iscp.stat = ISCP_BUSY; in init_i596_mem() 827 dev->name, rfd->stat)); in i596_rx() 829 if ((rfd->stat) & 0x0001) in i596_rx() 831 if ((rfd->stat) & 0x0080) in i596_rx() 833 if ((rfd->stat) & 0x0100) in i596_rx() 835 if ((rfd->stat) & 0x0200) in i596_rx() 837 if ((rfd->stat) & 0x0400) in i596_rx() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 220 | 75 stat -c 'image size %s' "$TEST_IMG" 82 stat -c 'image size %s' "$TEST_IMG"
|
H A D | 084 | 56 stat -c"disk image file size in bytes: %s" "${TEST_IMG}" 64 stat -c"disk image file size in bytes: %s" "${TEST_IMG}"
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/ |
H A D | move-log-file-to-proper-dir.patch | 14 + struct stat st = {0}; 15 + if (stat(log_dir.c_str(), &st) == 0) {
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/ |
H A D | move-log-file-to-proper-dir.patch | 14 + struct stat st = {0}; 15 + if (stat(log_dir.c_str(), &st) == 0) {
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | gen-hyprel.c | 248 struct stat stat; in init_elf() local 259 ret = fstat(fd, &stat); in init_elf() 266 elf.begin = mmap(0, stat.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in init_elf() 276 assert_ge(stat.st_size, sizeof(*elf.ehdr), "%lu"); in init_elf()
|
/openbmc/linux/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-pri.h | 401 #define STAT_ATTR(type, stat, print, reset) \ argument 402 STAT_STORE_FUNC(type, stat, reset) \ 403 STAT_SHOW_FUNC(type, stat, print) \ 404 static struct kobj_attribute stat##_attr = __ATTR_RW(stat)
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | papr_scm.c | 371 struct papr_scm_perf_stat *stat; in papr_scm_pmu_get_value() local 391 stat = &stats->scm_statistic[0]; in papr_scm_pmu_get_value() 392 memcpy(&stat->stat_id, in papr_scm_pmu_get_value() 394 sizeof(stat->stat_id)); in papr_scm_pmu_get_value() 395 stat->stat_val = 0; in papr_scm_pmu_get_value() 769 struct papr_scm_perf_stat *stat; in papr_pdsm_fuel_gauge() local 784 stat = &stats->scm_statistic[0]; in papr_pdsm_fuel_gauge() 785 memcpy(&stat->stat_id, "MemLife ", sizeof(stat->stat_id)); in papr_pdsm_fuel_gauge() 786 stat->stat_val = 0; in papr_pdsm_fuel_gauge() 1140 ++index, ++stat) { in perf_stats_show() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dp.c | 50 u8 stat[6]; member 71 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[0], 3); in nvkm_dp_train_sense() 80 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[4], 2); in nvkm_dp_train_sense() 91 OUTP_TRACE(outp, "status %6ph", lt->stat); in nvkm_dp_train_sense() 229 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_eq() 260 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_cr() 335 memset(lt.stat, 0x00, sizeof(lt.stat)); in nvkm_dp_train_link() 546 u8 stat[3]; in nvkm_dp_acquire() local 569 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS02, stat, 3); in nvkm_dp_acquire() 575 if (stat[2] & DPCD_LS04_INTERLANE_ALIGN_DONE) { in nvkm_dp_acquire() [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-list.txt | 37 any extra expressions computed by perf stat. 70 b - use BPF aggregration (see perf stat --bpf-counters) 131 perf stat -e r1a8 -a sleep 1 163 perf stat -e r20000038f -a sleep 1 200 with perf stat -a. They can be bound to one logical CPU, but will measure 215 perf stat -C 0 -a imc/cas_count_read/,imc/cas_count_write/ -I 1000 ... 220 perf stat -I 1000 -e power/energy-cores/ -a 257 perf stat -C 0 -e 'hv_gpci/dtbp_ptitc,phys_processor_idx=0x2/' ... 268 perf stat -e cpu/event=0,umask=0x3,percore=1/ 283 perf stat -e '{instructions,cycles}' ... [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/ |
H A D | clock_manager_gen5.h | 62 u32 stat; member 79 u32 stat; member 91 u32 stat; member 105 u32 stat; member
|
/openbmc/linux/drivers/md/ |
H A D | md-autodetect.c | 141 struct kstat stat; in md_setup_drive() local 155 if (init_stat(comp_name, &stat, 0) == 0 && S_ISBLK(stat.mode)) in md_setup_drive() 156 dev = new_decode_dev(stat.rdev); in md_setup_drive()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
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() 248 void efx_nic_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *stat);
|
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | mmu_internal.h | 313 vcpu->stat.pf_taken++; in kvm_mmu_do_page_fault() 329 vcpu->stat.pf_fixed++; in kvm_mmu_do_page_fault() 333 vcpu->stat.pf_emulate++; in kvm_mmu_do_page_fault() 335 vcpu->stat.pf_spurious++; in kvm_mmu_do_page_fault()
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_ata.c | 37 switch (ts->stat) { in sas_to_ata_err() 58 __func__, ts->stat); in sas_to_ata_err() 77 struct task_status_struct *stat = &task->task_status; in sas_ata_task_done() local 78 struct ata_task_resp *resp = (struct ata_task_resp *)stat->buf; in sas_ata_task_done() 117 if (stat->stat == SAS_PROTO_RESPONSE || in sas_ata_task_done() 118 stat->stat == SAS_SAM_STAT_GOOD || in sas_ata_task_done() 119 (stat->stat == SAS_SAM_STAT_CHECK_CONDITION && in sas_ata_task_done() 131 ac = sas_to_ata_err(stat); in sas_ata_task_done() 133 pr_warn("%s: SAS error 0x%x\n", __func__, stat->stat); in sas_ata_task_done()
|
/openbmc/linux/arch/s390/include/uapi/asm/ |
H A D | stat.h | 26 struct stat { struct 79 struct stat { struct
|
/openbmc/linux/tools/testing/selftests/sync/ |
H A D | sync_test.c | 67 struct stat sbuf; in sync_api_supported() 70 ret = stat("/sys/kernel/debug/sync/sw_sync", &sbuf); in sync_api_supported()
|
/openbmc/linux/drivers/regulator/ |
H A D | bd9576-regulator.c | 807 struct regulator_err_state *stat; in bd9576_uvd_handler() local 810 stat = &rid->states[i]; in bd9576_uvd_handler() 812 stat->notifs = rdata->uvd_notif; in bd9576_uvd_handler() 813 stat->errors = rdata->uvd_err; in bd9576_uvd_handler() 844 struct regulator_err_state *stat; in bd9576_ovd_handler() local 847 stat = &rid->states[i]; in bd9576_ovd_handler() 849 stat->notifs = rdata->ovd_notif; in bd9576_ovd_handler() 850 stat->errors = rdata->ovd_err; in bd9576_ovd_handler() 881 struct regulator_err_state *stat; in bd9576_thermal_handler() local 884 stat = &rid->states[i]; in bd9576_thermal_handler() [all …]
|
/openbmc/linux/drivers/slimbus/ |
H A D | qcom-ctrl.c | 167 u32 stat) in qcom_slim_handle_tx_irq() argument 171 if (stat & MGR_INT_TX_MSG_SENT) in qcom_slim_handle_tx_irq() 175 if (stat & MGR_INT_TX_NACKED_2) { in qcom_slim_handle_tx_irq() 189 stat, mgr_stat); in qcom_slim_handle_tx_irq() 208 u32 stat) in qcom_slim_handle_rx_irq() argument 266 u32 stat = readl_relaxed(ctrl->base + MGR_INT_STAT); in qcom_slim_interrupt() local 269 if (stat & MGR_INT_TX_MSG_SENT || stat & MGR_INT_TX_NACKED_2) in qcom_slim_interrupt() 270 ret = qcom_slim_handle_tx_irq(ctrl, stat); in qcom_slim_interrupt() 272 if (stat & MGR_INT_RX_MSG_RCVD) in qcom_slim_interrupt() 273 ret = qcom_slim_handle_rx_irq(ctrl, stat); in qcom_slim_interrupt()
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-hdw.c | 444 return stat; in ctrl_cropl_min_get() 455 return stat; in ctrl_cropl_max_get() 469 return stat; in ctrl_cropt_min_get() 480 return stat; in ctrl_cropt_max_get() 496 return stat; in ctrl_cropw_max_get() 512 return stat; in ctrl_croph_max_get() 526 return stat; in ctrl_get_cropcapbl() 537 return stat; in ctrl_get_cropcapbt() 548 return stat; in ctrl_get_cropcapbw() 559 return stat; in ctrl_get_cropcapbh() [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | scan_manager.c | 51 status = readl(&scan_manager_base->stat); in scan_chain_engine_is_idle() 226 writel(0x02, &scan_manager_base->stat); in scan_mgr_get_fpga_id() 232 writel(0, &scan_manager_base->stat); in scan_mgr_get_fpga_id()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | nv50.c | 100 u32 stat = nvkm_rd32(device, 0x00e050) & intr; in nv50_gpio_intr_stat() local 101 *lo = (stat & 0xffff0000) >> 16; in nv50_gpio_intr_stat() 102 *hi = (stat & 0x0000ffff); in nv50_gpio_intr_stat()
|