Home
last modified time | relevance | path

Searched refs:cinst (Results 1 – 8 of 8) 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/
Dnv50_instmem.c182 nv_wr32(dev, 0x00170c, 0x80000000 | (priv->bar3_dmaobj->cinst >> 4)); in nv50_instmem_init()
213 nv_wr32(dev, 0x001708, 0x80000000 | (priv->bar1_dmaobj->cinst >> 4)); in nv50_instmem_init()
291 nv_wr32(dev, NV50_PUNK_BAR1_CTXDMA, (priv->bar1_dmaobj->cinst >> 4) | in nv50_instmem_resume()
293 nv_wr32(dev, NV50_PUNK_BAR3_CTXDMA, (priv->bar3_dmaobj->cinst >> 4) | in nv50_instmem_resume()
Dnouveau_object.c207 gpuobj->cinst = ramin->start; in nouveau_gpuobj_new()
223 gpuobj->cinst = NVOBJ_CINST_GLOBAL; in nouveau_gpuobj_new()
295 if (gpuobj->cinst == NVOBJ_CINST_GLOBAL) { in nouveau_gpuobj_del()
348 gpuobj->cinst = NVOBJ_CINST_GLOBAL; in nouveau_gpuobj_new_fake()
608 gpuobj->cinst = 0x40; in nouveau_gpuobj_sw_new()
912 if (gpuobj->cinst != NVOBJ_CINST_GLOBAL) in nouveau_gpuobj_suspend()
Dnouveau_ramht.c117 ctx = (gpuobj->cinst << 10) | in nouveau_ramht_insert()
121 ctx = (gpuobj->cinst >> 4) | in nouveau_ramht_insert()
Dnv50_fifo.c274 nv_wo32(ramfc, 0x48, chan->pushbuf->cinst >> 4); in nv50_fifo_create_context()
277 (chan->ramht->gpuobj->cinst >> 4)); in nv50_fifo_create_context()
Dnouveau_drv.h190 u32 cinst; /* Channel offset */ member