Lines Matching defs:card
536 static void set_test_card(int card)
538 test_card = card;
539 snprintf(sysfs_path, PATH_SIZE, "/sys/class/drm/card%d/device/ras/", devices[card].id);
540 snprintf(debugfs_path, PATH_SIZE, "/sys/kernel/debug/dri/%d/ras/", devices[card].id);
541 ras_mask = devices[card].capability;
542 device_handle = devices[card].device_handle;
543 ras_block_mask_inject = devices[card].test_mask.inject_mask;
544 ras_block_mask_query = devices[card].test_mask.query_mask;
545 ras_block_mask_basic = devices[card].test_mask.basic_mask;