| /openbmc/u-boot/drivers/usb/eth/ |
| H A D | r8152_fw.c | 723 static void rtl_clear_bp(struct r8152 *tp) in rtl_clear_bp() argument 725 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_BP_0, 0); in rtl_clear_bp() 726 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_BP_2, 0); in rtl_clear_bp() 727 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_BP_4, 0); in rtl_clear_bp() 728 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_BP_6, 0); in rtl_clear_bp() 729 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_0, 0); in rtl_clear_bp() 730 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_2, 0); in rtl_clear_bp() 731 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_4, 0); in rtl_clear_bp() 732 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_6, 0); in rtl_clear_bp() 736 ocp_write_word(tp, MCU_TYPE_PLA, PLA_BP_BA, 0); in rtl_clear_bp() [all …]
|
| H A D | r8152.c | 71 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in get_registers() argument 76 ret = usb_control_msg(tp->udev, usb_rcvctrlpipe(tp->udev, 0), in get_registers() 84 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers() argument 89 return usb_control_msg(tp->udev, usb_sndctrlpipe(tp->udev, 0), in set_registers() 94 int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read() argument 110 ret = get_registers(tp, index, type, txsize, data); in generic_ocp_read() 122 int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, in generic_ocp_write() argument 141 ret = set_registers(tp, index, type | byte_en_to_hw, 4, data); in generic_ocp_write() 155 ret = set_registers(tp, index, in generic_ocp_write() 167 ret = set_registers(tp, index, type | byte_en_to_hw, 4, data); in generic_ocp_write() [all …]
|
| H A D | r8152.h | 602 int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, 604 int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, 607 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data); 608 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, 611 int usb_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data); 612 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, 615 u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index); 616 void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data); 618 u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index); 619 void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data); [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/ |
| H A D | uw-imap-fix-incompatible-pointer-types.patch | 5 1286 | utime (file,tp); /* set the times */ 32 tp[0] = sbuf.st_atime; /* preserve atime and mtime */ 33 tp[1] = sbuf.st_mtime; 34 - utime (tmp,tp); /* set the times */ 35 + utime (tmp, (const struct utimbuf *)tp); /* set the times */ 42 tp[0] = time (0); /* make sure read comes after all that */ 43 - utime (stream->mailbox,tp); 44 + utime (stream->mailbox, (const struct utimbuf *)tp); 50 else tp[0] = (sbuf.st_ctime > sbuf.st_atime) ? sbuf.st_atime : time(0); 51 tp[1] = sbuf.st_mtime; /* preserve mtime */ [all …]
|
| /openbmc/qemu/hw/net/ |
| H A D | e1000.c | 576 struct e1000_tx *tp = &s->tx; in xmit_seg() local 577 struct e1000x_txd_props *props = tp->cptse ? &tp->tso_props : &tp->props; in xmit_seg() 579 if (tp->cptse) { in xmit_seg() 582 frames, tp->size, css); in xmit_seg() 584 stw_be_p(tp->data+css+2, tp->size - css); in xmit_seg() 585 stw_be_p(tp->data+css+4, in xmit_seg() 586 lduw_be_p(tp->data + css + 4) + frames); in xmit_seg() 588 stw_be_p(tp->data+css+4, tp->size - css); in xmit_seg() 591 len = tp->size - css; in xmit_seg() 595 stl_be_p(tp->data+css+4, ldl_be_p(tp->data+css+4)+sofar); /* seq */ in xmit_seg() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/ |
| H A D | tftp-hpa-0.49-fortify-strcpy-crash.patch | 11 struct tftphdr *tp, const char *mode) 16 tp->th_opcode = htons((u_short) request); 17 cp = (char *)&(tp->th_stuff); 30 return (cp - (char *)tp);
|
| /openbmc/phosphor-fan-presence/control/json/utils/ |
| H A D | flight_recorder.cpp | 64 Timepoint tp{microseconds{ts}}; in dump() local 65 output.emplace_back(tp, id, msg); in dump() 74 auto formatTime = [](const Timepoint& tp) { in dump() argument 76 std::time_t tt = system_clock::to_time_t(tp); in dump() 78 duration_cast<microseconds>(tp.time_since_epoch()).count(); in dump()
|
| /openbmc/qemu/target/ppc/ |
| H A D | fpu_helper.c | 143 #define COMPUTE_FPRF(tp) \ argument 144 void helper_compute_fprf_##tp(CPUPPCState *env, tp arg) \ 146 bool neg = tp##_is_neg(arg); \ 148 if (likely(tp##_is_normal(arg))) { \ 150 } else if (tp##_is_zero(arg)) { \ 152 } else if (tp##_is_zero_or_denormal(arg)) { \ 154 } else if (tp##_is_infinity(arg)) { \ 157 if (tp##_is_signaling_nan(arg, &env->fp_status)) { \ 1568 #define VSX_ADD_SUB(name, op, nels, tp, fld, sfifprf, r2sp) \ argument 1580 t.fld = tp##_##op(xa->fld, xb->fld, &tstat); \ [all …]
|
| /openbmc/telemetry/tests/src/fakes/ |
| H A D | clock_fake.hpp | 40 static Milliseconds toTimestamp(TimePoint tp) in toTimestamp() argument 42 return std::chrono::time_point_cast<Milliseconds>(tp) in toTimestamp()
|
| /openbmc/qemu/hw/ufs/ |
| H A D | ufs.h | 155 return u->mcq_op_reg[qid].sq.tp; in ufs_mcq_sq_tail() 160 u->mcq_op_reg[qid].sq.tp = db; in ufs_mcq_update_sq_tail() 180 return u->mcq_op_reg[qid].cq.tp; in ufs_mcq_cq_tail() 185 u->mcq_op_reg[qid].cq.tp = db; in ufs_mcq_update_cq_tail()
|
| /openbmc/qemu/bsd-user/riscv/ |
| H A D | target_arch_reg.h | 28 uint64_t tp; /* thread pointer */ member 51 regs->tp = tswapreg(env->gpr[4]); in target_copy_regs()
|
| /openbmc/qemu/po/ |
| H A D | sv.po | 12 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
|
| /openbmc/phosphor-pid-control/experiments/ |
| H A D | drive.cpp | 241 tstamp tp = t1; in driveMain() local 251 std::chrono::duration_cast<std::chrono::microseconds>(ts - tp) in driveMain() 255 tp = ts; in driveMain()
|
| /openbmc/u-boot/arch/sandbox/cpu/ |
| H A D | os.c | 268 struct timespec tp; in os_get_nsec() local 269 if (EINVAL == clock_gettime(CLOCK_MONOTONIC, &tp)) { in os_get_nsec() 273 tp.tv_sec = tv.tv_sec; in os_get_nsec() 274 tp.tv_nsec = tv.tv_usec * 1000; in os_get_nsec() 276 return tp.tv_sec * 1000000000ULL + tp.tv_nsec; in os_get_nsec()
|
| /openbmc/bmcweb/redfish-core/include/utils/extern/ |
| H A D | date.h | 1342 floor(const std::chrono::time_point<Clock, FromDuration>& tp) 1345 return time_point<Clock, To>{date::floor<To>(tp.time_since_epoch())}; 1353 round(const std::chrono::time_point<Clock, FromDuration>& tp) 1356 return time_point<Clock, To>{round<To>(tp.time_since_epoch())}; 1364 ceil(const std::chrono::time_point<Clock, FromDuration>& tp) 1367 return time_point<Clock, To>{ceil<To>(tp.time_since_epoch())}; 1412 round_i(const std::chrono::time_point<Clock, FromDuration>& tp) 1415 return time_point<Clock, To>{round_i<To>(tp.time_since_epoch())}; 1425 trunc(const std::chrono::time_point<Clock, FromDuration>& tp) 1428 return time_point<Clock, To>{trunc<To>(tp.time_since_epoch())}; [all …]
|
| /openbmc/qemu/linux-user/riscv/ |
| H A D | target_syscall.h | 16 abi_long tp; member
|
| /openbmc/openbmc/poky/meta/recipes-extended/texinfo/texinfo/ |
| H A D | 0001-Makefile.am-do-not-build-manpages.patch | 21 SUBDIRS += install-info po po_document tp Pod-Simple-Texinfo \
|
| /openbmc/qemu/linux-headers/asm-riscv/ |
| H A D | ptrace.h | 29 unsigned long tp; member
|
| /openbmc/u-boot/arch/riscv/include/asm/ |
| H A D | ptrace.h | 17 unsigned long tp; member
|
| /openbmc/qemu/tests/tcg/loongarch64/system/ |
| H A D | regdef.h | 10 #define tp $r2 macro
|
| /openbmc/openbmc/poky/meta/recipes-devtools/python/python3-cffi/ |
| H A D | 0001-Cast-offset-to-size_t-to-avoid-c-11-narrowing-warnin.patch | 34 offset = 'offsetof(%s, %s)' % (tp.get_c_name(''), fldname)
|
| /openbmc/openbmc/poky/meta/recipes-kernel/lttng/ |
| H A D | lttng-ust_2.13.9.bb | 51 sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/lttng-gen-tp
|
| /openbmc/u-boot/drivers/mtd/ubi/ |
| H A D | vmt.c | 85 const char *tp; in vol_attribute_show() local 88 tp = "dynamic"; in vol_attribute_show() 90 tp = "static"; in vol_attribute_show() 91 ret = sprintf(buf, "%s\n", tp); in vol_attribute_show()
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-vmstate.c | 1071 struct tree_cmp_data *tp = (struct tree_cmp_data *)data; in diff_tree() local 1072 struct match_node_data d = {tp->tree2, key, value}; in diff_tree() 1074 g_tree_foreach(tp->tree2, tp->match_node, &d); in diff_tree() 1081 struct tree_cmp_data tp = {tree1, tree2, function}; in compare_trees() local 1084 g_tree_foreach(tree1, diff_tree, &tp); in compare_trees()
|
| /openbmc/u-boot/drivers/ata/ |
| H A D | sata_mv.c | 763 u16 *tp; in mv_ata_exec_ata_cmd_nondma() local 782 tp = (u16 *)buffer; in mv_ata_exec_ata_cmd_nondma() 785 out_le16(priv->regbase + PIO_DATA, *tp++); in mv_ata_exec_ata_cmd_nondma() 787 *tp++ = in_le16(priv->regbase + PIO_DATA); in mv_ata_exec_ata_cmd_nondma()
|