/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,spmi-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,spmi-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robert Marko <robimarko@gmail.com> 15 - qcom,pm6125-regulators 16 - qcom,pm660-regulators 17 - qcom,pm660l-regulators 18 - qcom,pm8004-regulators 19 - qcom,pm8005-regulators [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8996-xiaomi-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 compatible = "gpio-gate-clock"; 17 #clock-cells = <0>; 18 enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&divclk1_default>; [all …]
|
H A D | msm8996-oneplus-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 14 #include <dt-bindings/sound/qcom,wcd9335.h> 23 compatible = "simple-battery"; 25 constant-charge-current-max-microamp = <3000000>; 26 voltage-min-design-microvolt = <3400000>; 30 stdout-path = "serial1:115200n8"; [all …]
|
H A D | msm8996-sony-xperia-tone.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 18 /delete-node/ &adsp_mem; 19 /delete-node/ &slpi_mem; 20 /delete-node/ &venus_mem; 21 /delete-node/ &gpu_mem; [all …]
|
H A D | apq8096-db820c.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 6 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 #include <dt-bindings/sound/qcom,q6afe.h> 16 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include <dt-bindings/sound/qcom,wcd9335.h> [all …]
|
H A D | msm8939.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 7 #include <dt-bindings/clock/qcom,gcc-msm8939.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/interconnect/qcom,msm8939.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8939.h> 13 #include <dt-bindings/thermal/thermal.h> [all …]
|
H A D | msm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 6 #include <dt-bindings/arm/coresight-cti-dt.h> 7 #include <dt-bindings/clock/qcom,gcc-msm8916.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/interconnect/qcom,msm8916.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8916.h> 13 #include <dt-bindings/thermal/thermal.h> [all …]
|
/openbmc/linux/Documentation/driver-api/dmaengine/ |
H A D | provider.rst | 8 Most of the Slave DMA controllers have the same general principles of 20 DMA-eligible devices to the controller itself. Whenever the device 29 That wouldn't work well in the real world, since slave devices might 44 transfer into smaller sub-transfers. 49 non-contiguous buffers to a contiguous buffer, which is called 50 scatter-gather. 53 scatter-gather. So we're left with two cases here: either we have a 56 that implements in hardware scatter-gather. 72 not and the three parameters we saw earlier: the burst size, the 75 The one last thing is that usually, slave devices won't issue DRQ by [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/interconnect/qcom,msm8974.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/qcom,gcc-msm8974.h> 7 #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/reset/qcom,gcc-msm8974.h> 10 #include <dt-bindings/gpio/gpio.h> 13 #address-cells = <1>; [all …]
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_twsi.c | 3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 43 * Originally written for a not-quite-i2c serial eeprom, which is 45 * variety of other uses, most board-specific, so the bit-boffing 47 * have been moved to chip-specific files. 59 * i2c_wait_for_writes - wait for a write 74 dd->f_gpio_mod(dd, 0, 0, 0); in i2c_wait_for_writes() 95 mask = 1UL << dd->gpio_scl_num; in scl_out() 97 /* SCL is meant to be bare-drain, so never set "OUT", just DIR */ in scl_out() [all …]
|
/openbmc/linux/drivers/i2c/algos/ |
H A D | i2c-algo-bit.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * i2c-algo-bit.c: i2c driver algorithms for bit-shift adapters 5 * Copyright (C) 1995-2000 Simon G. Vogl 17 #include <linux/i2c-algo-bit.h> 20 /* ----- global defines ----------------------------------------------- */ 33 /* ----- global variables --------------------------------------------- */ 35 static int bit_test; /* see if the line-setting functions work */ 37 MODULE_PARM_DESC(bit_test, "lines testing - 0 off; 1 report; 2 fail if stuck"); 43 "debug level - 0 off; 1 normal; 2 verbose; 3 very verbose"); 46 /* --- setting states on the bus with the right timing: --------------- */ [all …]
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | hcd_intr.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * hcd_intr.c - DesignWare HS OTG Controller host-mode interrupt handling 5 * Copyright (C) 2004-2013 Synopsys, Inc. 15 #include <linux/dma-mapping.h> 35 u16 curr_frame_number = hsotg->frame_number; in dwc2_track_missed_sofs() 36 u16 expected = dwc2_frame_num_inc(hsotg->last_frame_num, 1); in dwc2_track_missed_sofs() 43 if (hsotg->frame_num_idx < FRAME_NUM_ARRAY_SIZE) { in dwc2_track_missed_sofs() 45 hsotg->frame_num_array[hsotg->frame_num_idx] = in dwc2_track_missed_sofs() 47 hsotg->last_frame_num_array[hsotg->frame_num_idx] = in dwc2_track_missed_sofs() 48 hsotg->last_frame_num; in dwc2_track_missed_sofs() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | qcom_spmi-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 8 #include <linux/devm-helpers.h> 57 * struct spmi_regulator_init_data - spmi-regulator initialization data 365 * struct spmi_voltage_range - regulator set point voltage mapping description 380 * (max_uV - min_uV) % step_uV == 0 381 * (set_point_min_uV - min_uV) % step_uV == 0* 382 * (set_point_max_uV - min_uV) % step_uV == 0* 383 * n_voltages = (set_point_max_uV - set_point_min_uV) / step_uV + 1 627 return regmap_bulk_read(vreg->regmap, vreg->base + addr, buf, len); in spmi_vreg_read() [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx.reg | 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 62 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 69 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 76 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { \ 169 * The sequencer never saw 187 * A command with a non-zero 839 * PCI-X Control 1011 * Slave Split Out Address 0 [all …]
|
H A D | aic7xxx_osm.c | 26 * config file (!adp7771.cfg), the Adaptec AHA-2740A Series User's Guide, 29 * (adp7770.ovl), the Adaptec AHA-2740 Series Technical Reference Manual, 30 * the Adaptec AIC-7770 Data Book, the ANSI SCSI specification, the 31 * ANSI SCSI-2 specification (draft 10c), ... 33 * -------------------------------------------------------------------------- 41 * -------------------------------------------------------------------------- 42 * Copyright (c) 1994-2000 Justin T. Gibbs. 43 * Copyright (c) 2000-2001 Adaptec Inc. 57 * 3. Neither the names of the above-listed copyright holders nor the names 78 *--------------------------------------------------------------------------- [all …]
|
H A D | aic79xx_osm.c | 6 * -------------------------------------------------------------------------- 7 * Copyright (c) 1994-2000 Justin T. Gibbs. 8 * Copyright (c) 1997-1999 Doug Ledford 9 * Copyright (c) 2000-2003 Adaptec Inc. 23 * 3. Neither the names of the above-listed copyright holders nor the names 76 * To change the default number of tagged transactions allowed per-device, 83 * Twin adapters will use indexes 0-7 for channel 0, and indexes 8-15 110 * (0, 2-11, 13-15), disables tagged queueing for ID 12, and tells the 118 * IDs 2, 5-7, and 9-15. 227 ahd->platform_data->host->host_no, in ahd_print_path() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_driver.h | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 60 /*------------------------------------------------------------------------------ 62 ------------------------------------------------------------------------------*/ 69 * \retval -EIO Initialization failed. 78 * \retval -EIO Termination failed. 98 * \retval -EIO Failure. 99 * \retval -EINVAL Parameter 'wcount' is not zero but parameter 133 #define TUNER_MODE_SUB0 0x0001 /* for sub-mode (e.g. RF-AGC setting) */ 134 #define TUNER_MODE_SUB1 0x0002 /* for sub-mode (e.g. RF-AGC setting) */ 135 #define TUNER_MODE_SUB2 0x0004 /* for sub-mode (e.g. RF-AGC setting) */ [all …]
|
H A D | drxj.c | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 52 /*----------------------------------------------------------------------------- 54 ----------------------------------------------------------------------------*/ 74 #define DRX39XX_MAIN_FIRMWARE "dvb-fe-drxj-mc-1.0.8.fw" 200 /*----------------------------------------------------------------------------- 202 ----------------------------------------------------------------------------*/ 204 /*----------------------------------------------------------------------------- 206 ----------------------------------------------------------------------------*/ 208 #define DRXJ_WAKE_UP_KEY (demod->my_i2c_dev_addr->i2c_addr) 437 #define AUD_VOLUME_DB_MIN -60 [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | drxd_hard.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drxd_hard.c: DVB-T Demodulator Micronas DRX3975D-A2,DRX397xD-B1 5 * Copyright (C) 2003-2007 Micronas 21 #define DRX_FW_FILENAME_A2 "drxd-a2-1.1.fw" 22 #define DRX_FW_FILENAME_B1 "drxd-b1-1.1.fw" 194 return -1; in i2c_write() 211 return -1; in i2c_read() 227 u8 adr = state->config.demod_address; in Read16() 232 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16() 233 return -1; in Read16() [all …]
|
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DesignWare High-Definition Multimedia Interface (HDMI) driver 5 * Copyright (C) 2013-2015 Mentor Graphics Inc. 6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. 20 #include <linux/dma-mapping.h> 23 #include <media/cec-notifier.h> 25 #include <uapi/linux/media-bus-format.h> 38 #include "dw-hdmi-audio.h" 39 #include "dw-hdmi-cec.h" 40 #include "dw-hdmi.h" [all …]
|
/openbmc/linux/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 2 * s2io.c: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC 3 * Copyright(c) 2002-2010 Exar Corp. 47 * Default is '2' - which means disable in promisc mode 48 * and enable in non-promiscuous mode. 60 #include <linux/dma-mapping.h> 78 #include <linux/io-64-nonatomic-lo-hi.h> 89 #include "s2io-regs.h" 104 ret = ((!(rxdp->Control_1 & RXD_OWN_XENA)) && in RXD_IS_UP2DT() 105 (GET_RXD_MARKER(rxdp->Control_2) != THE_RXD_MARK)); in RXD_IS_UP2DT() 125 return test_bit(__S2IO_STATE_CARD_UP, &sp->state); in is_s2io_card_up() [all …]
|