Home
last modified time | relevance | path

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

1234567

/linux-6.3-rc2/drivers/mailbox/
A Darm_mhu_db.c56 unsigned int doorbell; member
61 unsigned int doorbell) in mhu_db_mbox_to_channel() argument
69 chan_info->doorbell == doorbell) in mhu_db_mbox_to_channel()
98 unsigned int doorbell; in mhu_db_mbox_irq_to_channel() local
109 for (doorbell = 0; bits; doorbell++) { in mhu_db_mbox_irq_to_channel()
118 pchan, doorbell); in mhu_db_mbox_irq_to_channel()
194 unsigned int doorbell = spec->args[1]; in mhu_db_mbox_xlate() local
201 pchan, doorbell); in mhu_db_mbox_xlate()
209 pchan, doorbell); in mhu_db_mbox_xlate()
231 chan_info->doorbell = doorbell; in mhu_db_mbox_xlate()
[all …]
A Darm_mhuv2.c235 u32 doorbell; member
265 writel_relaxed(BIT(priv->doorbell), in mhuv2_doorbell_rx_startup()
275 writel_relaxed(BIT(priv->doorbell), in mhuv2_doorbell_rx_shutdown()
283 writel_relaxed(BIT(priv->doorbell), in mhuv2_doorbell_read_data()
294 BIT(priv->doorbell)); in mhuv2_doorbell_last_tx_done()
306 writel_relaxed(BIT(priv->doorbell), in mhuv2_doorbell_send_data()
802 doorbell = pa->args[1]; in mhuv2_mbox_of_xlate()
803 if (doorbell >= MHUV2_STAT_BITS) in mhuv2_mbox_of_xlate()
818 if (doorbell) in mhuv2_mbox_of_xlate()
831 pa->args[0], doorbell); in mhuv2_mbox_of_xlate()
[all …]
/linux-6.3-rc2/drivers/fpga/
A Dintel-m10-bmc-sec-update.c276 u32 doorbell; in m10bmc_sec_n3000_rsu_status() local
279 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in m10bmc_sec_n3000_rsu_status()
344 u32 doorbell; in rsu_check_idle() local
347 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in rsu_check_idle()
417 u32 doorbell, progress; in rsu_prog_ready() local
420 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in rsu_prog_ready()
430 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in rsu_prog_ready()
510 u32 doorbell; in rsu_cancel() local
513 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in rsu_cancel()
585 ret = m10bmc_sys_read(m10bmc, csr_map->doorbell, &doorbell); in m10bmc_sec_fw_write()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/mailbox/
A Darm,mhu.yaml21 The MHU hardware also allows operations in doorbell mode. The MHU drives the
28 interrupt. Each of the 32-bits can be used as "doorbell" to alert the remote
38 - arm,mhu-doorbell
52 - const: arm,mhu-doorbell
76 Set to 2 in doorbell mode and represents index of the channel and doorbell
129 compatible = "arm,mhu-doorbell", "arm,primecell";
142 mboxes = <&mhuB 0 0>, /* LP-NonSecure, 1st doorbell */
143 <&mhuB 0 1>; /* LP-NonSecure, 2nd doorbell */
160 mboxes = <&mhuB 1 2>, /* HP-NonSecure, 3rd doorbell */
161 <&mhuB 1 3>; /* HP-NonSecure, 4th doorbell */
A Darm,mhuv2.yaml38 and the entire window shall be used in doorbell protocol. Optionally, data
97 for doorbell protocol, and 1 is reserved for data-transfer protocol.
102 doorbell protocol this field signifies the number of 32-bit channel
103 windows that implement the doorbell protocol. For data-transfer protocol,
119 windows are used in doorbell protocol (64 doorbells), followed by 1, 5 and
135 doorbell, or data-transfer protocol, and the second argument (only
136 relevant in doorbell protocol, should be 0 otherwise) represents the
137 doorbell number within the 32 bit wide channel window.
142 mboxes = <&mhu 0 5>; // Channel Window Group 0, doorbell 5.
143 mboxes = <&mhu 1 7>; // Channel Window Group 1, doorbell 7.
[all …]
A Dnvidia,tegra186-hsp.yaml38 For doorbells, the second cell specifies the index of the doorbell to
84 - const: doorbell
87 - const: doorbell
117 interrupt-names = "doorbell";
/linux-6.3-rc2/drivers/scsi/esas2r/
A Desas2r_int.c59 u32 doorbell; in esas2r_polled_interrupt() local
77 if (doorbell != 0) in esas2r_polled_interrupt()
107 u32 doorbell; in esas2r_adapter_interrupt() local
119 if (doorbell != 0) in esas2r_adapter_interrupt()
135 u32 doorbell; in esas2r_msi_interrupt() local
151 if (doorbell != 0) in esas2r_msi_interrupt()
667 if (!(doorbell & DRBL_FORCE_INT)) { in esas2r_doorbell_interrupt()
675 if (doorbell & DRBL_RESET_BUS) in esas2r_doorbell_interrupt()
678 if (doorbell & DRBL_FORCE_INT) in esas2r_doorbell_interrupt()
686 if (doorbell & DRBL_FW_RESET) { in esas2r_doorbell_interrupt()
[all …]
A Desas2r_init.c940 u32 doorbell; in esas2r_check_adapter() local
967 if (doorbell == 0xFFFFFFFF) { in esas2r_check_adapter()
983 doorbell); in esas2r_check_adapter()
1021 doorbell); in esas2r_check_adapter()
1110 doorbell); in esas2r_check_adapter()
1130 if (doorbell & DRBL_POWER_DOWN) in esas2r_check_adapter()
1507 u32 doorbell; in esas2r_power_down_notify_firmware() local
1516 doorbell); in esas2r_power_down_notify_firmware()
1540 u32 doorbell; in esas2r_power_down() local
1557 doorbell = in esas2r_power_down()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_device.c344 rdev->doorbell.num_doorbells = min_t(u32, rdev->doorbell.size / sizeof(u32), RADEON_MAX_DOORBELLS); in radeon_doorbell_init()
345 if (rdev->doorbell.num_doorbells == 0) in radeon_doorbell_init()
348 rdev->doorbell.ptr = ioremap(rdev->doorbell.base, rdev->doorbell.num_doorbells * sizeof(u32)); in radeon_doorbell_init()
349 if (rdev->doorbell.ptr == NULL) { in radeon_doorbell_init()
355 memset(&rdev->doorbell.used, 0, sizeof(rdev->doorbell.used)); in radeon_doorbell_init()
369 iounmap(rdev->doorbell.ptr); in radeon_doorbell_fini()
370 rdev->doorbell.ptr = NULL; in radeon_doorbell_fini()
384 unsigned long offset = find_first_zero_bit(rdev->doorbell.used, rdev->doorbell.num_doorbells); in radeon_doorbell_get()
387 *doorbell = offset; in radeon_doorbell_get()
404 if (doorbell < rdev->doorbell.num_doorbells) in radeon_doorbell_free()
[all …]
/linux-6.3-rc2/drivers/cpufreq/
A Dpcc-cpufreq.c97 static struct acpi_generic_address doorbell; variable
123 acpi_read(&doorbell_value, &doorbell); in pcc_cmd()
125 &doorbell); in pcc_cmd()
487 doorbell.space_id = reg_resource->space_id; in pcc_cpufreq_probe()
488 doorbell.bit_width = reg_resource->bit_width; in pcc_cpufreq_probe()
489 doorbell.bit_offset = reg_resource->bit_offset; in pcc_cpufreq_probe()
490 doorbell.access_width = 4; in pcc_cpufreq_probe()
491 doorbell.address = reg_resource->address; in pcc_cpufreq_probe()
495 doorbell.space_id, doorbell.bit_width, doorbell.bit_offset, in pcc_cpufreq_probe()
496 doorbell.access_width, reg_resource->address); in pcc_cpufreq_probe()
/linux-6.3-rc2/include/linux/mlx4/
A Dcq.h151 __be32 doorbell[2]; in mlx4_cq_arm() local
166 doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); in mlx4_cq_arm()
167 doorbell[1] = cpu_to_be32(ci); in mlx4_cq_arm()
169 mlx4_write64(doorbell, uar_page + MLX4_CQ_DOORBELL, doorbell_lock); in mlx4_cq_arm()
/linux-6.3-rc2/Documentation/driver-api/
A Dntb.rst7 fabric. Existing NTB hardware supports a common feature set: doorbell
146 round before writing the peer doorbell register.
154 * delay\_ms - Specify the delay between receiving a doorbell
155 interrupt event and setting the peer doorbell register for the next
158 series begins once all the doorbell bits have been shifted out of
168 NTB doorbell, and reading and writing scratchpads.
179 This file is used to read, set, and clear the local doorbell. Not
182 set (eg: `echo 's 0x0101' > db`). To clear the doorbell, write `c`
185 This file is used to read, set, and clear the local doorbell mask.
188 This file is used to read, set, and clear the peer doorbell.
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dmhi.c31 .doorbell = MHI_DB_BRST_DISABLE,
45 .doorbell = MHI_DB_BRST_DISABLE,
59 .doorbell = MHI_DB_BRST_DISABLE,
73 .doorbell = MHI_DB_BRST_DISABLE,
124 .doorbell = MHI_DB_BRST_DISABLE,
138 .doorbell = MHI_DB_BRST_DISABLE,
152 .doorbell = MHI_DB_BRST_DISABLE,
166 .doorbell = MHI_DB_BRST_DISABLE,
/linux-6.3-rc2/include/linux/mlx5/
A Dcq.h155 __be32 doorbell[2]; in mlx5_cq_arm() local
169 doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
170 doorbell[1] = cpu_to_be32(cq->cqn); in mlx5_cq_arm()
172 mlx5_write64(doorbell, uar_page + MLX5_CQ_DOORBELL); in mlx5_cq_arm()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dmhi.c26 .doorbell = MHI_DB_BRST_DISABLE,
40 .doorbell = MHI_DB_BRST_DISABLE,
54 .doorbell = MHI_DB_BRST_DISABLE,
68 .doorbell = MHI_DB_BRST_DISABLE,
119 .doorbell = MHI_DB_BRST_DISABLE,
133 .doorbell = MHI_DB_BRST_DISABLE,
147 .doorbell = MHI_DB_BRST_DISABLE,
161 .doorbell = MHI_DB_BRST_DISABLE,
/linux-6.3-rc2/arch/mips/include/asm/octeon/
A Dcvmx-pko-defs.h797 uint64_t doorbell:20; member
809 uint64_t doorbell:20;
817 uint64_t doorbell:20; member
1817 uint64_t doorbell:1; member
1821 uint64_t doorbell:1;
1830 uint64_t doorbell:1; member
1834 uint64_t doorbell:1;
1842 uint64_t doorbell:1; member
1846 uint64_t doorbell:1;
1961 uint64_t doorbell:1; member
[all …]
A Dcvmx-pko.h120 uint64_t doorbell; member
606 status->doorbell = debug9.cn38xx.doorbell; in cvmx_pko_get_port_status()
612 status->doorbell = debug8.cn50xx.doorbell; in cvmx_pko_get_port_status()
/linux-6.3-rc2/Documentation/PCI/endpoint/
A Dpci-ntb-function.rst113 CMD_CONFIGURE_DOORBELL (0x1): Command to configure doorbell. Before
155 same BAR. The initial portion of the region will have doorbell
178 in order to raise doorbell. EPF NTB can use either MSI or MSI-X to
179 ring doorbell (MSI-X support will be added later). MSI uses same
192 will ensure there is no difference while raising the doorbell.
198 for raising doorbell interrupt. This will be populated by EPF NTB
228 scratchpad, doorbell, one or more memory windows) to be modeled to achieve
335 Above diagram shows how the doorbell and memory window 1 is mapped so that
336 HOST1 can raise doorbell interrupt on HOST2 and also how HOST1 can access
337 buffers exposed by HOST2 using memory window1 (MW1). Here doorbell and
[all …]
/linux-6.3-rc2/drivers/usb/host/
A Dxhci-trace.h556 TP_PROTO(u32 slot, u32 doorbell),
557 TP_ARGS(slot, doorbell),
560 __field(u32, doorbell)
565 __entry->doorbell = doorbell;
568 xhci_decode_doorbell(__get_str(str), __entry->slot, __entry->doorbell)
573 TP_PROTO(u32 slot, u32 doorbell),
574 TP_ARGS(slot, doorbell)
578 TP_PROTO(u32 slot, u32 doorbell),
579 TP_ARGS(slot, doorbell)
/linux-6.3-rc2/drivers/irqchip/
A Dirq-loongson-pch-msi.c22 phys_addr_t doorbell; member
83 msg->address_hi = upper_32_bits(priv->doorbell); in pch_msi_compose_msi_msg()
84 msg->address_lo = lower_32_bits(priv->doorbell); in pch_msi_compose_msi_msg()
201 priv->doorbell = msg_address; in pch_msi_init()
/linux-6.3-rc2/Documentation/devicetree/bindings/powerpc/fsl/
A Dsrio-rmu.txt23 and doorbell units.
33 (msg-unit, doorbell, port-write).
54 and doorbell units.
84 and doorbell units.
114 and doorbell units.
151 doorbell-unit@400 {
/linux-6.3-rc2/include/linux/mfd/
A Dintel-m10-bmc.h93 #define rsu_prog(doorbell) FIELD_GET(DRBL_RSU_PROGRESS, doorbell) argument
190 unsigned int doorbell; member
/linux-6.3-rc2/include/trace/events/
A Dufs.h271 unsigned int tag, u32 doorbell, int transfer_len, u32 intr,
274 TP_ARGS(dev_name, str_t, tag, doorbell, transfer_len,
281 __field(u32, doorbell)
293 __entry->doorbell = doorbell;
304 __entry->tag, __entry->doorbell, __entry->transfer_len,
/linux-6.3-rc2/Documentation/devicetree/bindings/soc/bcm/
A Dbrcm,bcm2835-vchiq.yaml31 description: Physical base address and length of the doorbell register pair
35 description: Interrupt number of the doorbell interrupt
/linux-6.3-rc2/drivers/virt/
A Dfsl_hypervisor.c323 param.ret = ev_doorbell_send(param.doorbell); in ioctl_doorbell()
482 uint32_t doorbell; /* The doorbell handle */ member
489 static void fsl_hv_queue_doorbell(uint32_t doorbell) in fsl_hv_queue_doorbell() argument
499 dbq->q[dbq->tail] = doorbell; in fsl_hv_queue_doorbell()
557 fsl_hv_queue_doorbell(dbisr->doorbell); in fsl_hv_state_change_isr()
853 dbisr->doorbell = be32_to_cpup(handle); in fsl_hypervisor_init()
892 dbisr->doorbell); in fsl_hypervisor_init()

Completed in 69 milliseconds

1234567