| /linux/Documentation/driver-api/usb/ |
| H A D | persist.rst | 1 .. _usb-persist: 14 bus must continue to supply suspend current (around 1-5 mA). This 16 detect connect-change events (devices being plugged in or unplugged). 23 device is still attached or perhaps it was removed and a different 28 wakes up all the devices attached to that controller are treated as 38 Unfortunately problems _can_ arise, particularly with mass-storage 41 filesystem on the device, you're out of luck -- everything in that 57 suspend-to-RAM. On almost all systems, no suspend current is 58 available during hibernation (also known as swsusp or suspend-to-disk). 65 suspended -- but it will crash as soon as it wakes up, which isn't [all …]
|
| /linux/Documentation/driver-api/cxl/linux/ |
| H A D | memory-hotplug.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 memory-hotplug component. 15 4) Driver-Managed Memory Designation 19 The default-online behavior of hotplug memory is dictated by the following, 22 - :code:`CONFIG_MHP_DEFAULT_ONLINE_TYPE` Build Configuration 23 - :code:`memhp_default_state` Boot parameter 24 - :code:`/sys/devices/system/memory/auto_online_blocks` value 36 :code:`ZONE_MOVABLE` attempts to retain the hotplug-ability of a memory block 37 so that it the entire region may be hot-unplugged at a later time. Any capacity 38 onlined into :code:`ZONE_NORMAL` should be considered permanently attached to [all …]
|
| /linux/Documentation/fb/ |
| H A D | udlfb.rst | 2 udlfb - DisplayLink USB 2.0 driver 15 pixels line-by-line via USB bulk transfers. 18 does not require any acks - the effect is very low latency that 20 non-gaming and non-video applications. 23 setting is very flexible - able to set nearly arbitrary modes from any timing. 35 one-to-one with the fbdev interface, making the driver quite small and 66 At that point, a /dev/fb? interface will be present for user-mode applications 71 defio support enabled, to support a page-fault based detection mechanism 74 The most common client of udlfb is xf86-video-displaylink or a modified 75 xf86-video-fbdev X server. These servers have no real DisplayLink specific [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | eeh_driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PCI Error Recovery Driver for RPA-compliant PPC64 platform. 17 #include <asm/ppc-pci.h> 18 #include <asm/pci-bridge.h> 78 return !edev || (edev->mode & EEH_DEV_REMOVED); in eeh_dev_removed() 83 if (!edev->pdev) in eeh_edev_actionable() 85 if (edev->pdev->error_state == pci_channel_io_perm_failure) in eeh_edev_actionable() 89 if (eeh_pe_passed(edev->pe)) in eeh_edev_actionable() 96 * eeh_pcid_get - Get the PCI device driver 106 if (!pdev || !pdev->dev.driver) in eeh_pcid_get() [all …]
|
| H A D | eeh_pe.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include <asm/pci-bridge.h> 21 #include <asm/ppc-pci.h> 27 * eeh_set_pe_aux_size - Set PE auxiliary data size 41 * eeh_pe_alloc - Allocate PE 63 pe->type = type; in eeh_pe_alloc() 64 pe->phb = phb; in eeh_pe_alloc() 65 INIT_LIST_HEAD(&pe->child_list); in eeh_pe_alloc() 66 INIT_LIST_HEAD(&pe->edevs); in eeh_pe_alloc() 68 pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe), in eeh_pe_alloc() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mp-venice-gw71xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 12 compatible = "gpio-usb-b-connector", "usb-b-connector"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_usbcon1>; 16 label = "Type-C"; 17 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 21 remote-endpoint = <&usb3_dwc>; [all …]
|
| H A D | imx8mp-verdin-dev.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 native-hdmi-connector { 8 compatible = "hdmi-connector"; 14 remote-endpoint = <&hdmi_tx_out>; 19 reg_eth2phy: regulator-eth2phy { 20 compatible = "regulator-fixed"; 21 enable-active-high; 23 off-on-delay-us = <500000>; 24 regulator-max-microvolt = <3300000>; 25 regulator-min-microvolt = <3300000>; [all …]
|
| H A D | imx8mp-verdin-dahlia.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 native-hdmi-connector { 8 compatible = "hdmi-connector"; 14 remote-endpoint = <&hdmi_tx_out>; 20 compatible = "simple-audio-card"; 21 simple-audio-card,bitclock-master = <&codec_dai>; 22 simple-audio-card,format = "i2s"; 23 simple-audio-card,frame-master = <&codec_dai>; 24 simple-audio-card,mclk-fs = <256>; 25 simple-audio-card,name = "verdin-wm8904"; [all …]
|
| H A D | imx8mp-venice-gw75xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 11 led-controller { 12 compatible = "gpio-leds"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_gpio_leds>; 16 led-0 { 20 default-state = "on"; [all …]
|
| H A D | imx8mp-dhcom-pdk3.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * DHCM-iMX8ML8-C160-R409-F1638-SPI16-GE-CAN2-SD-RTC-WBTA-ADC-T-RGB-CSI2-HS-I-01D2 7 * DHCOM PCB number: 660-100 or newer 8 * PDK3 PCB number: 669-100 or newer 11 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/phy/phy-imx8-pcie.h> 15 #include "imx8mp-dhcom-som.dtsi" 19 compatible = "dh,imx8mp-dhcom-pdk3", "dh,imx8mp-dhcom-som", 23 stdout-path = &uart1; [all …]
|
| H A D | imx8mp-venice-gw72xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 16 compatible = "gpio-usb-b-connector", "usb-b-connector"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_usbcon1>; 21 vbus-supply = <®_usb1_vbus>; 22 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 26 remote-endpoint = <&usb3_dwc>; [all …]
|
| H A D | imx8mp-venice-gw73xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 16 compatible = "gpio-usb-b-connector", "usb-b-connector"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_usbcon1>; 21 vbus-supply = <®_usb1_vbus>; 22 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 26 remote-endpoint = <&usb3_dwc>; [all …]
|
| H A D | imx8mp-phyboard-pollux-rdk.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 9 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 #include <dt-bindings/leds/leds-pca9532.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/thermal/thermal.h> 13 #include "imx8mp-phycore-som.dtsi" 16 model = "PHYTEC phyBOARD-Pollux i.MX8MP"; 17 compatible = "phytec,imx8mp-phyboard-pollux-rdk", 18 "phytec,imx8mp-phycore-som", "fsl,imx8mp"; [all …]
|
| H A D | imx8mp-tqma8mpql-mba8mp-ras314.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright (c) 2023-2024 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 9 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include <dt-bindings/phy/phy-imx8-pcie.h> 14 #include <dt-bindings/pwm/pwm.h> 15 #include "imx8mp-tqma8mpql.dtsi" 18 model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MP-RAS314"; [all …]
|
| H A D | imx8mp-tqma8mpql-mba8mpxl.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2021-2022 TQ-Systems GmbH 4 * Author: Alexander Stein <alexander.stein@tq-group.com> 7 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/net/ti-dp83867.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 12 #include <dt-bindings/pwm/pwm.h> 13 #include "imx8mp-tqma8mpql.dtsi" 16 model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MPxL"; [all …]
|
| H A D | imx8mp-venice-gw74xx.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 12 #include <dt-bindings/net/ti-dp83867.h> 18 compatible = "gateworks,imx8mp-gw74xx", "fsl,imx8mp"; 33 stdout-path = &uart2; 42 pinctrl-names = "default"; [all …]
|
| /linux/drivers/usb/dwc3/ |
| H A D | dwc3-imx8mp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dwc3-imx8mp.c - NXP imx8mp Specific Glue layer 45 #define USB_CTRL0_PORTPWR_EN BIT(12) /* 1 - PPC enabled (default) */ 46 #define USB_CTRL0_USB3_FIXED BIT(22) /* 1 - USB3 permanent attached */ 47 #define USB_CTRL0_USB2_FIXED BIT(23) /* 1 - USB2 permanent attached */ 49 #define USB_CTRL1_OC_POLARITY BIT(16) /* 0 - HIGH / 1 - LOW */ 50 #define USB_CTRL1_PWR_POLARITY BIT(17) /* 0 - HIGH / 1 - LOW */ 66 struct device *dev = dwc3_imx->dev; in imx8mp_configure_glue() 69 if (!dwc3_imx->glue_base) in imx8mp_configure_glue() 72 value = readl(dwc3_imx->glue_base + USB_CTRL0); in imx8mp_configure_glue() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ialloc_btree.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. 33 return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; in xfs_inobt_get_minrecs() 40 return xfs_inobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp, in xfs_inobt_dup_cursor() 41 cur->bc_ag.agbp); in xfs_inobt_dup_cursor() 48 return xfs_finobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp, in xfs_finobt_dup_cursor() 49 cur->bc_ag.agbp); in xfs_finobt_dup_cursor() 58 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root() 59 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_set_root() 61 agi->agi_root = nptr->s; in xfs_inobt_set_root() [all …]
|
| H A D | xfs_rmap_btree.c | 1 // SPDX-License-Identifier: GPL-2.0 33 * This is a per-ag tree used to track the owner(s) of a given extent. With 59 return xfs_rmapbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_rmapbt_dup_cursor() 60 cur->bc_ag.agbp, to_perag(cur->bc_group)); in xfs_rmapbt_dup_cursor() 69 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_set_root() 70 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root() 71 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_rmapbt_set_root() 73 ASSERT(ptr->s != 0); in xfs_rmapbt_set_root() 75 agf->agf_rmap_root = ptr->s; in xfs_rmapbt_set_root() 76 be32_add_cpu(&agf->agf_rmap_level, inc); in xfs_rmapbt_set_root() [all …]
|
| /linux/Documentation/networking/ |
| H A D | napi.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 30 of the NAPI instance while the method is the driver-specific event 37 ----------- 40 from the system. The instances are attached to the netdevice passed 55 ------------ 64 argument - drivers can process completions for any number of Tx 96 or return ``budget - 1``. 101 ------------- 109 As mentioned in the :ref:`drv_ctrl` section - napi_disable() and subsequent 118 -------------------------- [all …]
|
| H A D | filter.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. _networking-filter: 10 ------ 17 ------------ 24 BPF allows a user-space program to attach a filter onto any socket and 44 SO_LOCK_FILTER option allows to lock the filter attached to a socket. Once 49 The biggest user of this construct might be libpcap. Issuing a high-level 50 filter command like `tcpdump -i em1 port 22` passes through the libpcap 52 via SO_ATTACH_FILTER to the kernel. `tcpdump -i em1 port 22 -ddd` 57 qdisc layer, SECCOMP-BPF (SECure COMPuting [1]_), and lots of other places [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | exstore.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: exstore - AML Interpreter object store support 6 * Copyright (C) 2000 - 2025, Intel Corp. 35 * PARAMETERS: *source_desc - Value to be stored 36 * *dest_desc - Where to store it. Must be an NS node 39 * walk_state - Current walk state 46 * the destination operand -- not just simply the actual "Store" 86 switch (dest_desc->common.type) { in acpi_ex_store() 93 /* Allow stores to Constants -- a Noop as per ACPI spec */ in acpi_ex_store() 95 if (dest_desc->common.flags & AOPOBJ_AML_CONSTANT) { in acpi_ex_store() [all …]
|
| H A D | evgpe.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: evgpe - General Purpose Event handling and dispatch 6 * Copyright (C) 2000 - 2025, Intel Corp. 27 * PARAMETERS: gpe_event_info - GPE to update 44 gpe_register_info = gpe_event_info->register_info; in acpi_ev_update_gpe_enable_mask() 53 ACPI_CLEAR_BIT(gpe_register_info->enable_for_run, register_bit); in acpi_ev_update_gpe_enable_mask() 57 if (gpe_event_info->runtime_count) { in acpi_ev_update_gpe_enable_mask() 58 ACPI_SET_BIT(gpe_register_info->enable_for_run, in acpi_ev_update_gpe_enable_mask() 62 gpe_register_info->enable_mask = gpe_register_info->enable_for_run; in acpi_ev_update_gpe_enable_mask() 70 * PARAMETERS: gpe_event_info - GPE to enable [all …]
|
| H A D | evxfgpe.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: evxfgpe - External Interfaces for General Purpose Events (GPEs) 6 * Copyright (C) 2000 - 2025, Intel Corp. 83 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL() 84 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL() 89 * hardware-enabled. in ACPI_EXPORT_SYMBOL() 109 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) != in ACPI_EXPORT_SYMBOL() 115 /* Poll edge-triggered GPEs to handle existing events */ in ACPI_EXPORT_SYMBOL() 137 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL() 138 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | if_link.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 43 * struct rtnl_link_stats64 - The main device statistics structure. 93 * - 30.3.1.1.21 aMulticastFramesReceivedOK 103 * - 30.3.1.1.23 aInRangeLengthErrors 104 * - 30.3.1.1.24 aOutOfRangeLengthField 105 * - 30. [all...] |