Lines Matching +full:ts +full:- +full:attached
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * QNAP TS-x09 Boards common functions
15 #include "tsx09-common.h"
19 * QNAP TS-x09 specific power off method via UART1-attached PIC
29 pr_info("%s: triggering power-off...\n", __func__); in qnap_tsx09_power_off()
40 /* send the power-off command 'A' to PIC */ in qnap_tsx09_power_off()
55 return n - '0'; in qnap_tsx09_parse_hex_nibble()
58 return n - 'A' + 10; in qnap_tsx09_parse_hex_nibble()
61 return n - 'a' + 10; in qnap_tsx09_parse_hex_nibble()
63 return -1; in qnap_tsx09_parse_hex_nibble()
75 return -1; in qnap_tsx09_parse_hex_byte()
92 return -1; in qnap_tsx09_check_mac_addr()
96 return -1; in qnap_tsx09_check_mac_addr()