Lines Matching full:tuple

28  * This file contains the tuple handlers that are called by the CIS
121 * cis_tuple_handler - call the handler for the tuple described by the
122 * tuple pointer
125 * array to use to find this tuple
126 * cistpl_t *tp - pointer to a tuple structure
128 * XXX - we need a description of the flags passed to the tuple handler
129 * void *arg - argument to pass on to tuple handler
131 * If the tuple is not recognized but is is a vendor-specific tuple, we
132 * set the CISTPLF_VENDOR_SPECIFIC flag in the tuple.
134 * We return CISTPLF_UNKNOWN if this is an unrecognized tuple as well as
135 * set the CISTPLF_UNKNOWN flag in the tuple list structure. Note
136 * that encountering an unknown tuple is not necessarily an error,
138 * is up to the caller to determine what an unrecognized tuple means.
140 * If this is a recognized tuple, the apropriate tuple handler is called and
144 * particular tuple handler called and the flags parameter.
147 * tuple handler and just return the tuple name to the caller.
154 * Check to see if this is a vendor-specific tuple. in cis_tuple_handler()
160 * Scan the callout list until we find the tuple passed to us, or we in cis_tuple_handler()
180 * If we didn't recognize the tuple and the caller wants the tuple in cis_tuple_handler()
181 * name back, then return the "unknown tuple" string. At this in cis_tuple_handler()
183 * callout list. It's not an error to not recognize the tuple in cis_tuple_handler()
196 * cis_no_tuple_handler - this generic tuple handler is used if no special
197 * tuple processing is required for the passed
198 * tuple
200 * cistpl_callout_t *co - pointer to this tuple's entry in the
201 * tuple callout structure
202 * cistpl_t *tp - pointer to this tuple's entry in the local linked list
205 * This handler will set the CISTPLF_COPYOK flag if the tuple link is greater
206 * than zero, indicating that it's OK to copy the tuple data body. It
211 * We return CISTPLF_UNKNOWN if we're being called to parse the tuple.
214 * recognized tuple.
237 * cis_unknown_tuple_handler - this generic tuple handler is used if we don't
238 * understand this tuple
240 * cistpl_callout_t *co - pointer to this tuple's entry in the
241 * tuple callout structure
242 * cistpl_t *tp - pointer to this tuple's entry in the local linked list
246 * contents of a vendor-specific tuple.
249 * to specify that we understand this tuple's code, but not it's data
252 * We return CISTPLF_UNKNOWN if we're being called to parse the tuple or to
274 * cistpl_vers_1_handler - handler for the CISTPL_VERS_1 tuple
291 * We don't currently validate this tuple. This call will in cistpl_vers_1_handler()
316 * cistpl_config_handler - handler for the CISTPL_CONFIG tuple
357 * We don't currently validate this tuple. This call will in cistpl_config_handler()
427 * described in the tuple
443 * We don't currently validate this tuple. This call will in cistpl_device_handler()
495 * from the tuple and pass it back to the caller. in cistpl_device_handler()
520 * cistpl_cftable_handler - handler for the CISTPL_CFTABLE_ENTRY tuple
524 * Return: CISTPLF_NOERROR - if no error parsing tuple
525 * HANDTPL_ERROR - if error parsing tuple
546 * We don't currently validate this tuple. This call will
655 * so, parse the tuple data and store it in the
724 * Pass any I/O flags that are in the tuple directly
739 * in the tuple plus one, so there's
792 * Pass any IRQ flags that are in the tuple directly
985 * end of the tuple data; if we have,
987 * any more of the tuple.
997 * reached the end of the tuple data area
999 * in standard tuple format.
1019 * cisdata_t **ddp - pointer to pointer tuple data area
1080 * cistpl_t *tp - pointer to pointer tuple data area
1145 * cistpl_t *tp - tuple pointer.
1155 * tuple data area containing an extended speed
1214 * cistpl_vers_2_handler - handler for the CISTPL_VERS_2 tuple
1230 * We don't currently validate this tuple. This call will
1279 * We don't currently validate this tuple. This call will
1319 * We don't currently validate this tuple. This call will
1360 * cistpl_geometry_handler - handler for the CISTPL_GEOMETRY tuple
1376 * We don't currently validate this tuple. This call will
1394 * cistpl_byteorder_handler - handler for the CISTPL_BYTEORDER tuple
1410 * We don't currently validate this tuple. This call will
1427 * cistpl_date_handler - handler for CISTPL_DATE card format tuple
1444 * We don't currently validate this tuple. This call will
1462 * date tuple
1479 * We don't currently validate this tuple. This call will
1496 * cistpl_org_handler - handler for CISTPL_ORG data organization tuple
1513 * We don't currently validate this tuple. This call will
1533 * cistpl_manfid_handler - handler for CISTPL_MANFID, the manufacturer ID tuple
1549 * We don't currently validate this tuple. This call will
1582 * We don't currently validate this tuple. This call will
1601 * cistpl_funce_serial_handler - handler for the CISTPL_FUNCE/SERIAL tuple
1619 * We don't currently validate this tuple. This call will
1719 * cistpl_funce_lan_handler - handler for the CISTPL_FUNCE/LAN tuple
1737 * We don't currently validate this tuple. This call will
1778 /* unknown LAN tuple type */
1786 * cistpl_linktarget_handler - handler for CISTPL_LINKTARGET tuple
1791 * If HANDTPL_COPY_DONE is set, we just validate the tuple but
1793 * If HANDTPL_PARSE_LTUPLE is set, we validate the tuple and
1794 * return the parsed tuple data if the tuple is valid.
1796 * If the tuple link field is invalid, the CISTPLF_LINK_INVALID flag
1800 * If the tuple data body is invalid, the CISTPLF_PARAMS_INVALID flag
1804 * The tuple is considered invalid if it's link field is less than
1805 * MIN_LINKTARGET_LENGTH or if the data body of the tuple
1824 * Validate the tuple for both the HANDTPL_COPY_DONE case and
1840 * the tuple turns out to be OK since we
1846 * Check each byte of the tuple body to see if it
1847 * matches what should be in a valid tuple.
1852 * in this tuple are ignored.
1862 * This tuple is valid.
1868 * If we're also parsing this tuple, then
1901 * If the passed in tuple is CISTPL_LONGLINK_A the CISTPL_LONGLINK_AC_AM
1903 * If the passed in tuple is CISTPL_LONGLINK_C the CISTPL_LONGLINK_AC_CM
1906 * If HANDTPL_COPY_DONE is set, we just validate the tuple but
1908 * If HANDTPL_PARSE_LTUPLE is set, we validate the tuple and
1909 * return the parsed tuple data if the tuple is valid.
1911 * If the tuple link field is invalid, the CISTPLF_LINK_INVALID flag
1915 * The tuple is considered invalid if it's link field is less than
1930 * Validate the tuple for both the HANDTPL_COPY_DONE case and
1939 * This tuple is valid.
1982 * If HANDTPL_COPY_DONE is set, we just validate the tuple but
1984 * If HANDTPL_PARSE_LTUPLE is set, we validate the tuple and
1985 * return the parsed tuple data if the tuple is valid.
1987 * If the tuple link field is invalid, the CISTPLF_LINK_INVALID flag
1995 * The tuple is considered invalid if it's link field is less than
2011 * Validate the tuple for both the HANDTPL_COPY_DONE case and
2020 * This tuple is valid.
2034 * by this tuple. The number of register
2072 * cis_validate_longlink_acm - Validates the secondary tuple chain pointed
2075 * CISTPL_LONGLINK_MFC tuple.
2078 * tuple chain to validate
2084 * HANDTPL_ERROR is returned if the secondary tuple chain does not
2085 * contain a valid CISTPL_LINKTARGET tuple.
2154 * cis_return_name - returns name of tuple
2157 * tuple name to return