/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,ltc4282.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sa <nuno.sa@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf 20 - adi,ltc4282 25 vdd-supply: true 30 '#clock-cells': 33 adi,rsense-nano-ohms: 36 adi,vin-mode-microvolt: [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2s.h> 30 stdout-path = "serial3:115200n8"; 33 gpio-keys { 34 compatible = "gpio-keys"; 35 pinctrl-names = "default"; [all …]
|
/linux/drivers/regulator/ |
H A D | tps65090-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 #define MAX_OVERCURRENT_WAIT 3 /* Overcurrent wait must be <= this */ 33 * struct tps65090_regulator - Per-regulator data for a tps65090 regulator 54 * tps65090_reg_set_overcurrent_wait - Setup overcurrent wait 56 * This will set the overcurrent wait time based on what's in the regulator 62 * Return: 0 if no error, non-zero if there was an error writing the register. 69 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in tps65090_reg_set_overcurrent_wait() 71 ri->overcurrent_wait << CTRL_WT_BIT); in tps65090_reg_set_overcurrent_wait() 73 dev_err(&rdev->dev, "Error updating overcurrent wait %#x\n", in tps65090_reg_set_overcurrent_wait() 74 rdev->desc->enable_reg); in tps65090_reg_set_overcurrent_wait() [all …]
|
/linux/drivers/usb/host/ |
H A D | ohci-hub.c | 1 // SPDX-License-Identifier: GPL-1.0+ 6 * (C) Copyright 2000-2004 David Brownell <dbrownell@users.sourceforge.net> 11 /*-------------------------------------------------------------------------*/ 38 /*-------------------------------------------------------------------------*/ 48 __releases(ohci->lock) in ohci_rh_suspend() 49 __acquires(ohci->lock) in ohci_rh_suspend() 53 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend() 54 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_rh_suspend() 57 ohci->hc_control &= ~OHCI_CTRL_HCFS; in ohci_rh_suspend() 58 ohci->hc_control |= OHCI_USB_RESET; in ohci_rh_suspend() [all …]
|
H A D | ohci-hcd.c | 1 // SPDX-License-Identifier: GPL-1.0+ 8 * (C) Copyright 2000-2004 David Brownell <dbrownell@users.sourceforge.net> 16 * OHCI is the main "non-Intel/VIA" standard for USB 1.1 host controller 17 * interfaces (though some non-x86 Intel chips use it). It supports 39 #include <linux/dma-mapping.h> 54 /*-------------------------------------------------------------------------*/ 63 /* On PA-RISC, PDC can leave IR set incorrectly; ignore it there. */ 72 /*-------------------------------------------------------------------------*/ 81 #include "pci-quirks.h" 87 #include "ohci-hub.c" [all …]
|
/linux/drivers/hwmon/ |
H A D | ltc4282.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 15 #include <linux/hwmon-sysfs.h> 115 #define LTC4282_CLKIN_RANGE (LTC4282_CLKIN_MAX - LTC4282_CLKIN_MIN + 1) 168 return regmap_update_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK, in ltc4282_set_rate() 197 ret = regmap_read(st->map, LTC4282_CLK_DIV, &clkdiv); in ltc4282_recalc_rate() 215 regmap_clear_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK); in ltc4282_disable() 224 ret = regmap_bulk_read(st->map, reg, &in, sizeof(in)); in ltc4282_read_voltage_word() 246 ret = regmap_read(st->map, reg, &in); in ltc4282_read_voltage_byte_cached() 267 ret = regmap_read(st->map, reg, &alarm); in __ltc4282_read_alarm() [all …]
|
/linux/sound/soc/codecs/ |
H A D | max98373.c | 1 // SPDX-License-Identifier: GPL-2.0 23 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98373_dac_event() 28 regmap_update_bits(max98373->regmap, in max98373_dac_event() 34 regmap_update_bits(max98373->regmap, in max98373_dac_event() 38 max98373->tdm_mode = false; in max98373_dac_event() 85 static DECLARE_TLV_DB_SCALE(max98373_digital_tlv, -6350, 50, 1); 101 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0), 102 2, 4, TLV_DB_SCALE_ITEM(-2200, 200, 0), 103 5, 6, TLV_DB_SCALE_ITEM(-1500, 300, 0), 104 7, 9, TLV_DB_SCALE_ITEM(-1000, 200, 0), [all …]
|
H A D | max98388.c | 1 // SPDX-License-Identifier: GPL-2.0 75 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event() 80 regmap_write(max98388->regmap, in max98388_dac_event() 85 regmap_write(max98388->regmap, in max98388_dac_event() 88 max98388->tdm_mode = false; in max98388_dac_event() 131 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1); 132 static DECLARE_TLV_DB_SCALE(max98388_amp_gain_tlv, -300, 300, 0); 135 "0dBFS", "-1dBFS", "-2dBFS", "-3dBFS", "-4dBFS", "-5dBFS", 136 "-6dBFS", "-7dBFS", "-8dBFS", "-9dBFS", "-10dBFS", "-11dBFS", 137 "-12dBFS", "-13dBFS", "-14dBFS", "-15dBFS" [all …]
|
/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 …]
|
H A D | hcd.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * hcd.c - DesignWare HS OTG Controller host-mode routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 17 #include <linux/dma-mapping.h> 37 * dwc2_enable_common_interrupts() - Initializes the commmon interrupts, 55 if (!hsotg->params.host_dma) in dwc2_enable_common_interrupts() 57 if (!hsotg->params.external_id_pin_ctl) in dwc2_enable_common_interrupts() 63 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm) in dwc2_enable_common_interrupts() 73 switch (hsotg->hw_params.arch) { in dwc2_gahbcfg_init() 75 dev_err(hsotg->dev, "External DMA Mode not supported\n"); in dwc2_gahbcfg_init() [all …]
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Faraday FOTG210 EHCI-like driver 6 * Author: Yuan-Hsin Chen <yhchen@faraday-tech.com> 7 * Feng-Hsin Chiang <john453@faraday-tech.com> 8 * Po-Yu Chuang <ratbert.chuang@gmail.com> 10 * Most of code borrowed from the Linux-3.7 EHCI driver 29 #include <linux/dma-mapping.h> 49 #define FOTG210_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */ 52 #define FOTG210_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */ 60 #define FOTG210_TUNE_FLS 1 /* (medium) 512-frame schedule */ [all …]
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nospcr -- disable console in ACPI SPCR table as 41 If set to vendor, prefer vendor-specific driver 73 Documentation/firmware-guide/acpi/debug.rst for more information about [all …]
|