Lines Matching refs:tuple

2310  * For cards with a device_id tuple, a generic name will be used.
2312 * The 1275 name is of the form pccardNNNN,MMMM from the manfid tuple.
2313 * if there is not manfid tuple, an attempt will be made to bind the
2345 tuple_t tuple;
2348 tuple.Socket = socket;
2351 tuple.DesiredTuple = CISTPL_MANFID;
2352 tuple.Attributes = 0;
2353 if ((i = csx_GetFirstTuple(handle, &tuple)) ==
2355 i = csx_Parse_CISTPL_MANFID(handle, &tuple,
2364 tuple.Attributes = 0;
2365 tuple.DesiredTuple = CISTPL_JEDEC_A;
2366 if ((i = csx_GetFirstTuple(handle, &tuple)) ==
2368 i = csx_Parse_CISTPL_JEDEC_A(handle, &tuple,
2385 tuple_t tuple;
2389 tuple.Socket = socket;
2393 tuple.DesiredTuple = CISTPL_VERS_1;
2394 tuple.Attributes = 0;
2396 (i = csx_GetFirstTuple(handle, &tuple)) == SUCCESS) {
2397 i = csx_Parse_CISTPL_VERS_1(handle, &tuple, &vers1);
2425 pcmcia_get_funce(client_handle_t handle, tuple_t *tuple)
2429 tuple->Attributes = 0;
2430 while (csx_GetNextTuple(handle, tuple) == SUCCESS) {
2431 if (tuple->TupleCode == CISTPL_FUNCID) {
2434 if (tuple->TupleCode == CISTPL_FUNCE) {
2438 tuple->Attributes = 0;
2460 tuple_t tuple;
2464 tuple.Socket = socket;
2466 tuple.DesiredTuple = CISTPL_FUNCID;
2467 tuple.Attributes = 0;
2468 if ((i = csx_GetFirstTuple(handle, &tuple)) ==
2477 tuple.Flags & CISTPLF_GLOBAL_CIS) {
2479 ltuple = tuple;
2485 tuple = ltuple;
2489 i = csx_Parse_CISTPL_FUNCID(handle, &tuple, &funcid);
2503 which = pcmcia_get_funce(handle, &tuple);
2506 &tuple,
2521 which = pcmcia_get_funce(handle, &tuple);
2524 &tuple,
2542 tuple.DesiredTuple = CISTPL_CONFIG;
2543 tuple.Attributes = 0;
2544 if (csx_GetFirstTuple(handle, &tuple) != SUCCESS) {
2615 * I/O cards are required to have a config tuple.
2648 tuple_t tuple;
2660 bzero(&tuple, sizeof (tuple));
2661 tuple.Socket = info->pd_socket;
2663 tuple.DesiredTuple = (cisdata_t)type;
2667 if ((ret = csx_GetFirstTuple(info->pd_handle, &tuple)) == CS_SUCCESS) {
2671 ret = csx_Parse_CISTPL_DEVICE(info->pd_handle, &tuple,
2674 ret = csx_Parse_CISTPL_DEVICE_A(info->pd_handle, &tuple,
2717 tuple_t tuple;
2725 bzero(&tuple, sizeof (tuple));
2726 tuple.DesiredTuple = CISTPL_CONFIG;
2727 tuple.Socket = info->pd_socket;
2728 tuple.Attributes = 0;
2732 if (csx_GetFirstTuple(info->pd_handle, &tuple) == CS_SUCCESS) {
2734 &tuple, &config) != CS_SUCCESS) {
2740 tuple.DesiredTuple = CISTPL_CFTABLE_ENTRY;
2741 tuple.Socket = info->pd_socket;
2742 tuple.Attributes = 0;
2745 while (csx_GetNextTuple(info->pd_handle, &tuple) == CS_SUCCESS) {
2749 &tuple, &cftable) == CS_SUCCESS) {
2910 * check to see if an interrupt tuple exists.
2918 tuple_t tuple;
2921 bzero(&tuple, sizeof (tuple));
2922 tuple.DesiredTuple = CISTPL_CONFIG;
2923 tuple.Socket = socket;
2924 tuple.Attributes = 0;
2925 if (csx_GetFirstTuple(info->pd_handle, &tuple) != CS_SUCCESS) {
2930 cmn_err(CE_CONT, "pcmcia_need_intr: have config tuple\n");
2935 &tuple, &config) != CS_SUCCESS) {
2942 tuple.DesiredTuple = CISTPL_CFTABLE_ENTRY;
2943 tuple.Attributes = 0;
2945 &tuple) != CS_SUCCESS) {
2951 &tuple, &cftable) !=
2980 tuple_t tuple;
2982 bzero(&tuple, sizeof (tuple_t));
2983 tuple.DesiredTuple = CISTPL_LONGLINK_MFC;
2984 tuple.Socket = socket;
2985 tuple.Attributes = 0;
2986 if (csx_GetFirstTuple(handle, &tuple) == CS_SUCCESS) {
2988 if (csx_ParseTuple(handle, &tuple, (cisparse_t *)&mfc,