| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-adc-mt6360 | 3 Contact: gene_chen@richtek.com 6 Calculating with scale and offset returns voltage in uV 10 Contact: gene_chen@richtek.com 12 Indicated MT6360 VBUS ADC with lower accuracy(+-75mA) 14 Calculating with scale and offset returns voltage in uV 18 Contact: gene_chen@richtek.com 20 Indicated MT6360 VBUS ADC with higher accuracy(+-30mA) 22 Calculating with scale and offset returns voltage in uV 26 Contact: gene_chen@richtek.com 29 Calculating with scale and offset returns voltage in uV [all …]
|
| /kernel/liteos_a/testsuites/unittest/net/resolv/smoke/ |
| D | net_resolv_test_001.cpp | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 48 int offset, ret; in DnCompTest() local 50 offset = strlen(reinterpret_cast<const char *>(dnptrs[0])) + 1; in DnCompTest() 51 … ret = dn_comp("x.y.z.example.com", comp_dn + offset, sizeof(comp_dn) - offset, dnptrs, lastdnptr); in DnCompTest() 52 dump(comp_dn + offset, ret); in DnCompTest() 54 ICUNIT_ASSERT_EQUAL(dnptrs[1], comp_dn + offset, dnptrs[1]); in DnCompTest() 56 offset += ret+1; in DnCompTest() 57 ret = dn_comp("zz.example.com", comp_dn + offset, sizeof(comp_dn) - offset, dnptrs, lastdnptr); in DnCompTest() 58 dump(comp_dn+offset, ret); in DnCompTest() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| D | ssd1307fb.txt | 4 - compatible: Should be "solomon,<chip>fb-<bus>". The only supported bus for 7 - reg: Should contain address of the controller on the I2C bus. Most likely 9 - pwm: Should contain the pwm to use according to the OF device tree PWM 11 - solomon,height: Height in pixel of the screen driven by the controller 12 - solomon,width: Width in pixel of the screen driven by the controller 13 - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is 17 - reset-gpios: The GPIO used to reset the OLED display, if available. See 19 - vbat-supply: The supply for VBAT 20 - solomon,segment-no-remap: Display needs normal (non-inverted) data column 22 - solomon,col-offset: Offset of columns (COL/SEG) that the screen is mapped to. [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-tps68470.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Antti Laakso <antti.laakso@intel.com> 9 * Tianshu Qiu <tian.shu.qiu@intel.com> 10 * Jian Xu Zheng <jian.xu.zheng@intel.com> 11 * Yuning Pu <yuning.pu@intel.com> 29 static int tps68470_gpio_get(struct gpio_chip *gc, unsigned int offset) in tps68470_gpio_get() argument 32 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get() 36 if (offset >= TPS68470_N_REGULAR_GPIO) { in tps68470_gpio_get() 37 offset -= TPS68470_N_REGULAR_GPIO; in tps68470_gpio_get() 43 dev_err(tps68470_gpio->gc.parent, "reg 0x%x read failed\n", in tps68470_gpio_get() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-tps68470.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Antti Laakso <antti.laakso@intel.com> 9 * Tianshu Qiu <tian.shu.qiu@intel.com> 10 * Jian Xu Zheng <jian.xu.zheng@intel.com> 11 * Yuning Pu <yuning.pu@intel.com> 29 static int tps68470_gpio_get(struct gpio_chip *gc, unsigned int offset) in tps68470_gpio_get() argument 32 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get() 36 if (offset >= TPS68470_N_REGULAR_GPIO) { in tps68470_gpio_get() 37 offset -= TPS68470_N_REGULAR_GPIO; in tps68470_gpio_get() 43 dev_err(tps68470_gpio->gc.parent, "reg 0x%x read failed\n", in tps68470_gpio_get() [all …]
|
| D | gpio-lp87565.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ 4 * Keerthy <j-keerthy@ti.com> 21 static int lp87565_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp87565_gpio_get() argument 26 ret = regmap_read(gpio->map, LP87565_REG_GPIO_IN, &val); in lp87565_gpio_get() 30 return !!(val & BIT(offset)); in lp87565_gpio_get() 33 static void lp87565_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp87565_gpio_set() argument 38 regmap_update_bits(gpio->map, LP87565_REG_GPIO_OUT, in lp87565_gpio_set() 39 BIT(offset), value ? BIT(offset) : 0); in lp87565_gpio_set() 43 unsigned int offset) in lp87565_gpio_get_direction() argument [all …]
|
| D | gpio-tps65086.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015-2023 Texas Instruments Incorporated - https://www.ti.com/ 4 * Andrew Davis <afd@ti.com> 21 unsigned offset) in tps65086_gpio_get_direction() argument 28 unsigned offset) in tps65086_gpio_direction_input() argument 31 return -EINVAL; in tps65086_gpio_direction_input() 35 unsigned offset, int value) in tps65086_gpio_direction_output() argument 40 regmap_update_bits(gpio->tps->regmap, TPS65086_GPOCTRL, in tps65086_gpio_direction_output() 41 BIT(4 + offset), value ? BIT(4 + offset) : 0); in tps65086_gpio_direction_output() 46 static int tps65086_gpio_get(struct gpio_chip *chip, unsigned offset) in tps65086_gpio_get() argument [all …]
|
| D | gpio-tps65912.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ 6 * Andrew F. Davis <afd@ti.com> 24 unsigned offset) in tps65912_gpio_get_direction() argument 30 ret = regmap_read(gpio->tps->regmap, TPS65912_GPIO1 + offset, &val); in tps65912_gpio_get_direction() 40 static int tps65912_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_direction_input() argument 44 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset, in tps65912_gpio_direction_input() 49 unsigned offset, int value) in tps65912_gpio_direction_output() argument 54 regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset, in tps65912_gpio_direction_output() 57 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset, in tps65912_gpio_direction_output() [all …]
|
| D | gpio-lp873x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ 4 * Keerthy <j-keerthy@ti.com> 25 unsigned int offset) in lp873x_gpio_get_direction() argument 32 unsigned int offset) in lp873x_gpio_direction_input() argument 35 return -EINVAL; in lp873x_gpio_direction_input() 39 unsigned int offset, int value) in lp873x_gpio_direction_output() argument 44 return regmap_update_bits(gpio->lp873->regmap, LP873X_REG_GPO_CTRL, in lp873x_gpio_direction_output() 45 BIT(offset * BITS_PER_GPO), in lp873x_gpio_direction_output() 46 value ? BIT(offset * BITS_PER_GPO) : 0); in lp873x_gpio_direction_output() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ |
| D | solomon,ssd1307fb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 11 - Javier Martinez Canillas <javierm@redhat.com> 17 - enum: 18 - solomon,ssd1305fb-i2c 19 - solomon,ssd1306fb-i2c 20 - solomon,ssd1307fb-i2c 21 - solomon,ssd1309fb-i2c [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/meson/ |
| D | meson8b.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Author: Carlo Caione <carlo@endlessm.com> 7 * Michael Turquette <mturquette@baylibre.com> 20 * [0] https://dn.odroid.com/S805/Datasheet/S805_Datasheet%20V0.8%2020150126.pdf 22 #define HHI_GP_PLL_CNTL 0x40 /* 0x10 offset in data sheet */ 23 #define HHI_GP_PLL_CNTL2 0x44 /* 0x11 offset in data sheet */ 24 #define HHI_GP_PLL_CNTL3 0x48 /* 0x12 offset in data sheet */ 25 #define HHI_GP_PLL_CNTL4 0x4C /* 0x13 offset in data sheet */ 26 #define HHI_GP_PLL_CNTL5 0x50 /* 0x14 offset in data sheet */ 27 #define HHI_VIID_CLK_DIV 0x128 /* 0x4a offset in data sheet */ [all …]
|
| /kernel/linux/linux-6.6/include/crypto/ |
| D | scatterwalk.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> 6 * Copyright (c) 2002 Adam J. Richter <adam@yggdrasil.com> 7 * Copyright (c) 2004 Jean-Luc Cooke <jlcooke@certainkey.com> 31 unsigned int len = walk->sg->offset + walk->sg->length - walk->offset; in scatterwalk_pagelen() 32 unsigned int len_this_page = offset_in_page(~walk->offset) + 1; in scatterwalk_pagelen() 46 walk->offset += nbytes; in scatterwalk_advance() 51 return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); in scatterwalk_page() 62 walk->sg = sg; in scatterwalk_start() 63 walk->offset = sg->offset; in scatterwalk_start() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
| D | ptp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Erik Hons <erik.hons@ni.com> 9 * Brandon Streiff <brandon.streiff@ni.com> 10 * Dane Wagner <dane.wagner@ni.com> 18 /* Offset 0x00: TAI Global Config */ 33 /* Offset 0x01: Timestamp Clock Period (ps) */ 36 /* Offset 0x02/0x03: Trigger Generation Amount */ 40 /* Offset 0x04: Clock Compensation */ 43 /* Offset 0x05: Trigger Configuration */ 46 /* Offset 0x06: Ingress Rate Limiter Clock Generation Amount */ [all …]
|
| D | hwtstamp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Erik Hons <erik.hons@ni.com> 9 * Brandon Streiff <brandon.streiff@ni.com> 10 * Dane Wagner <dane.wagner@ni.com> 19 /* Offset 0x00: PTP EtherType */ 22 /* Offset 0x01: Message Type Timestamp Enables */ 30 /* Offset 0x02: Timestamp Arrival Capture Pointers */ 33 /* Offset 0x05: PTP Global Configuration */ 39 /* Offset 0x07: PTP Global Configuration */ 48 /* Offset 0x08: PTP Interrupt Status */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
| D | ptp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Erik Hons <erik.hons@ni.com> 9 * Brandon Streiff <brandon.streiff@ni.com> 10 * Dane Wagner <dane.wagner@ni.com> 18 /* Offset 0x00: TAI Global Config */ 33 /* Offset 0x01: Timestamp Clock Period (ps) */ 36 /* Offset 0x02/0x03: Trigger Generation Amount */ 40 /* Offset 0x04: Clock Compensation */ 43 /* Offset 0x05: Trigger Configuration */ 46 /* Offset 0x06: Ingress Rate Limiter Clock Generation Amount */ [all …]
|
| D | hwtstamp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Erik Hons <erik.hons@ni.com> 9 * Brandon Streiff <brandon.streiff@ni.com> 10 * Dane Wagner <dane.wagner@ni.com> 19 /* Offset 0x00: PTP EtherType */ 22 /* Offset 0x01: Message Type Timestamp Enables */ 30 /* Offset 0x02: Timestamp Arrival Capture Pointers */ 33 /* Offset 0x05: PTP Global Configuration */ 39 /* Offset 0x07: PTP Global Configuration */ 48 /* Offset 0x08: PTP Interrupt Status */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
| D | mmio.c | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 25 * Kevin Tian <kevin.tian@intel.com> 29 * Tina Zhang <tina.zhang@intel.com> 30 * Min He <min.he@intel.com> 31 * Niu Bing <bing.niu@intel.com> 32 * Zhi Wang <zhi.a.wang@intel.com> 40 * intel_vgpu_gpa_to_mmio_offset - translate a GPA to MMIO offset 50 return gpa - gttmmio_gpa; in intel_vgpu_gpa_to_mmio_offset() 54 (reg >= 0 && reg < gvt->device_info.mmio_size) 57 (reg >= gvt->device_info.gtt_start_offset \ [all …]
|
| D | mmio.h | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 25 * Kevin Tian <kevin.tian@intel.com> 29 * Tina Zhang <tina.zhang@intel.com> 30 * Min He <min.he@intel.com> 31 * Niu Bing <bing.niu@intel.com> 32 * Zhi Wang <zhi.a.wang@intel.com> 63 u32 offset; member 80 int (*handler)(struct intel_gvt *gvt, u32 offset, void *data), 94 int intel_vgpu_default_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, 96 int intel_vgpu_default_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
| D | mmio.c | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 25 * Kevin Tian <kevin.tian@intel.com> 29 * Tina Zhang <tina.zhang@intel.com> 30 * Min He <min.he@intel.com> 31 * Niu Bing <bing.niu@intel.com> 32 * Zhi Wang <zhi.a.wang@intel.com> 44 * intel_vgpu_gpa_to_mmio_offset - translate a GPA to MMIO offset 54 return gpa - gttmmio_gpa; in intel_vgpu_gpa_to_mmio_offset() 58 (reg >= 0 && reg < gvt->device_info.mmio_size) 61 (reg >= gvt->device_info.gtt_start_offset \ [all …]
|
| D | mmio.h | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 25 * Kevin Tian <kevin.tian@intel.com> 29 * Tina Zhang <tina.zhang@intel.com> 30 * Min He <min.he@intel.com> 31 * Niu Bing <bing.niu@intel.com> 32 * Zhi Wang <zhi.a.wang@intel.com> 63 u32 offset; member 79 int (*handler)(struct intel_gvt *gvt, u32 offset, void *data), 83 unsigned int offset); 96 int intel_vgpu_default_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, [all …]
|
| /kernel/linux/linux-5.10/drivers/fpga/ |
| D | dfl-afu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2018 Intel Corporation, Inc. 8 * Wu Hao <hao.wu@intel.com> 9 * Xiao Guangrong <guangrong.xiao@linux.intel.com> 10 * Joseph Grecco <joe.grecco@intel.com> 11 * Enno Luebbers <enno.luebbers@intel.com> 12 * Tim Whisonant <tim.whisonant@intel.com> 13 * Ananda Ravuri <ananda.ravuri@intel.com> 14 * Henry Mitchel <henry.mitchel@intel.com> 25 * struct dfl_afu_mmio_region - afu mmio region data structure [all …]
|
| /kernel/linux/linux-6.6/drivers/fpga/ |
| D | dfl-afu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2018 Intel Corporation, Inc. 8 * Wu Hao <hao.wu@intel.com> 9 * Xiao Guangrong <guangrong.xiao@linux.intel.com> 10 * Joseph Grecco <joe.grecco@intel.com> 11 * Enno Luebbers <enno.luebbers@intel.com> 12 * Tim Whisonant <tim.whisonant@intel.com> 13 * Ananda Ravuri <ananda.ravuri@intel.com> 14 * Henry Mitchel <henry.mitchel@intel.com> 25 * struct dfl_afu_mmio_region - afu mmio region data structure [all …]
|
| /kernel/linux/linux-5.10/include/crypto/ |
| D | scatterwalk.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> 6 * Copyright (c) 2002 Adam J. Richter <adam@yggdrasil.com> 7 * Copyright (c) 2004 Jean-Luc Cooke <jlcooke@certainkey.com> 30 unsigned int len = walk->sg->offset + walk->sg->length - walk->offset; in scatterwalk_pagelen() 31 unsigned int len_this_page = offset_in_page(~walk->offset) + 1; in scatterwalk_pagelen() 45 walk->offset += nbytes; in scatterwalk_advance() 51 return !(walk->offset & alignmask); in scatterwalk_aligned() 56 return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); in scatterwalk_page() 67 walk->sg = sg; in scatterwalk_start() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/fsl/qe/ |
| D | qe_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Author: Scott Wood <scottwood@freescale.com> 7 * Copyright 2007-2008,2010 Freescale Semiconductor, Inc. 11 * Copyright (c) 1999-2001 Dan Malek <dan@embeddedalley.com> 12 * Copyright (c) 2000 MontaVista Software, Inc (source@mvista.com) 14 * Vitaly Bordug <vbordug@ru.mvista.com> 56 np = of_find_compatible_node(NULL, NULL, "fsl,cpm-muram-data"); in cpm_muram_init() 59 np = of_find_node_by_name(NULL, "data-only"); in cpm_muram_init() 62 ret = -ENODEV; in cpm_muram_init() 67 muram_pool = gen_pool_create(0, -1); in cpm_muram_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/fsl/qe/ |
| D | qe_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Author: Scott Wood <scottwood@freescale.com> 7 * Copyright 2007-2008,2010 Freescale Semiconductor, Inc. 11 * Copyright (c) 1999-2001 Dan Malek <dan@embeddedalley.com> 12 * Copyright (c) 2000 MontaVista Software, Inc (source@mvista.com) 14 * Vitaly Bordug <vbordug@ru.mvista.com> 58 np = of_find_compatible_node(NULL, NULL, "fsl,cpm-muram-data"); in cpm_muram_init() 61 np = of_find_node_by_name(NULL, "data-only"); in cpm_muram_init() 64 ret = -ENODEV; in cpm_muram_init() 69 muram_pool = gen_pool_create(0, -1); in cpm_muram_init() [all …]
|