/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/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/fb/ |
H A D | udlfb.rst | 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 103 Or to apply options permanently, create a modprobe configuration file [all …]
|
/linux/arch/xtensa/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 61 Xtensa processors are 32-bit RISC machines designed by Tensilica 66 a home page at <http://www.linux-xtensa.org/>. 105 def_bool $(success,test "$(shell,echo __XTENSA_EB__ | $(CC) -E -P -)" = 1) 111 …def_bool $(success,test "$(shell,echo __XTENSA_CALL0_ABI__ | $(CC) -mabi=call0 -E -P - 2>/dev/null… 120 bool "fsf - default (not generic) configuration" 124 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)" 131 bool "dc233c - Diamond 233L Standard Core Rev.C (LE)" 167 ie: it supports a TLB with auto-loading, page protection. 217 The Xtensa architecture only allows reading memory attached to its [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 …]
|
/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 …]
|
/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/drivers/power/supply/ |
H A D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * a) Trickle-charge with constant current (8). 21 * b) pre-charge with constant current (6) 22 * c) fast-charge, first with constant current (5) phase. After 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . 35 * . +`/- + . 36 * . o/- -: . 38 * . .--+ `/ . [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 …]
|
/linux/include/linux/ |
H A D | device.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * device.h - generic, centralized driver model 5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> 6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> 7 * Copyright (c) 2008-2009 Novell Inc. 9 * See Documentation/driver-api/driver-mode [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 - 2023, 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 - 2023, 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 …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_prime.c | 30 #include <linux/dma-buf.h> 68 * GEM-based drivers, the &dma_buf should be exported using 72 * importing GEM object -> dma-buf -> exported GEM bo. A further complication 81 * Self-importing: If userspace is using PRIME as a replacement for flink then 82 * it will get a fd->handle request for a GEM object that it created. Drivers 84 * dma-buf private. For GEM based drivers this is handled in 104 return -ENOMEM; in drm_prime_add_buf_handle() 107 member->dma_buf = dma_buf; in drm_prime_add_buf_handle() 108 member->handle = handle; in drm_prime_add_buf_handle() 111 p = &prime_fpriv->dmabufs.rb_node; in drm_prime_add_buf_handle() [all …]
|
/linux/Documentation/filesystems/xfs/ |
H A D | xfs-delayed-logging-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 details logged are made up of the changes to in-core structures rather than 34 on-disk structures. Other objects - typically buffers - have their physical 64 place. This means that permanent transactions can be used for one-shot 65 modifications, but one-shot reservations cannot be used for permanent 68 In the code, a one-shot transaction pattern looks somewhat like this:: 97 While this might look similar to a one-shot transaction, there is an important 123 the on-disk journal. 165 transaction, we have to reserve enough space to record a full leaf-to-root split 183 For one-shot transactions, a single unit space reservation is all that is [all …]
|
/linux/drivers/mailbox/ |
H A D | arm_mhuv2.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * protocol modes: data-transfer and doorbell, to be used on those channel 19 * hardware - mainly the number of channel windows implemented by the platform, 45 #define LSB_MASK(n) ((1 << (n * __CHAR_BIT__)) - 1) 46 #define MHUV2_PROTOCOL_PROP "arm,mhuv2-protocols" 94 u8 pad1[0x0C - 0x04]; 99 u8 pad2[0x20 - 0x1C]; 114 u8 pad[0xFC8 - 0xFB0]; 124 u8 reserved0[0x10 - 0x0C]; 128 u8 pad[0x20 - 0x1C]; [all …]
|
/linux/Documentation/scsi/ |
H A D | scsi_mid_low_api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 SCSI mid_level - lower_level driver interface 14 (SCSI terminology, see SAM-3 at http://www.t10.org) sends SCSI commands 22 Examples are the usb-storage driver (found in the drivers/usb/storage 30 HBAs. These HBAs might be either on PCI daughter-boards or built into 33 has its own PCI device address. [The one-to-one correspondence between 49 documented in Documentation/scsi (e.g. aic7xxx.rst). The SCSI mid-level is 53 scsi-generic.rst (for the sg driver). 68 and OS-specific code (e.g. FreeBSD and Linux). Such drivers tend to have 84 permanently connected as well as modern "SCSI" devices (e.g. USB or [all …]
|