/linux-6.6.21/arch/powerpc/sysdev/ |
D | fsl_rmu.c | 317 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 …]
|
D | fsl_rio.c | 99 struct fsl_rio_dbell *dbell; variable 520 dbell = kzalloc(sizeof(struct fsl_rio_dbell), GFP_KERNEL); in fsl_rio_setup() 521 if (!(dbell)) { in fsl_rio_setup() 526 dbell->dev = &dev->dev; in fsl_rio_setup() 527 dbell->bellirq = irq_of_parse_and_map(np, 1); in fsl_rio_setup() 528 dev_info(&dev->dev, "bellirq: %d\n", dbell->bellirq); in fsl_rio_setup() 536 dbell->dbell_regs = (struct rio_dbell_regs *)(rmu_regs_win + in fsl_rio_setup() 694 dbell->mport[i] = port; in fsl_rio_setup() 711 fsl_rio_doorbell_init(dbell); in fsl_rio_setup() 719 kfree(dbell); in fsl_rio_setup() [all …]
|
D | fsl_rio.h | 121 extern struct fsl_rio_dbell *dbell; 129 extern int fsl_rio_doorbell_init(struct fsl_rio_dbell *dbell);
|
/linux-6.6.21/drivers/misc/vmw_vmci/ |
D | vmci_doorbell.c | 121 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 …]
|
/linux-6.6.21/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.c | 187 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() 228 struct bfi_msgq_i2h_db *dbell = (struct bfi_msgq_i2h_db *)mb; in bfa_msgq_cmdq_ci_update() local 232 cmdq->consumer_index = ntohs(dbell->idx.cmdq_ci); in bfa_msgq_cmdq_ci_update() 443 struct bfi_msgq_h2i_db *dbell = in bfa_msgq_rspq_dbell() local 446 memset(dbell, 0, sizeof(struct bfi_msgq_h2i_db)); in bfa_msgq_rspq_dbell() 447 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_CI, 0); in bfa_msgq_rspq_dbell() [all …]
|
/linux-6.6.21/drivers/crypto/cavium/zip/ |
D | zip_device.c | 80 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-6.6.21/drivers/rapidio/ |
D | rio.c | 406 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 …]
|
/linux-6.6.21/Documentation/devicetree/bindings/powerpc/fsl/ |
D | srio-rmu.txt | 6 "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-6.6.21/arch/mips/include/asm/octeon/ |
D | cvmx-dpi-defs.h | 142 uint64_t dbell:32; member 144 uint64_t dbell:32; 156 uint64_t dbell:16; member 158 uint64_t dbell:16;
|
D | cvmx-npi-defs.h | 528 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;
|
D | cvmx-npei-defs.h | 939 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-6.6.21/drivers/virt/ |
D | fsl_hypervisor.c | 603 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-6.6.21/arch/mips/cavium-octeon/executive/ |
D | cvmx-cmd-queue.c | 278 return dmax_counts.s.dbell; in cvmx_cmd_queue_length()
|
/linux-6.6.21/arch/powerpc/boot/dts/fsl/ |
D | qoriq-rmu-0.dtsi | 57 compatible = "fsl,srio-dbell-unit";
|
D | pq3-rmu-0.dtsi | 57 compatible = "fsl,srio-dbell-unit";
|
/linux-6.6.21/drivers/scsi/qedf/ |
D | qedf_io.c | 776 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-6.6.21/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 212 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()
|
D | bnx2i.h | 570 struct bnx2i_5771x_dbell_hdr dbell; member
|
/linux-6.6.21/drivers/crypto/cavium/nitrox/ |
D | nitrox_csr.h | 721 u64 dbell : 32; member 723 u64 dbell : 32;
|
D | nitrox_hal.c | 153 pkt_in_dbell.s.dbell = 0xffffffff; in nitrox_config_pkt_input_rings()
|
/linux-6.6.21/drivers/rapidio/devices/ |
D | tsi721.c | 386 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-6.6.21/arch/powerpc/kernel/ |
D | Makefile | 124 obj-$(CONFIG_PPC_DOORBELL) += dbell.o
|