/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | ti,omap-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/ti,omap-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 35 lines can also be routed to different processor sub-systems on DRA7xx as they 49 within a SoC. The sub-mailboxes (actual communication channels) are 56 "mbox-names" (please see Documentation/devicetree/bindings/mailbox/mailbox.txt 59 phandle to the intended sub-mailbox child node to be used for communication. 60 The equivalent "mbox-names" property value can be used to give a name to the [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/firmware/ |
H A D | ti,sci.txt | 1 Texas Instruments System Control Interface (TI-SCI) Message Protocol 2 -------------------------------------------------------------------- 16 TI-SCI controller Device Node: 19 The TI-SCI node describes the Texas Instrument's System Controller entity node. 23 relationship between the TI-SCI parent node to the child node. 26 ------------------- 27 - compatible: should be "ti,k2g-sci" 28 - mbox-names: 29 "rx" - Mailbox corresponding to receive path 30 "tx" - Mailbox corresponding to transmit path [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/firmware/ |
H A D | arm,scmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Sudeep Holla <sudeep.holla@arm.com> 31 - description: SCMI compliant firmware with mailbox transport 33 - const: arm,scmi 34 - description: SCMI compliant firmware with ARM SMC/HVC transport 36 - const: arm,scmi-smc 37 - description: SCMI compliant firmware with ARM SMC/HVC transport 38 with shmem address(4KB-page, offset) as parameters [all …]
|
H A D | arm,scpi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Sudeep Holla <sudeep.holla@arm.com> 33 - const: arm,scpi # SCPI v1.0 and above 34 - const: arm,scpi-pre-1.0 # Unversioned SCPI before v1.0 35 - items: 36 - enum: 37 - amlogic,meson-gxbb-scpi 38 - const: arm,scpi-pre-1.0 [all …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-driver.h | 3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 32 * ----- 33 * MPG600/MPG160 support by T.Adachi <tadachi@tadachi-net.com> 37 * using information provided by Jiun-Kuei Jung @ AVerMedia. 49 #include <linux/i2c-algo-bit.h> 60 #include <media/v4l2-common.h> 61 #include <media/v4l2-ioctl.h> 62 #include <media/v4l2-ctrls.h> [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 7 * fm10k_fifo_init - Initialize a message FIFO 10 * @size: maximum message size to store in FIFO, must be 2^n - 1 14 fifo->buffer = buffer; in fm10k_fifo_init() 15 fifo->size = size; in fm10k_fifo_init() 16 fifo->head = 0; in fm10k_fifo_init() 17 fifo->tail = 0; in fm10k_fifo_init() 21 * fm10k_fifo_used - Retrieve used space in FIFO 28 return fifo->tail - fifo->head; in fm10k_fifo_used() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | devx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 43 struct list_head list; /* headed in ev_file->event_list */ 60 struct list_head file_list; /* headed in ev_file-> 63 struct list_head xa_list; /* headed in devx_event->unaffiliated_list or 64 * devx_obj_event->obj_sub_list 67 struct list_head event_list; /* headed in ev_file->event_list or in 122 if (!MLX5_CAP_GEN(dev->mdev, log_max_uctx)) in mlx5_ib_devx_create() 123 return -EINVAL; in mlx5_ib_devx_create() 127 (MLX5_CAP_GEN(dev->mdev, uctx_cap) & MLX5_UCTX_CAP_RAW_TX)) in mlx5_ib_devx_create() 130 (MLX5_CAP_GEN(dev->mdev, uctx_cap) & in mlx5_ib_devx_create() [all …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_mbox.c | 4 * Copyright (C) 2017-2022 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 9 * Portions Copyright (C) 2004-2005 Christoph Hellwig * 17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 47 * lpfc_mbox_rsrc_prep - Prepare a mailbox with DMA buffer memory. 69 return -ENOMEM; in lpfc_mbox_rsrc_prep() 71 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_mbox_rsrc_prep() 72 if (!mp->virt) { in lpfc_mbox_rsrc_prep() 74 return -ENOMEM; in lpfc_mbox_rsrc_prep() 77 memset(mp->virt, 0, LPFC_BPL_SIZE); in lpfc_mbox_rsrc_prep() [all …]
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | ucan.c | 1 // SPDX-License-Identifier: GPL-2.0 48 * ------------------------ 79 /* start the can transceiver - val defines the operation mode */ 83 /* send can transceiver into low-power sleep mode */ 85 /* wake up can transceiver from low-power sleep mode */ 89 /* get piece of info from the can transceiver - subcmd defines what 93 /* clear or disable hardware filter - subcmd defines which of the two */ 97 /* recover from bus-off state */ 137 __le16 mode; /* OR-ing any of UCAN_MODE_* */ 163 __le16 rxmboxes; /* Number of receive Mailboxes */ [all …]
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge_mpi.c | 1 // SPDX-License-Identifier: GPL-2.0 8 /* Un-pause the RISC */ in qlge_unpause_mpi_risc() 11 return -EIO; in qlge_unpause_mpi_risc() 24 for (count = UDELAY_COUNT; count; count--) { in qlge_pause_mpi_risc() 30 return (count == 0) ? -ETIMEDOUT : 0; in qlge_pause_mpi_risc() 40 for (count = UDELAY_COUNT; count; count--) { in qlge_hard_reset_mpi_risc() 48 return (count == 0) ? -ETIMEDOUT : 0; in qlge_hard_reset_mpi_risc() 107 if (qdev->func < qdev->alt_func) in qlge_own_firmware() 116 if (!(temp & (1 << (8 + qdev->alt_func)))) in qlge_own_firmware() 128 return -EBUSY; in qlge_get_mb_sts() [all …]
|
/openbmc/linux/drivers/media/platform/allegro-dvt/ |
H A D | allegro-core.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/mfd/syscon/xlnx-vcu.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-event.h> 29 #include <media/v4l2-ioctl.h> 30 #include <media/v4l2-mem2mem.h> 31 #include <media/videobuf2-dma-contig.h> 32 #include <media/videobuf2-v4l2.h> 34 #include "allegro-mail.h" [all …]
|
/openbmc/linux/drivers/usb/atm/ |
H A D | ueagle-atm.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 6 * Copyright (c) 2005-2007 Matthieu Castet <castet.matthieu@free.fr> 7 * Copyright (c) 2005-2007 Stanislaw Gruszka <stf_xl@wp.pl> 41 dev_dbg(&(usb_dev)->dev, \ 42 "[ueagle-atm dbg] %s: " format, \ 49 dev_dbg(&(usb_dev)->dev, \ 50 "[ueagle-atm vdbg] " format, ##args); \ 60 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args) 63 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args) 66 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##args) [all …]
|
/openbmc/linux/include/linux/ |
H A D | pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 60 * The PCI interface treats multi-function devices as independent 68 * In the interest of not exposing interfaces to user-space unnecessarily, 69 * the following kernel-only defines are being added here. 80 unsigned char number; /* PCI_SLOT(pci_dev->devfn) */ 86 return kobject_name(&slot->kobj); in pci_slot_name() 97 /* #0-5: standard PCI resources */ 99 PCI_STD_RESOURCE_END = PCI_STD_RESOURCES + PCI_STD_NUM_BARS - 1, 104 /* Device-specific resources */ [all …]
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | megaraid_mbox.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2003-2004 LSI Logic Corporation. 20 * --- ------------ --- --- ---- ---- 37 * LSI MegaRAID SCSI 320-0 1000 1960 1000 A520 38 * LSI MegaRAID SCSI 320-1 1000 1960 1000 0520 39 * LSI MegaRAID SCSI 320-2 1000 1960 1000 0518 40 * LSI MegaRAID SCSI 320-0X 1000 0407 1000 0530 41 * LSI MegaRAID SCSI 320-2X 1000 0407 1000 0532 42 * LSI MegaRAID SCSI 320-4X 1000 0407 1000 0531 43 * LSI MegaRAID SCSI 320-1E 1000 0408 1000 0001 [all …]
|
/openbmc/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/dma-mapping.h> 49 #define QM_SQ_TAIL_IDX(sqc) ((le16_to_cpu((sqc)->w11) >> 6) & 0x1) 59 #define QM_CQE_PHASE(cqe) (le16_to_cpu((cqe)->w7) & 0x1) 61 #define QM_CQ_TAIL_IDX(cqc) ((le16_to_cpu((cqc)->w11) >> 6) & 0x1) 67 #define QM_EQE_PHASE(eqe) ((le32_to_cpu((eqe)->dw0) >> 16) & 0x1) 70 #define QM_AEQE_PHASE(aeqe) ((le32_to_cpu((aeqe)->dw0) >> 16) & 0x1) 240 ((((u32)cq_depth) - 1) | ((cqe_sz) << QM_CQ_CQE_SIZE_SHIFT)) 254 ((((u32)sq_depth) - 1) | ((u32)ilog2(sqe_sz) << QM_SQ_SQE_SIZE_SHIFT)) 257 (qc)->head = 0; \ [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 93 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 95 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 97 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 123 * and dev->tx_timeout() should be called to fix the problem [all …]
|