Lines Matching refs:device_type
113 * @device_type: pointer to device type value
118 ap_test_queue(ap_qid_t qid, int *queue_depth, int *device_type)
126 *device_type = (int) (reg2 >> 24);
266 * @device_type: pointer to device type value
268 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type)
279 *device_type = t_device_type;
350 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->device_type);
380 return sprintf(buf, "ap:t%02X", to_ap_dev(dev)->device_type);
411 (id->dev_type != ap_dev->device_type))
434 "DEV_TYPE=%04X", ap_dev->device_type);
441 "MODALIAS=ap:t%02X", ap_dev->device_type);
601 int queue_depth, device_type, count, max_count, best_domain;
618 rc = ap_query_queue(qid, &queue_depth, &device_type);
717 ap_dev->device_type = AP_DEVICE_TYPE_PCICC;
719 ap_dev->device_type = AP_DEVICE_TYPE_PCICA;
750 int queue_depth, device_type;
760 rc = ap_query_queue(qid, &queue_depth, &device_type);
791 if (device_type == 0)
794 ap_dev->device_type = device_type;