/linux/drivers/usb/cdns3/ |
H A D | drd.c | 23 * @cdns: pointer to context structure 28 static int cdns_set_mode(struct cdns *cdns, enum usb_dr_mode mode) in cdns_set_mode() argument 39 dev_dbg(cdns->dev, "Set controller to OTG mode\n"); in cdns_set_mode() 41 if (cdns->version == CDNSP_CONTROLLER_V2) in cdns_set_mode() 42 override_reg = &cdns->otg_cdnsp_regs->override; in cdns_set_mode() 43 else if (cdns->version == CDNS3_CONTROLLER_V1) in cdns_set_mode() 44 override_reg = &cdns->otg_v1_regs->override; in cdns_set_mode() 46 override_reg = &cdns->otg_v0_regs->ctrl1; in cdns_set_mode() 50 if (cdns->version != CDNS3_CONTROLLER_V0) in cdns_set_mode() 57 if (cdns->version == CDNS3_CONTROLLER_V1) { in cdns_set_mode() [all …]
|
H A D | cdns3-plat.c | 26 static int set_phy_power_on(struct cdns *cdns) in set_phy_power_on() argument 30 ret = phy_power_on(cdns->usb2_phy); in set_phy_power_on() 34 ret = phy_power_on(cdns->usb3_phy); in set_phy_power_on() 36 phy_power_off(cdns->usb2_phy); in set_phy_power_on() 41 static void set_phy_power_off(struct cdns *cdns) in set_phy_power_off() argument 43 phy_power_off(cdns->usb3_phy); in set_phy_power_off() 44 phy_power_off(cdns->usb2_phy); in set_phy_power_off() 57 struct cdns *cdns; in cdns3_plat_probe() local 61 cdns = devm_kzalloc(dev, sizeof(*cdns), GFP_KERNEL); in cdns3_plat_probe() 62 if (!cdns) in cdns3_plat_probe() [all …]
|
H A D | core.h | 17 struct cdns; 30 int (*start)(struct cdns *cdns); 31 void (*stop)(struct cdns *cdns); 32 int (*suspend)(struct cdns *cdns, bool do_wakeup); 33 int (*resume)(struct cdns *cdns, bool lost_power); 51 * struct cdns - Representation of Cadence USB3 DRD controller. 67 * @host_dev: the child host device pointer for cdns core 86 struct cdns { struct 124 int (*gadget_init)(struct cdns *cdns); argument 127 int cdns_hw_role_switch(struct cdns *cdns); [all …]
|
H A D | drd.h | 212 bool cdns_is_host(struct cdns *cdns); 213 bool cdns_is_device(struct cdns *cdns); 214 int cdns_get_id(struct cdns *cdns); 215 int cdns_get_vbus(struct cdns *cdns); 216 void cdns_clear_vbus(struct cdns *cdns); 217 void cdns_set_vbus(struct cdns *cdns); 218 int cdns_drd_init(struct cdns *cdns); 219 int cdns_drd_exit(struct cdns *cdns); 220 int cdns_drd_update_mode(struct cdns *cdns); 221 int cdns_drd_gadget_on(struct cdns *cdns); [all …]
|
H A D | gadget-export.h | 15 int cdnsp_gadget_init(struct cdns *cdns); 18 static inline int cdnsp_gadget_init(struct cdns *cdns) in cdnsp_gadget_init() argument 27 int cdns3_gadget_init(struct cdns *cdns); 30 static inline int cdns3_gadget_init(struct cdns *cdns) in cdns3_gadget_init() argument
|
H A D | cdnsp-pci.c | 28 #define PCI_DRIVER_NAME "cdns-pci-usbssp" 29 #define PLAT_DRIVER_NAME "cdns-usbssp" 54 struct cdns *cdnsp; in cdnsp_pci_probe() 182 struct cdns *cdnsp; in cdnsp_pci_remove() 186 cdnsp = (struct cdns *)pci_get_drvdata(pdev); in cdnsp_pci_remove() 202 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_suspend() local 204 return cdns_suspend(cdns); in cdnsp_pci_suspend() 209 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_resume() local 213 spin_lock_irqsave(&cdns->lock, flags); in cdnsp_pci_resume() 214 ret = cdns_resume(cdns); in cdnsp_pci_resume() [all …]
|
H A D | host-export.h | 14 int cdns_host_init(struct cdns *cdns); 18 static inline int cdns_host_init(struct cdns *cdns) in cdns_host_init() argument 23 static inline void cdns_host_exit(struct cdns *cdns) { } in cdns_host_exit() argument
|
H A D | cdnsp-gadget.c | 145 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_set_apb_timeout_value() local 151 if (!cdns->override_apb_timeout) in cdnsp_set_apb_timeout_value() 159 val = CHICKEN_APB_TIMEOUT_SET(val, cdns->override_apb_timeout); in cdnsp_set_apb_timeout_value() 1573 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_gadget_pullup() local 1582 disable_irq(cdns->dev_irq); in cdnsp_gadget_pullup() 1587 cdns_clear_vbus(cdns); in cdnsp_gadget_pullup() 1589 cdns_set_vbus(cdns); in cdnsp_gadget_pullup() 1593 enable_irq(cdns->dev_irq); in cdnsp_gadget_pullup() 1900 static int __cdnsp_gadget_init(struct cdns *cdns) in __cdnsp_gadget_init() argument 1906 cdns_drd_gadget_on(cdns); in __cdnsp_gadget_init() [all …]
|
/linux/drivers/gpu/drm/bridge/cadence/ |
H A D | Makefile | 2 obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o 3 cdns-dsi-y := cdns-dsi-core.o 4 cdns-dsi-$(CONFIG_DRM_CDNS_DSI_J721E) += cdns-dsi-j721e.o 5 obj-$(CONFIG_DRM_CDNS_MHDP8546) += cdns-mhdp8546.o 6 cdns-mhdp8546-y := cdns-mhdp8546-core.o cdns-mhdp8546-hdcp.o 7 cdns-mhdp8546-$(CONFIG_DRM_CDNS_MHDP8546_J721E) += cdns-mhdp8546-j721e.o
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | cdns,macb.yaml | 4 $id: http://devicetree.org/schemas/net/cdns,macb.yaml# 18 - cdns,at91rm9200-emac # Atmel at91rm9200 SoC 19 - const: cdns,emac # Generic 23 - cdns,zynq-gem # Xilinx Zynq-7xxx SoC 24 - cdns,zynqmp-gem # Xilinx Zynq Ultrascale+ MPSoC 25 - const: cdns,gem # Generic 33 - const: cdns,gem # Generic 37 - cdns,at91sam9260-macb # Atmel at91sam9 SoCs 38 - cdns,sam9x60-macb # Microchip sam9x60 SoC 40 - const: cdns,macb # Generic [all …]
|
/linux/drivers/soundwire/ |
H A D | intel.c | 140 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_m_datamode() 158 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_s_datamode() 175 struct dentry *root = sdw->cdns.bus.debugfs; in intel_debugfs_init() 191 sdw_cdns_debugfs_init(&sdw->cdns, sdw->debugfs); in intel_debugfs_init() 342 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up() 373 dev_err(sdw->cdns.dev, "%s: invalid clock configuration, mclk %d lcap_mlcs %d\n", in intel_link_power_up() 393 dev_dbg(sdw->cdns.dev, "powering up all links\n"); in intel_link_power_up() 396 dev_dbg(sdw->cdns.dev, in intel_link_power_up() 418 dev_err(sdw->cdns.dev, "Failed to power up link: %d\n", ret); in intel_link_power_up() 426 dev_err(sdw->cdns.dev, in intel_link_power_up() [all …]
|
H A D | intel_auxdevice.c | 85 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_bpt_send_async() local 86 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_bpt_send_async() 95 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_bpt_wait() local 96 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_bpt_wait() 105 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_pre_bank_switch() local 106 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_pre_bank_switch() 113 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_post_bank_switch() local 114 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_post_bank_switch() 123 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_new_peripheral_assigned() local 124 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_new_peripheral_assigned() [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-cadence-torrent.yaml | 22 - cdns,torrent-phy 97 cdns,phy-type: 104 cdns,num-lanes: 111 cdns,ssc-mode: 120 cdns,max-bit-rate: 131 - cdns,phy-type 132 - cdns,num-lanes 158 compatible = "cdns,torrent-phy"; 173 cdns,phy-type = <PHY_TYPE_DP>; 174 cdns,num-lanes = <4>; [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | cdns,cdns-pcie-ep.yaml | 4 $id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-ep.yaml# 13 - $ref: cdns-pcie-ep.yaml# 17 const: cdns,cdns-pcie-ep 40 compatible = "cdns,cdns-pcie-ep"; 44 cdns,max-outbound-regions = <16>;
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | cdns,qspi-nor-peripheral-props.yaml | 4 $id: http://devicetree.org/schemas/spi/cdns,qspi-nor-peripheral-props.yaml# 16 # cdns,qspi-nor.yaml 17 cdns,read-delay: 22 cdns,tshsl-ns: 27 cdns,tsd2d-ns: 32 cdns,tchsh-ns: 37 cdns,tslch-ns:
|
/linux/Documentation/devicetree/bindings/ufs/ |
H A D | cdns,ufshc.yaml | 4 $id: http://devicetree.org/schemas/ufs/cdns,ufshc.yaml# 18 - cdns,ufshc 19 - cdns,ufshc-m31-16nm 30 - cdns,ufshc 31 # CDNS UFS HC + M31 16nm PHY 32 - cdns,ufshc-m31-16nm 67 compatible = "cdns,ufshc", "jedec,ufs-2.0";
|
/linux/arch/arm64/boot/dts/amd/ |
H A D | elba.dtsi | 82 compatible = "amd,pensando-elba-qspi", "cdns,qspi-nor"; 89 cdns,fifo-depth = <1024>; 90 cdns,fifo-width = <4>; 91 cdns,trigger-address = <0x7fff0000>; 173 compatible = "amd,pensando-elba-sd4hc", "cdns,sd4hc"; 178 cdns,phy-input-delay-sd-highspeed = <0x4>; 179 cdns,phy-input-delay-legacy = <0x4>; 180 cdns,phy-input-delay-sd-uhs-sdr50 = <0x6>; 181 cdns,phy-input-delay-sd-uhs-ddr50 = <0x16>;
|
H A D | elba-asic-common.dtsi | 31 cdns,read-delay = <0>; 32 cdns,tshsl-ns = <0>; 33 cdns,tsd2d-ns = <0>; 34 cdns,tchsh-ns = <0>; 35 cdns,tslch-ns = <0>;
|
/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga_cyclone5_vining_fpga.dts | 232 cdns,read-delay = <4>; 233 cdns,tshsl-ns = <50>; 234 cdns,tsd2d-ns = <50>; 235 cdns,tchsh-ns = <4>; 236 cdns,tslch-ns = <4>; 247 cdns,read-delay = <4>; 248 cdns,tshsl-ns = <50>; 249 cdns,tsd2d-ns = <50>; 250 cdns,tchsh-ns = <4>; 251 cdns,tslch-ns = <4>;
|
H A D | socfpga_arria10_socdk_qspi.dts | 20 cdns,read-delay = <3>; 21 cdns,tshsl-ns = <50>; 22 cdns,tsd2d-ns = <50>; 23 cdns,tchsh-ns = <4>; 24 cdns,tslch-ns = <4>;
|
H A D | socfpga_cyclone5_socrates.dts | 87 cdns,read-delay = <4>; 88 cdns,tshsl-ns = <50>; 89 cdns,tsd2d-ns = <50>; 90 cdns,tchsh-ns = <4>; 91 cdns,tslch-ns = <4>;
|
/linux/arch/xtensa/boot/dts/ |
H A D | csp.dts | 5 compatible = "cdns,xtensa-xtfpga"; 11 …bootargs = "earlycon=cdns,0xfd000000,115200 console=tty0 console=ttyPS0,115200 root=/dev/ram0 rw e… 23 compatible = "cdns,xtensa-cpu"; 29 compatible = "cdns,xtensa-pic"; 48 compatible = "xlnx,xuartps", "cdns,uart-r1p8";
|
H A D | xtfpga.dtsi | 3 compatible = "cdns,xtensa-xtfpga"; 21 compatible = "cdns,xtensa-cpu"; 28 compatible = "cdns,xtensa-pic"; 53 compatible = "cdns,xtfpga-clock"; 80 compatible = "cdns,xtfpga-i2s"; 107 compatible = "cdns,xtfpga-spi";
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | cdns,hp-nfc.yaml | 4 $id: http://devicetree.org/schemas/mtd/cdns,hp-nfc.yaml# 18 - const: cdns,hp-nfc 43 cdns,board-delay-ps: 67 compatible = "cdns,hp-nfc"; 76 cdns,board-delay-ps = <4830>;
|
/linux/arch/arm64/boot/dts/intel/ |
H A D | socfpga_agilex5_socdk.dts | 55 cdns,read-delay = <2>; 56 cdns,tshsl-ns = <50>; 57 cdns,tsd2d-ns = <50>; 58 cdns,tchsh-ns = <4>; 59 cdns,tslch-ns = <4>;
|