Home
last modified time | relevance | path

Searched +full:master +full:- +full:side (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/openbmc/openpower-proc-control/procedures/p9/
H A Dstart_host.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
22 #include <phosphor-logging/log.hpp>
41 const auto& master = *(targets.begin()); in startHost() local
47 writeReg(master, P9_LL_MODE_REG, 0x00000001); in startHost()
58 writeReg(master, P9_FSI_A_SI1S, 0x20000000); in startHost()
61 writeReg(master, P9_FSI2PIB_TRUE_MASK, 0x60000000); in startHost()
64 writeReg(master, P9_FSI2PIB_INTERRUPT, 0xFFFFFFFF); in startHost()
68 // Choose seeprom side to boot from in startHost()
73 log<level::INFO>("Setting SBE seeprom side to 0", in startHost()
79 log<level::INFO>("Setting SBE seeprom side to 1", in startHost()
[all …]
H A Dstart_host_mpreboot.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
28 #include <phosphor-logging/log.hpp>
47 const auto& master = *(targets.begin()); in startHostMpReboot() local
53 writeReg(master, P9_LL_MODE_REG, 0x00000001); in startHostMpReboot()
64 writeReg(master, P9_FSI_A_SI1S, 0x20000000); in startHostMpReboot()
67 writeReg(master, P9_FSI2PIB_TRUE_MASK, 0x60000000); in startHostMpReboot()
70 writeReg(master, P9_FSI2PIB_INTERRUPT, 0xFFFFFFFF); in startHostMpReboot()
74 // Choose seeprom side to boot from in startHostMpReboot()
79 log<level::INFO>("Setting SBE seeprom side to 0", in startHostMpReboot()
85 log<level::INFO>("Setting SBE seeprom side to 1", in startHostMpReboot()
[all …]
/openbmc/linux/Documentation/driver-api/
H A Dspi.rst7 often in the range of 1-20 MHz), a "Master Out, Slave In" (MOSI) data
8 line, and a "Master In, Slave Out" (MISO) data line. SPI is a full
12 additional chipselect line is usually active-low (nCS); four signals are
18 only "master" side interfaces are supported, where Linux talks to SPI
25 a pair of FIFOs connected to dual DMA engines on the other side of the
28 the SPI side of their device as a :c:type:`struct spi_controller
29 <spi_controller>`. SPI devices are children of that master,
33 board-specific initialization code. A :c:type:`struct spi_driver
46 .. kernel-doc:: include/linux/spi/spi.h
49 .. kernel-doc:: drivers/spi/spi.c
[all …]
H A Di2c.rst5 the "Inter-IC" bus, a simple bus protocol which is widely used where low
7 some vendors use another name (such as "Two-Wire Interface", TWI) for
12 I2C is a multi-master bus; open drain signaling is used to arbitrate
16 The Linux I2C programming interfaces support the master side of bus
17 interactions and the slave side. The programming interface is
38 .. kernel-doc:: include/linux/i2c.h
41 .. kernel-doc:: drivers/i2c/i2c-boardinfo.c
44 .. kernel-doc:: drivers/i2c/i2c-core-base.c
47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
/openbmc/u-boot/doc/
H A DREADME.i2c4 While I2C supports multi-master buses this is difficult to get right.
5 The implementation on the master side in software is quite complex.
6 Clock-stretching and the arbitrary time that an I2C transaction can take
8 When one or more masters can be reset independently part-way through a
11 U-Boot provides a scheme based on two 'claim' GPIOs, one driven by the
16 reboots by either side without difficulty.
18 Since U-Boot runs on the AP, the terminology used is 'our' claim GPIO,
23 i2c-arb-gpio-challenge for the implementation.
28 - AP_CLAIM: output from AP, signalling to the EC that the AP wants the bus
29 - EC_CLAIM: output from EC, signalling to the AP that the EC wants the bus
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/chassis/power-workarounds/witherspoon/
H A Dpower-workarounds.sh4 # A side
5 i2cset -y 4 0x70 0x00 0x01 b
6 i2cset -y 4 0x70 0x02 0x16 b #respond to ENABLE pin
7 i2cset -y 4 0x70 0x00 0x00 b
8 # B side
9 i2cset -y 5 0x70 0x00 0x01 b
10 i2cset -y 5 0x70 0x02 0x16 b #respond to ENABLE pin
11 i2cset -y 5 0x70 0x00 0x00 b
14 i2cset -y 4 0x12 0xFF 0x00 b # VDD/VCS 0
15 i2cset -y 4 0x12 0x2E 0x03 b # VDD/VCS 0
[all …]
/openbmc/qemu/include/io/
H A Dchannel-tls.h29 #define TYPE_QIO_CHANNEL_TLS "qio-channel-tls"
39 * technical restriction on which type of master channel is
48 QIOChannel *master; member
56 * @master: the underlying channel object
59 * @errp: pointer to a NULL-initialized error object
61 * Create a new TLS channel that runs the server side of
64 * is non-NULL, then the client will have to provide
74 * master channel
79 qio_channel_tls_new_server(QIOChannel *master,
86 * @master: the underlying channel object
[all …]
H A Dchannel-websock.h29 #define TYPE_QIO_CHANNEL_WEBSOCK "qio-channel-websock"
45 * technical restriction on which type of master channel is
52 * client for encapsulating VNC for noVNC in-browser client.
57 QIOChannel *master; member
72 * @master: the underlying channel object
75 * side of the protocol.
83 * master channel
88 qio_channel_websock_new_server(QIOChannel *master);
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-arb-gpio-challenge.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
10 - Doug Anderson <dianders@chromium.org>
11 - Peter Rosin <peda@axentia.se>
15 the master of an I2C bus in a multimaster situation.
18 standard I2C multi-master rules. Using GPIOs is generally useful in the case
25 problems (hard to tell if i2c issues were caused by one master, another,
[all …]
/openbmc/linux/arch/arm/mach-at91/
H A Dpm_suspend.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-at91/pm_slow_clock.S
13 #include "pm_data-offsets.h"
16 .arch armv7-a
28 * Wait until master clock is ready (after switching master clock source)
30 * @r_mckid: register holding master clock identifier
32 * Side effects: overwrites r7, r8
49 * Wait until master oscillator has stabilized.
51 * Side effects: overwrites r7
62 * Side effects: overwrites r7
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A DKconfig6 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
8 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks).
9 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks).
10 # - Some systems have both kinds of controllers.
12 # With help from a special transceiver and a "Mini-AB" jack, systems with
13 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG).
19 USB is a master/slave protocol, organized with one master
22 you can't connect a "to-the-host" connector to a peripheral.
24 U-Boot can run in the host, or in the peripheral. In both cases
28 familiar host side controllers have names like "EHCI", "OHCI",
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/
H A Dipmi-blob-tool_git.bb1 SUMMARY = "Library and Host-side tool for talking to OpenBMC IPMI BLOB handlers."
2 …e provides a library for the BMC and host for core blob mechanics and host-side binaries for talki…
3 HOMEPAGE = "http://github.com/openbmc/ipmi-blob-tool"
4 LICENSE = "Apache-2.0"
10 SRC_URI = "git://github.com/openbmc/ipmi-blob-tool;branch=master;protocol=https"
16 EXTRA_OEMESON = "-Dtests=disabled"
/openbmc/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,smp2p.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
16 of a single 32-bit value between two processors. Each value has a single
17 writer (the local side) and a single reader (the remote side). Values are
35 $ref: /schemas/types.yaml#/definitions/phandle-array
37 - items:
[all …]
/openbmc/linux/include/uapi/linux/hdlc/
H A Dioctl.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
9 #define CLOCK_EXT 1 /* External TX and RX clock - DTE */
10 #define CLOCK_INT 2 /* Internal TX and RX clock - DCE */
27 #define PARITY_CRC16_PR0_CCITT 4 /* CRC16, initial 0x0000, ITU-T version */
28 #define PARITY_CRC16_PR1_CCITT 5 /* CRC16, initial 0xFFFF, ITU-T version */
35 #define LMI_CCITT 3 /* ITU-T Annex A */
42 unsigned int clock_type; /* internal, external, TX-internal etc. */
48 unsigned int clock_type; /* internal, external, TX-internal etc. */
65 unsigned short dce; /* 1 for DCE (network side) operation */
74 char master[IFNAMSIZ]; /* Name of master FRAD device */ member
[all …]
/openbmc/skeleton/op-hostctl/
H A Dcontrol_host_obj.c13 /* ------------------------------------------------------------------------- */
22 #define FSI_EXTERNAL_MODE_PATH "/sys/devices/platform/gpio-fsi/external_mode"
23 #define FSI_SCAN_PATH "/sys/class/fsi-master/fsi0/rescan"
26 #define FSI_RAW_PATH "/sys/class/fsi-master/fsi0/slave@00:00/raw"
43 /* Once the side is selected and attention bits are set, this starts the SBE */
46 /* Primary is first side. Golden is second side */
157 g_print("Using %s side of the bios flash\n",flash_side); in on_boot()
163 g_print("ERROR: Invalid flash side: %s\n",flash_side); in on_boot()
210 "handle-boot", in on_bus_acquired()
214 "handle-init", in on_bus_acquired()
/openbmc/phosphor-bmc-code-mgmt/
H A Dmeson.options2 # https://github.com/openbmc/docs/blob/master/architecture/code-update/flash-layout.md#supported-fi…
3 # - static: NOR flash configured with fixed-sized MTD partitions.
4 # - ubi: NOR flash device configured with UBI volumes.
5 # - mmc: eMMC flash device configured with ext4 filesystems.
6 option('bmc-layout', type: 'combo',
12 option('host-bios-upgrade', type: 'feature', value: 'enabled',
15 option('sync-bmc-files', type: 'feature', value: 'enabled',
20 option('verify-signature', type: 'feature', value: 'enabled',
24 'usb-code-update', type: 'feature', value: 'enabled',
28 option('software-update-dbus-interface', type: 'feature', value: 'enabled',
[all …]
/openbmc/linux/sound/soc/generic/
H A Daudio-graph-card2-custom-sample.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * audio-graph-card2-custom-sample.dtsi
8 * This sample indicates how to use audio-graph-card2 and its
9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver
10 * which is using audio-graph-card2.
15 * #include "../../../../../sound/soc/generic/audio-graph-card2-custom-sample.dtsi"
23 * "compatible" on each test-component. see below
26 * - compatible = "test-cpu";
27 * + compatible = "test-cpu-verbose";
32 * - compatible = "test-codec";
[all …]
/openbmc/linux/drivers/tty/
H A Dpty.c1 // SPDX-License-Identifier: GPL-2.0
5 * Added support for a Unix98-style ptmx device.
6 * -- C. Scott Ananian <cananian@alumni.princeton.edu>, 14-Jan-1998
49 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_close()
50 WARN_ON(tty->count > 1); in pty_close()
54 if (tty->count > 2) in pty_close()
57 set_bit(TTY_IO_ERROR, &tty->flags); in pty_close()
58 wake_up_interruptible(&tty->read_wait); in pty_close()
59 wake_up_interruptible(&tty->write_wait); in pty_close()
60 spin_lock_irq(&tty->ctrl.lock); in pty_close()
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Ddevices.rst11 version in the mainline Linux kernel is the master document. Updates
13 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` document).
63 --------------------------------------
81 /dev/nfsd socksys symbolic Required by iBCS-2
82 /dev/X0R null symbolic Required by iBCS-2
85 Note: ``/dev/X0R`` is <letter X>-<digit 0>-<letter R>.
100 /dev/scd? sr? hard Alternate SCSI CD-ROM name
114 /dev/cdrom CD-ROM device symbolic Current CD-ROM device
115 /dev/cdwriter CD-writer symbolic Current CD-writer device
138 Non-transient sockets and named pipes may exist in /dev. Common entries are:
[all …]
/openbmc/linux/Documentation/gpu/
H A Ddrm-uapi.rst9 addition, drivers export device-specific interfaces for use by userspace
10 drivers & device-aware applications through ioctls and sysfs files.
16 Cover generic ioctls and sysfs layout here. We only need high-level
22 .. kernel-doc:: drivers/gpu/drm/drm_ioctl.c
28 Primary Nodes, DRM Master and Authentication
31 .. kernel-doc:: drivers/gpu/drm/drm_auth.c
32 :doc: master and authentication
34 .. kernel-doc:: drivers/gpu/drm/drm_auth.c
37 .. kernel-doc:: include/drm/drm_auth.h
46 .. kernel-doc:: drivers/gpu/drm/drm_lease.c
[all …]
/openbmc/linux/sound/pci/ca0106/
H A Dca0106_mixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
67 if (emu->spdif_enable) { in ca0106_spdif_enable()
73 val = inl(emu->port + CA0106_GPIO) & ~0x101; in ca0106_spdif_enable()
74 outl(val, emu->port + CA0106_GPIO); in ca0106_spdif_enable()
82 val = inl(emu->port + CA0106_GPIO) | 0x101; in ca0106_spdif_enable()
83 outl(val, emu->port + CA0106_GPIO); in ca0106_spdif_enable()
89 unsigned int val = emu->capture_source; in ca0106_set_capture_source()
103 ngain = emu->i2c_capture_volume[val][0]; /* Left */ in ca0106_set_i2c_capture_source()
104 ogain = emu->i2c_capture_volume[emu->i2c_capture_source][0]; /* Left */ in ca0106_set_i2c_capture_source()
[all …]
/openbmc/linux/arch/um/drivers/
H A Dpty.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
34 *data = ((struct pty_chan) { .announce = opts->announce, in pty_chan_init()
36 .raw = opts->raw }); in pty_chan_init()
49 err = -errno; in pts_open()
54 if (data->raw) { in pts_open()
55 CATCH_EINTR(err = tcgetattr(fd, &data->tt)); in pts_open()
65 sprintf(data->dev_name, "%s", dev); in pts_open()
66 *dev_out = data->dev_name; in pts_open()
68 if (data->announce) in pts_open()
[all …]
/openbmc/linux/include/drm/
H A Ddrm_audio_component.h1 // SPDX-License-Identifier: MIT
14 * struct drm_audio_component_ops - Ops implemented by DRM driver, called by hda driver
68 * struct drm_audio_component_audio_ops - Ops implemented by hda driver, called by DRM driver
88 * number to a port number in the graphics side.
92 * @master_bind: (Optional) component master bind callback
94 * Called at binding master component, for HDA codec-specific
99 * @master_unbind: (Optional) component master unbind callback
101 * Called at unbinding master component, for HDA codec-specific
108 * struct drm_audio_component - Used for direct communication between DRM and hda drivers
124 * @master_bind_complete: completion held during component master binding
/openbmc/qemu/docs/devel/
H A Dsubmitting-a-pull-request.rst1 .. _submitting-a-pull-request:
8 :ref:`submitting-a-patch`
18 threaded as follow-ups to the pull request itself. The simplest way to
19 do this is to use ``git format-patch --cover-letter`` to create the
21 details that ``git request-pull`` outputs.
25 ``--subject-prefix=PULL`` in your ``git format-patch`` command). This
29 **Each patch must have your own Signed-off-by: line** as well as that of
34 **Don't forget to add Reviewed-by: and Acked-by: lines**. When other
48 just fix in passing, but if in doubt err on the side of not.)
57 the pullreq email should quote a tag which is a GPG-signed tag (as
[all …]
/openbmc/linux/Documentation/i2c/
H A Dgpio-fault-injection.rst5 The GPIO based I2C bus master driver can be configured to provide fault
7 which is driven by the I2C bus master driver under test. The GPIO fault
9 master driver should handle gracefully.
12 'i2c-fault-injector' subdirectory in the Kernel debugfs filesystem, usually
15 injection. They will be described now along with their intended use-cases.
21 -----
26 because the bus master under test will not be able to clock. It should detect
31 -----
36 master under test should detect this condition and trigger a bus recovery (see
48 there are I2C client devices which detect a stuck SDA on their side and release
[all …]

12345678910>>...17