/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | fsl,mu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dong Aisheng <aisheng.dong@nxp.com> 22 registers (Processor A-facing, Processor B-facing). 27 - const: fsl,imx6sx-mu 28 - const: fsl,imx7ulp-mu 29 - const: fsl,imx8ulp-mu 30 - const: fsl,imx8-mu-scu 31 - const: fsl,imx8-mu-seco [all …]
|
/openbmc/linux/arch/mips/boot/dts/loongson/ |
H A D | loongson64-2k1000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/interrupt-controller/irq.h> 10 #address-cells = <2>; 11 #size-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 21 #clock-cells = <1>; 27 #clock-cells = <0>; 28 compatible = "fixed-clock"; [all …]
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 75 return link_status[r - DP_LANE0_1_STATUS]; in dp_link_status() 149 /* DP 2.0 128b/132b */ 163 /* DP 2.0 errata for 128b/132b */ 183 /* DP 2.0 errata for 128b/132b */ 199 /* DP 2.0 errata for 128b/132b */ 208 /* DP 2.0 errata for 128b/132b */ 217 /* DP 2.0 errata for 128b/132b */ 229 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us() 230 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us() 241 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us() [all …]
|
/openbmc/qemu/hw/pci-host/ |
H A D | ppc4xx_pci.c | 20 * This file implements emulation of the 32-bit PCI controller found in some 27 #include "hw/pci-host/ppc4xx.h" 110 pci->pmm[0].la = value; in ppc4xx_pci_reg_write4() 113 pci->pmm[0].ma = value; in ppc4xx_pci_reg_write4() 116 pci->pmm[0].pciha = value; in ppc4xx_pci_reg_write4() 119 pci->pmm[0].pcila = value; in ppc4xx_pci_reg_write4() 123 pci->pmm[1].la = value; in ppc4xx_pci_reg_write4() 126 pci->pmm[1].ma = value; in ppc4xx_pci_reg_write4() 129 pci->pmm[1].pciha = value; in ppc4xx_pci_reg_write4() 132 pci->pmm[1].pcila = value; in ppc4xx_pci_reg_write4() [all …]
|
H A D | i440fx.c | 31 #include "hw/pci-host/i440fx.h" 32 #include "hw/qdev-properties.h" 37 #include "qemu/error-report.h" 77 dev->config[I440FX_SMRAM] = 0x02; in i440fx_realize() 90 for (i = 0; i < ARRAY_SIZE(d->pam_regions); i++) { in i440fx_update_memory_mappings() 91 pam_update(&d->pam_regions[i], i, in i440fx_update_memory_mappings() 92 pd->config[I440FX_PAM + DIV_ROUND_UP(i, 2)]); in i440fx_update_memory_mappings() 94 memory_region_set_enabled(&d->smram_region, in i440fx_update_memory_mappings() 95 !(pd->config[I440FX_SMRAM] & SMRAM_D_OPEN)); in i440fx_update_memory_mappings() 96 memory_region_set_enabled(&d->smram, in i440fx_update_memory_mappings() [all …]
|
H A D | ppce500.c | 19 #include "hw/ppc/e500-ccsr.h" 20 #include "hw/qdev-properties.h" 25 #include "hw/pci-host/ppce500.h" 38 #define PCIE500_REG_SIZE (PCIE500_ALL_SIZE - PCIE500_REG_BASE) 46 #define PPCE500_PCI_OW1 (0xC20 - PCIE500_REG_BASE) 47 #define PPCE500_PCI_OW2 (0xC40 - PCIE500_REG_BASE) 48 #define PPCE500_PCI_OW3 (0xC60 - PCIE500_REG_BASE) 49 #define PPCE500_PCI_OW4 (0xC80 - PCIE500_REG_BASE) 50 #define PPCE500_PCI_IW3 (0xDA0 - PCIE500_REG_BASE) 51 #define PPCE500_PCI_IW2 (0xDC0 - PCIE500_REG_BASE) [all …]
|
H A D | versatile.c | 4 * Copyright (c) 2006-2009 CodeSourcery. 18 #include "hw/qdev-properties.h" 59 * ------------------------------- 116 if (s->realview) { in pci_vpb_update_window() 120 offset = s->imap[i] & ~(s->mem_win_size[i] - 1); in pci_vpb_update_window() 123 offset = s->imap[i] << 28; in pci_vpb_update_window() 125 memory_region_set_alias_offset(&s->pci_mem_window[i], offset); in pci_vpb_update_window() 146 .name = "versatile-pci", 189 int win = (addr - PCI_IMAP0) >> 2; in pci_vpb_reg_write() 190 s->imap[win] = val; in pci_vpb_reg_write() [all …]
|
H A D | mv64361.c | 5 * Copyright (c) 2018-2020 BALATON Zoltan 19 #include "hw/qdev-properties.h" 20 #include "exec/address-spaces.h" 22 #include "qemu/error-report.h" 24 #include "hw/pci-host/mv64361.h" 27 #define TYPE_MV64361_PCI_BRIDGE "mv64361-pcibridge" 34 k->vendor_id = PCI_VENDOR_ID_MARVELL; in mv64361_pcibridge_class_init() 35 k->device_id = PCI_DEVICE_ID_MARVELL_MV6436X; in mv64361_pcibridge_class_init() 36 k->class_id = PCI_CLASS_BRIDGE_HOST; in mv64361_pcibridge_class_init() 38 * PCI-facing part of the host bridge, in mv64361_pcibridge_class_init() [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_common.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 4 * Common user-facing libbpf helpers. 40 * number of arguments provided by used in backwards-compatible way during the 45 #define ___libbpf_cat(A, B) A ## B argument 60 * Macro declares opts struct of given type and name, zero-initializes, 62 * values provided by users in struct initializer-syntax as varargs. 76 * structure size member. Values provided by users in struct initializer-
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-gru-scarlet.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-scarlet board device tree source 8 #include "rk3399-gru.dtsi" 11 chassis-type = "tablet"; 16 pp1250_s3: pp1250-s3 { 17 compatible = "regulator-fixed"; 18 regulator-name = "pp1250_s3"; 21 regulator-always-on; 22 regulator-boot-on; 23 regulator-min-microvolt = <1250000>; [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_user.c | 1 // SPDX-License-Identifier: MIT 19 struct rb_node *p = i915->uabi_engines.rb_node; in intel_engine_lookup_user() 25 if (class < it->uabi_class) in intel_engine_lookup_user() 26 p = p->rb_left; in intel_engine_lookup_user() 27 else if (class > it->uabi_class || in intel_engine_lookup_user() 28 instance > it->uabi_instance) in intel_engine_lookup_user() 29 p = p->rb_right; in intel_engine_lookup_user() 30 else if (instance < it->uabi_instance) in intel_engine_lookup_user() 31 p = p->rb_left; in intel_engine_lookup_user() 41 llist_add((struct llist_node *)&engine->uabi_node, in intel_engine_add_user() [all …]
|
/openbmc/qemu/docs/system/ |
H A D | security.rst | 5 -------- 11 --------------------- 24 safely on the physical CPU at close-to-native speed. 29 - Guest 30 - User-facing interfaces (e.g. VNC, SPICE, WebSocket) 31 - Network protocols (e.g. NBD, live migration) 32 - User-supplied files (e.g. disk images, kernels, device trees) 33 - Passthrough devices (e.g. PCI, USB) 36 real-world use cases and treated as security bugs if this is the case. 38 Non-virtualization Use Case [all …]
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | earlyprintk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Mini-HOWTO for using the earlyprintk=dbgp boot option with a 13 [host/target] <-------> [USB debug key] <-------> [client/console] 21 the lspci -vvv output:: 23 # lspci -vvv 25 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) 27 …Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisIN… 28 …Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- I… 31 Region 0: Memory at fe227000 (32-bit, non-prefetchable) [size=1K] 33 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+) [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-usbc-tusb320.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/extcon/extcon-tusb320.c - TUSB320 extcon driver 10 #include <linux/extcon-provider.h> 89 [TUSB320_ATTACHED_STATE_DFP] = "downstream facing port", 90 [TUSB320_ATTACHED_STATE_UFP] = "upstream facing port", 102 static const char sig[] = { '\0', 'T', 'U', 'S', 'B', '3', '2', '0' }; in tusb320_check_signature() 107 ret = regmap_read(priv->regmap, sizeof(sig) - 1 - i, &val); in tusb320_check_signature() 111 dev_err(priv->dev, "signature mismatch!\n"); in tusb320_check_signature() 112 return -ENODEV; in tusb320_check_signature() 124 if (priv->state != TUSB320_ATTACHED_STATE_NONE) in tusb320_set_mode() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | usb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Adapted for U-Boot driver model 17 #include <dm/uclass-internal.h> 25 static int usb_stor_curr_dev = -1; /* current device */ 28 static int __maybe_unused usb_ether_curr_dev = -1; /* current ethernet device */ 100 printf("SFF-8020i (ATAPI)"); in usb_display_class_sub() 103 printf("QIC-157 (Tape)"); in usb_display_class_sub() 109 printf("SFF-8070"); in usb_display_class_sub() 152 uint packet_size = dev->descriptor.bMaxPacketSize0; in usb_display_desc() 154 if (dev->descriptor.bDescriptorType == USB_DT_DEVICE) { in usb_display_desc() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 26 fwnode = fwnode_find_reference(acpi_fwnode_handle(adev), "usb4-host-interface", 0); in tb_acpi_add_link() 31 if (dev_fwnode(&nhi->pdev->dev) != fwnode) in tb_acpi_add_link() 54 dev = dev->parent; in tb_acpi_add_link() 65 if (pdev->class == PCI_CLASS_SERIAL_USB_XHCI || in tb_acpi_add_link() 78 pm_runtime_get_sync(&pdev->dev); in tb_acpi_add_link() 80 link = device_link_add(&pdev->dev, &nhi->pdev->dev, in tb_acpi_add_link() 85 dev_dbg(&nhi->pdev->dev, "created link from %s\n", in tb_acpi_add_link() 86 dev_name(&pdev->dev)); in tb_acpi_add_link() 89 dev_warn(&nhi->pdev->dev, "device link creation from %s failed\n", in tb_acpi_add_link() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-mac.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 5 #include <linux/pcs-lynx.h> 9 #include "dpaa2-eth.h" 10 #include "dpaa2-mac.h" 23 if (mac->ver_major == ver_major) in dpaa2_mac_cmp_ver() 24 return mac->ver_minor - ver_minor; in dpaa2_mac_cmp_ver() 25 return mac->ver_major - ver_major; in dpaa2_mac_cmp_ver() 30 mac->features = 0; in dpaa2_mac_detect_features() 34 mac->features |= DPAA2_MAC_FEATURE_PROTOCOL_CHANGE; in dpaa2_mac_detect_features() 61 return -EINVAL; in phy_mode() [all …]
|
/openbmc/docs/designs/ |
H A D | expired-password.md | 7 Created: 2019-07-24 67 - The BMC's initial password must be expired when the new EXPIRED_PASSWORD image 69 - An account with an expired password must not be allowed to use the BMC (except 71 - There must be a way to change the expired password using a supported 76 - The BMC automatically connects to its management network which offers 79 - The BMC is operated from its management network. 83 - The BMC has at least one account with a default password built in. 84 - The BMC can update the password; for example, the `/etc/passwd` file is 93 `passwd --expire root` command. This administratively expires the password 129 This can be either from a network-facing or in-band password changing [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | sunxi_nand_spl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2014-2015, Antmicro Ltd <www.antmicro.com> 4 * Copyright (c) 2015, AW-SOM Technologies <www.aw-som.com> 46 #define NFC_CTL_PAGE_SIZE(a) ((fls(a) - 11) << 8) 127 } while (--timeout_us); in check_value_inner() 149 return -ETIMEDOUT; in nand_wait_cmd_fifo_empty() 160 return -ETIMEDOUT; in nand_wait_int() 208 writel(val | NFC_CTL_RAM_METHOD | NFC_CTL_PAGE_SIZE(conf->page_size), in nand_apply_config() 210 writel(conf->ecc_size, SUNXI_NFC_BASE + NFC_CNT); in nand_apply_config() 211 writel(conf->page_size, SUNXI_NFC_BASE + NFC_SPARE_AREA); in nand_apply_config() [all …]
|
/openbmc/linux/Documentation/networking/dsa/ |
H A D | dsa.rst | 22 An Ethernet switch typically comprises multiple front-panel ports and one 27 gateways, or even top-of-rack switches. This host Ethernet controller will 36 For each front-panel port, DSA creates specialized network devices which are 37 used as controlling and data-flowing endpoints for use by the Linux networking 46 - what port is this frame coming from 47 - what was the reason why this frame got forwarded 48 - how to send CPU originated traffic to specific ports 52 on Port-based VLAN IDs). 57 - the "cpu" port is the Ethernet switch facing side of the management 61 - the "dsa" port(s) are just conduits between two or more switches, and as such [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | reporting-issues.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 11 Are you facing a regression with vanilla kernels from the same stable or 36 ensure it's vanilla (IOW: not patched and not using add-on modules). Also make 40 If you are facing multiple issues with the Linux kernel at once, report each 44 to pin-point the culprit with a bisection; if you succeed, include its 45 commit-id and CC everyone in the sign-off-by chain. 51 Step-by-step guide how to report issues to the kernel maintainers 58 step-by-step approach. It still tries to be brief for readability and leaves 59 out a lot of details; those are described below the step-by-step guide in a 68 * Are you facing an issue with a Linux kernel a hardware or software vendor [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 188 #define DP_HW2SW_MACID(mac_id) ({ typeof(mac_id) x = (mac_id); x ? x - 1 : 0; }) 235 /* To indicate HW of CMEM address, b0-31 are cmem base received via QMI */ 238 /* Of 20 bits cookie, b0-b8 is to indicate SPT offset and b9-19 for PPT */ 255 #define DP_INVALID_BANK_ID -1 334 * - reo_cmd_list 335 * - reo_cmd_cache_flush_list 336 * - reo_cmd_cache_flush_count [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. 236 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0) 282 * - reo_cmd_list 283 * - reo_cmd_cache_flush_list 284 * - reo_cmd_cache_flush_count 356 /* host -> target HTT_SRING_SETUP message 359 * each host facing LMAC SRING. Target setups up HW registers based 367 * |--------------- +-----------------+----------------+------------------| [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_file.c | 35 #include <linux/dma-fence.h> 66 * The deprecated ->load callback must be called after the driver is in drm_dev_needs_global_mutex() 71 if (dev->driver->load || dev->driver->unload) in drm_dev_needs_global_mutex() 80 if (dev->driver->lastclose) in drm_dev_needs_global_mutex() 106 * For the driver-side event interface see drm_event_reserve_init() and 111 * function, modern drivers should use one of the provided memory-manager 112 * specific implementations. For GEM-based drivers this is drm_gem_mmap(). 135 * For driver-private IOCTL handling see the more detailed discussion in 140 * drm_file_alloc - allocate file context 153 struct drm_device *dev = minor->dev; in drm_file_alloc() [all …]
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-fence.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Fence mechanism for dma-buf and to allow for asynchronous dma access 16 #include <linux/dma-fence.h> 50 * Since the purposes of fences is to facilitate cross-device and 51 * cross-application synchronization, there's multiple ways to use one: 53 * - Individual fences can be exposed as a &sync_file, accessed as a file 58 * - Some subsystems also have their own explicit fencing primitives, like 62 * - Then there's also implicit fencing, where the synchronization points are 69 * DOC: fence cross-driver contract 77 * further command submission and force complete all in-flight fences, e.g. [all …]
|