/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/ |
H A D | 0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch | 58 + struct timeval tval; 66 + tval.tv_sec = levt->input_event_sec; 67 + tval.tv_usec = levt->input_event_usec; 76 + timeout_passed( &state->timeout, &tval )) { 95 + if (!timeout_passed( &state->timeout, &tval )) { 116 + if (timeout_passed( &state->timeout, &tval )){
|
/openbmc/linux/tools/testing/selftests/kvm/include/aarch64/ |
H A D | arch_timer.h | 82 static inline void timer_set_tval(enum arch_timer timer, uint32_t tval) in timer_set_tval() argument 86 write_sysreg(tval, cntv_tval_el0); in timer_set_tval() 89 write_sysreg(tval, cntp_tval_el0); in timer_set_tval()
|
/openbmc/u-boot/drivers/usb/ulpi/ |
H A D | ulpi.c | 33 u32 val, tval = ULPI_TEST_VALUE; in ulpi_integrity_check() local 37 for (i = 0; i < 2; i++, tval <<= 1) { in ulpi_integrity_check() 38 err = ulpi_write(ulpi_vp, &ulpi->scratch, tval); in ulpi_integrity_check() 43 if (val != tval) { in ulpi_integrity_check()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-cy8c95x0.c | 414 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_write_regs_mask() 425 bitmap_andnot(tval, val, chip->shiftmask, MAX_LINE); in cy8c95x0_write_regs_mask() 426 bitmap_shift_left(tval, tval, 4, MAX_LINE); in cy8c95x0_write_regs_mask() 427 bitmap_replace(tval, tval, val, chip->shiftmask, BANK_SZ * 3); in cy8c95x0_write_regs_mask() 465 write_val = bitmap_get_value8(tval, i * BANK_SZ); in cy8c95x0_write_regs_mask() 484 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_read_regs_mask() 496 bitmap_andnot(tval, val, chip->shiftmask, MAX_LINE); in cy8c95x0_read_regs_mask() 497 bitmap_shift_left(tval, tval, 4, MAX_LINE); in cy8c95x0_read_regs_mask() 498 bitmap_replace(tval, tval, val, chip->shiftmask, BANK_SZ * 3); in cy8c95x0_read_regs_mask() 542 bitmap_set_value8(tval, read_val, i * BANK_SZ); in cy8c95x0_read_regs_mask() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | trace-events | 2 …t cause, uint64_t epc, uint64_t tval, const char *desc) "hart:%"PRId64", async:%d, cause:%"PRId64"…
|
H A D | cpu_helper.c | 1669 target_ulong tval = 0; in riscv_cpu_do_interrupt() local 1690 tval = env->badaddr; in riscv_cpu_do_interrupt() 1702 tinst = riscv_transformed_insn(env, env->bins, tval); in riscv_cpu_do_interrupt() 1710 tval = env->badaddr; in riscv_cpu_do_interrupt() 1721 tval = env->bins; in riscv_cpu_do_interrupt() 1724 tval = env->badaddr; in riscv_cpu_do_interrupt() 1726 tval = cs->watchpoint_hit->hitaddr; in riscv_cpu_do_interrupt() 1749 trace_riscv_trap(env->mhartid, async, cause, env->pc, tval, in riscv_cpu_do_interrupt() 1801 env->stval = tval; in riscv_cpu_do_interrupt() 1815 if (env->virt_enabled && tval) { in riscv_cpu_do_interrupt() [all …]
|
/openbmc/qemu/hw/input/ |
H A D | virtio-input-host.c | 199 struct timeval tval; in virtio_input_host_handle_status() local 202 if (gettimeofday(&tval, NULL)) { in virtio_input_host_handle_status() 207 evdev.input_event_sec = tval.tv_sec; in virtio_input_host_handle_status() 208 evdev.input_event_usec = tval.tv_usec; in virtio_input_host_handle_status()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | module-plts.c | 113 u32 *tval = (u32 *)(base + rel->r_offset); in is_zero_addend_relocation() local 126 upper = __mem_to_opcode_thumb16(((u16 *)tval)[0]); in is_zero_addend_relocation() 127 lower = __mem_to_opcode_thumb16(((u16 *)tval)[1]); in is_zero_addend_relocation() 134 return (__mem_to_opcode_arm(*tval) & 0xffffff) == 0xfffffe; in is_zero_addend_relocation()
|
/openbmc/linux/drivers/thermal/ |
H A D | amlogic_thermal.c | 181 unsigned int tval; in amlogic_thermal_get_temp() local 187 regmap_read(pdata->regmap, TSENSOR_STAT0, &tval); in amlogic_thermal_get_temp() 190 tval & TSENSOR_READ_TEMP_MASK); in amlogic_thermal_get_temp()
|
/openbmc/linux/drivers/char/mwave/ |
H A D | 3780i.c | 195 unsigned short tval; in dsp3780I_EnableDSP() local 296 MKWORD(tval) = InWordDsp(DSP_IsaSlaveControl); in dsp3780I_EnableDSP() 299 "3780i::dsp3780i_EnableDSP rSlaveControl 2 %x\n", tval); in dsp3780I_EnableDSP() 308 MKWORD(tval) = InWordDsp(DSP_IsaSlaveControl); in dsp3780I_EnableDSP() 311 "3780i::dsp3780i_EnableDSP rSlaveControl 3 %x\n", tval); in dsp3780I_EnableDSP()
|
/openbmc/qemu/contrib/vhost-user-input/ |
H A D | main.c | 117 struct timeval tval; in vi_handle_status() local 120 if (gettimeofday(&tval, NULL)) { in vi_handle_status() 125 evdev.input_event_sec = tval.tv_sec; in vi_handle_status() 126 evdev.input_event_usec = tval.tv_usec; in vi_handle_status()
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | arm,arch_timer.yaml | 75 affects writes to the tval register, due to the implicit counter read. 81 by back-to-back reads. This also affects writes to the tval register, due 89 the tval registers, due to the implicit counter read.
|
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/ |
H A D | psci.c | 40 static void __secure cp15_write_cntp_tval(u32 tval) in cp15_write_cntp_tval() argument 42 asm volatile ("mcr p15, 0, %0, c14, c2, 0" : : "r" (tval)); in cp15_write_cntp_tval()
|
/openbmc/linux/drivers/acpi/apei/ |
H A D | einj.c | 629 u32 tval, vendor; in error_type_set() local 640 tval = val & 0x7fffffff; in error_type_set() 643 if (tval & (tval - 1)) in error_type_set()
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | tei.c | 472 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 1); in tei_id_request() 592 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 2); in tei_id_verify() 607 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 3); in tei_id_req_tout() 626 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 4); in tei_id_ver_tout() 690 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 2); in tei_id_chk_req_net() 742 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 4); in tei_id_ver_tout_net() 819 l2->tm->tval = 2000; /* T202 2 sec */ in create_new_tei() 1063 l2->tm->tval = 1000; /* T201 1 sec */ in create_teimgr() 1071 l2->tm->tval = 2000; /* T202 2 sec */ in create_teimgr()
|
H A D | layer2.h | 33 int tval, nval; member
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-dwc2.c | 879 uint32_t tval, told, old; in dwc2_hreg0_write() local 915 tval = val & (HPRT0_OVRCURRCHG | HPRT0_ENACHG | HPRT0_ENA | in dwc2_hreg0_write() 919 tval |= ~told; in dwc2_hreg0_write() 920 tval = ~tval; in dwc2_hreg0_write() 921 tval &= (HPRT0_OVRCURRCHG | HPRT0_ENACHG | HPRT0_ENA | in dwc2_hreg0_write() 925 val |= tval; in dwc2_hreg0_write()
|
/openbmc/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | monitor.c | 402 u64 tval = 0; in __mon_event_count() local 412 rr->err = resctrl_arch_rmid_read(rr->r, rr->d, rmid, rr->evtid, &tval); in __mon_event_count() 416 rr->val += tval; in __mon_event_count()
|
/openbmc/linux/drivers/power/supply/ |
H A D | bq27xxx_battery.c | 1683 int tval; local 1685 tval = bq27xxx_read(di, reg, false); 1686 if (tval < 0) { 1688 reg, tval); 1689 return tval; 1692 if (tval == 65535) 1695 return tval * 60;
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_bcm7271.c | 564 u32 tval; in brcmuart_isr() local 578 tval = UDMA_IS_TX_INTERRUPT(interrupts); in brcmuart_isr() 579 if (tval) in brcmuart_isr() 580 brcmuart_tx_isr(up, tval); in brcmuart_isr() 581 if ((rval | tval) == 0) in brcmuart_isr()
|
/openbmc/qemu/hw/ppc/ |
H A D | vof.c | 77 static void prop_format(char *tval, int tlen, const void *prop, int len) in prop_format() argument 86 strncpy(tval, prop, tlen - 1); in prop_format() 94 for (i = 0, c = prop, t = tval; i < len; ++i, ++c) { in prop_format() 95 if (t >= tval + tlen - sizeof(bin) - 1 - 2 - 1) { in prop_format()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_ekanalyzer.c | 2405 time_t tval; in ipmi_ek_display_fru_header_detail() local 2533 tval = ((mfg_date[2] << 16) + (mfg_date[1] << 8) in ipmi_ek_display_fru_header_detail() 2535 tval = tval * 60; in ipmi_ek_display_fru_header_detail() 2536 tval = tval + secs_from_1970_1996; in ipmi_ek_display_fru_header_detail() 2537 printf("Board Mfg Date: %ld, %s", tval, in ipmi_ek_display_fru_header_detail() 2538 asctime(localtime(&tval))); in ipmi_ek_display_fru_header_detail()
|
H A D | ipmi_fru.c | 982 time_t tval; in fru_area_print_board() local 1018 tval=((fru_data[i+2] << 16) + (fru_data[i+1] << 8) + (fru_data[i])); in fru_area_print_board() 1019 tval=tval * 60; in fru_area_print_board() 1020 tval=tval + secs_from_1970_1996; in fru_area_print_board() 1021 printf(" Board Mfg Date : %s", asctime(localtime(&tval))); in fru_area_print_board()
|
/openbmc/linux/net/ipv4/ |
H A D | devinet.c | 1699 long tval = (jiffies - ifa->ifa_tstamp) / HZ; in inet_fill_ifaddr() local 1701 if (preferred > tval) in inet_fill_ifaddr() 1702 preferred -= tval; in inet_fill_ifaddr() 1706 if (valid > tval) in inet_fill_ifaddr() 1707 valid -= tval; in inet_fill_ifaddr()
|
/openbmc/qemu/target/microblaze/ |
H A D | translate.c | 996 TCGv_i32 tval; in trans_swx() local 1013 tval = tcg_temp_new_i32(); in trans_swx() 1015 tcg_gen_atomic_cmpxchg_i32(tval, cpu_res_addr, cpu_res_val, in trans_swx() 1019 tcg_gen_brcond_i32(TCG_COND_NE, cpu_res_val, tval, swx_fail); in trans_swx()
|