Home
last modified time | relevance | path

Searched refs:Fd (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/gpioplus/src/gpioplus/internal/
H A Dfd.cpp15 Fd::Fd(const char* pathname, int flags, const Sys* sys) : in Fd() function in gpioplus::internal::Fd
34 Fd::Fd(int fd, const Sys* sys) : sys(sys), fd(dup(fd, sys)) {} in Fd() function in gpioplus::internal::Fd
36 Fd::Fd(int fd, std::false_type, const Sys* sys) : sys(sys), fd(fd) {} in Fd() function in gpioplus::internal::Fd
38 Fd::~Fd() in ~Fd()
50 Fd::Fd(const Fd& other) : sys(other.sys), fd(dup(other.fd, sys)) {} in Fd() function in gpioplus::internal::Fd
52 Fd& Fd::operator=(const Fd& other) in operator =()
63 Fd::Fd(Fd&& other) : sys(other.sys), fd(std::move(other.fd)) in Fd() function in gpioplus::internal::Fd
68 Fd& Fd::operator=(Fd&& other) in operator =()
80 int Fd::operator*() const in operator *()
85 const Sys* Fd::getSys() const in getSys()
[all …]
H A Dfd.hpp15 class Fd class
25 Fd(const char* pathname, int flags, const Sys* sys);
34 Fd(int fd, const Sys* sys);
43 Fd(int fd, std::false_type, const Sys* sys);
45 virtual ~Fd();
46 Fd(const Fd& other);
47 Fd& operator=(const Fd& other);
48 Fd(Fd&& other);
49 Fd& operator=(Fd&& other);
/openbmc/qemu/linux-user/arm/nwfpe/
H A Dsingle_cpdo.c42 unsigned int Fd, Fm, Fn, nRc = 1; in SingleCPDO() local
74 Fd = getFd(opcode); in SingleCPDO()
79 fpa11->fpreg[Fd].fSingle = float32_add(rFn,rFm, &fpa11->fp_status); in SingleCPDO()
84 fpa11->fpreg[Fd].fSingle = float32_mul(rFn,rFm, &fpa11->fp_status); in SingleCPDO()
88 fpa11->fpreg[Fd].fSingle = float32_sub(rFn,rFm, &fpa11->fp_status); in SingleCPDO()
92 fpa11->fpreg[Fd].fSingle = float32_sub(rFm,rFn, &fpa11->fp_status); in SingleCPDO()
97 fpa11->fpreg[Fd].fSingle = float32_div(rFn,rFm, &fpa11->fp_status); in SingleCPDO()
102 fpa11->fpreg[Fd].fSingle = float32_div(rFm,rFn, &fpa11->fp_status); in SingleCPDO()
107 fpa11->fpreg[Fd].fSingle = float32_pow(rFn,rFm); in SingleCPDO()
111 fpa11->fpreg[Fd].fSingle = float32_pow(rFm,rFn); in SingleCPDO()
[all …]
H A Ddouble_cpdo.c42 unsigned int Fd, Fm, Fn, nRc = 1; in DoubleCPDO() local
93 Fd = getFd(opcode); in DoubleCPDO()
99 fpa11->fpreg[Fd].fDouble = float64_add(rFn,rFm, &fpa11->fp_status); in DoubleCPDO()
104 fpa11->fpreg[Fd].fDouble = float64_mul(rFn,rFm, &fpa11->fp_status); in DoubleCPDO()
108 fpa11->fpreg[Fd].fDouble = float64_sub(rFn,rFm, &fpa11->fp_status); in DoubleCPDO()
112 fpa11->fpreg[Fd].fDouble = float64_sub(rFm,rFn, &fpa11->fp_status); in DoubleCPDO()
117 fpa11->fpreg[Fd].fDouble = float64_div(rFn,rFm, &fpa11->fp_status); in DoubleCPDO()
122 fpa11->fpreg[Fd].fDouble = float64_div(rFm,rFn, &fpa11->fp_status); in DoubleCPDO()
127 fpa11->fpreg[Fd].fDouble = float64_pow(rFn,rFm); in DoubleCPDO()
131 fpa11->fpreg[Fd].fDouble = float64_pow(rFm,rFn); in DoubleCPDO()
[all …]
H A Dextended_cpdo.c42 unsigned int Fd, Fm, Fn, nRc = 1; in ExtendedCPDO() local
92 Fd = getFd(opcode); in ExtendedCPDO()
97 fpa11->fpreg[Fd].fExtended = floatx80_add(rFn,rFm, &fpa11->fp_status); in ExtendedCPDO()
102 fpa11->fpreg[Fd].fExtended = floatx80_mul(rFn,rFm, &fpa11->fp_status); in ExtendedCPDO()
106 fpa11->fpreg[Fd].fExtended = floatx80_sub(rFn,rFm, &fpa11->fp_status); in ExtendedCPDO()
110 fpa11->fpreg[Fd].fExtended = floatx80_sub(rFm,rFn, &fpa11->fp_status); in ExtendedCPDO()
115 fpa11->fpreg[Fd].fExtended = floatx80_div(rFn,rFm, &fpa11->fp_status); in ExtendedCPDO()
120 fpa11->fpreg[Fd].fExtended = floatx80_div(rFm,rFn, &fpa11->fp_status); in ExtendedCPDO()
125 fpa11->fpreg[Fd].fExtended = floatx80_pow(rFn,rFm); in ExtendedCPDO()
129 fpa11->fpreg[Fd].fExtended = floatx80_pow(rFm,rFn); in ExtendedCPDO()
[all …]
H A Dfpa11_cpdo.c28 unsigned int Fd, nType, nDest, nRc = 1; in EmulateCPDO() local
69 Fd = getFd(opcode); in EmulateCPDO()
70 nType = fpa11->fType[Fd]; in EmulateCPDO()
78 fpa11->fpreg[Fd].fSingle = in EmulateCPDO()
79 float64_to_float32(fpa11->fpreg[Fd].fDouble, &fpa11->fp_status); in EmulateCPDO()
81 fpa11->fpreg[Fd].fSingle = in EmulateCPDO()
82 floatx80_to_float32(fpa11->fpreg[Fd].fExtended, &fpa11->fp_status); in EmulateCPDO()
89 fpa11->fpreg[Fd].fDouble = in EmulateCPDO()
90 float32_to_float64(fpa11->fpreg[Fd].fSingle, &fpa11->fp_status); in EmulateCPDO()
92 fpa11->fpreg[Fd].fDouble = in EmulateCPDO()
[all …]
H A Dfpa11_cpdt.c288 unsigned int i, Fd, in PerformLFM() local
307 Fd = getFd(opcode); in PerformLFM()
310 loadMultiple(Fd,pAddress); in PerformLFM()
311 pAddress += 12; Fd++; in PerformLFM()
312 if (Fd == 8) Fd = 0; in PerformLFM()
321 unsigned int i, Fd, in PerformSFM() local
340 Fd = getFd(opcode); in PerformSFM()
343 storeMultiple(Fd,pAddress); in PerformSFM()
344 pAddress += 12; Fd++; in PerformSFM()
345 if (Fd == 8) Fd = 0; in PerformSFM()
/openbmc/linux/Documentation/arch/arm/nwfpe/
H A Dnetwinder-fpe.rst24 <LDF|STF>{cond}<S|D|E> Fd, Rn
25 <LDF|STF>{cond}<S|D|E> Fd, [Rn, #<expression>]{!}
26 <LDF|STF>{cond}<S|D|E> Fd, [Rn], #<expression>
33 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn]
34 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn, #<expression>]{!}
35 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn], #<expression>
38 <LFM|SFM>{cond}<FD,EA> Fd, <count>, [Rn]{!}
80 ADF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - add
81 SUF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - subtract
82 RSF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse subtract
[all …]
H A Dtodo.rst6 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - power
7 RPW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse power
8 POL{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - polar angle (arctan2)
10 LOG{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base 10
11 LGN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base e
12 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - exponent
13 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - sine
14 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - cosine
15 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - tangent
16 ASN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - arcsine
[all …]
/openbmc/gpioplus/test/internal/
H A Dfd.cpp46 Fd fd(expected_fd, std::false_type(), &mock); in TEST_F()
55 Fd fd(-1, std::false_type(), &mock); in TEST_F()
62 Fd fd(expected_fd, &mock); in TEST_F()
73 EXPECT_THROW(Fd(expected_fd, &mock), std::system_error); in TEST_F()
98 Fd(expected_fd, std::false_type(), &mock); in TEST_F()
108 Fd fd(path, flags, &mock); in TEST_F()
121 EXPECT_THROW(Fd(path, flags, &mock), std::system_error); in TEST_F()
126 Fd fd(expected_fd, std::false_type(), &mock); in TEST_F()
129 Fd fd2(fd); in TEST_F()
141 Fd fd(expected_fd, std::false_type(), &mock); in TEST_F()
[all …]
/openbmc/kcsbridge/src/
H A Dserver.cpp17 void setAttention(sdbusplus::message_t& m, stdplus::Fd& kcs) in setAttention()
23 void clearAttention(sdbusplus::message_t& m, stdplus::Fd& kcs) in clearAttention()
29 void forceAbort(sdbusplus::message_t& m, stdplus::Fd& kcs) in forceAbort()
66 sdbusplus::bus_t& bus, const char* obj, stdplus::Fd& kcs) in createSMSHandler()
70 dbusMethods<stdplus::Fd>, reinterpret_cast<stdplus::Fd*>(&kcs)); in createSMSHandler()
H A Dcmd.hpp10 void write(stdplus::Fd& kcs, sdbusplus::message_t&& m);
11 void read(stdplus::Fd& kcs, sdbusplus::bus_t& bus,
/openbmc/estoraged/include/
H A Dzero.hpp14 using stdplus::fd::Fd;
29 void writeZero(uint64_t driveSize, Fd& fd);
36 stdplus::fd::Fd&& fd = in writeZero()
46 void verifyZero(uint64_t driveSize, Fd& fd);
53 stdplus::fd::Fd&& fd = in verifyZero()
H A Dpattern.hpp15 using stdplus::fd::Fd;
31 stdplus::fd::Fd&& fd = in writePattern()
42 void writePattern(uint64_t driveSize, Fd& fd);
49 stdplus::fd::Fd&& fd = in verifyPattern()
60 void verifyPattern(uint64_t driveSize, Fd& fd);
/openbmc/linux/arch/arm/nwfpe/
H A Dfpa11_cpdt.c309 unsigned int i, Fd, write_back = WRITE_BACK(opcode); in PerformLFM() local
328 Fd = getFd(opcode); in PerformLFM()
330 loadMultiple(Fd, pAddress); in PerformLFM()
332 Fd++; in PerformLFM()
333 if (Fd == 8) in PerformLFM()
334 Fd = 0; in PerformLFM()
345 unsigned int i, Fd, write_back = WRITE_BACK(opcode); in PerformSFM() local
364 Fd = getFd(opcode); in PerformSFM()
366 storeMultiple(Fd, pAddress); in PerformSFM()
368 Fd++; in PerformSFM()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dnet_handler.hpp38 using Fd = stdplus::Managed<int>::Handle<closefd>; typedef in ipmi_flash::NetDataHandler
40 Fd listenFd;
41 Fd connFd;
/openbmc/estoraged/src/test/erase/
H A Dzero_test.cpp37 stdplus::fd::Fd&& write = in TEST()
40 stdplus::fd::Fd&& read = in TEST()
60 stdplus::fd::Fd&& write = in TEST()
64 stdplus::fd::Fd&& read = in TEST()
81 stdplus::fd::Fd&& readWrite = in TEST()
107 stdplus::fd::Fd&& write = in TEST()
116 stdplus::fd::Fd&& read = in TEST()
H A Dpattern_test.cpp38 stdplus::fd::Fd&& writeFd = in TEST()
44 stdplus::fd::Fd&& readFd = in TEST()
64 stdplus::fd::Fd&& writeFd = in TEST()
69 stdplus::fd::Fd&& readFd = in TEST()
88 stdplus::fd::Fd&& writeFd = in TEST()
93 stdplus::fd::Fd&& readFd = in TEST()
/openbmc/estoraged/src/erase/
H A Dzero.cpp21 using stdplus::fd::Fd;
23 void Zero::writeZero(const uint64_t driveSize, Fd& fd) in writeZero()
72 void Zero::verifyZero(uint64_t driveSize, Fd& fd) in verifyZero()
H A Dpattern.cpp24 using stdplus::fd::Fd;
26 void Pattern::writePattern(const uint64_t driveSize, Fd& fd) in writePattern()
77 void Pattern::verifyPattern(const uint64_t driveSize, Fd& fd) in verifyPattern()
/openbmc/bios-bmc-smm-error-logger/include/
H A Dpci_handler.hpp24 std::unique_ptr<stdplus::fd::Fd> fd);
34 std::unique_ptr<stdplus::fd::Fd> fd;
/openbmc/gpioplus/src/gpioplus/
H A Dchip.hpp87 const internal::Fd& getFd() const;
90 internal::Fd fd;
H A Devent.hpp77 const internal::Fd& getFd() const;
96 internal::Fd fd;
H A Dhandle.hpp87 const internal::Fd& getFd() const;
111 internal::Fd fd;
/openbmc/phosphor-ipmi-flash/tools/
H A Dnet.cpp46 using Fd = stdplus::Managed<int, const internal::Sys*>::Handle<closefd>; typedef
57 Fd inputFd(std::nullopt, sys); in sendContents()
68 Fd connFd(std::nullopt, sys); in sendContents()

12