Home
last modified time | relevance | path

Searched +full:port +full:- +full:phys (Results 1 – 25 of 1009) sorted by relevance

12345678910>>...41

/kernel/linux/linux-4.19/drivers/scsi/isci/
Dport_config.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
72 * General port configuration agent routines
93 return -1; in sci_sas_address_compare()
97 return -1; in sci_sas_address_compare()
106 * @controller: The controller object used for the port search.
109 * This routine will find a matching port for the phy. This means that the
110 * port and phy both have the same broadcast sas address and same received sas
111 * address. The port address or the NULL if there is no matching
[all …]
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dport_config.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
72 * General port configuration agent routines
93 return -1; in sci_sas_address_compare()
97 return -1; in sci_sas_address_compare()
106 * @controller: The controller object used for the port search.
109 * This routine will find a matching port for the phy. This means that the
110 * port and phy both have the same broadcast sas address and same received sas
111 * address. The port address or the NULL if there is no matching
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dhisilicon-hns-nic.txt4 - compatible: "hisilicon,hns-nic-v1" or "hisilicon,hns-nic-v2".
5 "hisilicon,hns-nic-v1" is for hip05.
6 "hisilicon,hns-nic-v2" is for Hi1610 and Hi1612.
7 - ae-handle: accelerator engine handle for hns,
9 see Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt
10 - port-id: is the index of port provided by DSAF (the accelerator). DSAF can
11 connect to 8 PHYs. Port 0 to 1 are both used for administration purpose. They
14 The remaining 6 PHYs are taken according to the mode of DSAF.
16 In NIC mode of DSAF, all 6 PHYs are taken as ethernet ports to the CPU. The
17 port-id can be 2 to 7. Here is the diagram:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dhisilicon-hns-nic.txt4 - compatible: "hisilicon,hns-nic-v1" or "hisilicon,hns-nic-v2".
5 "hisilicon,hns-nic-v1" is for hip05.
6 "hisilicon,hns-nic-v2" is for Hi1610 and Hi1612.
7 - ae-handle: accelerator engine handle for hns,
9 see Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt
10 - port-id: is the index of port provided by DSAF (the accelerator). DSAF can
11 connect to 8 PHYs. Port 0 to 1 are both used for administration purpose. They
14 The remaining 6 PHYs are taken according to the mode of DSAF.
16 In NIC mode of DSAF, all 6 PHYs are taken as ethernet ports to the CPU. The
17 port-id can be 2 to 7. Here is the diagram:
[all …]
/kernel/linux/linux-4.19/drivers/ata/
Dlibahci_platform.c4 * Copyright 2004-2005 Red Hat, Inc.
40 * ahci_platform_enable_phys - Enable PHYs
43 * This function enables all the PHYs found in hpriv->phys, if any.
44 * If a PHY fails to be enabled, it disables all the PHYs already
54 for (i = 0; i < hpriv->nports; i++) { in ahci_platform_enable_phys()
55 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys()
59 rc = phy_power_on(hpriv->phys[i]); in ahci_platform_enable_phys()
61 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
69 while (--i >= 0) { in ahci_platform_enable_phys()
70 phy_power_off(hpriv->phys[i]); in ahci_platform_enable_phys()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dlibahci_platform.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2004-2005 Red Hat, Inc.
36 * ahci_platform_enable_phys - Enable PHYs
39 * This function enables all the PHYs found in hpriv->phys, if any.
40 * If a PHY fails to be enabled, it disables all the PHYs already
50 for (i = 0; i < hpriv->nports; i++) { in ahci_platform_enable_phys()
51 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys()
55 rc = phy_set_mode(hpriv->phys[i], PHY_MODE_SATA); in ahci_platform_enable_phys()
57 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
61 rc = phy_power_on(hpriv->phys[i]); in ahci_platform_enable_phys()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/
Dexynos-usb.txt8 - compatible: should be "samsung,exynos4210-ehci" for USB 2.0
10 - reg: physical base address of the controller and length of memory mapped
12 - interrupts: interrupt number to the cpu.
13 - clocks: from common clock binding: handle to usb clock.
14 - clock-names: from common clock binding: Shall be "usbhost".
15 - port: if in the SoC there are EHCI phys, they should be listed here.
16 One phy per port. Each port should have following entries:
17 - reg: port number on EHCI controller, e.g
18 On Exynos5250, port 0 is USB2.0 otg phy
19 port 1 is HSIC phy0
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Ethernet port config (0x00 is not present on IXP42X):
9 * logical port 0x00 0x10 0x20
10 * NPE 0 (NPE-A) 1 (NPE-B) 2 (NPE-C)
13 * RX-free queue 26 27 28
14 * TX-done queue is always 31, per-port RX and TX-ready queues are configurable
17 * bits 0 -> 1 - NPE ID (RX and TX-done)
18 * bits 0 -> 2 - priority (TX, per 802.1D)
19 * bits 3 -> 4 - port ID (user-set?)
20 * bits 5 -> 31 - physical descriptor address
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/xscale/
Dixp4xx_eth.c10 * Ethernet port config (0x00 is not present on IXP42X):
12 * logical port 0x00 0x10 0x20
13 * NPE 0 (NPE-A) 1 (NPE-B) 2 (NPE-C)
16 * RX-free queue 26 27 28
17 * TX-done queue is always 31, per-port RX and TX-ready queues are configurable
21 * bits 0 -> 1 - NPE ID (RX and TX-done)
22 * bits 0 -> 2 - priority (TX, per 802.1D)
23 * bits 3 -> 4 - port ID (user-set?)
24 * bits 5 -> 31 - physical descriptor address
28 #include <linux/dma-mapping.h>
[all …]
/kernel/linux/linux-4.19/sound/soc/qcom/qdsp6/
Dq6asm.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
21 #include "q6dsp-errno.h"
22 #include "q6dsp-common.h"
162 phys_addr_t phys; member
191 /* idx:1 out port, 0: in port */
192 struct audio_port_data port[2]; member
205 hdr->hdr_field = APR_SEQ_CMD_HDR_FIELD; in q6asm_add_hdr()
206 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
207 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dpci.txt3 PCI Bus Binding to: IEEE Std 1275-1994
4 https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf
9 https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf
14 - linux,pci-domain:
21 - max-link-speed:
27 - reset-gpios:
30 - supports-clkreq:
32 root port to downstream device and host bridge drivers can do programming
33 which depends on CLKREQ signal existence. For example, programming root port
34 not to advertise ASPM L1 Sub-States support if there is no CLKREQ signal.
[all …]
/kernel/linux/linux-5.10/drivers/phy/st/
Dphy-stm32-usbphyc.c1 // SPDX-License-Identifier: GPL-2.0
71 struct stm32_usbphyc_phy **phys; member
99 * <=> PLLFRACIN = ((FVCO / (INFF*2)) - PLLNDIV) * 2^16 in stm32_usbphyc_get_pll_params()
105 pll_params->ndiv = (u8)ndiv; in stm32_usbphyc_get_pll_params()
109 frac = frac - (ndiv * (1 << 16)); in stm32_usbphyc_get_pll_params()
110 pll_params->frac = (u16)frac; in stm32_usbphyc_get_pll_params()
116 u32 clk_rate = clk_get_rate(usbphyc->clk); in stm32_usbphyc_pll_init()
122 dev_err(usbphyc->dev, "input clk freq (%dHz) out of range\n", in stm32_usbphyc_pll_init()
124 return -EINVAL; in stm32_usbphyc_pll_init()
136 writel_relaxed(usbphyc_pll, usbphyc->base + STM32_USBPHYC_PLL); in stm32_usbphyc_pll_init()
[all …]
/kernel/linux/linux-4.19/drivers/phy/st/
Dphy-stm32-usbphyc.c1 // SPDX-Licence-Identifier: GPL-2.0
71 struct stm32_usbphyc_phy **phys; member
99 * <=> PLLFRACIN = ((FVCO / (INFF*2)) - PLLNDIV) * 2^16 in stm32_usbphyc_get_pll_params()
105 pll_params->ndiv = (u8)ndiv; in stm32_usbphyc_get_pll_params()
109 frac = frac - (ndiv * (1 << 16)); in stm32_usbphyc_get_pll_params()
110 pll_params->frac = (u16)frac; in stm32_usbphyc_get_pll_params()
116 u32 clk_rate = clk_get_rate(usbphyc->clk); in stm32_usbphyc_pll_init()
122 dev_err(usbphyc->dev, "input clk freq (%dHz) out of range\n", in stm32_usbphyc_pll_init()
124 return -EINVAL; in stm32_usbphyc_pll_init()
136 writel_relaxed(usbphyc_pll, usbphyc->base + STM32_USBPHYC_PLL); in stm32_usbphyc_pll_init()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Damlogic,meson-g12a-usb-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/usb/amlogic,meson-g12a-usb-ctrl.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Neil Armstrong <narmstrong@baylibre.com>
15 in host-only mode, and a DWC2 IP Core configured for USB2 peripheral mode
18 A glue connects the DWC3 core to USB2 PHYs and optionally to an USB3 PHY.
20 One of the USB2 PHYs can be re-routed in peripheral mode to a DWC2 USB IP.
26 host-only mode.
33 - amlogic,meson-gxl-usb-ctrl
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/ata/
Dahci-platform.txt3 SATA nodes are defined to describe on-chip Serial ATA controllers.
6 It is possible, but not required, to represent each port as a sub-node.
7 It allows to enable each port independently when dealing with multiple
8 PHYs.
11 - compatible : compatible string, one of:
12 - "allwinner,sun4i-a10-ahci"
13 - "brcm,iproc-ahci"
14 - "hisilicon,hisi-ahci"
15 - "cavium,octeon-7130-ahci"
16 - "ibm,476gtr-ahci"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ata/
Dahci-platform.txt3 SATA nodes are defined to describe on-chip Serial ATA controllers.
6 It is possible, but not required, to represent each port as a sub-node.
7 It allows to enable each port independently when dealing with multiple
8 PHYs.
11 - compatible : compatible string, one of:
12 - "brcm,iproc-ahci"
13 - "hisilicon,hisi-ahci"
14 - "cavium,octeon-7130-ahci"
15 - "ibm,476gtr-ahci"
16 - "marvell,armada-380-ahci"
[all …]
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
Dq6asm.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
21 #include "q6dsp-errno.h"
22 #include "q6dsp-common.h"
241 phys_addr_t phys; member
270 /* idx:1 out port, 0: in port */
271 struct audio_port_data port[2]; member
283 hdr->hdr_field = APR_SEQ_CMD_HDR_FIELD; in q6asm_add_hdr()
284 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
285 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_rmu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * - fixed maintenance access routines, check for aligned access
11 * - Added Port-Write message handling
12 * - Added Machine Check exception handling
16 * Lian Minghuan-B31939 <Minghuan.Lian@freescale.com>
24 #include <linux/dma-mapping.h>
33 (((struct rio_priv *)(mport->priv))->rmm_handle)
35 /* RapidIO definition irq, which read from OF-tree */
36 #define IRQ_RIO_PW(m) (((struct fsl_rio_pw *)(m))->pwirq)
37 #define IRQ_RIO_BELL(m) (((struct fsl_rio_dbell *)(m))->bellirq)
[all …]
/kernel/linux/linux-4.19/arch/powerpc/sysdev/
Dfsl_rmu.c6 * - fixed maintenance access routines, check for aligned access
10 * - Added Port-Write message handling
11 * - Added Machine Check exception handling
15 * Lian Minghuan-B31939 <Minghuan.Lian@freescale.com>
28 #include <linux/dma-mapping.h>
37 (((struct rio_priv *)(mport->priv))->rmm_handle)
39 /* RapidIO definition irq, which read from OF-tree */
40 #define IRQ_RIO_PW(m) (((struct fsl_rio_pw *)(m))->pwirq)
41 #define IRQ_RIO_BELL(m) (((struct fsl_rio_dbell *)(m))->bellirq)
42 #define IRQ_RIO_TX(m) (((struct fsl_rmu *)(GET_RMM_HANDLE(m)))->txirq)
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-davinci/include/mach/
Duncompress.h2 * Serial port stubs for kernel decompress status messages
5 * arch/arm/plat-omap/include/mach/uncompress.h
24 #include <asm/mach-types.h>
32 /* PORT_16C550A, in polled non-fifo mode */
52 static inline void set_uart_info(u32 phys) in set_uart_info() argument
54 uart = (u32 *)phys; in set_uart_info()
57 #define _DEBUG_LL_ENTRY(machine, phys) \ argument
60 set_uart_info(phys); \
65 #define DEBUG_LL_DAVINCI(machine, port) \ argument
66 _DEBUG_LL_ENTRY(machine, DAVINCI_UART##port##_BASE)
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-davinci/include/mach/
Duncompress.h2 * Serial port stubs for kernel decompress status messages
5 * arch/arm/plat-omap/include/mach/uncompress.h
24 #include <asm/mach-types.h>
32 /* PORT_16C550A, in polled non-fifo mode */
52 static inline void set_uart_info(u32 phys) in set_uart_info() argument
54 uart = (u32 *)phys; in set_uart_info()
57 #define _DEBUG_LL_ENTRY(machine, phys) \ argument
60 set_uart_info(phys); \
65 #define DEBUG_LL_DAVINCI(machine, port) \ argument
66 _DEBUG_LL_ENTRY(machine, DAVINCI_UART##port##_BASE)
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/broadcom/stingray/
Dstingray-sata.dtsi4 * Copyright(c) 2016-2017 Broadcom. All rights reserved.
34 compatible = "simple-bus";
35 #address-cells = <1>;
36 #size-cells = <1>;
40 compatible = "brcm,iproc-ahci", "generic-ahci";
42 reg-names = "ahci";
44 #address-cells = <1>;
45 #size-cells = <0>;
48 sata0_port0: sata-port@0 {
50 phys = <&sata0_phy0>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/broadcom/stingray/
Dstingray-sata.dtsi4 * Copyright(c) 2016-2017 Broadcom. All rights reserved.
34 compatible = "simple-bus";
35 #address-cells = <1>;
36 #size-cells = <1>;
40 compatible = "brcm,iproc-ahci", "generic-ahci";
42 reg-names = "ahci";
44 #address-cells = <1>;
45 #size-cells = <0>;
48 sata0_port0: sata-port@0 {
50 phys = <&sata0_phy0>;
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dixp4xx_hss.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Intel IXP4xx HSS (synchronous serial port) driver for Linux
5 * Copyright (C) 2007-2008 Krzysztof Hałasa <khc@pm.waw.pl>
13 #include <linux/dma-mapping.h>
83 #define PKT_HDLC_CRC_32 0x2 /* default = CRC-16 */
136 /* 56k data endiannes - which bit unused: high (default) or low */
176 * The clock sequence consists of (C - B) states of 0s and 1s, each state is
188 * The sequence takes (C - B) * A + (B + 1) * (A + 1) = 5 * 2 + 3 * 3 bits
197 #define TDMMAP_HDLC 1 /* HDLC - packetized */
198 #define TDMMAP_VOICE56K 2 /* Voice56K - 7-bit channelized */
[all …]
/kernel/linux/linux-4.19/drivers/net/wan/
Dixp4xx_hss.c2 * Intel IXP4xx HSS (synchronous serial port) driver for Linux
4 * Copyright (C) 2007-2008 Krzysztof Hałasa <khc@pm.waw.pl>
16 #include <linux/dma-mapping.h>
85 #define PKT_HDLC_CRC_32 0x2 /* default = CRC-16 */
138 /* 56k data endiannes - which bit unused: high (default) or low */
178 * The clock sequence consists of (C - B) states of 0s and 1s, each state is
190 * The sequence takes (C - B) * A + (B + 1) * (A + 1) = 5 * 2 + 3 * 3 bits
199 #define TDMMAP_HDLC 1 /* HDLC - packetized */
200 #define TDMMAP_VOICE56K 2 /* Voice56K - 7-bit channelized */
201 #define TDMMAP_VOICE64K 3 /* Voice64K - 8-bit channelized */
[all …]

12345678910>>...41