Home
last modified time | relevance | path

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

/linux/arch/powerpc/sysdev/
A Dfsl_rmu.c317 struct rio_dbell *dbell; in fsl_rio_dbell_handler() local
327 list_for_each_entry(dbell, in fsl_rio_dbell_handler()
329 if ((dbell->res->start in fsl_rio_dbell_handler()
331 && (dbell->res->end in fsl_rio_dbell_handler()
337 if (found && dbell->dinb) { in fsl_rio_dbell_handler()
339 dbell->dev_id, dmsg->sid, in fsl_rio_dbell_handler()
1032 dbell->dbell_ring.virt = dma_alloc_coherent(dbell->dev, 512 * in fsl_rio_doorbell_init()
1034 if (!dbell->dbell_ring.virt) { in fsl_rio_doorbell_init()
1041 out_be32(&dbell->dbell_regs->dqdpar, (u32) dbell->dbell_ring.phys); in fsl_rio_doorbell_init()
1042 out_be32(&dbell->dbell_regs->dqepar, (u32) dbell->dbell_ring.phys); in fsl_rio_doorbell_init()
[all …]
A Dfsl_rio.c90 struct fsl_rio_dbell *dbell; variable
528 dbell = kzalloc(sizeof(struct fsl_rio_dbell), GFP_KERNEL); in fsl_rio_setup()
529 if (!(dbell)) { in fsl_rio_setup()
534 dbell->dev = &dev->dev; in fsl_rio_setup()
535 dbell->bellirq = irq_of_parse_and_map(np, 1); in fsl_rio_setup()
536 dev_info(&dev->dev, "bellirq: %d\n", dbell->bellirq); in fsl_rio_setup()
547 dbell->dbell_regs = (struct rio_dbell_regs *)(rmu_regs_win + in fsl_rio_setup()
726 dbell->mport[i] = port; in fsl_rio_setup()
743 fsl_rio_doorbell_init(dbell); in fsl_rio_setup()
751 kfree(dbell); in fsl_rio_setup()
[all …]
A Dfsl_rio.h121 extern struct fsl_rio_dbell *dbell;
129 extern int fsl_rio_doorbell_init(struct fsl_rio_dbell *dbell);
/linux/drivers/misc/vmw_vmci/
A Dvmci_doorbell.c121 struct dbell_entry *dbell; in dbell_index_table_find() local
125 if (idx == dbell->idx) in dbell_index_table_find()
126 return dbell; in dbell_index_table_find()
356 struct dbell_entry *dbell; in dbell_fire_entries() local
361 if (dbell->idx == notify_idx && in dbell_fire_entries()
362 atomic_read(&dbell->active) == 1) { in dbell_fire_entries()
363 if (dbell->run_delayed) { in dbell_fire_entries()
364 vmci_resource_get(&dbell->resource); in dbell_fire_entries()
365 if (!schedule_work(&dbell->work)) in dbell_fire_entries()
366 vmci_resource_put(&dbell->resource); in dbell_fire_entries()
[all …]
/linux/drivers/net/ethernet/brocade/bna/
A Dbfa_msgq.c187 struct bfi_msgq_h2i_db *dbell = in bfa_msgq_cmdq_dbell() local
190 memset(dbell, 0, sizeof(struct bfi_msgq_h2i_db)); in bfa_msgq_cmdq_dbell()
192 dbell->mh.mtag.i2htok = 0; in bfa_msgq_cmdq_dbell()
193 dbell->idx.cmdq_pi = htons(cmdq->producer_index); in bfa_msgq_cmdq_dbell()
230 struct bfi_msgq_i2h_db *dbell = (struct bfi_msgq_i2h_db *)mb; in bfa_msgq_cmdq_ci_update() local
234 cmdq->consumer_index = ntohs(dbell->idx.cmdq_ci); in bfa_msgq_cmdq_ci_update()
445 struct bfi_msgq_h2i_db *dbell = in bfa_msgq_rspq_dbell() local
448 memset(dbell, 0, sizeof(struct bfi_msgq_h2i_db)); in bfa_msgq_rspq_dbell()
450 dbell->mh.mtag.i2htok = 0; in bfa_msgq_rspq_dbell()
451 dbell->idx.rspq_ci = htons(rspq->consumer_index); in bfa_msgq_rspq_dbell()
[all …]
/linux/drivers/crypto/cavium/zip/
A Dzip_device.c80 union zip_quex_doorbell dbell; in zip_load_instr() local
158 dbell.u_reg64 = 0ull; in zip_load_instr()
159 dbell.s.dbell_cnt = 1; in zip_load_instr()
160 zip_reg_write(dbell.u_reg64, in zip_load_instr()
/linux/drivers/rapidio/
A Drio.c406 struct rio_dbell *dbell = kmalloc(sizeof(*dbell), GFP_KERNEL); in rio_setup_inb_dbell() local
408 if (!dbell) in rio_setup_inb_dbell()
411 dbell->res = res; in rio_setup_inb_dbell()
412 dbell->dinb = dinb; in rio_setup_inb_dbell()
413 dbell->dev_id = dev_id; in rio_setup_inb_dbell()
416 list_add_tail(&dbell->node, &mport->dbells); in rio_setup_inb_dbell()
477 struct rio_dbell *dbell; in rio_release_inb_dbell() local
481 if ((dbell->res->start == start) && (dbell->res->end == end)) { in rio_release_inb_dbell()
482 list_del(&dbell->node); in rio_release_inb_dbell()
496 rc = release_resource(dbell->res); in rio_release_inb_dbell()
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
A Dsrio-rmu.txt6 "fsl-srio-dbell-unit" and "fsl-srio-port-write-unit").
74 "fsl,srio-dbell-unit-vX.Y", "fsl,srio-dbell-unit"
152 compatible = "fsl,srio-dbell-unit";
/linux/arch/mips/include/asm/octeon/
A Dcvmx-dpi-defs.h142 uint64_t dbell:32; member
144 uint64_t dbell:32;
156 uint64_t dbell:16; member
158 uint64_t dbell:16;
A Dcvmx-npi-defs.h528 uint64_t dbell:32; member
530 uint64_t dbell:32;
558 uint64_t dbell:32; member
560 uint64_t dbell:32;
587 uint64_t dbell:16; member
589 uint64_t dbell:16;
1533 uint64_t dbell:16; member
1535 uint64_t dbell:16;
A Dcvmx-npei-defs.h939 uint64_t dbell:32; member
941 uint64_t dbell:32;
953 uint32_t dbell:16; member
955 uint32_t dbell:16;
3244 uint64_t dbell:32; member
3246 uint64_t dbell:32;
3324 uint64_t dbell:32; member
3326 uint64_t dbell:32;
/linux/drivers/virt/
A Dfsl_hypervisor.c603 uint32_t dbell; /* Local copy of doorbell queue data */ in fsl_hv_read() local
637 dbell = dbq->q[dbq->head]; in fsl_hv_read()
642 if (put_user(dbell, p)) in fsl_hv_read()
/linux/drivers/scsi/qla2xxx/
A Dqla_edif.h54 struct completion dbell; member
A Dqla_edif.c1787 init_completion(&vha->e_dbell.dbell); in qla_edb_init()
1894 complete_all(&vha->e_dbell.dbell); in qla_edb_stop()
1933 complete(&vha->e_dbell.dbell); in qla_edb_node_add()
/linux/arch/mips/cavium-octeon/executive/
A Dcvmx-cmd-queue.c269 return dmax_counts.s.dbell; in cvmx_cmd_queue_length()
/linux/arch/powerpc/boot/dts/fsl/
A Dqoriq-rmu-0.dtsi57 compatible = "fsl,srio-dbell-unit";
A Dpq3-rmu-0.dtsi57 compatible = "fsl,srio-dbell-unit";
A Dmpc8641_hpcn.dts147 compatible = "fsl,srio-dbell-unit";
/linux/drivers/scsi/qedf/
A Dqedf_io.c776 struct fcoe_db_data dbell = { 0 }; in qedf_ring_doorbell() local
778 dbell.agg_flags = 0; in qedf_ring_doorbell()
780 dbell.params |= DB_DEST_XCM << FCOE_DB_DATA_DEST_SHIFT; in qedf_ring_doorbell()
781 dbell.params |= DB_AGG_CMD_SET << FCOE_DB_DATA_AGG_CMD_SHIFT; in qedf_ring_doorbell()
782 dbell.params |= DQ_XCM_FCOE_SQ_PROD_CMD << in qedf_ring_doorbell()
785 dbell.sq_prod = fcport->fw_sq_prod_idx; in qedf_ring_doorbell()
791 writel(*(u32 *)&dbell, fcport->p_doorbell); in qedf_ring_doorbell()
/linux/drivers/scsi/bnx2i/
A Dbnx2i_hwi.c212 struct bnx2i_5771x_dbell dbell; in bnx2i_ring_577xx_doorbell() local
215 memset(&dbell, 0, sizeof(dbell)); in bnx2i_ring_577xx_doorbell()
216 dbell.dbell.header = (B577XX_ISCSI_CONNECTION_TYPE << in bnx2i_ring_577xx_doorbell()
218 msg = *((u32 *)&dbell); in bnx2i_ring_577xx_doorbell()
A Dbnx2i.h570 struct bnx2i_5771x_dbell_hdr dbell; member
/linux/drivers/crypto/cavium/nitrox/
A Dnitrox_csr.h721 u64 dbell : 32; member
723 u64 dbell : 32;
A Dnitrox_hal.c153 pkt_in_dbell.s.dbell = 0xffffffff; in nitrox_config_pkt_input_rings()
/linux/drivers/rapidio/devices/
A Dtsi721.c386 struct rio_dbell *dbell; in tsi721_db_dpc() local
413 list_for_each_entry(dbell, &mport->dbells, node) { in tsi721_db_dpc()
414 if ((dbell->res->start <= DBELL_INF(idb.bytes)) && in tsi721_db_dpc()
415 (dbell->res->end >= DBELL_INF(idb.bytes))) { in tsi721_db_dpc()
422 dbell->dinb(mport, dbell->dev_id, DBELL_SID(idb.bytes), in tsi721_db_dpc()
/linux/arch/powerpc/kernel/
A DMakefile96 obj-$(CONFIG_PPC_DOORBELL) += dbell.o

Completed in 101 milliseconds