/openbmc/linux/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_manager.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 #define IS_MASTER_DSI_LINK(id) (msm_dsim_glb.master_dsi_link_id == id) argument 37 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi() argument 39 return msm_dsim_glb.dsi[id]; in dsi_mgr_get_dsi() 42 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi() argument 44 return msm_dsim_glb.dsi[(id + 1) % DSI_MAX]; in dsi_mgr_get_other_dsi() 47 static int dsi_mgr_parse_of(struct device_node *np, int id) in dsi_mgr_parse_of() argument 52 * sync-mode, and only one node specifies master in case of bonded mode. in dsi_mgr_parse_of() 54 if (!msm_dsim->is_bonded_dsi) in dsi_mgr_parse_of() 55 msm_dsim->is_bonded_dsi = of_property_read_bool(np, "qcom,dual-dsi-mode"); in dsi_mgr_parse_of() [all …]
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | intr_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2010-2013, NVIDIA Corporation. 18 struct host1x *host = dev_id; in syncpt_thresh_isr() local 20 unsigned int i, id; in syncpt_thresh_isr() local 22 for (i = 0; i < DIV_ROUND_UP(host->info->nb_pts, 32); i++) { in syncpt_thresh_isr() 23 reg = host1x_sync_readl(host, in syncpt_thresh_isr() 26 host1x_sync_writel(host, reg, in syncpt_thresh_isr() 28 host1x_sync_writel(host, reg, in syncpt_thresh_isr() 31 for_each_set_bit(id, ®, 32) in syncpt_thresh_isr() 32 host1x_intr_handle_interrupt(host, i * 32 + id); in syncpt_thresh_isr() [all …]
|
H A D | syncpt_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2010-2013, NVIDIA Corporation. 19 struct host1x *host = sp->host; in syncpt_restore() local 21 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id)); in syncpt_restore() 30 struct host1x *host = sp->host; in syncpt_restore_wait_base() local 32 host1x_sync_writel(host, sp->base_val, in syncpt_restore_wait_base() 33 HOST1X_SYNC_SYNCPT_BASE(sp->id)); in syncpt_restore_wait_base() 43 struct host1x *host = sp->host; in syncpt_read_wait_base() local 45 sp->base_val = in syncpt_read_wait_base() 46 host1x_sync_readl(host, HOST1X_SYNC_SYNCPT_BASE(sp->id)); in syncpt_read_wait_base() [all …]
|
/openbmc/linux/drivers/memstick/core/ |
H A D | memstick.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 struct memstick_device_id *id) in memstick_dev_match() argument 31 if (id->match_flags & MEMSTICK_MATCH_ALL) { in memstick_dev_match() 32 if ((id->type == card->id.type) in memstick_dev_match() 33 && (id->category == card->id.category) in memstick_dev_match() 34 && (id->class == card->id.class)) in memstick_dev_match() 48 struct memstick_device_id *ids = ms_drv->id_table; in memstick_bus_match() 51 while (ids->match_flags) { in memstick_bus_match() 65 if (add_uevent_var(env, "MEMSTICK_TYPE=%02X", card->id.type)) in memstick_uevent() 66 return -ENOMEM; in memstick_uevent() [all …]
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | syncpt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2010-2015, NVIDIA Corporation. 10 #include <linux/dma-fence.h> 24 host1x_syncpt_base_request(struct host1x *host) in host1x_syncpt_base_request() argument 26 struct host1x_syncpt_base *bases = host->bases; in host1x_syncpt_base_request() 29 for (i = 0; i < host->info->nb_bases; i++) in host1x_syncpt_base_request() 33 if (i >= host->info->nb_bases) in host1x_syncpt_base_request() 43 base->requested = false; in host1x_syncpt_base_free() 47 * host1x_syncpt_alloc() - allocate a syncpoint 48 * @host: host1x device data [all …]
|
H A D | intr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2010-2021, NVIDIA Corporation. 19 list_for_each_entry_reverse(fence_in_list, &list->list, list) { in host1x_intr_add_fence_to_list() 20 if ((s32)(fence_in_list->threshold - fence->threshold) <= 0) { in host1x_intr_add_fence_to_list() 22 list_add(&fence->list, &fence_in_list->list); in host1x_intr_add_fence_to_list() 28 list_add(&fence->list, &list->list); in host1x_intr_add_fence_to_list() 31 static void host1x_intr_update_hw_state(struct host1x *host, struct host1x_syncpt *sp) in host1x_intr_update_hw_state() argument 35 if (!list_empty(&sp->fences.list)) { in host1x_intr_update_hw_state() 36 fence = list_first_entry(&sp->fences.list, struct host1x_syncpt_fence, list); in host1x_intr_update_hw_state() 38 host1x_hw_intr_set_syncpt_threshold(host, sp->id, fence->threshold); in host1x_intr_update_hw_state() [all …]
|
H A D | dev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2012-2015, NVIDIA Corporation. 32 int (*init)(struct host1x_channel *channel, struct host1x *host, 33 unsigned int id); 55 void (*show_channel_cdma)(struct host1x *host, 58 void (*show_channel_fifo)(struct host1x *host, 61 void (*show_mlocks)(struct host1x *host, struct output *output); 73 void (*enable_protection)(struct host1x *host); 77 int (*init_host_sync)(struct host1x *host, u32 cpm); 79 struct host1x *host, unsigned int id, u32 thresh); [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 207.out | 3 …: "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"pa… 5 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 17 === Test host-key-check options === 19 --- no host key checking -- 21 …-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-chec… 23 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 30 --- known_hosts key checking -- 32 …-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-chec… 34 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 41 --- explicit md5 key checking -- [all …]
|
/openbmc/qemu/docs/ |
H A D | qdev-device-use.txt | 1 = How to convert to -device & friends = 7 -device parameter bus. 10 where this address can be configured, devices provide a bus-specific 16 SCSI scsi-id %u 19 virtio-serial-bus nr %u 20 ccid-bus slot %u 23 Example: device i440FX-pcihost is on the root bus, and provides a PCI 24 bus named pci.0. To put a FOO device into its slot 4, use -device 25 FOO,bus=/i440FX-pcihost/pci.0,addr=4. The abbreviated form bus=pci.0 30 A QEMU block device (drive) has a host and a guest part. [all …]
|
H A D | pci_expander_bridge.txt | 6 PXB is a "light-weight" host bridge in the same PCI domain 7 as the main host bridge whose purpose is to enable 8 the main host bridge to support multiple PCI root buses. 12 As opposed to PCI-2-PCI bridge's secondary bus, PXB's bus 14 (different from the main host bridge) allowing the guest OS 15 to recognize the proximity of a pass-through device to 22 [qemu-bin + storage options] 23 -m 2G 24 -object memory-backend-ram,size=1024M,policy=bind,host-nodes=0,id=ram-node0 -numa node,nodeid=0,cpu… 25 -object memory-backend-ram,size=1024M,policy=bind,host-nodes=1,id=ram-node1 -numa node,nodeid=1,cpu… [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | host_notifier.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 18 #include <phosphor-logging/lg2.hpp> 29 _retryTimer(_hostIface->getEvent(), in HostNotifier() 32 _hostIface->getEvent(), in HostNotifier() 34 _hostUpTimer(_hostIface->getEvent(), in HostNotifier() 53 // Subscribe to be told about host state changes. in HostNotifier() 59 _hostIface->setResponseFunction( in HostNotifier() 63 // Start sending logs if the host is running in HostNotifier() 66 lg2::debug("Host is already up at startup"); in HostNotifier() 67 _hostUpTimer.restartOnce(_hostIface->getHostUpDelay()); in HostNotifier() [all …]
|
H A D | host_notifier.hpp | 19 * This class handles notifying the host firmware of new PELs. 24 * Some PELs do not need to be sent - see enqueueRequired() and 29 * 1) Send the ID and size of the new PEL to the host. 30 * - The command response is asynchronous. 32 * 2) The host reads the raw PEL data (outside of this class). 34 * 3) The host sends the PEL to the OS, and then sends an AckPEL 35 * PLDM command to the PLDM daemon, who makes a D-Bus method 39 * host is rebooted before the ack comes it will. 41 * The host firmware has a finite amount of space to store PELs before 44 * PLDM daemon to call HostReject D-Bus method on this daemon instead [all …]
|
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/oem/ibm/ |
H A D | pldm_oem_cmds.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 27 #include <phosphor-logging/elog-errors.hpp> 28 #include <phosphor-logging/lg2.hpp> 37 namespace host namespace 40 * @brief Initiate offload of the dump with provided id 42 * @param[in] id - The Dump Source ID. 45 void requestOffload(uint32_t id) in requestOffload() argument 47 pldm::requestOffload(id); in requestOffload() 50 void requestDelete(uint32_t id, uint32_t dumpType) in requestDelete() argument 52 pldm::requestDelete(id, dumpType); in requestDelete() [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | host_state_manager.cpp | 8 #include <systemd/sd-bus.h> 15 #include <phosphor-logging/elog-errors.hpp> 16 #include <phosphor-logging/lg2.hpp> 21 #include <xyz/openbmc_project/State/Host/error.hpp> 32 CEREAL_CLASS_VERSION(phosphor::state::manager::Host, CLASS_VERSION) 63 void Host::determineInitialState() in determineInitialState() 65 if (stateActive(getTarget(server::Host::HostState::Running)) || in determineInitialState() 66 isHostRunning(id)) in determineInitialState() 68 info("Initial Host State will be Running"); in determineInitialState() 69 server::Host::currentHostState(HostState::Running, true); in determineInitialState() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | mvebu-gated-clock.txt | 5 should specify the desired clock by having the clock ID in its 6 "clocks" phandle cell. The clock ID is directly mapped to the 11 ID Clock Peripheral 12 ----------------------------------- 20 15 sata0 SATA Host 0 21 17 sdio SDHCI Host 25 30 sata1 SATA Host 0 28 ID Clock Peripheral 29 ----------------------------------- 39 16 usb3 USB3 Host [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | usb.rst | 2 ------------- 5 plug virtual USB devices or real host USB devices (only works with 6 certain host operating systems). QEMU will automatically create and 15 QEMU has XHCI host adapter support. The XHCI hardware design is much 16 more virtualization-friendly when compared to EHCI and UHCI, thus XHCI 21 |qemu_system| -device qemu-xhci 46 ``-usb`` switch. QEMU will create the UHCI controller as function of 47 the PIIX3 chipset. The USB 1.1 bus will carry the name ``usb-bus.0``. 49 You can use the standard ``-device`` switch to add a EHCI controller to 50 your virtual machine. It is strongly recommended to specify an ID for [all …]
|
H A D | cxl.rst | 3 From the view of a single host, CXL is an interconnect standard that 4 targets accelerators and memory devices attached to a CXL host. 6 software running on a QEMU emulated host or to the internals of 11 by considering only a single host and a static configuration. 14 with CXL Host Bridges, which have CXL Root Ports which may be directly 26 - Configuration space access 27 - BAR mapped memory accesses used for registers and mailboxes. 28 - MSI/MSI-X 29 - AER 30 - DOE mailboxes [all …]
|
/openbmc/docs/designs/ |
H A D | dump-manager.md | 11 During a crash or a host failure, an event monitor mechanism generates an error 20 - **System Dump**: A dump of the Host's main memory and processor registers. 22 - **Memory Preserving Reboot(MPR)**: A method of reboot with preserving the 24 - **PLDM**: An interface and data model to access low-level platform inventory, 26 [ReadMore](https://github.com/openbmc/docs/blob/master/designs/pldm-stack.md) 27 - **Machine Check Exception**: A severe error inside a processor core that 29 - **BMCWeb**: An embedded webserver for OpenBMC. 52 A system dump is a collection of debugging information from the host, this may 53 include host memory and/or register data. This dump can be initiated by BMC and 55 host memory and offloaded through the BMC or get collected directly to BMC based [all …]
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | acornscsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * 26-Sep-1997 RMK Re-jigged to use the queue module. 15 * Re-coded state machine to be based on driver 19 * 05-Oct-1997 RMK Implemented writing to SCSI devices. 20 * 06-Oct-1997 RMK Corrected small (non-serious) bug with the connect/ 22 * 12-Oct-1997 RMK Added catch for re-entering interrupt routine. 23 * 15-Oct-1997 RMK Improved handling of commands. 24 * 27-Jun-1998 RMK Changed asm/delay.h to linux/delay.h. 25 * 13-Dec-1998 RMK Better abort code and command handling. Extra state 45 * SCSI-II Tagged queue support. [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | check-interrupt | 4 # shellcheck source=meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/powe… 5 source /usr/libexec/phosphor-state-manager/power-cmd 6 # shellcheck source=meta-facebook/meta-yosemite4/recipes-yosemite4/plat-tool/files/yosemite4-common… 7 source /usr/libexec/yosemite4-common-functions 9 GPIOCHIP_IO_EXP_SLOT_PWR_CTRL=$(basename "/sys/bus/i2c/devices/$SPIDER_BOARD_IO_EXP_BUS_NUM-00$IO_E… 23 id=$1 24 service_path="xyz.openbmc_project.State.Host${id}" 25 object_path="/xyz/openbmc_project/state/host${id}" 26 interface_path="xyz.openbmc_project.State.Host" 28 …status=$(busctl get-property "$service_path" "$object_path" $interface_path $property | cut -d"." … [all …]
|
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/ |
H A D | system_dump_entry.cpp | 7 #include <phosphor-logging/elog-errors.hpp> 8 #include <phosphor-logging/lg2.hpp> 17 // TODO #ibm-openbmc/issues/2859 18 // Revisit host transport impelementation 19 // This value is used to identify the dump in the transport layer to host, 25 lg2::info("System dump offload request id: {ID} uri: {URI} " in initiateOffload() 27 "ID", id, "URI", uri, "SOURCE_DUMP_ID", sourceDumpId()); in initiateOffload() 29 phosphor::dump::host::requestOffload(sourceDumpId()); in initiateOffload() 35 auto dumpId = id; in delete_() 41 lg2::error("Dump offload is in progress id: {DUMP_ID} " in delete_() [all …]
|
H A D | resource_dump_entry.cpp | 7 #include <phosphor-logging/elog-errors.hpp> 8 #include <phosphor-logging/lg2.hpp> 17 // TODO #ibm-openbmc/issues/2859 18 // Revisit host transport impelementation 19 // This value is used to identify the dump in the transport layer to host, 28 lg2::info("Resource dump offload request id: {ID} uri: {URI} " in initiateOffload() 30 "ID", id, "URI", uri, "SOURCE_DUMP_ID", sourceDumpId()); in initiateOffload() 35 Reason("This dump can be offloaded only when the host is up")); in initiateOffload() 39 phosphor::dump::host::requestOffload(sourceDumpId()); in initiateOffload() 45 auto dumpId = id; in delete_() [all …]
|
/openbmc/qemu/ |
H A D | qemu-options.hx | 14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL) 16 ``-h`` 21 "-version display version information and exit\n", QEMU_ARCH_ALL) 23 ``-version`` 28 "-machine [type=]name[,prop[=value][,...]]\n" 29 " selects emulated machine ('-machine help' for list)\n" 33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n" 34 " mem-merge=on|off controls memory merge support (default: on)\n" 35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n" 36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n" [all …]
|
/openbmc/openbmc-test-automation/openpower/pel/ |
H A D | test_bmc_pel.robot | 47 ${pel_records}= Peltool -l 49 # Example output from 'Peltool -l': 62 ${id}= Get From List ${ids} 0 66 Valid Value pel_records['${id}']['${field}'] ['${PEL_DETAILS['${field}']}'] 69 Valid Value pel_records['${id}']['PLID'] ['${id}'] 72 Should Match Regexp ${pel_records['${id}']['CompID']} [a-zA-Z0- [all...] |
/openbmc/linux/drivers/scsi/ |
H A D | scsi_proc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * (c) 1995 Michael Neuffer neuffer@goofy.zdv.uni-mainz.de 14 * Andreas Heilwagen <crashcar@informatik.uni-koblenz.de> 51 * struct scsi_proc_entry - (host template, SCSI proc dir) association 53 * @sht: SCSI host template associated with the procfs directory. 54 * @proc_dir: procfs directory associated with the SCSI host template. 68 ssize_t ret = -ENOMEM; in proc_scsi_host_write() 72 return -EOVERFLOW; in proc_scsi_host_write() 74 if (!shost->hostt->write_info) in proc_scsi_host_write() 75 return -EINVAL; in proc_scsi_host_write() [all …]
|