Home
last modified time | relevance | path

Searched +full:slave +full:- +full:kernel (Results 1 – 25 of 515) sorted by relevance

12345678910>>...21

/linux/Documentation/gpu/
H A Dkomeda-kms.rst1 .. SPDX-License-Identifier: GPL-2.0
23 -----
30 ------
39 -------------------
47 --------------------------
52 -----------------------------
57 --------------------------------
62 ------
72 --------
83 - Dual display mode
[all …]
/linux/drivers/soundwire/
H A Ddebugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2017-2019 Intel Corporation.
24 /* create the debugfs master-N */ in sdw_bus_debugfs_init()
25 snprintf(name, sizeof(name), "master-%d-%d", bus->controller_id, bus->link_id); in sdw_bus_debugfs_init()
26 bus->debugfs = debugfs_create_dir(name, sdw_debugfs_root); in sdw_bus_debugfs_init()
31 debugfs_remove_recursive(bus->debugfs); in sdw_bus_debugfs_exit()
36 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf() argument
41 value = sdw_read_no_pm(slave, reg); in sdw_sprintf()
44 return scnprintf(buf + pos, RD_BUF - pos, "%3x\tXX\n", reg); in sdw_sprintf()
46 return scnprintf(buf + pos, RD_BUF - pos, in sdw_sprintf()
[all …]
/linux/Documentation/w1/
H A Dw1-netlink.rst10 1. Events. They are generated each time a new master or slave device
21 [struct cn_msg] - connector header.
23 [struct w1_netlink_msg] - w1 netlink header.
24 __u8 type - message type.
28 slave add/remove events
35 userspace command for slave device
37 __u8 status - error indication from kernel
38 __u16 len - size of data attached to this header data
40 __u8 id[8]; - slave unique device id
42 __u32 id; - master's id
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh2 # SPDX-License-Identifier: GPL-2.0
22 ip -n ${s_ns} link set eth0 type bond_slave prio 10
23 [[ $? -ne 0 ]] && skip=0
25 # check if kernel support prio option
26 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
27 [[ $? -ne 0 ]] && skip=0
37 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6}
38 [[ $? -ne 0 ]] && skip=0
40 # check if kernel support ns_ip6_target option
41 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}"
[all …]
/linux/Documentation/i2c/
H A Di2c-address-translators.rst1 .. SPDX-License-Identifier: GPL-2.0
11 -----------
13 An I2C Address Translator (ATR) is a device with an I2C slave parent
16 with a modified slave address. The address used on the parent bus is
18 slave address of the child bus. Address translation is done by the
21 An ATR looks similar to an i2c-mux except:
22 - the address on the parent and child busses can be different
23 - there is normally no need to select the child port; the alias used on the
27 The kernel i2c-atr provides a helper to implement an ATR within a driver.
40 Slave X @ 0x10
[all …]
H A Dslave-interface.rst2 Linux I2C slave interface description
5 by Wolfram Sang <wsa@sang-engineering.com> in 2014-15
7 Linux can also be an I2C slave if the I2C controller in use has slave
8 functionality. For that to work, one needs slave support in the bus driver plus
10 example for the latter is the slave-eeprom driver, which acts as a dual memory
12 EEPROM, the Linux I2C slave can access the content via sysfs and handle data as
16 use a character device, be in-kernel only, or something completely different::
19 e.g. sysfs I2C slave events I/O registers
20 +-----------+ v +---------+ v +--------+ v +------------+
21 | Userspace +........+ Backend +-----------+ Driver +-----+ Controller |
[all …]
/linux/drivers/net/bonding/
H A Dbond_sysfs_slave.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #include <linux/kernel.h>
15 ssize_t (*show)(struct slave *, char *);
21 static ssize_t state_show(struct slave *slave, char *buf) in state_show() argument
23 switch (bond_slave_state(slave)) { in state_show()
34 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show() argument
36 return sysfs_emit(buf, "%s\n", bond_slave_link_status(slave->link)); in mii_status_show()
40 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show() argument
42 return sysfs_emit(buf, "%d\n", slave->link_failure_count); in link_failure_count_show()
46 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show() argument
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-soundwire-slave6 Contact: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
7 Bard Liao <yung-chuan.liao@linux.intel.com>
8 Vinod Koul <vkoul@kernel.org>
10 Description: SoundWire Slave status
12 These properties report the Slave status, e.g. if it
19 What: /sys/bus/soundwire/devices/sdw:.../dev-properties/mipi_revision
20 /sys/bus/soundwire/devices/sdw:.../dev-properties/wake_capable
21 /sys/bus/soundwire/devices/sdw:.../dev-properties/test_mode_capable
22 /sys/bus/soundwire/devices/sdw:.../dev-properties/clk_stop_mode1
23 /sys/bus/soundwire/devices/sdw:.../dev-properties/simple_clk_stop_capable
[all …]
/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c1 // SPDX-License-Identifier: GPL-2.0+
3 #include <linux/kernel.h>
15 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid() argument
21 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in davinci_emac_3517_get_macid()
23 if (PTR_ERR(syscon) == -ENODEV) in davinci_emac_3517_get_macid()
28 regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lsb); in davinci_emac_3517_get_macid()
29 regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_msb); in davinci_emac_3517_get_macid()
41 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid() argument
48 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in cpsw_am33xx_cm_get_macid()
50 if (PTR_ERR(syscon) == -ENODEV) in cpsw_am33xx_cm_get_macid()
[all …]
/linux/Documentation/w1/masters/
H A Domap-hdq.rst2 Kernel driver for omap HDQ/1-wire module
7 HDQ/1-wire controller on the TI OMAP 2430/3430 platforms.
15 The HDQ/1-Wire module of TI OMAP2430/3430 platforms implement the hardware
17 Semiconductor 1-Wire protocols. These protocols use a single wire for
18 communication between the master (HDQ/1-Wire controller) and the slave
19 (HDQ/1-Wire external compliant device).
21 A typical application of the HDQ/1-Wire module is the communication with battery
24 The controller supports operation in both HDQ and 1-wire mode. The essential
25 difference between the HDQ and 1-wire mode is how the slave device responds to
27 create an initialization pulse to the slave.However, the slave can be reset by
[all …]
/linux/drivers/w1/
H A Dw1_netlink.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 * enum w1_cn_msg_flags - bitfield flags for struct cn_msg.flags
26 * enum w1_netlink_message_types - message type
28 * @W1_SLAVE_ADD: notification that a slave device was added
29 * @W1_SLAVE_REMOVE: notification that a slave device was removed
33 * @W1_SLAVE_CMD: sends reset, selects the slave, then does a read/write/touch
48 * struct w1_netlink_msg - holds w1 message type, id, and result
51 * @status: kernel feedback for success 0 or errno failure value
53 * @id: union holding bus master id (msg.id) and slave device id (id[8]).
54 * @id.id: Slave ID (8 bytes)
[all …]
/linux/drivers/net/
H A Deql.c2 * Equalizer Load-balancer for serial network interfaces.
4 * (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
17 * Phone: 1-703-847-0040 ext 103
33 * Added one-line eql_remove_slave patch.
47 * slave_load = (ULONG_MAX - (ULONG_MAX / 2)) -
52 * slave_load = (ULONG_MAX - (ULONG_MAX / 2)) -
56 * slave_load = (ULONG_MAX - (ULONG_MAX / 2)) -
60 * slave_load = (ULONG_MAX - (ULONG_MAX / 2)) -
71 * still crashes the kernel when the lock_wait thing is woken up.
74 * Broken set-bit locking snapshot
[all …]
/linux/net/ax25/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 <https://linux-ax25.in-berlin.de>.
16 kernel: saying N will just cause the configurator to skip all
27 radio. It is either used by itself for point-to-point links, or to
41 contained in the AX25-HOWTO, available from
44 kernel source. More information about digital amateur radio in
52 bool "AX.25 DAMA Slave support"
59 If you say Y here, your Linux box will act as a DAMA slave; this is
62 only compiles DAMA slave support into the kernel. It still needs to
64 <https://linux-ax25.in-berlin.de>. If unsure, say Y.
[all …]
/linux/Documentation/w1/slaves/
H A Dw1_ds28e17.rst2 Kernel driver w1_ds28e17
7 * Maxim DS28E17 1-Wire-to-I2C Master Bridge
19 -----------
20 The DS28E17 is a Onewire slave device which acts as an I2C bus master.
23 come and go as the DS28E17 devices come and go. I2C slave devices connected to
24 a DS28E17 can be accessed by the kernel or userspace tools as if they were
30 SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{name}=="w1-19-*", \
31 SYMLINK+="i2c-$attr{name}"
33 may be used to create stable /dev/i2c- entries based on the unique id of the
41 it is connected. The power-on default of the DS28E17 is 400kBaud, but
[all …]
/linux/drivers/w1/slaves/
H A Dw1_therm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/kernel.h>
35 * In case the parasite power-detection is not working (seems to be the case
40 * - strong_pullup = 0 Disable strong pullup completely
41 * - strong_pullup = 1 Enable automatic strong pullup detection
42 * - strong_pullup = 2 Force strong pullup
66 #define MIN_TEMP -55 /* min temperature that can be measured */
98 * return a pointer on the slave w1_therm_family_converter struct:
102 (((struct w1_therm_family_data *)(sl->family_data))->specific_functions)
105 * return the power mode of the sl slave : 1-ext, 0-parasite, <0 unknown
[all …]
/linux/Documentation/driver-api/
H A Dvme.rst5 -------------------
7 As with other subsystems within the Linux kernel, VME device drivers register
24 .. code-block:: c
30 if (vdev->id.num >= USER_BUS_MAX)
41 dev->bridge->num.
49 -------------------
53 succeeds, a non-zero value should be returned. A zero return value indicates
60 (:c:func:`vme_master_request`), slave windows (:c:func:`vme_slave_request`)
64 attributes of the driver in question. For slave windows these attributes are
73 transfers to be provided in the route attributes. This is typically VME-to-MEM
[all …]
/linux/arch/mips/include/asm/sn/
H A Dnmi.h8 * Copyright (C) 1992 - 1997 Silicon Graphics, Inc.
17 * and is used to communicate between the master processor and the slave
21 * corresponding to a target processor that is in a slave loop, then sends
22 * an interrupt to the slave processor. The slave calls the desired
24 * the slave loop. The master does not wait for the slaves before
56 volatile void *call_addr; /* Routine for slave to call */
64 /* Following definitions are needed both in the prom & the kernel
/linux/drivers/i2c/busses/
H A Di2c-emev2.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015 Wolfram Sang <wsa@sang-engineering.com>
7 * Copyright 2010-2015 Renesas Electronics Corporation
17 #include <linux/kernel.h>
27 #define I2C_OFS_SVA0 0x0c /* slave address */
70 struct i2c_client *slave; member
76 writeb((readb(priv->base + reg) & ~clear) | set, priv->base + reg); in em_clear_set_bit()
84 reinit_completion(&priv->msg_done); in em_i2c_wait_for_event()
86 time_left = wait_for_completion_timeout(&priv->msg_done, priv->adap.timeout); in em_i2c_wait_for_event()
89 return -ETIMEDOUT; in em_i2c_wait_for_event()
[all …]
/linux/arch/arm/mach-omap2/
H A Domap_hwmod_2420_data.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * omap_hwmod_2420_data.c - hardware modules present on the OMAP2420 chips
5 * Copyright (C) 2009-2011 Nokia Corporation
10 * XXX these should be marked initdata for multi-OMAP kernels
13 #include <linux/platform_data/i2c-omap.h>
21 #include "cm-regbits-24xx.h"
22 #include "prm-regbits-24xx.h"
32 * is driver-specific or driver-kernel integration-specific belongs
105 * From mach-omap2/pm24xx.c: "Putting MPU into the WFI state
216 /* HDQ1W/1-wire */
[all …]
/linux/arch/hexagon/include/asm/
H A Dpgalloc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
11 #include <asm/mem-layout.h>
14 #include <asm-generic/pgalloc.h>
29 * that new address spaces always contain the kernel in pgd_alloc()
32 * map with a copy of the kernel's persistent map. in pgd_alloc()
36 mm->contex in pgd_alloc()
[all...]
/linux/drivers/staging/vme_user/
H A Dvme_user.c1 // SPDX-License-Identifier: GPL-2.0+
19 #include <linux/dma-mapping.h>
23 #include <linux/kernel.h>
45 /* Currently Documentation/admin-guide/devices.rst defines the
53 * 4 = /dev/bus/vme/s0 First slave image
54 * 5 = /dev/bus/vme/s1 Second slave image
55 * 6 = /dev/bus/vme/s2 Third slave image
56 * 7 = /dev/bus/vme/s3 Fourth slave image
64 * even support the tsi148 chipset (which has 8 master and 8 slave windows).
73 * The vmelinux.org driver never supported slave images, the devices reserved
[all …]
/linux/include/linux/
H A Dw1.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 * struct w1_reg_num - broken out slave device id
49 * struct w1_slave - holds a single slave device on the bus
51 * @owner: Points to the one wire "wire" kernel module.
54 * @reg_num: the slave id in binary
57 * @ttl: decrement per search this slave isn't found, deatch at 0
58 * @master: bus which this slave is on
61 * @dev: kernel device identifier
84 * struct w1_bus_master - operations available on a bus master
93 * @touch_bit: the lowest-level function for devices that really support the
[all …]
/linux/arch/powerpc/kexec/
H A Dfile_load.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * Based on kexec-tools' kexec-elf-ppc64.c, fs2dt.c.
13 * Heavily modified for the kernel by
26 * setup_kdump_cmdline - Prepend "elfcorehdr=<addr> " to command line
27 * of kdump kernel for exporting the core.
34 * Returns new cmdline buffer for kdump kernel on success, NULL otherwise.
47 image->elf_load_addr); in setup_kdump_cmdline()
57 cmdline_ptr[COMMAND_LINE_SIZE - 1] = '\0'; in setup_kdump_cmdline()
62 * setup_purgatory - initialize the purgatory's global variables
64 * @slave_code: Slave code for the purgatory.
[all …]
/linux/Documentation/devicetree/bindings/bus/
H A Dqcom,ssbi.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Single-wire Serial Bus Interface (SSBI)
10 Some Qualcomm MSM devices contain a point-to-point serial bus used to
15 - Andy Gross <agross@kernel.org>
16 - Bjorn Andersson <andersson@kernel.org>
25 qcom,controller-type:
28 with the slave device. The type chosen is determined by the attached
29 slave.
[all …]
/linux/Documentation/networking/
H A Deql.rst1 .. SPDX-License-Identifier: GPL-2.0
7 Simon "Guru Aleph-Null" Janes, simon@ncm.com
12 that lets you load-balance IP serial links (SLIP or uncompressed PPP)
16 with the 1.1.75 kernel, and is known to have patched cleanly with
18 which was only created to patch cleanly in the very latest kernel
27 together to work as one point-to-point link to increase your
32 The eql driver has only been tested with the Livingston PortMaster-2e
33 terminal server. I do not know if other terminal servers support load-
35 almost as well as the eql driver seems to do it (-- Unfortunately, in
36 my testing so far, the Livingston PortMaster 2e's load-balancing is a
[all …]

12345678910>>...21