| /linux/sound/soc/codecs/ |
| H A D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio() 61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio() 79 stage = up ? i : MT6357_HPLOUT_STG_CTRL_VAUDP15_MAX - i; in hp_main_output_ramp() 80 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/addac/ |
| H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: 33 spi-cpol: true [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | rohm,bd96802-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd96802-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 13 BD96802Qxx-C and BD96806 are automotive grade configurable Power Management 14 Integrated Circuits supporting Functional Safety features for application 20 - rohm,bd96802 21 - rohm,bd96806 32 where the SoC is not powered by the PMIC or has a short time backup [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun8i-q8-common.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 42 #include "sunxi-reference-design-tablet.dtsi" 43 #include "sun8i-reference-design-tablet.dtsi" 48 /* Make u-boot set mac-address for wifi without an eeprom */ 55 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */ 56 power-supply = <®_dc1sw>; 60 remote-endpoint = <&tcon0_out_lcd>; 66 compatible = "mmc-pwrseq-simple"; 68 * Q8 boards use various PL# pins as wifi-en. On other boards 70 * short-circuits we configure these as inputs with pull-ups via [all …]
|
| /linux/Documentation/userspace-api/media/ |
| H A D | glossary.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 58 **Field-programmable Gate Array** 63 See https://en.wikipedia.org/wiki/Field-programmable_gate_array. 72 together make a larger user-facing functional peripheral. For 80 **Inter-Integrated Circuit** 82 A multi-master, multi-slave, packet switched, single-ended, 84 like sub-device hardware components. 86 See http://www.nxp.com/docs/en/user-guide/UM10204.pdf. 91 A set of electronic circuits on one small flat piece of 120 - :term:`CEC API`; [all …]
|
| /linux/drivers/scsi/ |
| H A D | 3w-9xxx.h | 2 3w-9xxx.h -- 3ware 9000 Storage Controller device driver for Linux. 7 Copyright (C) 2004-2009 Applied Micro Circuits Corporation. 22 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 41 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 88 {0x0020, "Prepare for shutdown (power-off)"}, 111 {0x0037, "SO-DIMM incompatible"}, 112 {0x0038, "SO-DIMM not detected"}, 233 {0x0242, "SO-DIMM parameter(s) incompatible using defaults"}, 234 {0x0243, "SO-DIMM unsupported"}, 359 #define TW_IOCTL_CHRDEV_FREE -1 [all …]
|
| /linux/Documentation/devicetree/bindings/pwm/ |
| H A D | renesas,rzg2l-gpt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/renesas,rzg2l-gpt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Biju Das <biju.das.jz@bp.renesas.com> 13 RZ/G2L General PWM Timer (GPT) composed of 8 channels with 32-bit timer 16 * Up-counting or down-counting (saw waves) or up/down-counting 36 short-circuits between output pins. 42 pwm0 - GPT32E0.GTIOC0A channel 43 pwm1 - GPT32E0.GTIOC0B channel [all …]
|
| /linux/drivers/misc/ |
| H A D | ics932s401.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * A driver for the Integrated Circuits ICS932S401 19 static const unsigned short normal_i2c[] = { 0x69, I2C_CLIENT_END }; 122 mutex_lock(&data->lock); in ics932s401_update_device() 123 if (time_before(local_jiffies, data->sensors_last_updated + in ics932s401_update_device() 125 && data->sensors_valid) in ics932s401_update_device() 137 data->regs[regs_to_copy[i]] = temp >> 8; in ics932s401_update_device() 140 data->sensors_last_updated = local_jiffies; in ics932s401_update_device() 141 data->sensors_valid = 1; in ics932s401_update_device() 144 mutex_unlock(&data->lock); in ics932s401_update_device() [all …]
|
| /linux/drivers/staging/iio/impedance-analyzer/ |
| H A D | ad5933.c | 1 // SPDX-License-Identifier: GPL-2.0 94 unsigned short vref_mv; 95 unsigned short settling_cycles; 96 unsigned short freq_points; 119 BIT(IIO_CHAN_INFO_SCALE), AD5933_REG_TEMP_DATA, -1, 14), 129 while (len--) { in ad5933_i2c_write() 132 dev_err(&client->dev, "I2C write error\n"); in ad5933_i2c_write() 143 while (len--) { in ad5933_i2c_read() 146 dev_err(&client->dev, "I2C read error\n"); in ad5933_i2c_read() 156 unsigned char dat = st->ctrl_hb | cmd; in ad5933_cmd() [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-xgene-slimpro.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * X-Gene SLIMpro I2C Driver 5 * Copyright (c) 2014, Applied Micro Circuits Corporation 9 * This driver provides support for X-Gene SLIMpro I2C device access 10 * using the APM X-Gene SLIMpro mailbox driver. 14 #include <linux/dma-mapping.h> 62 * dev - Controller number (0-based) 63 * chip - I2C chip address 64 * op - SLIMPRO_IIC_READ or SLIMPRO_IIC_WRITE 65 * proto - SLIMPRO_IIC_SMB_PROTOCOL or SLIMPRO_IIC_I2C_PROTOCOL [all …]
|
| /linux/fs/ext4/ |
| H A D | fsmap.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 dest->fmr_device = src->fmr_device; in ext4_fsmap_from_internal() 20 dest->fmr_flags = src->fmr_flags; in ext4_fsmap_from_internal() 21 dest->fmr_physical = src->fmr_physical << sb->s_blocksize_bits; in ext4_fsmap_from_internal() 22 dest->fmr_owner = src->fmr_owner; in ext4_fsmap_from_internal() 23 dest->fmr_offset = 0; in ext4_fsmap_from_internal() 24 dest->fmr_length = src->fmr_length << sb->s_blocksize_bits; in ext4_fsmap_from_internal() 25 dest->fmr_reserved[0] = 0; in ext4_fsmap_from_internal() 26 dest->fmr_reserved[1] = 0; in ext4_fsmap_from_internal() 27 dest->fmr_reserved[2] = 0; in ext4_fsmap_from_internal() [all …]
|
| /linux/drivers/net/phy/ |
| H A D | dp83td510.c | 1 // SPDX-License-Identifier: GPL-2.0 16 /* Bit 7 - mii_interrupt, active high. Clears on read. 40 * 32-bit or 16-bit counters for TX and RX statistics and must be read in 43 * - DP83TD510E_PKT_STAT_1: Contains TX packet count bits [15:0]. 44 * - DP83TD510E_PKT_STAT_2: Contains TX packet count bits [31:16]. 45 * - DP83TD510E_PKT_STAT_3: Contains TX error packet count. 46 * - DP83TD510E_PKT_STAT_4: Contains RX packet count bits [15:0]. 47 * - DP83TD510E_PKT_STAT_5: Contains RX packet count bits [31:16]. 48 * - DP83TD510E_PKT_STAT_6: Contains RX error packet count. 68 * "Application Report - DP83TD510E Cable Diagnostics Toolkit": [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A D | touptek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2012-2014 John McMaster <JohnDMcMaster@gmail.com> 69 * Essentially gains are in range 0-0x001FF 92 * However, because could *maybe* damage circuits 98 /* Frame sync is a short read */ 190 return -EIO; in val_reply() 194 return -EIO; in val_reply() 198 return -EIO; in val_reply() 205 char *buff = gspca_dev->usb_buf; in reg_w() 211 rc = usb_control_msg(gspca_dev->dev, usb_rcvctrlpipe(gspca_dev->dev, 0), in reg_w() [all …]
|
| /linux/drivers/net/ethernet/toshiba/ |
| H A D | tc35815.c | 8 * -----<snip>----- 12 * Copyright (C) 2000-2001 Toshiba Corporation 15 * -----<snip>----- 21 * (C) Copyright TOSHIBA CORPORATION 2004-2005 122 /* DMA_Ctl bit assign ------------------------------------------------------- */ 137 /* RxFragSize bit assign ---------------------------------------------------- */ 141 /* MAC_Ctl bit assign ------------------------------------------------------- */ 155 /* PROM_Ctl bit assign ------------------------------------------------------ */ 165 /* CAM_Ctl bit assign ------------------------------------------------------- */ 173 /* CAM_Ena bit assign ------------------------------------------------------- */ [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_bmap_util.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 46 return xfs_rtb_to_daddr(ip->i_mount, fsb); in xfs_fsb_to_db() 47 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db() 59 return blkdev_issue_zeroout(xfs_inode_buftarg(ip)->bt_bdev, in xfs_zero_extent() 61 XFS_FSB_TO_BB(ip->i_mount, count_fsb), in xfs_zero_extent() 104 struct xfs_mount *mp = ip->i_mount; in xfs_bmap_count_blocks() 116 switch (ifp->if_format) { in xfs_bmap_count_blocks() 133 *count += btblocks - 1; in xfs_bmap_count_blocks() 152 struct kgetbmap *p = out + bmv->bmv_entries; in xfs_getbmap_report_one() [all …]
|
| /linux/net/ipv4/ |
| H A D | tcp_input.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 62 * Pasi Sarolahti: F-RTO for dealing with spurious RTOs 100 #define FLAG_DSACKING_ACK 0x800 /* SACK blocks contained D-SACK info */ 119 #define REXMIT_NEW 2 /* FRTO-style transmit of unsent/new packets */ 127 tp->tcp_clean_acked = cad; in clean_acked_data_enable() 135 tp->tcp_clean_acked = NULL; in clean_acked_data_disable() 149 bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown && in bpf_skops_parse_hdr() 163 switch (sk->sk_state) { in bpf_skops_parse_hdr() [all …]
|