Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/sysdev/
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()
338 dbell->dinb(fsl_dbell->mport[i], in fsl_rio_dbell_handler()
339 dbell->dev_id, dmsg->sid, in fsl_rio_dbell_handler()
373 out_be32(&dbell->dbell_regs->odsr, ODSR_CLEAR); in msg_unit_error_handler()
374 out_be32(&dbell->dbell_regs->dsr, IDSR_CLEAR); in msg_unit_error_handler()
637 out_be32(&dbell->dbell_regs->odmr, 0x00000000); in fsl_rio_doorbell_send()
[all …]
Dfsl_rio.c90 struct fsl_rio_dbell *dbell; variable
530 dbell = kzalloc(sizeof(struct fsl_rio_dbell), GFP_KERNEL); in fsl_rio_setup()
531 if (!(dbell)) { in fsl_rio_setup()
536 dbell->dev = &dev->dev; in fsl_rio_setup()
537 dbell->bellirq = irq_of_parse_and_map(np, 1); in fsl_rio_setup()
538 dev_info(&dev->dev, "bellirq: %d\n", dbell->bellirq); in fsl_rio_setup()
549 dbell->dbell_regs = (struct rio_dbell_regs *)(rmu_regs_win + in fsl_rio_setup()
728 dbell->mport[i] = port; in fsl_rio_setup()
745 fsl_rio_doorbell_init(dbell); in fsl_rio_setup()
753 kfree(dbell); in fsl_rio_setup()
[all …]
Dfsl_rio.h121 extern struct fsl_rio_dbell *dbell;
129 extern int fsl_rio_doorbell_init(struct fsl_rio_dbell *dbell);
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
Dvmci_doorbell.c121 struct dbell_entry *dbell; in dbell_index_table_find() local
123 hlist_for_each_entry(dbell, &vmci_doorbell_it.entries[bucket], in dbell_index_table_find()
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
360 hlist_for_each_entry(dbell, &vmci_doorbell_it.entries[bucket], node) { in dbell_fire_entries()
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()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
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()
191 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_PI, 0); 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()
449 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_CI, 0); in bfa_msgq_rspq_dbell()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/cavium/zip/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_lif.h267 static inline void debug_stats_txq_post(struct ionic_queue *q, bool dbell) in debug_stats_txq_post() argument
272 q->dbell_count += dbell; in debug_stats_txq_post()
295 #define DEBUG_STATS_TXQ_POST(q, dbell) debug_stats_txq_post(q, dbell) argument
/kernel/linux/linux-5.10/drivers/rapidio/
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
480 list_for_each_entry(dbell, &mport->dbells, node) { in rio_release_inb_dbell()
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()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/
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";
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
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;
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;
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;
/kernel/linux/linux-5.10/drivers/virt/
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()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c282 return dmax_counts.s.dbell; in cvmx_cmd_queue_length()
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
Dpq3-rmu-0.dtsi57 compatible = "fsl,srio-dbell-unit";
Dqoriq-rmu-0.dtsi57 compatible = "fsl,srio-dbell-unit";
Dmpc8641_hpcn.dts147 compatible = "fsl,srio-dbell-unit";
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_io.c781 struct fcoe_db_data dbell = { 0 }; in qedf_ring_doorbell() local
783 dbell.agg_flags = 0; in qedf_ring_doorbell()
785 dbell.params |= DB_DEST_XCM << FCOE_DB_DATA_DEST_SHIFT; in qedf_ring_doorbell()
786 dbell.params |= DB_AGG_CMD_SET << FCOE_DB_DATA_AGG_CMD_SHIFT; in qedf_ring_doorbell()
787 dbell.params |= DQ_XCM_FCOE_SQ_PROD_CMD << in qedf_ring_doorbell()
790 dbell.sq_prod = fcport->fw_sq_prod_idx; in qedf_ring_doorbell()
796 writel(*(u32 *)&dbell, fcport->p_doorbell); in qedf_ring_doorbell()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_fw.c956 struct iscsi_db_data dbell = { 0 }; in qedi_ring_doorbell() local
958 dbell.agg_flags = 0; in qedi_ring_doorbell()
960 dbell.params |= DB_DEST_XCM << ISCSI_DB_DATA_DEST_SHIFT; in qedi_ring_doorbell()
961 dbell.params |= DB_AGG_CMD_SET << ISCSI_DB_DATA_AGG_CMD_SHIFT; in qedi_ring_doorbell()
962 dbell.params |= in qedi_ring_doorbell()
965 dbell.sq_prod = qedi_conn->ep->fw_sq_prod_idx; in qedi_ring_doorbell()
966 writel(*(u32 *)&dbell, qedi_conn->ep->p_doorbell); in qedi_ring_doorbell()
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
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()
Dbnx2i.h570 struct bnx2i_5771x_dbell_hdr dbell; member
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
Dnitrox_csr.h721 u64 dbell : 32; member
723 u64 dbell : 32;
Dnitrox_hal.c152 pkt_in_dbell.s.dbell = 0xffffffff; in nitrox_config_pkt_input_rings()
/kernel/linux/linux-5.10/drivers/rapidio/devices/
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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
DMakefile97 obj-$(CONFIG_PPC_DOORBELL) += dbell.o