| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 106 * The year parameter passed to the driver is usually an offset relative to 108 * relative to the minimum year allowed by the hardware. 110 #define SUNXI_YEAR_OFF(x) ((x)->min - 1900) 148 struct sunxi_rtc_dev *chip = (struct sunxi_rtc_dev *) id; in sunxi_rtc_alarmirq() local 151 val = readl(chip->base + SUNXI_ALRM_IRQ_STA); in sunxi_rtc_alarmirq() 155 writel(val, chip->base + SUNXI_ALRM_IRQ_STA); in sunxi_rtc_alarmirq() 157 rtc_update_irq(chip->rtc, 1, RTC_AF | RTC_IRQF); in sunxi_rtc_alarmirq() 165 static void sunxi_rtc_setaie(unsigned int to, struct sunxi_rtc_dev *chip) in sunxi_rtc_setaie() argument 171 alrm_val = readl(chip->base + SUNXI_ALRM_EN); in sunxi_rtc_setaie() [all …]
|
| D | rtc-sun6i.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2014, Chen-Yu Tsai <wens@csie.org> 7 * based on rtc-sunxi.c 15 #include <linux/clk-provider.h> 103 * The year parameter passed to the driver is usually an offset relative to 105 * relative to the minimum year allowed by the hardware. 107 * The year range is 1970 - 2033. This range is selected to match Allwinner's 111 #define SUN6I_YEAR_OFF (SUN6I_YEAR_MIN - 1900) 116 * - number of GPIO pins that can be configured to hold a certain level 117 * - crypto-key related registers (H5, H6) [all …]
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 104 * The year parameter passed to the driver is usually an offset relative to 106 * relative to the minimum year allowed by the hardware. 108 #define SUNXI_YEAR_OFF(x) ((x)->min - 1900) 146 struct sunxi_rtc_dev *chip = (struct sunxi_rtc_dev *) id; in sunxi_rtc_alarmirq() local 149 val = readl(chip->base + SUNXI_ALRM_IRQ_STA); in sunxi_rtc_alarmirq() 153 writel(val, chip->base + SUNXI_ALRM_IRQ_STA); in sunxi_rtc_alarmirq() 155 rtc_update_irq(chip->rtc, 1, RTC_AF | RTC_IRQF); in sunxi_rtc_alarmirq() 163 static void sunxi_rtc_setaie(unsigned int to, struct sunxi_rtc_dev *chip) in sunxi_rtc_setaie() argument 169 alrm_val = readl(chip->base + SUNXI_ALRM_EN); in sunxi_rtc_setaie() [all …]
|
| D | rtc-sun6i.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2014, Chen-Yu Tsai <wens@csie.org> 7 * based on rtc-sunxi.c 15 #include <linux/clk-provider.h> 16 #include <linux/clk/sunxi-ng.h> 73 /* General-purpose data */ 108 * The year parameter passed to the driver is usually an offset relative to 110 * relative to the minimum year allowed by the hardware. 112 * The year range is 1970 - 2033. This range is selected to match Allwinner's 116 #define SUN6I_YEAR_OFF (SUN6I_YEAR_MIN - 1900) [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | pwm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * enum pwm_polarity - polarity of a PWM signal 13 * @PWM_POLARITY_NORMAL: a high signal for the duration of the duty- 16 * @PWM_POLARITY_INVERSED: a low signal for the duration of the duty- 26 * struct pwm_args - board-dependent PWM arguments 30 * This structure describes board-dependent arguments attached to a PWM 49 * struct pwm_state - state of a PWM channel 68 * struct pwm_device - PWM channel object 71 * @hwpwm: per-chip relative index of the PWM device 73 * @chip: PWM chip providing this PWM device [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | pwm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * enum pwm_polarity - polarity of a PWM signal 16 * @PWM_POLARITY_NORMAL: a high signal for the duration of the duty- 19 * @PWM_POLARITY_INVERSED: a low signal for the duration of the duty- 29 * struct pwm_args - board-dependent PWM arguments 33 * This structure describes board-dependent arguments attached to a PWM 52 * struct pwm_state - state of a PWM channel 66 * struct pwm_device - PWM channel object 69 * @hwpwm: per-chip relative index of the PWM device 71 * @chip: PWM chip providing this PWM device [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | lm77.rst | 10 Addresses scanned: I2C 0x48 - 0x4b 20 ----------- 23 sensor incorporates a band-gap type temperature sensor, 24 10-bit ADC, and a digital comparator with user-programmable upper 29 applies to all 3 limits. The relative difference is stored in a single 30 register on the chip, which means that the relative difference between 42 read-only. Setting temp1_crit_hyst writes the difference between 43 temp1_crit_hyst and temp1_crit into the chip, and the same relative
|
| D | emc1403.rst | 14 - http://ww1.microchip.com/downloads/en/DeviceDoc/1412.pdf 15 - https://ww1.microchip.com/downloads/en/DeviceDoc/1402.pdf 25 - http://ww1.microchip.com/downloads/en/DeviceDoc/1403_1404.pdf 26 - http://ww1.microchip.com/downloads/en/DeviceDoc/1413_1414.pdf 36 - https://ww1.microchip.com/downloads/en/DeviceDoc/1422.pdf 46 - https://ww1.microchip.com/downloads/en/DeviceDoc/1423_1424.pdf 53 ----------- 63 hysteresis mechanism which applies to all limits. The relative difference 64 is stored in a single register on the chip, which means that the relative 77 are read-only. Setting temp1_crit_hyst writes the difference between [all …]
|
| D | sht21.rst | 35 ----------- 39 devices is the higher level of precision of the SHT25 (1.8% relative humidity, 40 0.2 degree Celsius) compared with the SHT21 (2.0% relative humidity, 47 sysfs-Interface 48 --------------- 51 - temperature input 54 - humidity input 56 - Electronic Identification Code 59 ----- 67 Different resolutions, the on-chip heater, and using the CRC checksum
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | lm77.rst | 10 Addresses scanned: I2C 0x48 - 0x4b 20 ----------- 23 sensor incorporates a band-gap type temperature sensor, 24 10-bit ADC, and a digital comparator with user-programmable upper 29 applies to all 3 limits. The relative difference is stored in a single 30 register on the chip, which means that the relative difference between 42 read-only. Setting temp1_crit_hyst writes the difference between 43 temp1_crit_hyst and temp1_crit into the chip, and the same relative
|
| D | emc1403.rst | 14 - http://ww1.microchip.com/downloads/en/DeviceDoc/1412.pdf 15 - https://ww1.microchip.com/downloads/en/DeviceDoc/1402.pdf 25 - http://ww1.microchip.com/downloads/en/DeviceDoc/1403_1404.pdf 26 - http://ww1.microchip.com/downloads/en/DeviceDoc/1413_1414.pdf 36 - https://ww1.microchip.com/downloads/en/DeviceDoc/1422.pdf 46 - https://ww1.microchip.com/downloads/en/DeviceDoc/1423_1424.pdf 53 ----------- 63 hysteresis mechanism which applies to all limits. The relative difference 64 is stored in a single register on the chip, which means that the relative 77 are read-only. Setting temp1_crit_hyst writes the difference between [all …]
|
| D | sht21.rst | 35 ----------- 39 devices is the higher level of precision of the SHT25 (1.8% relative humidity, 40 0.2 degree Celsius) compared with the SHT21 (2.0% relative humidity, 47 sysfs-Interface 48 --------------- 51 - temperature input 54 - humidity input 56 - Electronic Identification Code 59 ----- 67 Different resolutions, the on-chip heater, and using the CRC checksum
|
| /kernel/linux/linux-5.10/include/linux/gpio/ |
| D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * struct gpiod_lookup - lookup table 23 * @key: either the name of the chip the GPIO belongs to, or the GPIO line name 26 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO, or 50 * struct gpiod_hog - GPIO line hog table 51 * @chip_label: name of the chip the GPIO belongs to 52 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO
|
| /kernel/linux/linux-6.6/include/linux/gpio/ |
| D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * struct gpiod_lookup - lookup table 23 * @key: either the name of the chip the GPIO belongs to, or the GPIO line name 26 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO, or 50 * struct gpiod_hog - GPIO line hog table 51 * @chip_label: name of the chip the GPIO belongs to 52 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-mpu6050 | 5 Contact: linux-iio@vger.kernel.org 9 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be 10 easy to tell the relative positions among sensors as well as their 11 positions relative to the board that holds these sensors. Identity matrix 12 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-mpu6050 | 5 Contact: linux-iio@vger.kernel.org 9 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be 10 easy to tell the relative positions among sensors as well as their 11 positions relative to the board that holds these sensors. Identity matrix 12 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | tango_nand.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/dma-mapping.h> 16 /* Offsets relative to chip->base */ 21 /* Offsets relative to reg_base */ 45 /* Offsets relative to mem_base */ 60 /* Offsets relative to pbus_base */ 116 static void tango_select_target(struct nand_chip *chip, unsigned int cs) in tango_select_target() argument 118 struct tango_nfc *nfc = to_tango_nfc(chip->controller); in tango_select_target() 119 struct tango_chip *tchip = to_tango_chip(chip); in tango_select_target() 121 writel_relaxed(tchip->timing1, nfc->reg_base + NFC_TIMING1); in tango_select_target() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/ |
| D | gpmc-nor.txt | 8 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt 11 - bank-width: Width of NOR flash in bytes. GPMC supports 8-bit and 12 16-bit devices and so must be either 1 or 2 bytes. 13 - compatible: Documentation/devicetree/bindings/mtd/mtd-physmap.txt 14 - gpmc,cs-on-ns: Chip-select assertion time 15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 16 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes 17 - gpmc,oe-on-ns: Output-enable assertion time 18 - gpmc,oe-off-ns: Output-enable de-assertion time 19 - gpmc,we-on-ns Write-enable assertion time [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | gpmc-eth.txt | 1 Device tree bindings for Ethernet chip connected to TI GPMC 4 General-Purpose Memory Controller can be used to connect Pseudo-SRAM devices 12 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt 18 Child nodes need to specify the GPMC bus address width using the "bank-width" 20 specify the I/O registers address width. Even when the GPMC has a maximum 16-bit 21 address width, it supports devices with 32-bit word registers. 23 OMAP2+ board, "bank-width = <2>;" and "reg-io-width = <4>;". 26 - bank-width: Address width of the device in bytes. GPMC supports 8-bit 27 and 16-bit devices and so must be either 1 or 2 bytes. 28 - compatible: Compatible string property for the ethernet child device. [all …]
|
| /kernel/linux/linux-5.10/drivers/bcma/ |
| D | driver_gpio.c | 6 * Copyright 2012, Hauke Mehrtens <hauke@hauke-m.de> 20 static int bcma_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_get_value() argument 22 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_get_value() 27 static void bcma_gpio_set_value(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_set_value() argument 30 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_set_value() 35 static int bcma_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_direction_input() argument 37 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_input() 43 static int bcma_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_direction_output() argument 46 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_output() 53 static int bcma_gpio_request(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_request() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/bcma/ |
| D | driver_gpio.c | 6 * Copyright 2012, Hauke Mehrtens <hauke@hauke-m.de> 22 static int bcma_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_get_value() argument 24 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_get_value() 29 static void bcma_gpio_set_value(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_set_value() argument 32 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_set_value() 37 static int bcma_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_direction_input() argument 39 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_input() 45 static int bcma_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_direction_output() argument 48 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_output() 55 static int bcma_gpio_request(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_request() argument [all …]
|
| /kernel/linux/linux-6.6/arch/mips/rb532/ |
| D | gpio.c | 5 * Copyright 2006 Phil Sutter <n0-1@freewrt.org> 37 #include <asm/mach-rc32434/rb.h> 38 #include <asm/mach-rc32434/gpio.h> 41 /* Offsets relative to GPIOBASE */ 51 struct gpio_chip chip; member 59 .end = REGBASE + GPIOBASE + sizeof(struct rb532_gpio_reg) - 1, 64 /* rb532_set_bit - sanely set a bit 86 /* rb532_get_bit - read a bit 97 static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset) in rb532_gpio_get() argument 101 gpch = gpiochip_get_data(chip); in rb532_gpio_get() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mux/ |
| D | mux-consumer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/mux-consumer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 14 want to use with a property containing a 'mux-ctrl-list': 16 mux-ctrl-list ::= <single-mux-ctrl> [mux-ctrl-list] 17 single-mux-ctrl ::= <mux-ctrl-phandle> [mux-ctrl-specifier] 18 mux-ctrl-phandle : phandle to mux controller node 19 mux-ctrl-specifier : array of #mux-control-cells specifying the [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
| D | iosm_ipc_mmio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-21 Intel Corporation. 9 #include <linux/io-64-nonatomic-lo-hi.h> 16 * note that MMIO_CI offsets are relative to end of chip info structure 19 /* MMIO chip info size in bytes */ 25 /* Boot ROM Chip Info struct */ 73 cp_cap = ioread32(ipc_mmio->base + ipc_mmio->offset.cp_capability); in ipc_mmio_update_cp_capability() 75 ipc_mmio->mux_protocol = ((ver >= IOSM_CP_VERSION) && (cp_cap & in ipc_mmio_update_cp_capability() 79 ipc_mmio->has_ul_flow_credit = in ipc_mmio_update_cp_capability() 92 ipc_mmio->dev = dev; in ipc_mmio_init() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ |
| D | exynos-srom.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/exynos-srom.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 19 - const: samsung,exynos4210-srom 24 "#address-cells": 27 "#size-cells": 33 <bank-number> 0 <parent address of bank> <size> 37 "^.*@[0-3],[a-f0-9]+$": [all …]
|