/linux-6.14.4/drivers/usb/cdns3/ |
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 …]
|
D | core.c | 27 static int cdns_idle_init(struct cdns *cdns); 29 static int cdns_role_start(struct cdns *cdns, enum usb_role role) in cdns_role_start() argument 36 mutex_lock(&cdns->mutex); in cdns_role_start() 37 cdns->role = role; in cdns_role_start() 38 mutex_unlock(&cdns->mutex); in cdns_role_start() 40 if (!cdns->roles[role]) in cdns_role_start() 43 if (cdns->roles[role]->state == CDNS_ROLE_STATE_ACTIVE) in cdns_role_start() 46 mutex_lock(&cdns->mutex); in cdns_role_start() 47 ret = cdns->roles[role]->start(cdns); in cdns_role_start() 49 cdns->roles[role]->state = CDNS_ROLE_STATE_ACTIVE; in cdns_role_start() [all …]
|
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 …]
|
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); 51 * struct cdns - Representation of Cadence USB3 DRD controller. 67 * @host_dev: the child host device pointer for cdns core 84 struct cdns { struct 121 int (*gadget_init)(struct cdns *cdns); argument 124 int cdns_hw_role_switch(struct cdns *cdns); [all …]
|
D | host.c | 69 static int __cdns_host_init(struct cdns *cdns) in __cdns_host_init() argument 75 cdns_drd_host_on(cdns); in __cdns_host_init() 79 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns_host_init() 83 xhci->dev.parent = cdns->dev; in __cdns_host_init() 84 cdns->host_dev = xhci; in __cdns_host_init() 86 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns_host_init() 89 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns_host_init() 93 if (cdns->version < CDNSP_CONTROLLER_V2) in __cdns_host_init() 94 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci, in __cdns_host_init() 97 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdnsp_xhci, in __cdns_host_init() [all …]
|
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 …]
|
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 | cdnsp-pci.c | 28 #define PCI_DRIVER_NAME "cdns-pci-usbssp" 29 #define PLAT_DRIVER_NAME "cdns-usbssp" 52 struct cdns *cdnsp; in cdnsp_pci_probe() 174 struct cdns *cdnsp; in cdnsp_pci_remove() 178 cdnsp = (struct cdns *)pci_get_drvdata(pdev); in cdnsp_pci_remove() 194 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_suspend() local 196 return cdns_suspend(cdns); in cdnsp_pci_suspend() 201 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_resume() local 205 spin_lock_irqsave(&cdns->lock, flags); in cdnsp_pci_resume() 206 ret = cdns_resume(cdns); in cdnsp_pci_resume() [all …]
|
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
|
/linux-6.14.4/drivers/soundwire/ |
D | cadence_master.c | 204 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl() argument 206 return readl(cdns->registers + offset); in cdns_readl() 209 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel() argument 211 writel(value, cdns->registers + offset); in cdns_writel() 214 static inline u32 cdns_ip_readl(struct sdw_cdns *cdns, int offset) in cdns_ip_readl() argument 216 return cdns_readl(cdns, cdns->ip_offset + offset); in cdns_ip_readl() 219 static inline void cdns_ip_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_ip_writel() argument 221 return cdns_writel(cdns, cdns->ip_offset + offset, value); in cdns_ip_writel() 224 static inline void cdns_updatel(struct sdw_cdns *cdns, in cdns_updatel() argument 229 tmp = cdns_readl(cdns, offset); in cdns_updatel() [all …]
|
D | intel_bus_common.c | 14 struct device *dev = sdw->cdns.dev; in intel_start_bus() 15 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus() local 16 struct sdw_bus *bus = &cdns->bus; in intel_start_bus() 19 ret = sdw_cdns_soft_reset(cdns); in intel_start_bus() 32 ret = sdw_cdns_init(cdns); in intel_start_bus() 38 sdw_cdns_config_update(cdns); in intel_start_bus() 48 ret = sdw_cdns_config_update_set_wait(cdns); in intel_start_bus() 54 ret = sdw_cdns_enable_interrupt(cdns, true); in intel_start_bus() 60 ret = sdw_cdns_exit_reset(cdns); in intel_start_bus() 66 sdw_cdns_check_self_clearing_bits(cdns, __func__, in intel_start_bus() [all …]
|
D | intel_ace2x.c | 29 struct sdw_bus *bus = &sdw->cdns.bus; in intel_shim_vs_init() 79 dev_dbg(sdw->cdns.dev, "clock source %d LVSCTL %#x\n", source, val); in intel_shim_vs_set_clock_source() 128 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up() 153 dev_err(sdw->cdns.dev, "%s: hdac_bus_eml_sdw_power_up failed: %d\n", in intel_link_power_up() 162 dev_dbg(sdw->cdns.dev, "first link up, programming SYNCPRD\n"); in intel_link_power_up() 166 dev_err(sdw->cdns.dev, "%s: hdac_bus_eml_sdw_set_syncprd failed: %d\n", in intel_link_power_up() 174 dev_err(sdw->cdns.dev, "%s: hdac_bus_eml_sdw_wait_syncpu failed: %d\n", in intel_link_power_up() 185 sdw->cdns.link_up = true; in intel_link_power_up() 203 sdw->cdns.link_up = false; in intel_link_power_down() 213 dev_err(sdw->cdns.dev, "%s: hdac_bus_eml_sdw_power_down failed: %d\n", in intel_link_power_down() [all …]
|
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 …]
|
D | intel_auxdevice.c | 84 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_pre_bank_switch() local 85 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_pre_bank_switch() 92 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_post_bank_switch() local 93 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_post_bank_switch() 102 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_new_peripheral_assigned() local 103 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_new_peripheral_assigned() 303 struct sdw_cdns *cdns; in intel_link_probe() local 311 cdns = &sdw->cdns; in intel_link_probe() 312 bus = &cdns->bus; in intel_link_probe() 316 cdns->dev = dev; in intel_link_probe() [all …]
|
D | cadence_master.h | 166 int sdw_cdns_probe(struct sdw_cdns *cdns); 171 int sdw_cdns_soft_reset(struct sdw_cdns *cdns); 172 int sdw_cdns_init(struct sdw_cdns *cdns); 173 int sdw_cdns_pdi_init(struct sdw_cdns *cdns, 175 int sdw_cdns_exit_reset(struct sdw_cdns *cdns); 176 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state); 178 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns); 179 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake); 180 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset); 183 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root); [all …]
|
/linux-6.14.4/drivers/gpu/drm/bridge/cadence/ |
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-6.14.4/Documentation/devicetree/bindings/spi/ |
D | cdns,qspi-nor.yaml | 4 $id: http://devicetree.org/schemas/spi/cdns,qspi-nor.yaml# 56 cdns,fifo-depth: 61 cdns,fifo-depth: 79 - const: cdns,qspi-nor 80 - const: cdns,qspi-nor 103 cdns,fifo-depth: 108 cdns,fifo-width: 114 cdns,trigger-address: 119 cdns,is-decoded-cs: 125 cdns,rclk-en: [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.14.4/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.14.4/Documentation/devicetree/bindings/phy/ |
D | phy-cadence-torrent.yaml | 22 - cdns,torrent-phy 97 cdns,phy-type: 105 cdns,num-lanes: 112 cdns,ssc-mode: 121 cdns,max-bit-rate: 132 - cdns,phy-type 133 - cdns,num-lanes 159 compatible = "cdns,torrent-phy"; 174 cdns,phy-type = <PHY_TYPE_DP>; 175 cdns,num-lanes = <4>; [all …]
|
D | phy-cadence-sierra.yaml | 20 - cdns,sierra-phy-t0 64 cdns,autoconf: 94 cdns,phy-type: 101 cdns,num-lanes: 108 cdns,ssc-mode: 143 compatible = "cdns,sierra-phy-t0"; 154 cdns,num-lanes = <2>; 156 cdns,phy-type = <PHY_TYPE_PCIE>; 161 cdns,num-lanes = <1>; 163 cdns,phy-type = <PHY_TYPE_PCIE>;
|
/linux-6.14.4/Documentation/devicetree/bindings/mmc/ |
D | cdns,sdhci.yaml | 4 $id: http://devicetree.org/schemas/mmc/cdns,sdhci.yaml# 20 - const: cdns,sd4hc 40 cdns,phy-input-delay-sd-highspeed: 46 cdns,phy-input-delay-legacy: 52 cdns,phy-input-delay-sd-uhs-sdr12: 58 cdns,phy-input-delay-sd-uhs-sdr25: 64 cdns,phy-input-delay-sd-uhs-sdr50: 70 cdns,phy-input-delay-sd-uhs-ddr50: 76 cdns,phy-input-delay-mmc-highspeed: 82 cdns,phy-input-delay-mmc-ddr: [all …]
|
/linux-6.14.4/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# 13 - $ref: cdns-pcie-host.yaml# 17 const: cdns,cdns-pcie-host 40 compatible = "cdns,cdns-pcie-host";
|
/linux-6.14.4/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 31 # CDNS UFS HC + M31 16nm PHY 32 - cdns,ufshc-m31-16nm 67 compatible = "cdns,ufshc", "jedec,ufs-2.0";
|