Home
last modified time | relevance | path

Searched +full:imod +full:- +full:interval +full:- +full:ns (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/Documentation/devicetree/bindings/usb/
Dhisilicon,histb-xhci.txt6 - compatible: should be "hisilicon,hi3798cv200-xhci"
7 - reg: specifies physical base address and size of the registers
8 - interrupts : interrupt used by the controller
9 - clocks: a list of phandle + clock-specifier pairs, one for each
10 entry in clock-names
11 - clock-names: must contain
16 - resets: a list of phandle and reset specifier pairs as listed in
17 reset-names property.
18 - reset-names: must contain
20 - phys: a list of phandle + phy specifier pairs
[all …]
Dmediatek,mtk-xhci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/usb/mediatek,mtk-xhci.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: usb-xhci.yaml
19 case 2: supports dual-role mode, and the host is based on xHCI driver.
25 - enum:
26 - mediatek,mt2701-xhci
27 - mediatek,mt2712-xhci
[all …]
Dusb-xhci.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/usb-xhci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mathias Nyman <mathias.nyman@intel.com>
13 - $ref: usb-hcd.yaml#
16 usb2-lpm-disable:
20 usb3-lpm-capable:
24 quirk-broken-port-ped:
28 imod-interval-ns:
[all …]
/Linux-v6.6/drivers/usb/host/
Dxhci-histb.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2017-2018 HiSilicon Co., Ltd. http://www.hisilicon.com
11 #include <linux/dma-mapping.h>
46 return dev_get_drvdata(hcd->self.controller); in hcd_to_histb()
51 struct device_node *np = histb->dev->of_node; in xhci_histb_config()
54 if (of_property_match_string(np, "phys-names", "inno") >= 0) { in xhci_histb_config()
56 regval = readl(histb->ctrl + REG_GUSB2PHYCFG0); in xhci_histb_config()
60 writel(regval, histb->ctrl + REG_GUSB2PHYCFG0); in xhci_histb_config()
63 if (of_property_match_string(np, "phys-names", "combo") >= 0) { in xhci_histb_config()
68 * GUSB3PIPECTL0[2:1] = 01 : Tx Deemphasis = -3.5dB, in xhci_histb_config()
[all …]
Dxhci-plat.c1 // SPDX-License-Identifier: GPL-2.0
3 * xhci-plat.c - xHCI host controller driver platform Bus Glue.
5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com
12 #include <linux/dma-mapping.h>
24 #include "xhci-plat.h"
25 #include "xhci-mvebu.h"
42 if (priv->plat_start) in xhci_priv_plat_start()
43 priv->plat_start(hcd); in xhci_priv_plat_start()
50 if (!priv->init_quirk) in xhci_priv_init_quirk()
53 return priv->init_quirk(hcd); in xhci_priv_init_quirk()
[all …]
Dxhci-mtk.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/dma-mapping.h>
24 #include "xhci-mtk.h"
129 * MT8195 has 4 controllers, the controller1~3's default SOF/ITP interval
135 struct device *dev = mtk->dev; in xhci_mtk_set_frame_interval()
136 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_set_frame_interval()
139 if (!of_device_is_compatible(dev->of_node, "mediatek,mt8195-xhci")) in xhci_mtk_set_frame_interval()
142 value = readl(hcd->regs + HFCNTR_CFG); in xhci_mtk_set_frame_interval()
145 writel(value, hcd->regs + HFCNTR_CFG); in xhci_mtk_set_frame_interval()
147 value = readl(hcd->regs + LS_EOF_CFG); in xhci_mtk_set_frame_interval()
[all …]
Dxhci.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 #include <linux/io-64-nonatomic-lo-hi.h>
21 /* Code sharing between pci-quirks and xhci hcd */
22 #include "xhci-ext-caps.h"
23 #include "pci-quirks.h"
31 /* Max number of USB devices for any host controller - limit in section 6.1 */
33 /* Section 5.3.3 - MaxPorts */
43 * struct xhci_cap_regs - xHCI Host Controller Capability Registers.
45 * @hcs_params1: HCSPARAMS1 - Structural Parameters 1
46 * @hcs_params2: HCSPARAMS2 - Structural Parameters 2
[all …]
/Linux-v6.6/drivers/usb/cdns3/
Dcdnsp-gadget.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #include <linux/io-64-nonatomic-lo-hi.h>
19 /* Max number slots - only 1 is allowed. */
43 * struct cdnsp_cap_regs - CDNSP Registers.
46 * @hcs_params1: HCSPARAMS1 - Structural Parameters 1
47 * @hcs_params2: HCSPARAMS2 - Structural Parameters 2
48 * @hcs_params3: HCSPARAMS3 - Structural Parameters 3
49 * @hcc_params: HCCPARAMS - Capability Parameters
50 * @db_off: DBOFF - Doorbell array offset
51 * @run_regs_off: RTSOFF - Runtime register space offset
[all …]
/Linux-v6.6/drivers/usb/gadget/udc/
Dtegra-xudc.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2013-2022, NVIDIA CORPORATION. All rights reserved.
12 #include <linux/dma-mapping.h>
246 return (le32_to_cpu(ctx->member) >> (shift)) & (mask); \
253 tmp = le32_to_cpu(ctx->member) & ~((mask) << (shift)); \
255 ctx->member = cpu_to_le32(tmp); \
262 BUILD_EP_CONTEXT_RW(interval, info0, 16, 0xff)
338 return (le32_to_cpu(trb->member) >> (shift)) & (mask); \
345 tmp = le32_to_cpu(trb->member) & ~((mask) << (shift)); \
347 trb->member = cpu_to_le32(tmp); \
[all …]