/linux/drivers/mailbox/ |
A D | .built-in.a.cmd | 1 …mailbox/built-in.a := echo >/dev/null; rm -f drivers/mailbox/built-in.a; /usr/bin/ccache /home/tes…
|
A D | Makefile | 4 obj-$(CONFIG_MAILBOX) += mailbox.o 6 obj-$(CONFIG_MAILBOX_TEST) += mailbox-test.o 12 obj-$(CONFIG_IMX_MBOX) += imx-mailbox.o 20 obj-$(CONFIG_OMAP2PLUS_MBOX) += omap-mailbox.o 26 obj-$(CONFIG_ALTERA_MBOX) += mailbox-altera.o 28 obj-$(CONFIG_BCM2835_MBOX) += bcm2835-mailbox.o 30 obj-$(CONFIG_STI_MBOX) += mailbox-sti.o 36 obj-$(CONFIG_HI3660_MBOX) += hi3660-mailbox.o 38 obj-$(CONFIG_HI6220_MBOX) += hi6220-mailbox.o 40 obj-$(CONFIG_BCM_PDC_MBOX) += bcm-pdc-mailbox.o [all …]
|
A D | built-in.a | 3 mailbox.o/ 6 imx-mailbox.o/ 9 bcm2835-mailbox.o/ 11 hi3660-mailbox.o/ 12 hi6220-mailbox.o/ 13 qcom-apcs-ipc-mailbox.o/ 15 zynqmp-ipi-mailbox.o/ 18 apple-mailbox.o/
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | fw_qos.c | 94 if (IS_ERR(mailbox)) in mlx4_SET_PORT_PRIO2TC() 95 return PTR_ERR(mailbox); in mlx4_SET_PORT_PRIO2TC() 97 context = mailbox->buf; in mlx4_SET_PORT_PRIO2TC() 121 if (IS_ERR(mailbox)) in mlx4_SET_PORT_SCHEDULER() 124 context = mailbox->buf; in mlx4_SET_PORT_SCHEDULER() 168 if (IS_ERR(mailbox)) in mlx4_ALLOCATE_VPP_get() 202 if (IS_ERR(mailbox)) in mlx4_ALLOCATE_VPP_set() 230 if (IS_ERR(mailbox)) in mlx4_SET_VPORT_QOS_get() 233 ctx = mailbox->buf; in mlx4_SET_VPORT_QOS_get() 267 if (IS_ERR(mailbox)) in mlx4_SET_VPORT_QOS_set() [all …]
|
A D | srq.c | 75 return mlx4_cmd_box(dev, 0, mailbox ? mailbox->dma : 0, srq_num, in mlx4_HW2SW_SRQ() 166 struct mlx4_cmd_mailbox *mailbox; in mlx4_srq_alloc() local 182 if (IS_ERR(mailbox)) { in mlx4_srq_alloc() 183 err = PTR_ERR(mailbox); in mlx4_srq_alloc() 187 srq_context = mailbox->buf; in mlx4_srq_alloc() 202 mlx4_free_cmd_mailbox(dev, mailbox); in mlx4_srq_alloc() 251 struct mlx4_cmd_mailbox *mailbox; in mlx4_srq_query() local 256 if (IS_ERR(mailbox)) in mlx4_srq_query() 257 return PTR_ERR(mailbox); in mlx4_srq_query() 259 srq_context = mailbox->buf; in mlx4_srq_query() [all …]
|
A D | mcg.c | 195 if (IS_ERR(mailbox)) { in new_steering_entry() 199 mgm = mailbox->buf; in new_steering_entry() 344 if (IS_ERR(mailbox)) in promisc_steering_entry() 346 mgm = mailbox->buf; in promisc_steering_entry() 458 mgm = mailbox->buf; in add_promisc_qp() 588 mgm = mailbox->buf; in remove_promisc_qp() 621 mailbox); in remove_promisc_qp() 708 if (IS_ERR(mailbox)) in find_entry() 710 mgid = mailbox->buf; in find_entry() 1122 mgm = mailbox->buf; in mlx4_qp_attach_common() [all …]
|
A D | fw.c | 190 if (IS_ERR(mailbox)) in mlx4_MOD_STAT_CFG() 192 inbox = mailbox->buf; in mlx4_MOD_STAT_CFG() 222 if (IS_ERR(mailbox)) in mlx4_QUERY_FUNC() 224 outbox = mailbox->buf; in mlx4_QUERY_FUNC() 556 if (IS_ERR(mailbox)) in mlx4_QUERY_FUNC_CAP() 834 if (IS_ERR(mailbox)) in mlx4_QUERY_DEV_CAP() 1195 if (IS_ERR(mailbox)) in mlx4_QUERY_PORT() 1496 if (IS_ERR(mailbox)) in mlx4_get_slave_pkey_gid_tbl_len() 1531 if (IS_ERR(mailbox)) in mlx4_map_cmd() 1649 if (IS_ERR(mailbox)) in mlx4_QUERY_FW() [all …]
|
A D | cq.c | 164 return mlx4_cmd_box(dev, 0, mailbox ? mailbox->dma : 0, in mlx4_HW2SW_CQ() 172 struct mlx4_cmd_mailbox *mailbox; in mlx4_cq_modify() local 177 if (IS_ERR(mailbox)) in mlx4_cq_modify() 178 return PTR_ERR(mailbox); in mlx4_cq_modify() 180 cq_context = mailbox->buf; in mlx4_cq_modify() 200 if (IS_ERR(mailbox)) in mlx4_cq_resize() 201 return PTR_ERR(mailbox); in mlx4_cq_resize() 203 cq_context = mailbox->buf; in mlx4_cq_resize() 371 if (IS_ERR(mailbox)) { in mlx4_cq_alloc() 372 err = PTR_ERR(mailbox); in mlx4_cq_alloc() [all …]
|
A D | mr.c | 287 return mlx4_cmd_box(dev, 0, mailbox ? mailbox->dma : 0, mpt_index, in mlx4_HW2SW_MPT() 318 if (IS_ERR(mailbox)) in mlx4_mr_hw_get_mpt() 319 return PTR_ERR(mailbox); in mlx4_mr_hw_get_mpt() 638 if (IS_ERR(mailbox)) { in mlx4_mr_enable() 639 err = PTR_ERR(mailbox); in mlx4_mr_enable() 642 mpt_entry = mailbox->buf; in mlx4_mr_enable() 760 if (IS_ERR(mailbox)) in mlx4_write_mtt() 762 inbox = mailbox->buf; in mlx4_write_mtt() 849 if (IS_ERR(mailbox)) { in mlx4_mw_enable() 850 err = PTR_ERR(mailbox); in mlx4_mw_enable() [all …]
|
A D | port.c | 135 if (IS_ERR(mailbox)) in mlx4_set_port_mac_table() 544 if (IS_ERR(mailbox)) in mlx4_set_port_vlan_table() 1229 if (IS_ERR(mailbox)) in mlx4_reset_roce_gids() 1577 if (IS_ERR(mailbox)) in mlx4_SET_PORT() 1617 if (IS_ERR(mailbox)) in mlx4_SET_PORT_general() 1656 if (IS_ERR(mailbox)) in mlx4_SET_PORT_qpn_calc() 1688 if (IS_ERR(mailbox)) in mlx4_SET_PORT_user_mtu() 1712 if (IS_ERR(mailbox)) in mlx4_SET_PORT_user_mac() 1736 if (IS_ERR(mailbox)) in mlx4_SET_PORT_fcs_check() 1777 if (IS_ERR(mailbox)) in mlx4_SET_PORT_VXLAN() [all …]
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_cmd.c | 614 mailbox = kmalloc(sizeof *mailbox, gfp_mask); in mthca_alloc_mailbox() 615 if (!mailbox) in mthca_alloc_mailbox() 618 mailbox->buf = dma_pool_alloc(dev->cmd.pool, gfp_mask, &mailbox->dma); in mthca_alloc_mailbox() 620 kfree(mailbox); in mthca_alloc_mailbox() 624 return mailbox; in mthca_alloc_mailbox() 629 if (!mailbox) in mthca_free_mailbox() 632 dma_pool_free(dev->cmd.pool, mailbox->buf, mailbox->dma); in mthca_free_mailbox() 633 kfree(mailbox); in mthca_free_mailbox() 1612 return mthca_cmd_box(dev, 0, mailbox ? mailbox->dma : 0, mpt_index, in mthca_HW2SW_MPT() 1779 if (!mailbox) { in mthca_MODIFY_QP() [all …]
|
A D | mthca_mcg.c | 67 struct mthca_mailbox *mailbox; in find_mgm() local 73 if (IS_ERR(mailbox)) in find_mgm() 75 mgid = mailbox->buf; in find_mgm() 123 struct mthca_mailbox *mailbox; in mthca_multicast_attach() local 132 if (IS_ERR(mailbox)) in mthca_multicast_attach() 133 return PTR_ERR(mailbox); in mthca_multicast_attach() 134 mgm = mailbox->buf; in mthca_multicast_attach() 225 if (IS_ERR(mailbox)) in mthca_multicast_detach() 226 return PTR_ERR(mailbox); in mthca_multicast_detach() 227 mgm = mailbox->buf; in mthca_multicast_detach() [all …]
|
A D | mthca_cmd.h | 283 int mthca_SW2HW_MPT(struct mthca_dev *dev, struct mthca_mailbox *mailbox, 285 int mthca_HW2SW_MPT(struct mthca_dev *dev, struct mthca_mailbox *mailbox, 292 int mthca_SW2HW_EQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, 294 int mthca_HW2SW_EQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, 296 int mthca_SW2HW_CQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, 298 int mthca_HW2SW_CQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, 306 struct mthca_mailbox *mailbox); 310 struct mthca_mailbox *mailbox, u32 optmask); 312 struct mthca_mailbox *mailbox); 318 struct mthca_mailbox *mailbox); [all …]
|
/linux/arch/arm64/kernel/ |
A D | acpi_parking_protocol.c | 21 struct parking_protocol_mailbox __iomem *mailbox; member 62 struct parking_protocol_mailbox __iomem *mailbox; in acpi_parking_protocol_cpu_boot() local 76 mailbox = ioremap(cpu_entry->mailbox_addr, sizeof(*mailbox)); in acpi_parking_protocol_cpu_boot() 77 if (!mailbox) in acpi_parking_protocol_cpu_boot() 80 cpu_id = readl_relaxed(&mailbox->cpu_id); in acpi_parking_protocol_cpu_boot() 86 iounmap(mailbox); in acpi_parking_protocol_cpu_boot() 94 cpu_entry->mailbox = mailbox; in acpi_parking_protocol_cpu_boot() 103 &mailbox->entry_point); in acpi_parking_protocol_cpu_boot() 104 writel_relaxed(cpu_entry->gic_cpu_id, &mailbox->cpu_id); in acpi_parking_protocol_cpu_boot() 115 struct parking_protocol_mailbox __iomem *mailbox = cpu_entry->mailbox; in acpi_parking_protocol_cpu_postboot() local [all …]
|
/linux/Documentation/devicetree/bindings/mailbox/ |
A D | ti,omap-mailbox.yaml | 4 $id: http://devicetree.org/schemas/mailbox/ti,omap-mailbox.yaml# 56 "mbox-names" (please see Documentation/devicetree/bindings/mailbox/mailbox.txt 86 omap-sub-mailbox: 182 - ti,am654-mailbox 191 - ti,am654-mailbox 192 - ti,am64-mailbox 207 - ti,omap4-mailbox 222 - ti,omap3-mailbox 237 - ti,omap2-mailbox 254 mailbox: mailbox@4a0f4000 { [all …]
|
A D | mailbox.txt | 4 assign appropriate mailbox channel to client drivers. 9 - #mbox-cells: Must be at least 1. Number of cells in a mailbox 13 mailbox: mailbox { 22 - mboxes: List of phandle and mailbox channel specifiers. 25 - mbox-names: List of identifier strings for each mailbox channel. 27 users of these mailboxes for IPC, one for each mailbox. This shared 29 communication between the mailbox client and the remote. 36 mboxes = <&mailbox 0 &mailbox 1>; 57 mboxes = <&mailbox 0>;
|
A D | altera-mailbox.txt | 5 - compatible : "altr,mailbox-1.0". 6 - reg : physical base address of the mailbox and length of 8 - #mbox-cells: Common mailbox binding property to identify the number 9 of cells required for the mailbox specifier. Should be 1. 16 mbox_tx: mailbox@100 { 17 compatible = "altr,mailbox-1.0"; 24 mbox_rx: mailbox@200 { 25 compatible = "altr,mailbox-1.0"; 35 Documentation/devicetree/bindings/mailbox/mailbox.txt for details). Each value 36 of the mboxes property should contain a phandle to the mailbox controller
|
A D | xlnx,zynqmp-ipi-mailbox.txt | 4 The Xilinx IPI(Inter Processor Interrupt) mailbox controller is to manage 35 - compatible: Shall be: "xlnx,zynqmp-ipi-mailbox" 43 Internal IPI mailbox node: 73 - mboxes: Standard property to specify a mailbox 74 (See ./mailbox.txt) 75 - mbox-names: List of identifier strings for each mailbox 81 compatible = "xlnx,zynqmp-ipi-mailbox"; 89 /* APU<->RPU0 IPI mailbox controller */ 90 ipi_mailbox_rpu0: mailbox@ff990400 { 102 /* APU<->RPU1 IPI mailbox controller */ [all …]
|
A D | hisilicon,hi6220-mailbox.txt | 4 Hisilicon Hi6220 mailbox supports up to 32 channels. Each channel 15 - reg: Contains the mailbox register address range (base 19 - #mbox-cells: Common mailbox binding property to identify the number 20 of cells required for the mailbox specifier. Must be 3. 22 phandle: Label name of mailbox controller 27 mailbox driver uses it to acknowledge interrupt 28 - interrupts: Contains the interrupt information for the mailbox 34 - hi6220,mbox-tx-noirq: Property of MCU firmware's feature, so mailbox driver 42 mailbox: mailbox@f7510000 { 58 - mboxes: Standard property to specify a Mailbox (See ./mailbox.txt) [all …]
|
A D | xgene-slimpro-mailbox.txt | 1 The APM X-Gene SLIMpro mailbox is used to communicate messages between 6 There are total of 8 interrupts in this mailbox. Each used for an individual 7 door bell (or mailbox channel). 12 - reg: Contains the mailbox register address range. 15 the interrupt for mailbox channel 0 and interrupt 1 for 16 mailbox channel 1 and so likewise for the reminder. 18 - #mbox-cells: only one to specify the mailbox channel number. 23 mailbox: mailbox@10540000 {
|
A D | microchip,polarfire-soc-mailbox.yaml | 4 $id: "http://devicetree.org/schemas/mailbox/microchip,polarfire-soc-mailbox.yaml#" 7 title: Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) mailbox controller 14 const: microchip,polarfire-soc-mailbox 18 - description: mailbox data registers 19 - description: mailbox interrupt registers 40 mbox: mailbox@37020000 { 41 compatible = "microchip,polarfire-soc-mailbox";
|
A D | sprd-mailbox.yaml | 4 $id: "http://devicetree.org/schemas/mailbox/sprd-mailbox.yaml#" 7 title: Spreadtrum mailbox controller bindings 17 - sprd,sc9860-mailbox 18 - sprd,sc9863a-mailbox 60 mailbox: mailbox@400a0000 { 61 compatible = "sprd,sc9860-mailbox";
|
A D | rockchip-mailbox.txt | 1 Rockchip mailbox 3 The Rockchip mailbox is used by the Rockchip CPU cores to communicate 6 Refer to ./mailbox.txt for generic information about mailbox device-tree 17 - #mbox-cells: Common mailbox binding property to identify the number 18 of cells required for the mailbox specifier. Should be 1 25 compatible = "rockchip,rk3368-mailbox";
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_hw_v2_dfx.c | 13 struct hns_roce_cmd_mailbox *mailbox; in hns_roce_v2_query_cqc_info() local 16 mailbox = hns_roce_alloc_cmd_mailbox(hr_dev); in hns_roce_v2_query_cqc_info() 17 if (IS_ERR(mailbox)) in hns_roce_v2_query_cqc_info() 18 return PTR_ERR(mailbox); in hns_roce_v2_query_cqc_info() 20 cq_context = mailbox->buf; in hns_roce_v2_query_cqc_info() 21 ret = hns_roce_cmd_mbox(hr_dev, 0, mailbox->dma, cqn, 0, in hns_roce_v2_query_cqc_info() 32 hns_roce_free_cmd_mailbox(hr_dev, mailbox); in hns_roce_v2_query_cqc_info()
|
A D | hns_roce_cmd.c | 248 struct hns_roce_cmd_mailbox *mailbox; in hns_roce_alloc_cmd_mailbox() local 250 mailbox = kmalloc(sizeof(*mailbox), GFP_KERNEL); in hns_roce_alloc_cmd_mailbox() 251 if (!mailbox) in hns_roce_alloc_cmd_mailbox() 254 mailbox->buf = in hns_roce_alloc_cmd_mailbox() 256 if (!mailbox->buf) { in hns_roce_alloc_cmd_mailbox() 257 kfree(mailbox); in hns_roce_alloc_cmd_mailbox() 261 return mailbox; in hns_roce_alloc_cmd_mailbox() 265 struct hns_roce_cmd_mailbox *mailbox) in hns_roce_free_cmd_mailbox() argument 267 if (!mailbox) in hns_roce_free_cmd_mailbox() 270 dma_pool_free(hr_dev->cmd.pool, mailbox->buf, mailbox->dma); in hns_roce_free_cmd_mailbox() [all …]
|