Home
last modified time | relevance | path

Searched +full:conf +full:- +full:pd (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/qemu/hw/pci/
H A Dpci_bridge.c41 #include "hw/qdev-properties.h"
60 pci_set_word(dev->config + pos + PCI_SSVID_SVID, svid); in pci_bridge_ssvid_init()
61 pci_set_word(dev->config + pos + PCI_SSVID_SSID, ssid); in pci_bridge_ssvid_init()
68 return bus->parent_dev; in pci_bridge_get_device()
71 /* Accessor function to get secondary bus from pci-to-pci bridge device */
74 return &br->sec_bus; in pci_bridge_get_sec_bus()
82 val = ((uint32_t)d->config[base] & PCI_IO_RANGE_MASK) << 8; in pci_config_get_io_base()
83 if (d->config[base] & PCI_IO_RANGE_TYPE_32) { in pci_config_get_io_base()
84 val |= (uint32_t)pci_get_word(d->config + base_upper16) << 16; in pci_config_get_io_base()
91 return ((pcibus_t)pci_get_word(d->config + base) & PCI_MEMORY_RANGE_MASK) in pci_config_get_memory_base()
[all …]
/openbmc/qemu/hw/pci-host/
H A Dq35.c34 #include "hw/pci-host/q35.h"
35 #include "hw/qdev-properties.h"
53 memory_region_add_subregion(s->mch.address_space_io, in q35_host_realize()
54 MCH_HOST_BRIDGE_CONFIG_ADDR, &pci->conf_mem); in q35_host_realize()
57 memory_region_add_subregion(s->mch.address_space_io, in q35_host_realize()
58 MCH_HOST_BRIDGE_CONFIG_DATA, &pci->data_mem); in q35_host_realize()
62 memory_region_set_flush_coalesced(&pci->data_mem); in q35_host_realize()
63 memory_region_add_coalescing(&pci->conf_mem, 0, 4); in q35_host_realize()
65 pci->bus = pci_root_bus_new(DEVICE(s), "pcie.0", in q35_host_realize()
66 s->mch.pci_address_space, in q35_host_realize()
[all …]
H A Di440fx.c31 #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()
87 PCIDevice *pd = PCI_DEVICE(d); in i440fx_update_memory_mappings() local
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()
[all …]
/openbmc/linux/sound/usb/
H A Dstream.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/usb/audio-v2.h>
11 #include <linux/usb/audio-v3.h>
33 list_del(&fp->list); /* unlink for avoiding double-free */ in audioformat_free()
34 kfree(fp->rate_table); in audioformat_free()
35 kfree(fp->chmap); in audioformat_free()
46 if (!subs->num_formats) in free_substream()
48 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) in free_substream()
50 kfree(subs->str_pd); in free_substream()
60 free_substream(&stream->substream[0]); in snd_usb_audio_stream_free()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-systemready/recipes-test/arm-systemready-linux-distros/
H A Darm-systemready-linux-distros-debian.bb1 require arm-systemready-linux-distros.inc
6 # For more information about Debian licenses, including the non-free ones, refer to
8 LICENSE = "AFL-2.0 & AFL-2.1 \
9 …& GPL-1.0-only & GPL-1.0-or-later & GPL-2.0-only & GPL-2.0-or-later & GPL-2.0-with-autoconf-except…
10 …& GPL-2.0-with-OpenSSL-exception & GPL-3.0-only & GPL-3.0-or-later & GPL-3.0-with-autoconf-excepti…
11 … & GPL-3-with-bison-exception & SMAIL_GPL & LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-only \
12 & LGPL-2.1-or-later & LGPL-3.0-only & LGPL-3.0-or-later & BSD-2-Clause & BSD-3-Clause \
13 …& BSD-3-Clause-Clear & BSD-4-Clause & BSD-4-Clause-UC & TCP-wrappers & OLDAP-2.8 & PSF-2.0 & BSL-1…
14 …& bzip2-1.0.6 & CC0-1.0 & Libpng & Latex2e & Unicode-TOU & Unicode-DFS-2016 & CC-BY-3.0 & CC-BY-SA
15 …& CC-BY-SA-4.0 & curl & MS-PL & NTP & FSFAP & FSFUL & FSFULLR & FSF-Unlimited & EDL-1.0 & Vim & FT…
[all …]
/openbmc/linux/include/linux/usb/
H A Dtypec_altmode.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * struct typec_altmode - USB Type-C alternate mode device
19 * @vdo: VDO returned by Discover Modes USB PD command
40 dev_set_drvdata(&altmode->dev, data); in typec_altmode_set_drvdata()
45 return dev_get_drvdata(&altmode->dev); in typec_altmode_get_drvdata()
49 * struct typec_altmode_ops - Alternate mode specific operations vector
63 int (*notify)(struct typec_altmode *altmode, unsigned long conf,
73 int typec_altmode_notify(struct typec_altmode *altmode, unsigned long conf,
79 * These are the connector states (USB, Safe and Alt Mode) defined in USB Type-C
126 * typec_altmode_get_orientation - Get cable plug orientation
[all …]
/openbmc/linux/arch/mips/pci/
H A Dpci-alchemy.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2001-2003, 2007-2008 MontaVista Software Inc.
20 #include <linux/dma-map-ops.h> /* for dma_default_coherent */
22 #include <asm/mach-au1x00/au1000.h>
94 ctx->wired_entry = read_c0_wired(); in alchemy_pci_wired_entry()
95 add_wired_entry(0, 0, (unsigned long)ctx->pci_cfg_vm->addr, PM_4K); in alchemy_pci_wired_entry()
96 ctx->last_elo0 = ctx->last_elo1 = ~0; in alchemy_pci_wired_entry()
102 struct alchemy_pci_context *ctx = bus->sysdata; in config_access()
110 return -1; in config_access()
114 r = __raw_readl(ctx->regs + PCI_REG_STATCMD) & 0x0000ffff; in config_access()
[all …]
/openbmc/linux/drivers/iio/dac/
H A Dmcp4725.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * mcp4725.c - Support for Microchip MCP4725/6
9 * driver for the Microchip I2C 12-bit digital-to-analog converter (DAC)
10 * (7-bit I2C slave address 0x60, the three LSBs can be configured in
52 outbuf[0] = (data->powerdown_mode + 1) << 4; in mcp4725_suspend()
54 data->powerdown = true; in mcp4725_suspend()
56 ret = i2c_master_send(data->client, outbuf, 2); in mcp4725_suspend()
60 return -EIO; in mcp4725_suspend()
72 outbuf[0] = (data->dac_value >> 8) & 0xf; in mcp4725_resume()
73 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume()
[all …]
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c3 * Copyright (C) 2012-2015 Emulex. All rights reserved.
16 * - Redistributions of source code must retain the above copyright notice,
19 * - Redistributions in binary form must reproduce the above copyright
36 * linux-drivers@emulex.com
46 #include <linux/dma-mapping.h>
113 return eq->q.va + (eq->q.tail * sizeof(struct ocrdma_eqe)); in ocrdma_get_eqe()
118 eq->q.tail = (eq->q.tail + 1) & (OCRDMA_EQ_LEN - 1); in ocrdma_eq_inc_tail()
124 (dev->mq.cq.va + (dev->mq.cq.tail * sizeof(struct ocrdma_mcqe))); in ocrdma_get_mcqe()
126 if (!(le32_to_cpu(cqe->valid_ae_cmpl_cons) & OCRDMA_MCQE_VALID_MASK)) in ocrdma_get_mcqe()
133 dev->mq.cq.tail = (dev->mq.cq.tail + 1) & (OCRDMA_MQ_CQ_LEN - 1); in ocrdma_mcq_inc_tail()
[all …]
/openbmc/qemu/hw/scsi/
H A Dmegasas.c5 * Copyright (c) 2009-2012 Hannes Reinecke, SUSE Labs
23 #include "hw/qdev-properties.h"
25 #include "sysemu/block-backend.h"
31 #include "qemu/hw-version.h"
135 #define TYPE_MEGASAS_BASE "megasas-base"
137 #define TYPE_MEGASAS_GEN2 "megasas-gen2"
147 if ((s->intr_mask & MEGASAS_INTR_DISABLED_MASK) != in DECLARE_OBJ_CHECKERS()
156 return s->flags & MEGASAS_MASK_USE_QUEUE64; in megasas_use_queue64()
161 return s->msix != ON_OFF_AUTO_OFF; in megasas_use_msix()
166 return s->flags & MEGASAS_MASK_USE_JBOD; in megasas_is_jbod()
[all …]
/openbmc/linux/drivers/pinctrl/cirrus/
H A Dpinctrl-madera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2018 Cirrus Logic
17 #include <linux/pinctrl/pinconf-generic.h>
25 #include "../pinctrl-utils.h"
27 #include "pinctrl-madera.h"
31 * NOTE: IDs are zero-indexed for coding convenience
77 * All single-pin functions can be mapped to any GPIO, however pinmux applies
81 * Since these do not correspond to anything in the actual hardware - they are
82 * merely an adaptation to pinctrl's view of the world - we use the same name
94 /* set of pin numbers for single-pin groups, zero-indexed */
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmediatek,mt7981-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7981-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Daniel Golle <daniel@makrotopia.org>
18 - mediatek,mt7981-pinctrl
24 reg-names:
26 - const: gpio
27 - const: iocfg_rt
28 - const: iocfg_rm
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #define DRV_NAME "cros-ec-typec"
35 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in cros_typec_parse_port_props()
37 dev_err(dev, "power-role not found: %d\n", ret); in cros_typec_parse_port_props()
44 cap->type = ret; in cros_typec_parse_port_props()
46 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in cros_typec_parse_port_props()
48 dev_err(dev, "data-role not found: %d\n", ret); in cros_typec_parse_port_props()
55 cap->data = ret; in cros_typec_parse_port_props()
57 /* Try-power-role is optional. */ in cros_typec_parse_port_props()
58 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); in cros_typec_parse_port_props()
[all …]
/openbmc/openbmc/poky/documentation/migration-guides/
H A Drelease-notes-3.4.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
4 --------------------------------
9 - Linux kernel 5.14, glibc 2.34 and ~280 other recipe upgrades
10 - Switched override character to ':' (replacing '_') for more robust parsing and improved performa…
11 - Rust integrated into core, providing rust support for cross-compilation and SDK
12 - New :ref:`ref-classes-create-spdx` class for creating SPDX SBoM documents
13 - New recipes: cargo, core-image-ptest-all, core-image-ptest-fast, core-image-weston-sdk, erofs-ut…
14 - Several optimisations to reduce unnecessary task dependencies for faster builds
15 - seccomp integrated into core, with additional enabling for gnutls, systemd, qemu
16 - New overlayfs class to help generate overlayfs mount units
[all …]
H A Drelease-notes-5.1.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
4 ---------------------------------
9 - Linux kernel 6.10, gcc 14.2, glibc 2.40, LLVM 18.1.18, and over 300 other
12 - New variables:
14 - :term:`CVE_CHECK_MANIFEST_JSON_SUFFIX`: suffix for the CVE JSON manifest file.
16 - :term:`PRSERV_UPSTREAM`: Upstream PR service (``host:port``) for the local
19 - :term:`RECIPE_UPGRADE_EXTRA_TASKS`: space-delimited list of tasks to run
23 - :term:`UNPACKDIR`: allow change of the :ref:`ref-tasks-unpack` task
26 - Kernel-related changes:
28 - The default kernel is the current stable (6.10), and there is also support
[all …]
/openbmc/linux/drivers/net/can/
H A Dgrcan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * See "Documentation/ABI/testing/sysfs-class-net-grcan" for information on the
19 * See "Documentation/admin-guide/kernel-parameters.rst" for information on the module
38 #include <linux/dma-mapping.h>
44 #define GRCAN_RESERVE_SIZE(slot1, slot2) (((slot2) - (slot1)) / 4 - 1)
47 u32 conf; /* 0x00 */ member
51 u32 smask; /* 0x18 - CanMASK */
52 u32 scode; /* 0x1c - CanCODE */
202 #define GRCAN_MSG_DATA_SHIFT(i) ((3 - (i) % 4) * 8)
264 * handling"-comment for grcan_start_xmit for more details.
[all …]
/openbmc/linux/fs/nfsd/
H A Dnfs4state.c106 * A waitqueue for all in-progress 4.0 CLOSE operations that are waiting for
139 rc = -ENOMEM; in nfsd4_create_laundry_wq()
150 return ses->se_flags & NFS4_SESSION_DEAD; in is_session_dead()
155 if (atomic_read(&ses->se_ref) > ref_held_by_me) in mark_session_dead_locked()
157 ses->se_flags |= NFS4_SESSION_DEAD; in mark_session_dead_locked()
163 return clp->cl_time == 0; in is_client_expired()
169 if (clp->cl_state != NFSD4_ACTIVE) in nfsd4_dec_courtesy_client_count()
170 atomic_add_unless(&nn->nfsd_courtesy_clients, -1, 0); in nfsd4_dec_courtesy_client_count()
175 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked()
177 lockdep_assert_held(&nn->client_lock); in get_client_locked()
[all …]
/openbmc/qemu/pc-bios/
HDopenbios-sparc32 ... line-size icache-nlines icache-associativity ecache-line-size ecache-nlines ecache-associativity ncaches
/openbmc/openbmc/poky/meta/lib/oe/
H A Dpackage.py4 # SPDX-License-Identifier: GPL-2.0-only
27 # 4 - executable
28 # 8 - shared library
29 # 16 - kernel module
51 stripcmd.extend(["--strip-debug", "--remove-section=.comment",
52 "--remove-section=.note", "--preserve-dates"])
55 stripcmd.extend(["--remove-section=.comment", "--remove-section=.note", "--strip-unneeded"])
58 stripcmd.extend(["--remove-section=.comment", "--remove-section=.note"])
61 stripcmd.extend(["--remove-section=" + section])
80 f.seek(-28, 2)
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dcache.c6 * Copyright (C) 1999-2006 Helge Deller <deller@gmx.de> (07-13-1999)
55 void flush_data_cache_local(void *); /* flushes local data-cache only */
56 void flush_instruction_cache_local(void); /* flushes local code-cache only */
125 test_bit(PG_dcache_dirty, &folio->flags)) { in __update_cache()
126 while (nr--) in __update_cache()
128 clear_bit(PG_dcache_dirty, &folio->flags); in __update_cache()
130 while (nr--) in __update_cache()
139 seq_printf(m, "I-cache\t\t: %ld KB\n", in show_cache_info()
142 snprintf(buf, 32, "%lu-way associative", cache_info.dc_loop); in show_cache_info()
143 seq_printf(m, "D-cache\t\t: %ld KB (%s%s, %s, alias=%d)\n", in show_cache_info()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c1 // SPDX-License-Identifier: ISC
12 switch (mt76_chip(&(_dev)->mt76)) { \
47 for (nss = 8; nss > 0; nss--) { in mt7915_mcu_get_sta_nss()
48 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss()
54 return nss - 1; in mt7915_mcu_get_sta_nss()
61 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_sta_he_mcs()
62 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_he_mcs()
63 enum nl80211_band band = msta->vif->phy->mt76->chandef.chan->band; in mt7915_mcu_set_sta_he_mcs()
64 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7915_mcu_set_sta_he_mcs()
65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c1 // 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.
163 /* new addition in IEEE Std 802.11ax-2021 */
243 #define ath11k_a_rates_size (ARRAY_SIZE(ath11k_legacy_rates) - 4)
407 return -EINVAL; in ath11k_mac_hw_ratecode_to_legacy_rate()
428 for (i = 0; i < sband->n_bitrates; i++) in ath11k_mac_bitrate_to_idx()
429 if (sband->bitrates[i].bitrate == bitrate) in ath11k_mac_bitrate_to_idx()
440 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss()
452 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_vht_nss()
[all …]
/openbmc/
Dopengrok1.0.log1 2025-03-14 03:00:40.378-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-14 03:00:40.496-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
Dopengrok2.0.log1 2025-03-13 03:00:39.225-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-13 03:00:39.341-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2014 - 2017 Jes Sorensen <Jes.Sorensen@gmail.com>
8 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
40 static int rtl8xxxu_dma_agg_timeout = -1;
41 static int rtl8xxxu_dma_agg_pages = -1;
68 MODULE_PARM_DESC(dma_agg_timeout, "Set DMA aggregation timeout (range 1-127)");
70 MODULE_PARM_DESC(dma_agg_pages, "Set DMA aggregation pages (range 1-127, 0 to disable)");
656 struct usb_device *udev = priv->udev; in rtl8xxxu_read8()
660 if (priv->rtl_chip == RTL8710B && addr <= 0xff) in rtl8xxxu_read8()
663 mutex_lock(&priv->usb_buf_mutex); in rtl8xxxu_read8()
[all …]

12