/linux-6.1.9/drivers/usb/cdns3/ |
D | drd.c | 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() 64 if (cdns->phyrst_a_enable) { in cdns_set_mode() [all …]
|
D | core.c | 26 static int cdns_idle_init(struct cdns *cdns); 28 static int cdns_role_start(struct cdns *cdns, enum usb_role role) in cdns_role_start() argument 35 mutex_lock(&cdns->mutex); in cdns_role_start() 36 cdns->role = role; in cdns_role_start() 37 mutex_unlock(&cdns->mutex); in cdns_role_start() 39 if (!cdns->roles[role]) in cdns_role_start() 42 if (cdns->roles[role]->state == CDNS_ROLE_STATE_ACTIVE) in cdns_role_start() 45 mutex_lock(&cdns->mutex); in cdns_role_start() 46 ret = cdns->roles[role]->start(cdns); in cdns_role_start() 48 cdns->roles[role]->state = CDNS_ROLE_STATE_ACTIVE; in cdns_role_start() [all …]
|
D | cdns3-plat.c | 25 static int set_phy_power_on(struct cdns *cdns) in set_phy_power_on() argument 29 ret = phy_power_on(cdns->usb2_phy); in set_phy_power_on() 33 ret = phy_power_on(cdns->usb3_phy); in set_phy_power_on() 35 phy_power_off(cdns->usb2_phy); in set_phy_power_on() 40 static void set_phy_power_off(struct cdns *cdns) in set_phy_power_off() argument 42 phy_power_off(cdns->usb3_phy); in set_phy_power_off() 43 phy_power_off(cdns->usb2_phy); in set_phy_power_off() 56 struct cdns *cdns; in cdns3_plat_probe() local 60 cdns = devm_kzalloc(dev, sizeof(*cdns), GFP_KERNEL); in cdns3_plat_probe() 61 if (!cdns) in cdns3_plat_probe() [all …]
|
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 hibernated); 83 struct cdns { struct 120 int (*gadget_init)(struct cdns *cdns); argument 123 int cdns_hw_role_switch(struct cdns *cdns); 124 int cdns_init(struct cdns *cdns); 125 int cdns_remove(struct cdns *cdns); [all …]
|
D | host.c | 60 static int __cdns_host_init(struct cdns *cdns) in __cdns_host_init() argument 66 cdns_drd_host_on(cdns); in __cdns_host_init() 70 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns_host_init() 74 xhci->dev.parent = cdns->dev; in __cdns_host_init() 75 cdns->host_dev = xhci; in __cdns_host_init() 77 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns_host_init() 80 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns_host_init() 84 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci, in __cdns_host_init() 86 if (!cdns->xhci_plat_data) { in __cdns_host_init() 91 if (cdns->pdata && (cdns->pdata->quirks & CDNS3_DEFAULT_PM_RUNTIME_ALLOW)) in __cdns_host_init() [all …]
|
D | drd.h | 205 bool cdns_is_host(struct cdns *cdns); 206 bool cdns_is_device(struct cdns *cdns); 207 int cdns_get_id(struct cdns *cdns); 208 int cdns_get_vbus(struct cdns *cdns); 209 void cdns_clear_vbus(struct cdns *cdns); 210 void cdns_set_vbus(struct cdns *cdns); 211 int cdns_drd_init(struct cdns *cdns); 212 int cdns_drd_exit(struct cdns *cdns); 213 int cdns_drd_update_mode(struct cdns *cdns); 214 int cdns_drd_gadget_on(struct cdns *cdns); [all …]
|
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
|
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
|
D | cdnsp-pci.c | 64 struct cdns *cdnsp; in cdnsp_pci_probe() 186 struct cdns *cdnsp; in cdnsp_pci_remove() 190 cdnsp = (struct cdns *)pci_get_drvdata(pdev); in cdnsp_pci_remove() 208 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_suspend() local 210 return cdns_suspend(cdns); in cdnsp_pci_suspend() 215 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_resume() local 219 spin_lock_irqsave(&cdns->lock, flags); in cdnsp_pci_resume() 220 ret = cdns_resume(cdns, 1); in cdnsp_pci_resume() 221 spin_unlock_irqrestore(&cdns->lock, flags); in cdnsp_pci_resume()
|
/linux-6.1.9/drivers/soundwire/ |
D | cadence_master.c | 198 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl() argument 200 return readl(cdns->registers + offset); in cdns_readl() 203 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel() argument 205 writel(value, cdns->registers + offset); in cdns_writel() 208 static inline void cdns_updatel(struct sdw_cdns *cdns, in cdns_updatel() argument 213 tmp = cdns_readl(cdns, offset); in cdns_updatel() 215 cdns_writel(cdns, offset, tmp); in cdns_updatel() 218 static int cdns_set_wait(struct sdw_cdns *cdns, int offset, u32 mask, u32 value) in cdns_set_wait() argument 225 reg_read = readl(cdns->registers + offset); in cdns_set_wait() 236 static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value) in cdns_clear_bit() argument [all …]
|
D | intel.c | 53 #define cdns_to_intel(_cdns) container_of(_cdns, struct sdw_intel, cdns) 197 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_m_datamode() 215 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_s_datamode() 232 struct dentry *root = sdw->cdns.bus.debugfs; in intel_debugfs_init() 248 sdw_cdns_debugfs_init(&sdw->cdns, sdw->debugfs); in intel_debugfs_init() 389 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up() 415 dev_dbg(sdw->cdns.dev, "powering up all links\n"); in intel_link_power_up() 418 dev_dbg(sdw->cdns.dev, in intel_link_power_up() 440 dev_err(sdw->cdns.dev, "Failed to power up link: %d\n", ret); in intel_link_power_up() 448 dev_err(sdw->cdns.dev, in intel_link_power_up() [all …]
|
D | cadence_master.h | 144 int sdw_cdns_probe(struct sdw_cdns *cdns); 150 int sdw_cdns_init(struct sdw_cdns *cdns); 151 int sdw_cdns_pdi_init(struct sdw_cdns *cdns, 153 int sdw_cdns_exit_reset(struct sdw_cdns *cdns); 154 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state); 156 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns); 157 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake); 158 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset); 161 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root); 164 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns, [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/spi/ |
D | cdns,qspi-nor.yaml | 4 $id: http://devicetree.org/schemas/spi/cdns,qspi-nor.yaml# 33 - const: cdns,qspi-nor 34 - const: cdns,qspi-nor 47 cdns,fifo-depth: 54 cdns,fifo-width: 60 cdns,trigger-address: 65 cdns,is-decoded-cs: 71 cdns,rclk-en: 95 - cdns,fifo-depth 96 - cdns,fifo-width [all …]
|
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-6.1.9/drivers/gpu/drm/bridge/cadence/ |
D | Makefile | 2 obj-$(CONFIG_DRM_CDNS_MHDP8546) += cdns-mhdp8546.o 3 cdns-mhdp8546-y := cdns-mhdp8546-core.o cdns-mhdp8546-hdcp.o 4 cdns-mhdp8546-$(CONFIG_DRM_CDNS_MHDP8546_J721E) += cdns-mhdp8546-j721e.o
|
/linux-6.1.9/Documentation/devicetree/bindings/pci/ |
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>;
|
D | cdns,cdns-pcie-host.yaml | 4 $id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-host.yaml# 14 - $ref: "cdns-pcie-host.yaml#" 18 const: cdns,cdns-pcie-host 43 compatible = "cdns,cdns-pcie-host";
|
/linux-6.1.9/Documentation/devicetree/bindings/net/ |
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-6.1.9/Documentation/devicetree/bindings/phy/ |
D | phy-cadence-torrent.yaml | 22 - cdns,torrent-phy 98 cdns,phy-type: 106 cdns,num-lanes: 113 cdns,ssc-mode: 122 cdns,max-bit-rate: 133 - cdns,phy-type 134 - cdns,num-lanes 160 compatible = "cdns,torrent-phy"; 175 cdns,phy-type = <PHY_TYPE_DP>; 176 cdns,num-lanes = <4>; [all …]
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | socfpga_arria10_socdk_qspi.dts | 20 cdns,page-size = <256>; 21 cdns,block-size = <16>; 22 cdns,read-delay = <3>; 23 cdns,tshsl-ns = <50>; 24 cdns,tsd2d-ns = <50>; 25 cdns,tchsh-ns = <4>; 26 cdns,tslch-ns = <4>;
|
D | socfpga_cyclone5_vining_fpga.dts | 232 cdns,page-size = <256>; 233 cdns,block-size = <16>; 234 cdns,read-delay = <4>; 235 cdns,tshsl-ns = <50>; 236 cdns,tsd2d-ns = <50>; 237 cdns,tchsh-ns = <4>; 238 cdns,tslch-ns = <4>; 249 cdns,page-size = <256>; 250 cdns,block-size = <16>; 251 cdns,read-delay = <4>; [all …]
|
D | socfpga_cyclone5_sodia.dts | 124 cdns,page-size = <256>; 125 cdns,block-size = <16>; 126 cdns,read-delay = <4>; 127 cdns,tshsl-ns = <50>; 128 cdns,tsd2d-ns = <50>; 129 cdns,tchsh-ns = <4>; 130 cdns,tslch-ns = <4>;
|
/linux-6.1.9/Documentation/devicetree/bindings/mmc/ |
D | cdns,sdhci.yaml | 4 $id: http://devicetree.org/schemas/mmc/cdns,sdhci.yaml# 21 - const: cdns,sd4hc 37 cdns,phy-input-delay-sd-highspeed: 43 cdns,phy-input-delay-legacy: 49 cdns,phy-input-delay-sd-uhs-sdr12: 55 cdns,phy-input-delay-sd-uhs-sdr25: 61 cdns,phy-input-delay-sd-uhs-sdr50: 67 cdns,phy-input-delay-sd-uhs-ddr50: 73 cdns,phy-input-delay-mmc-highspeed: 79 cdns,phy-input-delay-mmc-ddr: [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/ufs/ |
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 32 - cdns,ufshc-m31-16nm 65 compatible = "cdns,ufshc", "jedec,ufs-2.0";
|
/linux-6.1.9/arch/arm64/boot/dts/intel/ |
D | socfpga_n5x_socdk.dts | 93 cdns,page-size = <256>; 94 cdns,block-size = <16>; 95 cdns,read-delay = <2>; 96 cdns,tshsl-ns = <50>; 97 cdns,tsd2d-ns = <50>; 98 cdns,tchsh-ns = <4>; 99 cdns,tslch-ns = <4>;
|