Searched refs:cinst (Results 1 – 5 of 5) sorted by relevance
22 int cinst; variable287 interface->id[2] = '0' + cinst; in sc_init()292 sc_adapter[cinst] = kzalloc(sizeof(board), GFP_KERNEL); in sc_init()293 if (sc_adapter[cinst] == NULL) { in sc_init()300 spin_lock_init(&sc_adapter[cinst]->lock); in sc_init()307 kfree(sc_adapter[cinst]); in sc_init()311 sc_adapter[cinst]->card = interface; in sc_init()312 sc_adapter[cinst]->driverId = interface->channels; in sc_init()313 strcpy(sc_adapter[cinst]->devicename, interface->id); in sc_init()314 sc_adapter[cinst]->nChannels = channels; in sc_init()[all …]
52 #define IS_VALID_CARD(x) ((x >= 0) && (x <= cinst))105 extern int cinst;
72 for (i = 0; i < cinst; i++) { in get_card_from_id()
72 nouveau_namedb_lookup_cinst(struct nouveau_namedb *namedb, u32 cinst) in nouveau_namedb_lookup_cinst() argument79 nv_gpuobj(handle->object)->node->offset == cinst) in nouveau_namedb_lookup_cinst()149 nouveau_namedb_get_cinst(struct nouveau_namedb *namedb, u32 cinst) in nouveau_namedb_get_cinst() argument153 handle = nouveau_namedb_lookup_cinst(namedb, cinst); in nouveau_namedb_get_cinst()
211 nouveau_handle_get_cinst(struct nouveau_object *engctx, u32 cinst) in nouveau_handle_get_cinst() argument215 return nouveau_namedb_get_cinst(namedb, cinst); in nouveau_handle_get_cinst()