Home
last modified time | relevance | path

Searched refs:v (Results 1 – 16 of 16) sorted by relevance

/mipi-sys-t-3.7.0/library/include/mipi_syst/
Dcompiler.h98 #define MIPI_SYST_HTOLE16(v) (v) argument
99 #define MIPI_SYST_HTOLE32(v) (v) argument
100 #define MIPI_SYST_HTOLE64(v) (v) argument
107 #define _MIPI_SYST_CPU_CRC8(crc, v) _mm_crc32_u8((crc), (v)) argument
108 #define _MIPI_SYST_CPU_CRC16(crc, v) _mm_crc32_u16((crc), (v)) argument
109 #define _MIPI_SYST_CPU_CRC32(crc, v) _mm_crc32_u32((crc), (v)) argument
111 #define _MIPI_SYST_CPU_CRC64(crc, v) (mipi_syst_u32)_mm_crc32_u64((crc), (v)) argument
113 #define _MIPI_SYST_CPU_CRC64(crc, v) \ argument
115 _mm_crc32_u32((crc), (mipi_syst_u32)(v)), \
116 ((mipi_syst_u32)((v)>> 32))\
[all …]
Dcrc32.h51 #define MIPI_SYST_CRC32_INIT(v) argument
52 #define MIPI_SYST_CRC32_GET(v) argument
54 #define MIPI_SYST_CRC32_U8(crc, v) argument
55 #define MIPI_SYST_CRC32_U16(crc, v) argument
56 #define MIPI_SYST_CRC32_U32(crc, v) argument
57 #define MIPI_SYST_CRC32_U64(crc, v) argument
63 #define MIPI_SYST_CRC32_INIT(v) ((v) ^ 0xFFFFFFFF)
64 #define MIPI_SYST_CRC32_GET(v) ((v) ^ 0xFFFFFFFF)
66 #define MIPI_SYST_CRC32_U8(crc, v) { crc = mipi_syst_crc32_8((crc), (v)); }
67 #define MIPI_SYST_CRC32_U16(crc, v) { crc = mipi_syst_crc32_16((crc), (v)); }
[all …]
Dapi.h268 #define MIPI_SYST_ENABLE_HANDLE_LENGTH(h, v) \ argument
269 ((h) && ((h)->systh_tag.et_length = (v) ? 1 : 0))
271 #define MIPI_SYST_ENABLE_HANDLE_LENGTH(h, v)
308 #define MIPI_SYST_ENABLE_HANDLE_CHECKSUM(h, v) \ argument
309 ((h) && ((h)->systh_tag.et_chksum = (v) ? 1 : 0))
457 #define MIPI_SYST_ENABLE_HANDLE_TIMESTAMP(h, v) \ argument
458 ((h) && ((h)->systh_tag.et_timestamp = (v) ? 1 : 0))
479 #define MIPI_SYST_ENABLE_HANDLE_TIMESTAMP(h,v ) \
545 #define MIPI_SYST_SHORT32(h, v) \ argument
547 (((v)<<4) | (mipi_syst_u32)MIPI_SYST_TYPE_SHORT32))
[all …]
/mipi-sys-t-3.7.0/library/platform/example/src/
Dmipi_syst_platform.c49 static void write_d32mts(struct mipi_syst_handle* systh, mipi_syst_u32 v);
50 static void write_d64mts(struct mipi_syst_handle* systh, mipi_syst_u64 v);
51 static void write_d32ts(struct mipi_syst_handle* systh, mipi_syst_u32 v);
52 static void write_d8(struct mipi_syst_handle* systh, mipi_syst_u8 v);
53 static void write_d16(struct mipi_syst_handle* systh, mipi_syst_u16 v);
54 static void write_d32(struct mipi_syst_handle* systh, mipi_syst_u32 v);
254 static void write_d32mts(struct mipi_syst_handle* systh, mipi_syst_u32 v)
266 systh->systh_platform.sph_io_count++, v);
268 append_raw(systh, &v, sizeof(v));
273 static void write_d64mts(struct mipi_syst_handle* systh, mipi_syst_u64 v)
[all …]
/mipi-sys-t-3.7.0/library/platform/mipi_stp_sim/src/
Dmipi_syst_platform.c148 void stp_write_d4(struct stp_writer_data* p, mipi_syst_u8 v) { in stp_write_d4() argument
149 stp_write_putNibble(p, v); in stp_write_d4()
152 void stp_write_payload8(struct stp_writer_data* p, mipi_syst_u8 v) { in stp_write_payload8() argument
153 stp_write_d4(p, v); in stp_write_payload8()
154 stp_write_d4(p, v>>4); in stp_write_payload8()
157 void stp_write_payload16(struct stp_writer_data* p, mipi_syst_u16 v) { in stp_write_payload16() argument
158 stp_write_payload8(p, (mipi_syst_u8)v); in stp_write_payload16()
159 stp_write_payload8(p, (mipi_syst_u8)(v>>8)); in stp_write_payload16()
162 void stp_write_payload32(struct stp_writer_data* p, mipi_syst_u32 v) { in stp_write_payload32() argument
163 stp_write_payload16(p, (mipi_syst_u16)v); in stp_write_payload32()
[all …]
/mipi-sys-t-3.7.0/library/src/
Dmipi_syst_writer.c155 mipi_syst_u64 v; in mipi_syst_scatter_write() local
156 v = MIPI_SYST_HTOLE64(*data.dp); in mipi_syst_scatter_write()
157 MIPI_SYST_OUTPUT_D64(systh, v); in mipi_syst_scatter_write()
159 MIPI_SYST_CRC32_U64(crc, v)); in mipi_syst_scatter_write()
165 mipi_syst_u32 v; in mipi_syst_scatter_write() local
166 v = MIPI_SYST_HTOLE32(*data.wp); in mipi_syst_scatter_write()
167 MIPI_SYST_OUTPUT_D32(systh, v); in mipi_syst_scatter_write()
176 mipi_syst_u32 v; in mipi_syst_scatter_write() local
177 v = MIPI_SYST_HTOLE32(*data.wp); in mipi_syst_scatter_write()
178 MIPI_SYST_OUTPUT_D32(systh, v); in mipi_syst_scatter_write()
[all …]
Dmipi_syst_api.c654 union {mipi_syst_u64 v; TOTYPE d;} val; \
657 val.v = MIPI_SYST_HTOLE64(val.v); \
/mipi-sys-t-3.7.0/library/test/unit/
Dmipi_syst_gtest.h150 static void d64(struct mipi_syst_handle* systh, mipi_syst_u64 v) in d64() argument
151 { sstr << "<D64>"<< std::hex << std::setfill('0') << std::setw(16) << v; } in d64()
152 static void d32(struct mipi_syst_handle* systh, mipi_syst_u32 v) in d32() argument
153 { sstr << "<D32>"<< std::hex << std::setfill('0') << std::setw(8) << v; } in d32()
154 static void d16(struct mipi_syst_handle* systh, mipi_syst_u16 v) in d16() argument
155 { sstr << "<D16>"<< std::hex << std::setfill('0') << std::setw(4) << v; } in d16()
156 static void d8(struct mipi_syst_handle* systh, mipi_syst_u8 v) in d8() argument
157 { sstr << "<D8>"<< std::hex << std::setfill('0') << std::setw(2) << (mipi_syst_u16)v; } in d8()
158 static void d32ts(struct mipi_syst_handle* systh, mipi_syst_u32 v) in d32ts() argument
160 sstr << "<D32TS>"<< std::hex << std::setfill('0') << std::setw(8) << v; in d32ts()
[all …]
Dmipi_syst_init_test.cpp73 union { mipi_syst_u16 v; mipi_syst_u8 b[2]; } v16 = { MIPI_SYST_HTOLE16(0x1234) }; in TEST_F() member
77 union { mipi_syst_u32 v; mipi_syst_u8 b[4]; } v32 = { MIPI_SYST_HTOLE32(0x12345678) }; in TEST_F() member
83 union { mipi_syst_u64 v; mipi_syst_u8 b[8]; } v64 = { MIPI_SYST_HTOLE64(0x12345678AABBCCDDull) }; in TEST_F() member
378 } v; in TEST_F() local
380 v.ll[0] = MIPI_SYST_HTOLE64(guid2.u.ll[0]); in TEST_F()
381 v.ll[1] = MIPI_SYST_HTOLE64(guid2.u.ll[1]); in TEST_F()
/mipi-sys-t-3.7.0/printer/include/
Dmipi_syst_collateral.h97 masked_item(const K& k, const K& m, const V& v) : in masked_item()
98 m_key(k), m_mask(m), m_value(v) {} in masked_item()
129 [& k](const masked_item<K, V>& v) in find()
131 return (v.key() & v.mask()) == (k & v.mask()); in find()
146 [&k]( masked_item<K, V>& v) in find()
148 return (v.key() & v.mask()) == (k & v.mask()); in find()
Dmipi_syst_message.h100 header(uint32_t v = 0) : val(v) {}; in val() argument
/mipi-sys-t-3.7.0/library/platform/mipi_stp_sim/include/mipi_syst/
Dplatform.h65 void (*write_d32ts)(struct mipi_syst_handle * systh, mipi_syst_u32 v);
66 void (*write_d32mts)(struct mipi_syst_handle * systh, mipi_syst_u32 v);
67 void (*write_d64mts)(struct mipi_syst_handle * systh, mipi_syst_u64 v);
69 void (*write_d8)(struct mipi_syst_handle * systh, mipi_syst_u8 v);
70 void (*write_d16)(struct mipi_syst_handle * systh, mipi_syst_u16 v);
71 void (*write_d32)(struct mipi_syst_handle * systh, mipi_syst_u32 v);
73 void (*write_d64)(struct mipi_syst_handle * systh, mipi_syst_u64 v);
/mipi-sys-t-3.7.0/library/platform/example/include/mipi_syst/
Dplatform.h72 void (*write_d32ts)(struct mipi_syst_handle * systh, mipi_syst_u32 v);
73 void (*write_d32mts)(struct mipi_syst_handle * systh, mipi_syst_u32 v);
74 void (*write_d64mts)(struct mipi_syst_handle * systh, mipi_syst_u64 v);
75 void (*write_d8)(struct mipi_syst_handle * systh, mipi_syst_u8 v);
76 void (*write_d16)(struct mipi_syst_handle * systh, mipi_syst_u16 v);
77 void (*write_d32)(struct mipi_syst_handle * systh, mipi_syst_u32 v);
79 void (*write_d64)(struct mipi_syst_handle * systh, mipi_syst_u64 v);
/mipi-sys-t-3.7.0/printer/src/
Dmipi_syst_decode.cpp154 template<class T> void decodeShortPayload(message & m, T v) in decodeShortPayload() argument
158 coll ? coll->getShortEntry(v) : nullptr); in decodeShortPayload()
162 hostPrintf(dest, entry->msg, v & (~entry->mask), std::vector<int>()); in decodeShortPayload()
165 m.setPayload(toHexValue(v)); in decodeShortPayload()
567 [&g,build](const collateral* v) in findCollateral()
569 return (v->match(g, build)); in findCollateral()
/mipi-sys-t-3.7.0/library/doxygen/
DReference.md99 MIPI_SYST_ENABLE_HANDLE_LENGTH(h, v)
107 MIPI_SYST_ENABLE_HANDLE_CHECKSUM(h,v)
114 MIPI_SYST_ENABLE_HANDLE_TIMESTAMP(h, v)
296 MIPI_SYST_SHORT32(h, v)
304 MIPI_SYST_SHORT64(h, v)
335 MIPI_SYST_BUILD_COMPACT32(h, v)
342 MIPI_SYST_BUILD_COMPACT64(h, v)
DDoxyfile.in265 # definitions whose arguments contain STL classes (e.g. func(std::string); v.s.