| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/ |
| D | intel-gw-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/intel-gw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rahul Tanwar <rtanwar@maxlinear.com> 16 const: intel,lgm-pcie 18 - compatible 21 - $ref: /schemas/pci/snps,dw-pcie.yaml# 26 - const: intel,lgm-pcie 27 - const: snps,dw-pcie [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/ |
| D | ingenic,rtc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ingenic SoCs Real-Time Clock DT bindings 10 - Paul Cercueil <paul@crapouillou.net> 13 - $ref: rtc.yaml# 18 - enum: 19 - ingenic,jz4740-rtc 20 - ingenic,jz4760-rtc 21 - items: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
| D | intel-gw-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/intel-gw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dilip Kota <eswara.kota@linux.intel.com> 16 const: intel,lgm-pcie 18 - compatible 23 - const: intel,lgm-pcie 24 - const: snps,dw-pcie 29 "#address-cells": [all …]
|
| /kernel/linux/linux-6.6/lib/zstd/compress/ |
| D | zstd_compress.c | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 11 /*-************************************* 43 * Maximum size of the hash table dedicated to find 3-bytes matches, 54 /*-************************************* 59 * full-block strategy. 69 /*-************************************* 84 … * row-based matchfinder. Unless the cdict is reloaded, we will use 96 assert(cctx != NULL); in ZSTD_initCCtx() 98 cctx->customMem = memManager; in ZSTD_initCCtx() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/rtc/ |
| D | ingenic,rtc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ingenic SoCs Real-Time Clock 10 - Paul Cercueil <paul@crapouillou.net> 13 - $ref: rtc.yaml# 14 - if: 20 - ingenic,jz4770-rtc 21 - ingenic,jz4780-rtc 24 "#clock-cells": false [all …]
|
| /kernel/linux/linux-5.10/drivers/pci/controller/ |
| D | pcie-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Author: Shawn Lin <shawn.lin@rock-chips.com> 8 * Wenrui Li <wenrui.li@rock-chips.com> 21 #include <linux/reset.h> 24 #include "pcie-rockchip.h" 28 struct device *dev = rockchip->dev; in rockchip_pcie_parse_dt() 30 struct device_node *node = dev->of_node; in rockchip_pcie_parse_dt() 34 if (rockchip->is_rc) { in rockchip_pcie_parse_dt() 37 "axi-base"); in rockchip_pcie_parse_dt() 38 rockchip->reg_base = devm_pci_remap_cfg_resource(dev, regs); in rockchip_pcie_parse_dt() [all …]
|
| /kernel/linux/linux-6.6/drivers/pci/controller/ |
| D | pcie-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Author: Shawn Lin <shawn.lin@rock-chips.com> 8 * Wenrui Li <wenrui.li@rock-chips.com> 22 #include <linux/reset.h> 25 #include "pcie-rockchip.h" 29 struct device *dev = rockchip->dev; in rockchip_pcie_parse_dt() 31 struct device_node *node = dev->of_node; in rockchip_pcie_parse_dt() 35 if (rockchip->is_rc) { in rockchip_pcie_parse_dt() 38 "axi-base"); in rockchip_pcie_parse_dt() 39 rockchip->reg_base = devm_pci_remap_cfg_resource(dev, regs); in rockchip_pcie_parse_dt() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | mesh.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SCSI low-level driver for the MESH (Macintosh Enhanced SCSI Hardware) 5 * We assume the MESH is connected to a DBDMA (descriptor-based DMA) 11 * Apr. 21 2002 - BenH Rework bus reset code for new error handler 12 * Add delay after initial bus reset 15 * Sep. 27 2003 - BenH Move to new driver model, fix some write posting 18 * - handle aborts correctly 19 * - retry arbitration if lost (unless higher levels do this for us) 20 * - power down the chip when no device is detected 76 MODULE_PARM_DESC(init_reset_delay, "Initial bus reset delay (0=no reset)"); [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/ |
| D | mesh.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SCSI low-level driver for the MESH (Macintosh Enhanced SCSI Hardware) 5 * We assume the MESH is connected to a DBDMA (descriptor-based DMA) 11 * Apr. 21 2002 - BenH Rework bus reset code for new error handler 12 * Add delay after initial bus reset 15 * Sep. 27 2003 - BenH Move to new driver model, fix some write posting 18 * - handle aborts correctly 19 * - retry arbitration if lost (unless higher levels do this for us) 20 * - power down the chip when no device is detected 76 MODULE_PARM_DESC(init_reset_delay, "Initial bus reset delay (0=no reset)"); [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | ti,tas5086.txt | 1 Texas Instruments TAS5086 6-channel PWM Processor 5 - compatible: Should contain "ti,tas5086". 6 - reg: The i2c address. Should contain <0x1b>. 10 - reset-gpio: A GPIO spec to define which pin is connected to the 11 chip's !RESET pin. If specified, the driver will 12 assert a hardware reset at probe time. 14 - ti,charge-period: This property should contain the time in microseconds 15 that closely matches the external single-ended 16 split-capacitor charge period. The hardware chip 20 When not specified, the hardware default of 1300ms [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | ti,tas5086.txt | 1 Texas Instruments TAS5086 6-channel PWM Processor 5 - compatible: Should contain "ti,tas5086". 6 - reg: The i2c address. Should contain <0x1b>. 10 - reset-gpio: A GPIO spec to define which pin is connected to the 11 chip's !RESET pin. If specified, the driver will 12 assert a hardware reset at probe time. 14 - ti,charge-period: This property should contain the time in microseconds 15 that closely matches the external single-ended 16 split-capacitor charge period. The hardware chip 20 When not specified, the hardware default of 1300ms [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-jz4740.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> 66 return readl(rtc->base + reg); in jz4740_rtc_reg_read() 76 } while (!(ctrl & JZ_RTC_CTRL_WRDY) && --timeout); in jz4740_rtc_wait_write_ready() 78 return timeout ? 0 : -EIO; in jz4740_rtc_wait_write_ready() 90 writel(JZ_RTC_WENR_MAGIC, rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write() 93 ctrl = readl(rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write() 94 } while (!(ctrl & JZ_RTC_WENR_WEN) && --timeout); in jz4780_rtc_enable_write() 96 return timeout ? 0 : -EIO; in jz4780_rtc_enable_write() 104 if (rtc->type >= ID_JZ4760) in jz4740_rtc_reg_write() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
| D | panel-samsung-s6d27a1.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Found in the Samsung Galaxy Ace 2 GT-I8160 mobile phone. 15 #include <linux/media-bus-format.h> 46 struct gpio_desc *reset; member 76 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_read_mtp_id() 82 dev_err(ctx->dev, "unable to read MTP ID 1\n"); in s6d27a1_read_mtp_id() 87 dev_err(ctx->dev, "unable to read MTP ID 2\n"); in s6d27a1_read_mtp_id() 92 dev_err(ctx->dev, "unable to read MTP ID 3\n"); in s6d27a1_read_mtp_id() 95 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6d27a1_read_mtp_id() 100 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_power_on() [all …]
|
| D | panel-samsung-db7430.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Found in the Samsung Galaxy Beam GT-I8350 mobile phone. 16 #include <linux/media-bus-format.h> 49 * struct db7430 - state container for a panel controlled by the DB7430 59 /** @reset: reset GPIO line */ 60 struct gpio_desc *reset; member 91 struct mipi_dbi *dbi = &db->dbi; in db7430_power_on() 95 ret = regulator_bulk_enable(ARRAY_SIZE(db->regulators), in db7430_power_on() 96 db->regulators); in db7430_power_on() 98 dev_err(db->dev, "failed to enable regulators: %d\n", ret); in db7430_power_on() [all …]
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-jz4740.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> 9 #include <linux/clk-provider.h> 75 return readl(rtc->base + reg); in jz4740_rtc_reg_read() 82 return readl_poll_timeout(rtc->base + JZ_REG_RTC_CTRL, ctrl, in jz4740_rtc_wait_write_ready() 95 writel(JZ_RTC_WENR_MAGIC, rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write() 97 return readl_poll_timeout(rtc->base + JZ_REG_RTC_WENR, ctrl, in jz4780_rtc_enable_write() 106 if (rtc->type >= ID_JZ4760) in jz4740_rtc_reg_write() 111 writel(val, rtc->base + reg); in jz4740_rtc_reg_write() 123 spin_lock_irqsave(&rtc->lock, flags); in jz4740_rtc_ctrl_set_bits() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
| D | orinoco_pci.c | 4 * (i.e. these are not PCMCIA cards in a PCMCIA-to-PCI bridge). 14 * Some of this code is "inspired" by linux-wlan-ng-0.1.10, but nothing 15 * has been copied from it. linux-wlan-ng-0.1.10 is originally : 20 * (C) Copyright David Gibson, IBM Corp. 2002-2003. 59 /* Bitmask to reset the card */ 62 /* Magic timeouts for doing the reset. 63 * Those times are straight from wlan-ng, and it is claimed that they 65 #define HERMES_PCI_COR_ONT (250) /* ms */ 66 #define HERMES_PCI_COR_OFFT (500) /* ms */ 67 #define HERMES_PCI_COR_BUSYT (500) /* ms */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/ |
| D | orinoco_pci.c | 4 * (i.e. these are not PCMCIA cards in a PCMCIA-to-PCI bridge). 14 * Some of this code is "inspired" by linux-wlan-ng-0.1.10, but nothing 15 * has been copied from it. linux-wlan-ng-0.1.10 is originally : 20 * (C) Copyright David Gibson, IBM Corp. 2002-2003. 59 /* Bitmask to reset the card */ 62 /* Magic timeouts for doing the reset. 63 * Those times are straight from wlan-ng, and it is claimed that they 65 #define HERMES_PCI_COR_ONT (250) /* ms */ 66 #define HERMES_PCI_COR_OFFT (500) /* ms */ 67 #define HERMES_PCI_COR_BUSYT (500) /* ms */ [all …]
|
| /kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
| D | pcie-fu740.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2019-2021 SiFive, Inc. 26 #include <linux/reset.h> 28 #include "pcie-designware.h" 30 #define to_fu740_pcie(x) dev_get_drvdata((x)->dev) 35 struct gpio_desc *reset; member 82 /* Assert PERST_N GPIO */ in fu740_pcie_assert_reset() 83 gpiod_set_value_cansleep(afp->reset, 0); in fu740_pcie_assert_reset() 84 /* Assert controller PERST_N */ in fu740_pcie_assert_reset() 85 writel_relaxed(0x0, afp->mgmt_base + PCIEX8MGMT_PERST_N); in fu740_pcie_assert_reset() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
| D | dcn31_hpo_dp_stream_encoder.c | 32 enc3->base.ctx->logger 35 (enc3->regs->reg) 39 enc3->hpo_se_shift->field_name, enc3->hpo_se_mask->field_name 42 enc3->base.ctx 69 /* Assert reset to the DP_SYM32_ENC logic */ in dcn31_hpo_dp_stream_enc_enable_stream() 72 /* Wait for reset to complete (to assert) */ in dcn31_hpo_dp_stream_enc_enable_stream() 77 /* De-assert reset to the DP_SYM32_ENC logic */ in dcn31_hpo_dp_stream_enc_enable_stream() 80 /* Wait for reset to de-assert */ in dcn31_hpo_dp_stream_enc_enable_stream() 104 /* Reset and Enable Pixel to Symbol FIFO */ in dcn31_hpo_dp_stream_enc_dp_unblank() 118 /* Reset and Enable Clock Ramp Adjuster FIFO */ in dcn31_hpo_dp_stream_enc_dp_unblank() [all …]
|
| /kernel/linux/linux-6.6/drivers/macintosh/ |
| D | mediabay.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 #define MB_FCR32(bay, r) ((bay)->base + ((r) >> 2)) 33 #define MB_FCR8(bay, r) (((volatile u8 __iomem *)((bay)->base)) + (r)) 76 * Wait that number of ms between each step in normal polling mode 81 * Consider the media-bay ID value stable if it is the same for 86 /* Wait after powering up the media bay this delay in ms 92 * Hold the media-bay reset signal true for this many ticks 98 * Wait this long after the reset signal is released and before doing 99 * further operations. After this delay, the IDE reset signal is released 105 * Wait this many ticks after an IDE device (e.g. CD-ROM) is inserted [all …]
|
| /kernel/linux/linux-5.10/drivers/macintosh/ |
| D | mediabay.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 #define MB_FCR32(bay, r) ((bay)->base + ((r) >> 2)) 33 #define MB_FCR8(bay, r) (((volatile u8 __iomem *)((bay)->base)) + (r)) 76 * Wait that number of ms between each step in normal polling mode 81 * Consider the media-bay ID value stable if it is the same for 86 /* Wait after powering up the media bay this delay in ms 92 * Hold the media-bay reset signal true for this many ticks 98 * Wait this long after the reset signal is released and before doing 99 * further operations. After this delay, the IDE reset signal is released 105 * Wait this many ticks after an IDE device (e.g. CD-ROM) is inserted [all …]
|
| /kernel/linux/linux-6.6/drivers/pps/clients/ |
| D | pps-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pps-gpio.c -- PPS client driver using GPIO 9 #define PPS_GPIO_NAME "pps-gpio" 33 struct timer_list echo_timer; /* timer to reset echo active state */ 55 rising_edge = gpiod_get_value(info->gpio_pin); in pps_gpio_irq_handler() 56 if ((rising_edge && !info->assert_falling_edge) || in pps_gpio_irq_handler() 57 (!rising_edge && info->assert_falling_edge)) in pps_gpio_irq_handler() 58 pps_event(info->pps, &ts, PPS_CAPTUREASSERT, data); in pps_gpio_irq_handler() 59 else if (info->capture_clear && in pps_gpio_irq_handler() 60 ((rising_edge && info->assert_falling_edge) || in pps_gpio_irq_handler() [all …]
|
| /kernel/linux/linux-5.10/drivers/phy/ralink/ |
| D | phy-ralink-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include <linux/reset.h> 63 writel(val, phy->base + reg); in u2_phy_w32() 68 return readl(phy->base + reg); in u2_phy_r32() 97 regmap_update_bits(phy->sysctl, RT_SYSC_REG_CLKCFG1, in ralink_usb_phy_power_on() 98 phy->clk, phy->clk); in ralink_usb_phy_power_on() 101 regmap_update_bits(phy->sysctl, RT_SYSC_REG_SYSCFG1, in ralink_usb_phy_power_on() 105 /* deassert the reset lines */ in ralink_usb_phy_power_on() 106 reset_control_deassert(phy->rsthost); in ralink_usb_phy_power_on() 107 reset_control_deassert(phy->rstdev); in ralink_usb_phy_power_on() [all …]
|
| /kernel/linux/linux-6.6/drivers/phy/ralink/ |
| D | phy-ralink-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include <linux/reset.h> 63 writel(val, phy->base + reg); in u2_phy_w32() 68 return readl(phy->base + reg); in u2_phy_r32() 97 regmap_update_bits(phy->sysctl, RT_SYSC_REG_CLKCFG1, in ralink_usb_phy_power_on() 98 phy->clk, phy->clk); in ralink_usb_phy_power_on() 101 regmap_update_bits(phy->sysctl, RT_SYSC_REG_SYSCFG1, in ralink_usb_phy_power_on() 105 /* deassert the reset lines */ in ralink_usb_phy_power_on() 106 reset_control_deassert(phy->rsthost); in ralink_usb_phy_power_on() 107 reset_control_deassert(phy->rstdev); in ralink_usb_phy_power_on() [all …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| D | pnx4008_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * 2005-2006 (c) MontaVista Software, Inc. 34 /* WatchDog Timer - Chapter 23 Page 207 */ 87 /* stop counter, initiate counter reset */ in pnx4008_wdt_start() 89 /*wait for reset to complete. 100% guarantee event */ in pnx4008_wdt_start() 92 /* internal and external reset, stop after that */ in pnx4008_wdt_start() 98 /* the longest pulse period 65541/(13*10^6) seconds ~ 5 ms. */ in pnx4008_wdt_start() 100 writel(wdd->timeout * WDOG_COUNTER_RATE, WDTIM_MATCH0(wdt_base)); in pnx4008_wdt_start() 121 wdd->timeout = new_timeout; in pnx4008_wdt_set_timeout() 133 * - For details, see the 'reboot' syscall in kernel/reboot.c in pnx4008_restart_handler() [all …]
|