/linux/Documentation/scsi/ |
H A D | advansys.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 RISC-based, Bus-Mastering, Fast (10 Mhz) and Ultra (20 Mhz) Narrow 9 (8-bit transfer) SCSI Host Adapters for the ISA, EISA, VL, and PCI 10 buses and RISC-based, Bus-Mastering, Ultra (20 Mhz) Wide (16-bit 21 - ABP-480 - Bus-Master CardBus (16 CDB) 24 - ABP510/5150 - Bus-Master ISA (240 CDB) 25 - ABP5140 - Bus-Master ISA PnP (16 CDB) 26 - ABP5142 - Bus-Master ISA PnP with floppy (16 CDB) 27 - ABP902/3902 - Bus-Master PCI (16 CDB) 28 - ABP3905 - Bus-Master PCI (16 CDB) [all …]
|
/linux/drivers/staging/vme_user/ |
H A D | vme.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <linux/dma-mapping.h> 51 switch (resource->type) { in find_bridge() 53 return list_entry(resource->entry, struct vme_master_resource, in find_bridge() 54 list)->parent; in find_bridge() 56 return list_entry(resource->entry, struct vme_slave_resource, in find_bridge() 57 list)->parent; in find_bridge() 59 return list_entry(resource->entry, struct vme_dma_resource, in find_bridge() 60 list)->parent; in find_bridge() 62 return list_entry(resource->entry, struct vme_lm_resource, in find_bridge() [all …]
|
/linux/Documentation/devicetree/bindings/fsi/ |
H A D | fsi.txt | 4 The FSI bus is probe-able, so the OS is able to enumerate FSI slaves, and 6 nodes to probed engines. This allows for fsi engines to expose non-probeable 8 that is an I2C master - the I2C bus can be described by the device tree under 11 FSI masters may require their own DT nodes (to describe the master HW itself); 12 that requirement is defined by the master's implementation, and is described by 13 the fsi-master-* binding specifications. 18 fsi-master { 19 /* top-level of FSI bus topology, bound to an FSI master driver and 22 fsi-slave@<link,id> { 26 fsi-slave-engine@<addr> { [all …]
|
/linux/Documentation/w1/ |
H A D | w1-generic.rst | 2 Introduction to the 1-wire (w1) subsystem 5 The 1-wire bus is a simple master-slave bus that communicates via a single 9 drain output and by sampling the logic level of the signal line. 14 All w1 slave devices must be connected to a w1 bus master device. 16 Example w1 master devices: 18 - DS9490 usb device 19 - W1-over-GPIO 20 - DS2482 (i2c to w1 bridge) 21 - Emulated devices, such as a RS232 converter, parallel port adapter, etc 25 ------------------------------ [all …]
|
/linux/include/linux/ |
H A D | w1.h | 1 /* 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 58 * @master: bus which this slave is on 74 struct w1_master *master; member 84 * struct w1_bus_master - operations available on a bus master 88 * @read_bit: Sample the line level 89 * @return the level read (0 or 1) 91 * @write_bit: Sets the line level 93 * @touch_bit: the lowest-level function for devices that really support the [all …]
|
/linux/arch/powerpc/platforms/powermac/ |
H A D | pic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 #include <asm/pci-bridge.h> 43 unsigned int level; member 61 static int pmac_irq_cascade = -1; 88 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in pmac_mask_and_ack_irq() 89 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_mask_and_ack_irq() 94 } while((in_le32(&pmac_irq_hw[i]->enable) & bit) in pmac_mask_and_ack_irq() 109 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_ack_irq() 110 (void)in_le32(&pmac_irq_hw[i]->ack); in pmac_ack_irq() 123 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in __pmac_set_irq_mask() [all …]
|
/linux/drivers/leds/ |
H A D | leds-tca6507.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * leds-tca6507 9 * blink or double-blink. 12 * out-only (pull-up resistor required) or as an LED with variable 13 * brightness and hardware-assisted blinking. 18 * are named MASTER, BANK0 and BANK1. 21 * with separate time for rise, on, fall, off and second-off. Thus if 22 * 3 or more different non-trivial rates are required, software must 25 * support double-blink so 'second-off' always matches 'off'. 42 * delays in the ranges: 56-72, 112-144, 168-216, 224-27504, [all …]
|
/linux/Documentation/driver-api/ |
H A D | vme.rst | 5 ------------------- 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 59 The driver can request ownership of one or more master windows 66 bus cycle types required in 'cycle'. Master windows add a further set of 73 transfers to be provided in the route attributes. This is typically VME-to-MEM 74 and/or MEM-to-VME, though some hardware can support VME-to-VME and MEM-to-MEM [all …]
|
/linux/Documentation/driver-api/soundwire/ |
H A D | summary.rst | 10 SoundWire is a 2-pin multi-drop interface with data and clock line. It 12 Broad level key features of SoundWire interface include: 15 commands over a single two-pin interface. 23 (4) Device status monitoring, including interrupt-style alerts to the Master. 35 Below figure shows an example of connectivity between a SoundWire Master and 38 +---------------+ +---------------+ 40 | Master |-------+-------------------------------| Slave | 42 | |-------|-------+-----------------------| | 43 +---------------+ | | +---------------+ 47 +--+-------+--+ [all …]
|
/linux/include/linux/reset/ |
H A D | bcm63xx_pmb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 /* PMB Master controller register */ 30 /* Perform the low-level PMB master operation, shared between reads and 33 static inline int __bpcm_do_op(void __iomem *master, unsigned int addr, in __bpcm_do_op() argument 40 writel(cmd, master + PMB_CTRL); in __bpcm_do_op() 42 cmd = readl(master + PMB_CTRL); in __bpcm_do_op() 47 return -EIO; in __bpcm_do_op() 50 return -ETIMEDOUT; in __bpcm_do_op() 53 } while (timeout-- > 0); in __bpcm_do_op() 55 return -ETIMEDOUT; in __bpcm_do_op() [all …]
|
/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,rpm-master-stats.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm-master-stats.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies, Inc. (QTI) RPM Master Stats 10 - Konrad Dybcio <konradybcio@kernel.org> 16 (particularly around entering hardware-driven low power modes: XO shutdown 17 and total system-wide power collapse) are first made at Master-level, and 20 The Master Stats provide a few useful bits that can be used to assess whether 21 our device has entered the desired low-power mode, how long it took to do so, [all …]
|
/linux/drivers/w1/ |
H A D | w1_io.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 48 * w1_touch_bit() - Generates a write-0 or write-1 cycle and samples the level. 49 * @dev: the master device 50 * @bit: 0 - write a 0, 1 - write a 0 read the level 54 if (dev->bus_master->touch_bit) in w1_touch_bit() 55 return dev->bus_master->touch_bit(dev->bus_master->data, bit); in w1_touch_bit() 66 * w1_write_bit() - Generates a write-0 or write-1 cycle. 67 * @dev: the master device 70 * Only call if dev->bus_master->touch_bit is NULL 79 dev->bus_master->write_bit(dev->bus_master->data, 0); in w1_write_bit() [all …]
|
/linux/drivers/fsi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 FSI - the FRU Support Interface - is a simple bus for low-level 12 access to POWER-based hardware. 29 symlinks in /dev/fsi/by-path when this option is enabled. 32 tristate "GPIO-based FSI master" 36 This option enables a FSI master driver using GPIO lines. 39 tristate "FSI hub master" 41 This option enables a FSI hub master driver. Hub is a type of FSI 42 master that is connected to the upstream master via a slave. Hubs 47 tristate "FSI master based on Aspeed ColdFire coprocessor" [all …]
|
H A D | fsi-master.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * FSI master definitions. These comprise the core <--> master interface, 4 * to allow the core to interact with the (hardware-specific) masters. 16 * Master registers 19 * the hub master in POWER processors. 31 #define FSI_MVER 0x74 /* R: master version/type */ 34 #define FSI_MESRB0 0x1d0 /* R: Master error status */ 36 #define FSI_MSCSB0 0x1d4 /* R: Master sub command stack */ 37 #define FSI_MATRB0 0x1d8 /* R: Master address trace */ 38 #define FSI_MDTRB0 0x1dc /* R: Master data trace */ [all …]
|
/linux/include/linux/amba/ |
H A D | pl022.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2008-2009 ST-Ericsson AB 11 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c 31 * enum ssp_interface - interfaces allowed for this SSP Controller 48 * enum ssp_hierarchy - whether SSP is configured as Master or Slave 56 * enum ssp_clock_params - clock parameters, to set SSP clock at a 65 * enum ssp_rx_endian - endianess of Rx FIFO Data 74 * enum ssp_tx_endian - endianess of Tx FIFO Data 82 * enum ssp_data_size - number of bits in one data element 98 * enum ssp_mode - SSP mode of operation (Communication modes) [all …]
|
/linux/sound/soc/codecs/ |
H A D | wm1250-ev1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for the 1250-EV1 audio I/O module 15 #include <sound/soc-dapm.h> 22 struct gpio_desc *master; member 26 enum snd_soc_bias_level level) in wm1250_ev1_set_bias_level() argument 28 struct wm1250_priv *wm1250 = dev_get_drvdata(component->dev); in wm1250_ev1_set_bias_level() 30 switch (level) { in wm1250_ev1_set_bias_level() 38 gpiod_set_value_cansleep(wm1250->clk_ena, 1); in wm1250_ev1_set_bias_level() 42 gpiod_set_value_cansleep(wm1250->clk_ena, 0); in wm1250_ev1_set_bias_level() 50 SND_SOC_DAPM_ADC("ADC", "wm1250-ev1 Capture", SND_SOC_NOPM, 0, 0), [all …]
|
/linux/fs/crypto/ |
H A D | keysetup_v1.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * - Deriving per-file encryption keys using the AES-128-ECB based KDF 13 * (rather than the new method of using HKDF-SHA512) 15 * - Retrieving fscrypt master keys from process-subscribed keyrings 16 * (rather than the new method of using a filesystem-level keyring) 18 * - Handling policies with the DIRECT_KEY flag set using a master key table 19 * (rather than the new method of implementing DIRECT_KEY with per-mode keys 20 * managed alongside the master keys in the filesystem-level keyring) 25 #include <keys/user-type.h> 37 * master key with AES-128-ECB using the nonce as the AES key. This provides a [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | brcm,gisb-arb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/brcm,gisb-arb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Florian Fainelli <f.fainelli@gmail.com> 15 - items: 16 - enum: 17 - brcm,bcm7445-gisb-arb # for other 28nm chips 18 - const: brcm,gisb-arb 19 - items: [all …]
|
/linux/Documentation/i2c/ |
H A D | slave-testunit-backend.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 by Wolfram Sang <wsa@sang-engineering.com> in 2020 11 easy to obtain). Examples include multi-master testing, and SMBus Host Notify 13 between master and slave mode because it needs to send data, too. 21 # echo "slave-testunit 0x1030" > /sys/bus/i2c/devices/i2c-0/new_device 30 compatible = "slave-testunit"; 39 When writing, the device consists of 4 8-bit registers and, except for some 43 .. csv-table:: 51 Using 'i2cset' from the i2c-tools package, the generic command looks like:: 53 # i2cset -y <bus_num> <testunit_address> <CMD> <DATAL> <DATAH> <DELAY> i [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | max2175.txt | 2 ----------------------------------------- 4 The MAX2175 IC is an advanced analog/digital hybrid-radio receiver with 5 RF to Bits® front-end designed for software-defined radio solutions. 8 -------------------- 9 - compatible: "maxim,max2175" for MAX2175 RF-to-bits tuner. 10 - clocks: clock specifier. 11 - port: child port node corresponding to the I2S output, in accordance with 13 Documentation/devicetree/bindings/media/video-interfaces.txt. The port 17 -------------------- 18 - maxim,master : phandle to the master tuner if it is a slave. This [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | aspeed,sgpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Jeffery <andrew@aj.id.au> 14 AST2600 have two sgpio master one with 128 pins another one with 80 pins, 15 AST2500/AST2400 have one sgpio master with 80 pins. Each of the Serial 17 - Support interrupt option for each input port and various interrupt 18 sensitivity option (level-high, level-low, edge-high, edge-low) 19 - Support reset tolerance option for each output port 20 - Directly connected to APB bus and its shift clock is from APB bus clock [all …]
|
/linux/Documentation/filesystems/ |
H A D | fscrypt.rst | 2 Filesystem-level encryption (fscrypt) 11 Note: "fscrypt" in this document refers to the kernel-level portion, 14 covers the kernel-level portion. For command-line examples of how to 20 <https://source.android.com/security/encryption/file-based>`_, over 25 Unlike dm-crypt, fscrypt operates at the filesystem level rather than 26 at the block device level. This allows it to encrypt different files 28 filesystem. This is useful for multi-user systems where each user's 29 data-at-rest needs to be cryptographically isolated from the others. 34 directly into supported filesystems --- currently ext4, F2FS, UBIFS, 44 fscrypt does not support encrypting files in-place. Instead, it [all …]
|
/linux/include/sound/ac97/ |
H A D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 14 #define AC97_MASTER 0x02 /* Master Volume */ 16 #define AC97_MASTER_MONO 0x06 /* Master Volume Mono (optional) */ 17 #define AC97_MASTER_TONE 0x08 /* Master Tone (Bass & Treble) (optional) */ 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 41 #define AC97_CENTER_LFE_MASTER 0x36 /* Center + LFE Master Volume */ 42 #define AC97_SURROUND_MASTER 0x38 /* Surround (Rear) Master Volume */ 44 /* range 0x3c-0x58 - MODEM */ 50 #define AC97_LINE1_LEVEL 0x46 /* Line1 DAC/ADC Level */ 51 #define AC97_LINE2_LEVEL 0x48 /* Line2 DAC/ADC Level */ [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | ipsec_fs_roce.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 52 spec->match_criteria_enable |= MLX5_MATCH_OUTER_HEADERS; in ipsec_fs_roce_setup_udp_dport() 53 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in ipsec_fs_roce_setup_udp_dport() 54 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_UDP); in ipsec_fs_roce_setup_udp_dport() 55 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.udp_dport); in ipsec_fs_roce_setup_udp_dport() 56 MLX5_SET(fte_match_param, spec->match_value, outer_headers.udp_dport, dport); in ipsec_fs_roce_setup_udp_dport() 89 u32 aliased_object_id = (ft->type << FT_ID_FT_TYPE_OFFSET) | ft->id; in ipsec_fs_create_aliased_ft() 97 return -EOPNOTSUPP; in ipsec_fs_create_aliased_ft() 144 return -ENOMEM; in ipsec_fs_roce_rx_rule_setup() 151 dst.ft = roce->goto_alias_ft; in ipsec_fs_roce_rx_rule_setup() [all …]
|
/linux/include/drm/ |
H A D | drm_device.h | 26 * enum switch_power_state - power state of drm device 44 * struct drm_device - DRM device structure 53 /** @ref: Object ref-count */ 56 /** @dev: Device structure of bus-device */ 85 * per-device structure. 119 * @master: 121 * Currently active master for this device. 124 struct drm_master *master; member 127 * @driver_features: per-device driver features 130 * certain features on a per-device basis while still [all …]
|