Home
last modified time | relevance | path

Searched refs:cinst (Results 1 – 5 of 5) sorted by relevance

/drivers/isdn/sc/
Dinit.c22 int cinst; variable
287 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 …]
Dcard.h52 #define IS_VALID_CARD(x) ((x >= 0) && (x <= cinst))
105 extern int cinst;
Dcommand.c72 for (i = 0; i < cinst; i++) { in get_card_from_id()
/drivers/gpu/drm/nouveau/core/core/
Dnamedb.c72 nouveau_namedb_lookup_cinst(struct nouveau_namedb *namedb, u32 cinst) in nouveau_namedb_lookup_cinst() argument
79 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() argument
153 handle = nouveau_namedb_lookup_cinst(namedb, cinst); in nouveau_namedb_get_cinst()
Dhandle.c211 nouveau_handle_get_cinst(struct nouveau_object *engctx, u32 cinst) in nouveau_handle_get_cinst() argument
215 return nouveau_namedb_get_cinst(namedb, cinst); in nouveau_handle_get_cinst()