Home
last modified time | relevance | path

Searched +full:d +full:- +full:- +full:- +full:- +full:- +full:0 (Results 1 – 25 of 1180) sorted by relevance

12345678910>>...48

/openbmc/qemu/pc-bios/
HDopenbios-sparc32 ... %x size 0x%x /options boot-file floppy disk:a disk cdrom:d cdrom
/openbmc/linux/net/bluetooth/rfcomm/
H A Dcore.c44 static int channel_mtu = -1;
58 static int rfcomm_queue_disc(struct rfcomm_dlc *d);
60 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d);
75 /* ---- RFCOMM frame parsing macros ---- */
76 #define __get_dlci(b) ((b & 0xfc) >> 2)
77 #define __get_type(b) ((b & 0xef))
79 #define __test_ea(b) ((b & 0x01))
80 #define __test_cr(b) (!!(b & 0x02))
81 #define __test_pf(b) (!!(b & 0x10))
83 #define __session_dir(s) ((s)->initiator ? 0x00 : 0x01)
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@posteo.de>
10 #include <media/media-device.h>
15 "disable remote control polling (default: 0)");
20 "force all DVB USB devices to use a PID filter, if any (default: 0)");
22 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument
27 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware()
29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware()
30 ret = -EINVAL; in dvb_usbv2_download_firmware()
34 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware()
[all …]
H A Drtl28xxu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 static int rtl28xxu_ctrl_msg(struct dvb_usb_device *d, struct rtl28xxu_req *req) in rtl28xxu_ctrl_msg() argument
19 struct rtl28xxu_dev *dev = d->priv; in rtl28xxu_ctrl_msg()
24 mutex_lock(&d->usb_mutex); in rtl28xxu_ctrl_msg()
26 if (req->size > sizeof(dev->buf)) { in rtl28xxu_ctrl_msg()
27 dev_err(&d->intf->dev, "too large message %u\n", req->size); in rtl28xxu_ctrl_msg()
28 ret = -EINVAL; in rtl28xxu_ctrl_msg()
32 if (req->index & CMD_WR_FLAG) { in rtl28xxu_ctrl_msg()
34 memcpy(dev->buf, req->data, req->size); in rtl28xxu_ctrl_msg()
36 pipe = usb_sndctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg()
[all …]
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0002-interface-remove-C-reserved-keyword.patch9 Upstream-Status: Inappropriate (the upstream project is dead)
11 Signed-off-by: Etienne Cordonnier <etienne.cordonnier@streamunlimited.com>
12 ---
13 interface/cdda_interface.h | 2 +-
14 interface/cooked_interface.c | 8 +--
15 interface/interface.c | 8 +--
16 interface/scan_devices.c | 22 ++++----
17 interface/scsi_interface.c | 128 +++++++++++++++++++++----------------------
18 interface/test_interface.c | 4 +-
19 6 files changed, 86 insertions(+), 86 deletions(-)
[all …]
/openbmc/linux/drivers/mtd/
H A Dmtdswap.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * support and lock-less operation written by Adrian Hunter.
59 #define BLOCK_ERROR (UINT_MAX - 1)
60 #define BLOCK_MAX (UINT_MAX - 2)
62 #define EBLOCK_BAD (1 << 0)
80 rb)->erase_count)
82 rb)->erase_count)
135 #define MTDSWAP_MAGIC_CLEAN 0x2095
137 #define MTDSWAP_TYPE_CLEAN 0
153 * page from the current block and is then pre-empted by the GC
[all …]
/openbmc/qemu/hw/audio/
H A Dintel-hda.c22 #include "hw/qdev-properties.h"
28 #include "qemu/error-report.h"
30 #include "intel-hda.h"
32 #include "intel-hda-defs.h"
37 /* --------------------------------------------------------------------- */
41 DEFINE_PROP_UINT32("cad", HDACodecDevice, cad, -1),
56 bus->response = response; in hda_codec_bus_init()
57 bus->xfer = xfer; in hda_codec_bus_init()
62 HDACodecBus *bus = HDA_BUS(qdev->parent_bus); in hda_codec_dev_realize()
66 if (dev->cad == -1) { in hda_codec_dev_realize()
[all …]
/openbmc/openbmc/meta-openpower/recipes-phosphor/host/
H A Dop-proc-control-systemd-links.bb4 LICENSE = "Apache-2.0"
5 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd…
9 RDEPENDS:${PN} += "op-proc-control"
10 RDEPENDS:${PN} += "phosphor-state-manager-obmc-targets"
15 mkdir -p $D$systemd_system_unitdir/obmc-host-stop@0.target.wants
16 mkdir -p $D$systemd_system_unitdir/obmc-host-force-warm-reboot@0.target.requires
17 mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.requires
18 mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.wants
19 mkdir -p $D$systemd_system_unitdir/obmc-host-diagnostic-mode@0.target.requires
20 mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires
[all …]
/openbmc/linux/drivers/clk/ti/
H A Dadpll.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/clk-provider.h>
14 #define ADPLL_PLLSS_MMR_LOCK_OFFSET 0x00 /* Managed by MPPULL */
15 #define ADPLL_PLLSS_MMR_LOCK_ENABLED 0x1f125B64
16 #define ADPLL_PLLSS_MMR_UNLOCK_MAGIC 0x1eda4c3d
18 #define ADPLL_PWRCTRL_OFFSET 0x00
24 #define ADPLL_PWRCTRL_OFFMODE 0
26 #define ADPLL_CLKCTRL_OFFSET 0x04
40 #define ADPLL_CLKCTRL_TINITZ 0
42 #define ADPLL_TENABLE_OFFSET 0x08
[all …]
/openbmc/linux/drivers/sh/intc/
H A Dcore.c5 * Copyright (C) 2009 - 2012 Paul Mundt
12 * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp>
33 #include <linux/radix-tree.h>
44 * - this needs to be at least 2 for 5-bit priorities on 7780
46 static unsigned int default_prio_level = 2; /* 2 - 16 */
74 struct intc_desc_int *d, in intc_register_irq() argument
84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); in intc_register_irq()
95 data[0] = intc_get_mask_handle(desc, d, enum_id, 0); in intc_register_irq()
96 data[1] = intc_get_prio_handle(desc, d, enum_id, 0); in intc_register_irq()
98 primary = 0; in intc_register_irq()
[all …]
/openbmc/qemu/tests/qtest/
H A Dtco-test.c7 * See the COPYING file in the top-level directory.
14 #include "libqos/pci-pc.h"
21 #define RCBA_BASE_ADDR 0xfed1c000
22 #define PM_IO_BASE_ADDR 0xb000
25 TCO_RLD_DEFAULT = 0x0000,
26 TCO_DAT_IN_DEFAULT = 0x00,
27 TCO_DAT_OUT_DEFAULT = 0x00,
28 TCO1_STS_DEFAULT = 0x0000,
29 TCO2_STS_DEFAULT = 0x0000,
30 TCO1_CNT_DEFAULT = 0x0000,
[all …]
/openbmc/qemu/target/i386/
H A Dops_sse.h22 #include "crypto/aes-round.h"
25 #if SHIFT == 0
50 #if SHIFT == 0
57 void glue(helper_psrlw, SUFFIX)(CPUX86State *env, Reg *d, Reg *s, Reg *c) in glue()
60 if (c->Q(0) > 15) { in glue()
61 for (int i = 0; i < 1 << SHIFT; i++) { in glue()
62 d->Q(i) = 0; in glue()
65 shift = c->B(0); in glue()
66 for (int i = 0; i < 4 << SHIFT; i++) { in glue()
67 d->W(i) = FPSRL(s->W(i), shift); in glue()
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregmap-irq.c1 // SPDX-License-Identifier: GPL-2.0
55 return &data->chip->irqs[irq]; in irq_to_regmap_irq()
60 struct regmap *map = data->map; in regmap_irq_can_bulk_read_status()
63 * While possible that a user-defined ->get_irq_reg() callback might in regmap_irq_can_bulk_read_status()
67 return data->irq_reg_stride == 1 && map->reg_stride == 1 && in regmap_irq_can_bulk_read_status()
68 data->get_irq_reg == regmap_irq_get_irq_reg_linear && in regmap_irq_can_bulk_read_status()
69 !map->use_single_read; in regmap_irq_can_bulk_read_status()
74 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local
76 mutex_lock(&d->lock); in regmap_irq_lock()
81 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local
[all …]
/openbmc/qemu/target/m68k/
H A Dfpu_helper.c4 * Copyright (c) 2006-2007 CodeSourcery
23 #include "exec/helper-proto.h"
24 #include "exec/exec-all.h"
34 [0x00] = make_floatx80_init(0x4000, 0xc90fdaa22168c235ULL), /* Pi */
35 [0x0b] = make_floatx80_init(0x3ffd, 0x9a209a84fbcff798ULL), /* Log10(2) */
36 [0x0c] = make_floatx80_init(0x4000, 0xadf85458a2bb4a9aULL), /* e */
37 [0x0d] = make_floatx80_init(0x3fff, 0xb8aa3b295c17f0bcULL), /* Log2(e) */
38 [0x0e] = make_floatx80_init(0x3ffd, 0xde5bd8a937287195ULL), /* Log10(e) */
39 [0x0f] = make_floatx80_init(0x0000, 0x0000000000000000ULL), /* Zero */
40 [0x30] = make_floatx80_init(0x3ffe, 0xb17217f7d1cf79acULL), /* ln(2) */
[all …]
/openbmc/qemu/hw/ide/
H A Dsii3112.c7 * See the COPYING file in the top-level directory.
20 #include "ide-internal.h"
39 * Internal Register Space - BAR5 (section 6.7 of the data sheet).
45 SiI3112PCIState *d = opaque; in sii3112_reg_read() local
49 case 0x00: in sii3112_reg_read()
50 val = d->i.bmdma[0].cmd; in sii3112_reg_read()
52 case 0x01: in sii3112_reg_read()
53 val = d->regs[0].swdata; in sii3112_reg_read()
55 case 0x02: in sii3112_reg_read()
56 val = d->i.bmdma[0].status; in sii3112_reg_read()
[all …]
/openbmc/qemu/hw/dma/
H A Di8257.c4 * Copyright (c) 2003-2004 Vassili Karpov (malc)
27 #include "hw/qdev-properties.h"
31 #include "qemu/main-loop.h"
48 #define ADDR 0
52 CMD_MEMORY_TO_MEMORY = 0x01,
53 CMD_FIXED_ADDRESS = 0x02,
54 CMD_BLOCK_CONTROLLER = 0x04,
55 CMD_COMPRESSED_TIME = 0x08,
56 CMD_CYCLIC_PRIORITY = 0x10,
57 CMD_EXTENDED_WRITE = 0x20,
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-mtp.c14 #include "qemu/error-report.h"
25 #include "hw/qdev-properties.h"
32 /* ----------------------------------------------------------------------- */
50 CMD_GET_DEVICE_INFO = 0x1001,
51 CMD_OPEN_SESSION = 0x1002,
52 CMD_CLOSE_SESSION = 0x1003,
53 CMD_GET_STORAGE_IDS = 0x1004,
54 CMD_GET_STORAGE_INFO = 0x1005,
55 CMD_GET_NUM_OBJECTS = 0x1006,
56 CMD_GET_OBJECT_HANDLES = 0x1007,
[all …]
/openbmc/qemu/hw/watchdog/
H A Dwdt_i6300esb.c41 #define ESB_CONFIG_REG 0x60 /* Config register */
42 #define ESB_LOCK_REG 0x68 /* WDT lock register */
45 #define ESB_TIMER1_REG 0x00 /* Timer1 value after each reset */
46 #define ESB_TIMER2_REG 0x04 /* Timer2 value after each reset */
47 #define ESB_GINTSR_REG 0x08 /* General Interrupt Status Register */
48 #define ESB_RELOAD_REG 0x0c /* Reload register */
51 #define ESB_WDT_FUNC (0x01 << 2) /* Watchdog functionality */
52 #define ESB_WDT_ENABLE (0x01 << 1) /* Enable WDT */
53 #define ESB_WDT_LOCK (0x01 << 0) /* Lock (nowayout) */
56 #define ESB_WDT_REBOOT (0x01 << 5) /* Enable reboot on timeout */
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * DVB USB library - provides a generic interface for a DVB USB device driver.
5 * dvb-usb-init.c
7 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
9 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
11 #include "dvb-usb-common.h"
16 …ng level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64,mem=128,uxfer=256 (or-able))." DVB_USB_DEBU…
20 MODULE_PARM_DESC(disable_rc_polling, "disable remote control polling (default: 0).");
24 …E_PARM_DESC(force_pid_filter_usage, "force all dvb-usb-devices to use a PID filter, if any (defaul…
26 static int dvb_usb_adapter_init(struct dvb_usb_device *d, short *adapter_nrs) in dvb_usb_adapter_init() argument
[all …]
H A Ddvb-usb-remote.c1 // SPDX-License-Identifier: GPL-2.0
2 /* dvb-usb-remote.c is part of the DVB USB library.
4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
5 * see dvb-usb-init.c for copyright information.
7 …* This file contains functions for initializing the input-device and for handling remote-control-q…
9 #include "dvb-usb-common.h"
20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index()
21 index = ke->index; in legacy_dvb_usb_get_keymap_index()
27 for (index = 0; index < keymap_size; index++) in legacy_dvb_usb_get_keymap_index()
33 for (index = 0; index < keymap_size; index++) { in legacy_dvb_usb_get_keymap_index()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega20_processpptables.c40 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
42 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
51 const void *table_address = hwmgr->soft_pp_table; in get_powerplay_table()
55 smu_atom_get_data_table(hwmgr->adev, index, in get_powerplay_table()
58 hwmgr->soft_pp_table = table_address; in get_powerplay_table()
59 hwmgr->soft_pp_table_size = size; in get_powerplay_table()
65 #if 0
70 pr_info("Version = 0x%08x\n", pptable->Version);
72 pr_info("FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]);
73 pr_info("FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]);
[all …]
/openbmc/linux/drivers/dma/lgm/
H A Dlgm-dma.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2016 - 2020 Intel Corporation.
10 #include <linux/dma-mapping.h>
23 #include "../virt-dma.h"
25 #define DRIVER_NAME "lgm-dma"
27 #define DMA_ID 0x0008
28 #define DMA_ID_REV GENMASK(7, 0)
33 #define DMA_VER32 0x32
34 #define DMA_VER31 0x31
35 #define DMA_VER22 0x0A
[all …]
/openbmc/linux/drivers/dma/
H A Dk3dma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013 - 2015 Linaro Ltd.
8 #include <linux/dma-mapping.h>
23 #include "virt-dma.h"
25 #define DRIVER_NAME "k3-dma"
26 #define DMA_MAX_SIZE 0x1ffc
27 #define DMA_CYCLIC_MAX_PERIOD 0x1000
30 #define INT_STAT 0x00
31 #define INT_TC1 0x04
32 #define INT_TC2 0x08
[all …]
/openbmc/qemu/hw/xen/
H A Dxen-host-pci-device.c5 * the COPYING file in the top-level directory.
12 #include "hw/xen/xen-legacy-backend.h"
13 #include "hw/xen/xen-bus-helper.h"
14 #include "xen-host-pci-device.h"
17 ((PCIE_CONFIG_SPACE_SIZE - PCI_CONFIG_SPACE_SIZE) / (PCI_CAP_SIZEOF + 4))
22 # define XEN_HOST_PCI_LOG(f, a...) (void)0
29 #define IORESOURCE_BITS 0x000000ff /* Bus-specific bits */
31 #define IORESOURCE_TYPE_BITS 0x00000f00 /* Resource type */
32 #define IORESOURCE_IO 0x00000100
33 #define IORESOURCE_MEM 0x00000200
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dbtf_dump.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
4 * BTF-to-C type converter.
26 static const size_t PREFIX_CNT = sizeof(PREFIXES) - 1;
30 return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; in pfx()
45 /* per-type auxiliary state */
53 /* whether unique non-duplicate name was already assigned */
88 /* per-type auxiliary state */
91 /* per-type optional cached unique name, must be freed, if present */
95 /* topo-sorted list of dependent type definitions */
128 return strcmp((void *)a, (void *)b) == 0; in str_equal_fn()
[all …]

12345678910>>...48