/openbmc/qemu/target/m68k/ |
H A D | helper.h | 22 DEF_HELPER_3(exts32, void, env, fp, s32) 23 DEF_HELPER_3(extf32, void, env, fp, f32) 24 DEF_HELPER_3(extf64, void, env, fp, f64) 25 DEF_HELPER_2(redf32, f32, env, fp) 26 DEF_HELPER_2(redf64, f64, env, fp) 27 DEF_HELPER_2(reds32, s32, env, fp) 29 DEF_HELPER_3(fsround, void, env, fp, fp) 30 DEF_HELPER_3(fdround, void, env, fp, fp) 31 DEF_HELPER_3(firound, void, env, fp, fp) 32 DEF_HELPER_3(fitrunc, void, env, fp, fp) [all …]
|
/openbmc/ipmitool/doc/ |
H A D | ipmitool.1 | 65 called \fIOpenIPMI\fP and it is included in standard distributions. 66 On Solaris this driver is called \fIBMC\fP and is inclued in Solaris 10. 76 \fB\-A\fR <\fIauthtype\fP> 77 Specify an authentication type to use during IPMIv1.5 \fIlan\fP 80 \fB\-b\fR <\fIchannel\fP> 83 \fB\-B\fR <\fIchannel\fP> 86 \fB\-b\fR <\fIchannel\fP> 89 \fB\-B\fR <\fIchannel\fP> 96 \fB\-C\fR <\fIciphersuite\fP> 98 to use for IPMIv2.0 \fIlanplus\fP connections. See table 22\-19 in the [all …]
|
H A D | ipmievd.8 | 5 ipmievd [\fB\-c\fR|\fB\-h\fR|\fB\-d \fIN\fP\fR|\fB\-v\fR|\fB\-V\fR] 6 \fB\-I\fR \fIopen\fP <\fIopen\fR | \fIsel\fR> [<\fIoption\fP>] 9 \fB\-I\fR \fIlan\fP \fB\-H\fR <\fIhostname\fP> 10 [\fB\-p\fR <\fIport\fP>] 11 [\fB\-U\fR <\fIusername\fP>] 12 [\fB\-A\fR <\fIauthtype\fP>] 13 [\fB\-L\fR <\fIprivlvl\fP>] 14 [\fB\-a\fR|\fB\-E\fR|\fB\-P\fR|\fB\-f\fR <\fIpassword\fP>] 15 [\fB\-o\fR <\fIoemtype\fP>] 16 [\fB\-O\fR <\fIsel oem\fP>] [all …]
|
/openbmc/u-boot/arch/m68k/lib/ |
H A D | traps.c | 19 static void show_frame(struct pt_regs *fp) in show_frame() argument 21 printf ("Vector Number: %d Format: %02x Fault Status: %01x\n\n", (fp->vector & 0x3fc) >> 2, in show_frame() 22 fp->format, (fp->vector & 0x3) | ((fp->vector & 0xc00) >> 8)); in show_frame() 23 printf ("PC: %08lx SR: %08lx SP: %08lx\n", fp->pc, (long) fp->sr, (long) fp); in show_frame() 25 fp->d0, fp->d1, fp->d2, fp->d3); in show_frame() 27 fp->d4, fp->d5, fp->d6, fp->d7); in show_frame() 29 fp->a0, fp->a1, fp->a2, fp->a3); in show_frame() 31 fp->a4, fp->a5, fp->a6); in show_frame() 34 void exc_handler(struct pt_regs *fp) { in exc_handler() argument 36 show_frame (fp); in exc_handler()
|
/openbmc/u-boot/doc/ |
H A D | kwboot.1 | 7 .RB [ "-b \fIimage\fP" ] 10 .RB [ "-B \fIbaudrate\fP" ] 11 .RB \fITTY\fP 14 The \fBmkimage\fP program boots boards based on Marvell's Kirkwood 18 (\fIkwbimage\fP), created using a tool such as \fBmkimage\fP. 35 .BI "\-b \fIimage\fP" 36 Handshake; then upload file \fIimage\fP over \fITTY\fP. 38 Note that for the encapsulated boot code to be executed, \fIimage\fP 41 (type 0x8B), will not work (or not as expected). See \fB-p\fP for a 49 In combination with \fB-b\fP, patches the header in \fIimage\fP prior [all …]
|
/openbmc/u-boot/tools/ |
H A D | bmp_logo.c | 36 void skip_bytes (FILE *fp, int n) in skip_bytes() argument 39 fgetc (fp); in skip_bytes() 43 int error (char * msg, FILE *fp) in error() argument 47 fclose (fp); in error() 76 FILE *fp; in main() local 95 fp = fopen(argv[2], "rb"); in main() 96 if (!fp) { in main() 101 if (fgetc (fp) != 'B' || fgetc (fp) != 'M') in main() 102 error ("Input file is not a bitmap", fp); in main() 108 skip_bytes (fp, 8); in main() [all …]
|
H A D | mkenvimage.c | 85 int fp, ep; in main() local 219 for (fp = 0, ep = 0 ; fp < filesize && ep < envsize - 1; fp++) { in main() 220 if (filebuf[fp] == '\n') { in main() 221 if (fp == 0 || filebuf[fp-1] == '\n') { in main() 226 } else if (filebuf[fp-1] == '\\') { in main() 239 } else if ((fp == 0 || filebuf[fp-1] == '\n') && filebuf[fp] == '#') { in main() 241 while (++fp < filesize && filebuf[fp] != '\n') in main() 244 envptr[ep++] = filebuf[fp]; in main() 251 for( ; fp < filesize; fp++ ) in main() 253 if (filebuf[fp] == '\n') { in main() [all …]
|
H A D | zynqmpimage.c | 305 static uint32_t fsize(FILE *fp) in fsize() argument 309 origin = ftell(fp); in fsize() 312 fclose(fp); in fsize() 316 ret = fseek(fp, 0L, SEEK_END); in fsize() 319 fclose(fp); in fsize() 323 size = ftell(fp); in fsize() 326 fclose(fp); in fsize() 331 ret = fseek(fp, origin, SEEK_SET); in fsize() 334 fclose(fp); in fsize() 368 FILE *fp; in zynqmpimage_parse_initparams() local [all …]
|
/openbmc/qemu/disas/ |
H A D | alpha.c | 311 /* The plain fp register fields */ 585 #define FP(oo,fff) FP_(oo,fff), FP_MASK macro 901 { "itofs", FP(0x14,0x004), CIX, { RA, ZB, FC } }, 902 { "sqrtf/c", FP(0x14,0x00A), CIX, ARG_FPZ1 }, 903 { "sqrts/c", FP(0x14,0x00B), CIX, ARG_FPZ1 }, 904 { "itoff", FP(0x14,0x014), CIX, { RA, ZB, FC } }, 905 { "itoft", FP(0x14,0x024), CIX, { RA, ZB, FC } }, 906 { "sqrtg/c", FP(0x14,0x02A), CIX, ARG_FPZ1 }, 907 { "sqrtt/c", FP(0x14,0x02B), CIX, ARG_FPZ1 }, 908 { "sqrts/m", FP(0x14,0x04B), CIX, ARG_FPZ1 }, [all …]
|
/openbmc/u-boot/examples/standalone/ |
H A D | ppc_longjmp.S | 17 #define FP(x...) x macro 18 #define FP(x...) x macro 27 FP( lfd 14,((JB_FPRS+0*2)*4)(r3)) 29 FP( lfd 15,((JB_FPRS+1*2)*4)(r3)) 31 FP( lfd 16,((JB_FPRS+2*2)*4)(r3)) 33 FP( lfd 17,((JB_FPRS+3*2)*4)(r3)) 35 FP( lfd 18,((JB_FPRS+4*2)*4)(r3)) 37 FP( lfd 19,((JB_FPRS+5*2)*4)(r3)) 39 FP( lfd 20,((JB_FPRS+6*2)*4)(r3)) 42 FP( lfd 21,((JB_FPRS+7*2)*4)(r3)) [all …]
|
H A D | ppc_setjmp.S | 17 #define FP(x...) x macro 30 FP( stfd 14,((JB_FPRS+0*2)*4)(3)) 33 FP( stfd 15,((JB_FPRS+1*2)*4)(3)) 36 FP( stfd 16,((JB_FPRS+2*2)*4)(3)) 39 FP( stfd 17,((JB_FPRS+3*2)*4)(3)) 41 FP( stfd 18,((JB_FPRS+4*2)*4)(3)) 43 FP( stfd 19,((JB_FPRS+5*2)*4)(3)) 45 FP( stfd 20,((JB_FPRS+6*2)*4)(3)) 47 FP( stfd 21,((JB_FPRS+7*2)*4)(3)) 49 FP( stfd 22,((JB_FPRS+8*2)*4)(3)) [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | pcap.c | 103 static void do_usb_pcap_header(FILE *fp, struct usbmon_packet *packet) in do_usb_pcap_header() argument 116 fwrite(&header, sizeof(header), 1, fp); in do_usb_pcap_header() 117 fwrite(packet, sizeof(*packet), 1, fp); in do_usb_pcap_header() 120 static void do_usb_pcap_ctrl(FILE *fp, USBPacket *p, bool setup) in do_usb_pcap_ctrl() argument 157 do_usb_pcap_header(fp, &packet); in do_usb_pcap_ctrl() 159 fwrite(dev->data_buf, data_len, 1, fp); in do_usb_pcap_ctrl() 162 fflush(fp); in do_usb_pcap_ctrl() 165 static void do_usb_pcap_data(FILE *fp, USBPacket *p, bool setup) in do_usb_pcap_data() argument 209 do_usb_pcap_header(fp, &packet); in do_usb_pcap_data() 213 fwrite(buf, data_len, 1, fp); in do_usb_pcap_data() [all …]
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_load_rom.c | 22 FILE *fp; in pci_assign_dev_load_option_rom() local 38 fp = fopen(rom_file, "r+"); in pci_assign_dev_load_option_rom() 39 if (fp == NULL) { in pci_assign_dev_load_option_rom() 45 if (fstat(fileno(fp), &st) == -1) { in pci_assign_dev_load_option_rom() 51 if (fwrite(&val, 1, 1, fp) != 1) { in pci_assign_dev_load_option_rom() 54 fseek(fp, 0, SEEK_SET); in pci_assign_dev_load_option_rom() 71 if (!fread(ptr, 1, st.st_size, fp)) { in pci_assign_dev_load_option_rom() 84 fseek(fp, 0, SEEK_SET); in pci_assign_dev_load_option_rom() 86 if (!fwrite(&val, 1, 1, fp)) { in pci_assign_dev_load_option_rom() 89 fclose(fp); in pci_assign_dev_load_option_rom()
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/tc/ |
H A D | generate_metadata.py | 13 with open(metadata_file, "ab") as fp: 14 fp.write(value.to_bytes(4, byteorder='little')) 19 with open(metadata_file, "ab") as fp: 20 fp.write(uuid_val.bytes_le) 39 with open(metadata_file, 'rb+') as fp: 40 content = fp.read() 42 fp.seek(0) 43 fp.write(crc.to_bytes(4, byteorder='little') + content)
|
/openbmc/qemu/tests/fp/ |
H A D | meson.build | 12 # the testnames without their fp-test- prefix. 58 'fp-test', 59 ['fp-test.c', '../../fpu/softfloat.c'], 120 test('fp-test-' + k, fptest, 127 test('fp-test-' + k, fptest, 135 test('fp-test-mulAdd', fptest, 143 'fp-bench', 144 ['fp-bench.c', '../../fpu/softfloat.c'], 150 'fp-test-log2', 151 ['fp-test-log2.c', '../../fpu/softfloat.c'], [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/tests/ |
H A D | test_runner.py | 19 fp = tempfile.TemporaryFile(mode='w+') 21 logging.basicConfig(format='%(message)s', stream=fp) 31 fp.seek(0) 32 fp_lines = fp.readlines() 37 fp.close()
|
/openbmc/libpldm/src/transport/ |
H A D | socket.c | 13 FILE *fp; in pldm_socket_sndbuf_init() local 23 fp = fopen("/proc/sys/net/core/wmem_max", "r"); in pldm_socket_sndbuf_init() 24 if (fp == NULL) { in pldm_socket_sndbuf_init() 28 if (fgets(line, sizeof(line), fp) == NULL) { in pldm_socket_sndbuf_init() 29 fclose(fp); in pldm_socket_sndbuf_init() 36 fclose(fp); in pldm_socket_sndbuf_init() 40 fclose(fp); in pldm_socket_sndbuf_init()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/usleep/files/ |
H A D | usleep.1 | 6 [\fInumber\fP] 11 \fI--usage\fP 14 \fI--help, -?\fP 17 \fI-v, --version\fP
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/scsirastools/scsirastools/ |
H A D | print-format.patch | 76 fp = fopen("/proc/scsi/scsi","r+"); 77 if (fp == NULL) return(errno); 79 - n = fprintf(fp,cmd); 80 + n = fprintf(fp,"%s", cmd); 81 fclose(fp); 85 fp = fopen("/proc/scsi/scsi","r+"); 86 if (fp == NULL) return(errno); 88 - n = fprintf(fp,cmd); 89 + n = fprintf(fp, "%s", cmd); 90 fclose(fp); [all …]
|
/openbmc/phosphor-user-manager/ |
H A D | file.hpp | 19 FILE* fp = NULL; member in phosphor::user::File 45 fp = fopen(name.c_str(), mode.c_str()); in File() 58 fp = fdopen(fd, mode.c_str()); in File() 63 if (fp) in ~File() 65 fclose(fp); in ~File() 77 return fp; in operator ()()
|
/openbmc/phosphor-host-ipmid/user_channel/ |
H A D | file.hpp | 21 FILE* fp = nullptr; member in phosphor::user::File 47 fp = fopen(name.c_str(), mode.c_str()); in File() 60 fp = fdopen(fd, mode.c_str()); in File() 65 if (fp) in ~File() 67 fclose(fp); in ~File() 79 return fp; in operator ()()
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/mimic/mimic/ |
H A D | 0001-Fix-musl-compatibility.patch | 16 @@ -247,8 +247,10 @@ size_t HTS_ftell(HTS_File * fp) 17 fgetpos((FILE *) fp->pointer, &pos); 24 + return (size_t) ftell(fp->pointer); 26 } else if (fp->type == HTS_DATA) { 27 HTS_Data *d = (HTS_Data *) fp->pointer;
|
/openbmc/qemu/contrib/plugins/ |
H A D | drcov.c | 30 static FILE *fp; variable 46 fprintf(fp, "%s", header); in printf_header() 51 fprintf(fp, "0, 0x%" PRIx64 ", 0x%" PRIx64 ", 0x%" PRIx64 ", %s\n", in printf_header() 53 fprintf(fp, "BB Table: %ld bbs\n", count); in printf_header() 59 fwrite(bytes, sizeof(char), sizeof(data), fp); in printf_char_array32() 65 fwrite(bytes, sizeof(char), sizeof(data), fp); in printf_char_array16() 102 fclose(fp); in plugin_exit() 109 fp = fopen(file_name, "wb"); in plugin_init()
|
/openbmc/phosphor-certificate-manager/ |
H A D | csr.cpp | 58 FILE* fp = std::fopen(csrFilePath.c_str(), "r"); in csr() local 59 X509ReqPtr x509Req(PEM_read_X509_REQ(fp, nullptr, nullptr, nullptr), in csr() 61 if (x509Req == nullptr || fp == nullptr) in csr() 63 if (fp != nullptr) in csr() 65 std::fclose(fp); in csr() 71 std::fclose(fp); in csr()
|
/openbmc/ipmi-fru-parser/ |
H A D | strgfnhandler.cpp | 23 FILE* fp = nullptr; in ipmiStorageWriteFruData() local 39 if ((fp = std::fopen(fruFilename, mode)) != nullptr) in ipmiStorageWriteFruData() 41 if (std::fseek(fp, offset, SEEK_SET)) in ipmiStorageWriteFruData() 46 std::fclose(fp); in ipmiStorageWriteFruData() 51 if (std::fwrite(buffer.data(), 1, buffer.size(), fp) != buffer.size()) in ipmiStorageWriteFruData() 56 std::fclose(fp); in ipmiStorageWriteFruData() 61 std::fclose(fp); in ipmiStorageWriteFruData()
|