Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 25 of 36) sorted by relevance

12

/drivers/staging/csr/
Dio.c713 uf_find_instance(int inst) in uf_find_instance() argument
715 if ((inst < 0) || (inst >= MAX_UNIFI_DEVS)) { in uf_find_instance()
718 return Unifi_instances[inst]; in uf_find_instance()
738 int inst; in uf_find_priv() local
744 for (inst = 0; inst < MAX_UNIFI_DEVS; inst++) { in uf_find_priv()
745 if (Unifi_instances[inst] == priv) { in uf_find_priv()
746 return inst; in uf_find_priv()
769 int inst; in uf_find_netdev_priv() local
775 for (inst = 0; inst < MAX_UNIFI_DEVS * CSR_WIFI_NUM_INTERFACES; inst++) { in uf_find_netdev_priv()
776 if (Unifi_netdev_instances[inst] == priv) { in uf_find_netdev_priv()
[all …]
/drivers/net/ethernet/broadcom/
Dbnx2_fw.h20 .inst = BNX2_COM_CPU_INSTRUCTION,
36 .inst = BNX2_CP_CPU_INSTRUCTION,
52 .inst = BNX2_RXP_CPU_INSTRUCTION,
68 .inst = BNX2_TPAT_CPU_INSTRUCTION,
84 .inst = BNX2_TXP_CPU_INSTRUCTION,
/drivers/edac/
Damd8131_edac.c71 .inst = NORTH_A,
76 .inst = NORTH_B,
81 .inst = SOUTH_A,
86 .inst = SOUTH_B,
90 {.inst = NO_BRIDGE,},
253 for (dev_info = amd8131_chipset.devices; dev_info->inst != NO_BRIDGE; in amd8131_probe()
258 if (dev_info->inst == NO_BRIDGE) /* should never happen */ in amd8131_probe()
317 for (dev_info = amd8131_chipset.devices; dev_info->inst != NO_BRIDGE; in amd8131_remove()
322 if (dev_info->inst == NO_BRIDGE) /* should never happen */ in amd8131_remove()
Dedac_device.c77 struct edac_device_instance *dev_inst, *inst; in edac_device_alloc_ctl_info() local
164 inst = &dev_inst[instance]; in edac_device_alloc_ctl_info()
165 inst->ctl = dev_ctl; in edac_device_alloc_ctl_info()
166 inst->nr_blocks = nr_blocks; in edac_device_alloc_ctl_info()
168 inst->blocks = blk_p; in edac_device_alloc_ctl_info()
171 snprintf(inst->name, sizeof(inst->name), in edac_device_alloc_ctl_info()
177 blk->instance = inst; in edac_device_alloc_ctl_info()
182 instance, inst, block, blk, blk->name); in edac_device_alloc_ctl_info()
Damd8131_edac.h93 enum pcix_bridge_inst inst; member
/drivers/scsi/
Datari_scsi.h51 #define NCR5380_dma_read_setup(inst,d,c) atari_scsi_dma_setup (inst, d, c, 0) argument
52 #define NCR5380_dma_write_setup(inst,d,c) atari_scsi_dma_setup (inst, d, c, 1) argument
53 #define NCR5380_dma_residual(inst) atari_scsi_dma_residual( inst ) argument
/drivers/gpu/drm/nouveau/core/engine/mpeg/
Dnv31.c79 u32 inst = *(u32 *)arg << 4; in nv31_mpeg_mthd_dma() local
80 u32 dma0 = nv_ro32(imem, inst + 0); in nv31_mpeg_mthd_dma()
81 u32 dma1 = nv_ro32(imem, inst + 4); in nv31_mpeg_mthd_dma()
82 u32 dma2 = nv_ro32(imem, inst + 8); in nv31_mpeg_mthd_dma()
205 u32 inst = nv_rd32(priv, 0x00b318) & 0x000fffff; in nv31_mpeg_intr() local
213 engctx = nouveau_engctx_get(engine, inst); in nv31_mpeg_intr()
237 chid, inst << 4, nouveau_client_name(engctx), stat, in nv31_mpeg_intr()
Dnv40.c73 u32 inst = 0x80000000 | nv_gpuobj(chan)->addr >> 4; in nv40_mpeg_context_fini() local
76 if (nv_rd32(priv, 0x00b318) == inst) in nv40_mpeg_context_fini()
/drivers/gpu/drm/nouveau/core/engine/graph/
Dnve0.c276 nve0_graph_trap_isr(struct nvc0_graph_priv *priv, int chid, u64 inst, in nve0_graph_trap_isr() argument
286 chid, inst, nouveau_client_name(engctx), stat); in nve0_graph_trap_isr()
295 chid, inst, nouveau_client_name(engctx), stat); in nve0_graph_trap_isr()
304 chid, inst, nouveau_client_name(engctx)); in nve0_graph_trap_isr()
322 chid, inst, nouveau_client_name(engctx)); in nve0_graph_trap_isr()
333 rop, chid, inst, nouveau_client_name(engctx), in nve0_graph_trap_isr()
344 chid, inst, nouveau_client_name(engctx), trap); in nve0_graph_trap_isr()
357 u64 inst = nv_rd32(priv, 0x409b00) & 0x0fffffff; in nve0_graph_intr() local
367 engctx = nouveau_engctx_get(engine, inst); in nve0_graph_intr()
375 chid, inst, nouveau_client_name(engctx), subc, in nve0_graph_intr()
[all …]
Dnv40.c170 u32 inst = 0x01000000 | nv_gpuobj(chan)->addr >> 4; in nv40_graph_context_fini() local
175 if (nv_rd32(priv, 0x40032c) == inst) { in nv40_graph_context_fini()
178 nv_wr32(priv, 0x400784, inst); in nv40_graph_context_fini()
191 if (nv_rd32(priv, 0x400330) == inst) in nv40_graph_context_fini()
304 u32 inst = nv_rd32(priv, 0x40032c) & 0x000fffff; in nv40_graph_intr() local
313 engctx = nouveau_engctx_get(engine, inst); in nv40_graph_intr()
342 chid, inst << 4, nouveau_client_name(engctx), subc, in nv40_graph_intr()
Dnv50.c544 int chid, u64 inst, struct nouveau_object *engctx) in nv50_graph_trap_handler() argument
579 chid, inst, in nv50_graph_trap_handler()
604 chid, inst, in nv50_graph_trap_handler()
762 u32 inst = nv_rd32(priv, 0x40032c) & 0x0fffffff; in nv50_graph_intr() local
771 engctx = nouveau_engctx_get(engine, inst); in nv50_graph_intr()
789 if (!nv50_graph_trap_handler(priv, show, chid, (u64)inst << 12, in nv50_graph_intr()
803 chid, (u64)inst << 12, nouveau_client_name(engctx), in nv50_graph_intr()
Dctx.h22 cp_out(struct nouveau_grctx *ctx, u32 inst) in cp_out() argument
30 ctxprog[ctx->ctxprog_len++] = inst; in cp_out()
Dnvc0.c434 u64 inst = nv_rd32(priv, 0x409b00) & 0x0fffffff; in nvc0_graph_intr() local
444 engctx = nouveau_engctx_get(engine, inst); in nvc0_graph_intr()
452 chid, inst << 12, nouveau_client_name(engctx), in nvc0_graph_intr()
463 chid, inst << 12, nouveau_client_name(engctx), subc, in nvc0_graph_intr()
473 chid, inst << 12, nouveau_client_name(engctx), subc, in nvc0_graph_intr()
480 nv_error(priv, "TRAP ch %d [0x%010llx %s]\n", chid, inst << 12, in nvc0_graph_intr()
Dnv10.c869 nv10_graph_load_dma_vtxbuf(struct nv10_graph_chan *chan, int chid, u32 inst) in nv10_graph_load_dma_vtxbuf() argument
891 if (subchan < 0 || !inst) in nv10_graph_load_dma_vtxbuf()
918 nv_wr32(priv, NV10_PGRAPH_FFINTFC_ST2_DL, inst); in nv10_graph_load_dma_vtxbuf()
942 u32 inst; in nv10_graph_load_context() local
955 inst = nv_rd32(priv, NV10_PGRAPH_GLOBALSTATE1) & 0xffff; in nv10_graph_load_context()
956 nv10_graph_load_dma_vtxbuf(chan, chid, inst); in nv10_graph_load_context()
Dnv04.c579 u32 inst = *(u32 *)args << 4; in nv04_graph_mthd_bind_class() local
580 return nv_ro32(imem, inst); in nv04_graph_mthd_bind_class()
1272 u32 inst = (nv_rd32(priv, 0x40016c) & 0xffff) << 4; in nv04_graph_intr() local
1284 handle = nouveau_namedb_get_vinst(namedb, inst); in nv04_graph_intr()
/drivers/gpu/drm/nouveau/core/engine/copy/
Dnva3.c90 u64 inst = nv_ro32(falcon, 0x050) & 0x3fffffff; in nva3_copy_intr() local
98 engctx = nouveau_engctx_get(engine, inst); in nva3_copy_intr()
105 chid, inst << 12, nouveau_client_name(engctx), subc, in nva3_copy_intr()
/drivers/gpu/drm/nouveau/core/engine/crypt/
Dnv98.c92 u32 inst = nv_rd32(priv, 0x087050) & 0x3fffffff; in nv98_crypt_intr() local
100 engctx = nouveau_engctx_get(engine, inst); in nv98_crypt_intr()
107 chid, (u64)inst << 12, nouveau_client_name(engctx), in nv98_crypt_intr()
Dnv84.c123 u32 inst = nv_rd32(priv, 0x102188) & 0x7fffffff; in nv84_crypt_intr() local
126 engctx = nouveau_engctx_get(engine, inst); in nv84_crypt_intr()
133 chid, (u64)inst << 12, nouveau_client_name(engctx), in nv84_crypt_intr()
/drivers/target/iscsi/
Discsi_target_stat.c77 ISCSI_STAT_INSTANCE_ATTR_RO(inst);
247 ISCSI_STAT_SESS_ERR_ATTR_RO(inst);
329 ISCSI_STAT_TGT_ATTR_RO(inst);
499 ISCSI_STAT_LOGIN_RO(inst);
656 ISCSI_STAT_LOGOUT_RO(inst);
738 ISCSI_STAT_SESS_RO(inst);
/drivers/tty/serial/
Dsunzilog.c1399 int inst; in zs_probe() local
1410 inst = uart_chip_count + kbm_inst; in zs_probe()
1412 inst = uart_inst; in zs_probe()
1414 sunzilog_chip_regs[inst] = of_ioremap(&op->resource[0], 0, in zs_probe()
1417 if (!sunzilog_chip_regs[inst]) in zs_probe()
1420 rp = sunzilog_chip_regs[inst]; in zs_probe()
1425 up = &sunzilog_port_table[inst * 2]; in zs_probe()
1437 up[0].port.line = (inst * 2) + 0; in zs_probe()
1454 up[1].port.line = (inst * 2) + 1; in zs_probe()
Dsunsab.c1006 static int inst; in sab_probe() local
1010 up = &sunsab_ports[inst * 2]; in sab_probe()
1014 (inst * 2) + 0); in sab_probe()
1020 (inst * 2) + 1); in sab_probe()
1042 inst++; in sab_probe()
/drivers/scsi/arm/
Dfas216.c156 unsigned char is, stat, inst; in fas216_dumpstate() local
160 inst = fas216_readb(info, REG_INST); in fas216_dumpstate()
166 fas216_readb(info, REG_CMD), stat, inst, is, in fas216_dumpstate()
1627 unsigned char inst, is, stat; in fas216_intr() local
1634 inst = fas216_readb(info, REG_INST); in fas216_intr()
1636 add_debug_list(stat, is, inst, info->scsi.phase); in fas216_intr()
1639 if (inst & INST_BUSRESET) { in fas216_intr()
1643 } else if (inst & INST_ILLEGALCMD) { in fas216_intr()
1647 } else if (inst & INST_DISCONNECT) in fas216_intr()
1649 else if (inst & INST_RESELECTED) /* reselected */ in fas216_intr()
[all …]
/drivers/target/
Dtarget_core_stat.c86 DEV_STAT_SCSI_DEV_ATTR_RO(inst);
163 DEV_STAT_SCSI_TGT_DEV_ATTR_RO(inst);
270 DEV_STAT_SCSI_LU_ATTR_RO(inst);
560 DEV_STAT_SCSI_PORT_ATTR_RO(inst);
703 DEV_STAT_SCSI_TGT_PORT_ATTR_RO(inst);
940 DEV_STAT_SCSI_TRANSPORT_ATTR_RO(inst);
1099 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO(inst);
1465 DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO(inst);
/drivers/gpu/drm/nouveau/core/engine/fifo/
Dnvc0.c413 u32 inst = nv_rd32(priv, 0x002800 + (unit * 0x10)); in nvc0_fifo_isr_vm_fault() local
452 engctx = nouveau_engctx_get(engine, inst); in nvc0_fifo_isr_vm_fault()
455 pr_cont(" on channel 0x%010llx [%s]\n", (u64)inst << 12, in nvc0_fifo_isr_vm_fault()
Dnve0.c416 u32 inst = nv_rd32(priv, 0x2800 + (unit * 0x10)); in nve0_fifo_isr_vm_fault() local
441 engctx = nouveau_engctx_get(engine, inst); in nve0_fifo_isr_vm_fault()
445 pr_cont(" on channel 0x%010llx [%s]\n", (u64)inst << 12, in nve0_fifo_isr_vm_fault()

12