Lines Matching refs:device_hint
146 } device_hint[MAX_DEV_HINTS];
1284 /* search device_hint[] table if we occupy a slot, by any chance */
1286 if (device_hint[hint].pdev == pdev)
1287 device_hint[hint].pdev = NULL;
1777 /* Now search device_hint[] table for a match, so we can hint a node number. */
1779 if (((device_hint[hint].type == -1) || (device_hint[hint].type == pdev->type)) &&
1780 (device_hint[hint].pdev == NULL)) {
1782 if ((device_hint[hint].serial_number[0] == '*') || !strcmp(device_hint[hint].serial_number, serial_number)) {
1784 video_nr = device_hint[hint].device_node;
1802 device_hint[hint].pdev = pdev;
1847 device_hint[hint].pdev = NULL;
1899 /* search device_hint[] table if we occupy a slot, by any chance */
1901 if (device_hint[hint].pdev == pdev)
1902 device_hint[hint].pdev = NULL;
2033 device_hint[i].pdev = NULL;
2036 device_hint[i].type = -1; /* wildcard */
2037 strcpy(device_hint[i].serial_number, "*");
2059 device_hint[i].device_node =
2065 device_hint[i].type =
2067 device_hint[i].device_node =
2076 device_hint[i].serial_number[k++] = *dot;
2079 device_hint[i].serial_number[k] = '\0';
2082 PWC_TRACE("device_hint[%d]:\n", i);
2083 PWC_TRACE(" type : %d\n", device_hint[i].type);
2084 PWC_TRACE(" serial# : %s\n", device_hint[i].serial_number);
2085 PWC_TRACE(" node : %d\n", device_hint[i].device_node);
2088 device_hint[i].type = 0; /* not filled */