Lines Matching +full:board +full:- +full:specific

1 /* SPDX-License-Identifier: GPL-2.0+ */
9 * board or a specific device such as hard-wired GPIOs on GPIO expanders,
10 * read-only data in flash ICs, or similar.
16 * If for example the board had a read-only serial number flash IC, we could
21 * debug("board device not found.");
36 * detect() - Run the hardware info detection procedure for this
45 * Return: 0 if OK, -ve on error.
50 * get_bool() - Read a specific bool data value that describes the
52 * @dev: The board instance to gather the data.
56 * Return: 0 if OK, -ve on error.
61 * get_int() - Read a specific int data value that describes the
63 * @dev: The board instance to gather the data.
67 * Return: 0 if OK, -ve on error.
72 * get_str() - Read a specific string data value that describes the
74 * @dev: The board instance to gather the data.
79 * Return: 0 if OK, -ve on error.
84 #define board_get_ops(dev) ((struct board_ops *)(dev)->driver->ops)
87 * board_detect() - Run the hardware info detection procedure for this device.
91 * Return: 0 if OK, -ve on error.
96 * board_get_bool() - Read a specific bool data value that describes the
98 * @dev: The board instance to gather the data.
102 * Return: 0 if OK, -ve on error.
107 * board_get_int() - Read a specific int data value that describes the
109 * @dev: The board instance to gather the data.
113 * Return: 0 if OK, -ve on error.
118 * board_get_str() - Read a specific string data value that describes the
120 * @dev: The board instance to gather the data.
125 * Return: 0 if OK, -ve on error.
130 * board_get() - Return the board device for the board in question.
131 * @devp: Pointer to structure to receive the board device.
133 * Since there can only be at most one board instance, the API can supply a
135 * in board files.
137 * Return: 0 if OK, -ve on error.