jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / src / helper / jep106.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /***************************************************************************
4 * Copyright (C) 2015 Andreas Fritiofson *
5 * andreas.fritiofson@gmail.com *
6 ***************************************************************************/
7
8 #ifndef OPENOCD_HELPER_JEP106_H
9 #define OPENOCD_HELPER_JEP106_H
10
11 /**
12 * Get the manufacturer name associated with a JEP106 ID.
13 * @param bank The bank (number of continuation codes) of the manufacturer ID.
14 * @param id The 7-bit manufacturer ID (i.e. with parity stripped).
15 * @return A pointer to static const storage containing the name of the
16 * manufacturer associated with bank and id, or one of the strings
17 * "<invalid>" and "<unknown>".
18 */
19 const char *jep106_table_manufacturer(unsigned int bank, unsigned int id);
20
21 static inline const char *jep106_manufacturer(unsigned int manufacturer)
22 {
23 return jep106_table_manufacturer(manufacturer >> 7, manufacturer & 0x7f);
24 }
25
26 #endif /* OPENOCD_HELPER_JEP106_H */

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)