| /linux-6.15/drivers/usb/cdns3/ |
| H A D | drd.c | 86 int cdns_get_id(struct cdns *cdns) in cdns_get_id() argument 96 int cdns_get_vbus(struct cdns *cdns) in cdns_get_vbus() argument 106 void cdns_clear_vbus(struct cdns *cdns) in cdns_clear_vbus() argument 119 void cdns_set_vbus(struct cdns *cdns) in cdns_set_vbus() argument 132 bool cdns_is_host(struct cdns *cdns) in cdns_is_host() argument 142 bool cdns_is_device(struct cdns *cdns) in cdns_is_device() argument 179 int cdns_drd_host_on(struct cdns *cdns) in cdns_drd_host_on() argument 339 struct cdns *cdns = data; in cdns_drd_thread_irq() local 357 struct cdns *cdns = data; in cdns_drd_irq() local 389 int cdns_drd_init(struct cdns *cdns) in cdns_drd_init() argument [all …]
|
| H A D | core.c | 27 static int cdns_idle_init(struct cdns *cdns); 47 ret = cdns->roles[role]->start(cdns); in cdns_role_start() 66 cdns->roles[role]->stop(cdns); in cdns_role_stop() 157 ret = cdns->gadget_init(cdns); in cdns_core_init_role() 407 struct cdns *cdns = data; in cdns_wakeup_irq() local 427 int cdns_init(struct cdns *cdns) in cdns_init() argument 460 dev_name(cdns->dev), cdns); in cdns_init() 497 int cdns_remove(struct cdns *cdns) in cdns_remove() argument 517 cdns->roles[cdns->role]->suspend(cdns, false); in cdns_suspend() 525 int cdns_resume(struct cdns *cdns) in cdns_resume() argument [all …]
|
| H A D | cdns3-plat.c | 26 static int set_phy_power_on(struct cdns *cdns) in set_phy_power_on() argument 41 static void set_phy_power_off(struct cdns *cdns) in set_phy_power_off() argument 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() 187 struct cdns *cdns = platform_get_drvdata(pdev); in cdns3_plat_remove() local 204 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_set_platform_suspend() local 207 if (cdns->pdata && cdns->pdata->platform_suspend) in cdns3_set_platform_suspend() 215 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_controller_suspend() local 239 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_controller_resume() local [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); 124 int (*gadget_init)(struct cdns *cdns); argument 127 int cdns_hw_role_switch(struct cdns *cdns); 128 int cdns_init(struct cdns *cdns); 129 int cdns_remove(struct cdns *cdns); 132 int cdns_resume(struct cdns *cdns); [all …]
|
| H A 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() 84 cdns->host_dev = xhci; in __cdns_host_init() 100 if (!cdns->xhci_plat_data) { in __cdns_host_init() 105 if (cdns->pdata && (cdns->pdata->quirks & CDNS3_DEFAULT_PM_RUNTIME_ALLOW)) in __cdns_host_init() 127 kfree(cdns->xhci_plat_data); in __cdns_host_init() 133 static void cdns_host_exit(struct cdns *cdns) in cdns_host_exit() argument 137 cdns->host_dev = NULL; in cdns_host_exit() 138 cdns_drd_host_off(cdns); in cdns_host_exit() 141 static int cdns_host_resume(struct cdns *cdns, bool power_lost) in cdns_host_resume() argument [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); 221 int cdns_drd_gadget_on(struct cdns *cdns); 223 int cdns_drd_host_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 | 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-pci.c | 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() 215 spin_unlock_irqrestore(&cdns->lock, flags); in cdnsp_pci_resume() 216 cdns_set_active(cdns, 1); in cdnsp_pci_resume()
|
| /linux-6.15/drivers/soundwire/ |
| H A D | intel_bus_common.c | 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() 78 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus_after_reset() local 113 sdw_cdns_init(&sdw->cdns); in intel_start_bus_after_reset() 182 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus_after_clock_stop() local 208 struct sdw_cdns *cdns = &sdw->cdns; in intel_stop_bus() local 245 struct sdw_cdns *cdns = &sdw->cdns; in intel_pre_bank_switch() local [all …]
|
| H A D | cadence_master.c | 218 return cdns_readl(cdns, cdns->ip_offset + offset); in cdns_ip_readl() 223 return cdns_writel(cdns, cdns->ip_offset + offset, value); in cdns_ip_writel() 239 cdns_updatel(cdns, cdns->ip_offset + offset, mask, val); in cdns_ip_updatel() 428 bus = &cdns->bus; in cdns_parity_error_injection() 501 unsigned int pdi_out_num = cdns->pcm.num_bd + cdns->pcm.num_out; in cdns_set_pdi_loopback_source() 518 unsigned int pdi_in_num = cdns->pcm.num_bd + cdns->pcm.num_in; in cdns_set_pdi_loopback_target() 621 cdns->response_buf[i] = cdns_ip_readl(cdns, cmd_base); in cdns_read_response() 918 if (!cdns->link_up) in sdw_cdns_irq() 1001 struct sdw_cdns *cdns = in cdns_check_attached_status_dwork() local 1308 stream = &cdns->pcm; in sdw_cdns_pdi_init() [all …]
|
| H A D | intel_ace2x.c | 49 struct sdw_cdns *cdns = &sdw->cdns; in intel_ace2x_bpt_open_stream() local 83 pdi0 = sdw_cdns_alloc_pdi(cdns, &cdns->pcm, 1, dir, 0); in intel_ace2x_bpt_open_stream() 95 pdi1 = sdw_cdns_alloc_pdi(cdns, &cdns->pcm, 1, dir, 1); in intel_ace2x_bpt_open_stream() 199 ret1 = sdw_stream_remove_master(&cdns->bus, cdns->bus.bpt_stream); in intel_ace2x_bpt_open_stream() 220 struct sdw_cdns *cdns = &sdw->cdns; in intel_ace2x_bpt_close_stream() local 235 ret = sdw_stream_remove_master(&cdns->bus, cdns->bus.bpt_stream); in intel_ace2x_bpt_close_stream() 253 struct sdw_cdns *cdns = &sdw->cdns; in intel_ace2x_bpt_send_async() local 292 struct sdw_cdns *cdns = &sdw->cdns; in intel_ace2x_bpt_wait() local 642 pdi = sdw_cdns_alloc_pdi(cdns, &cdns->pcm, ch, dir, dai->id); in intel_hw_params() 954 struct sdw_cdns *cdns = &sdw->cdns; in intel_register_dai() local [all …]
|
| H A D | intel_auxdevice.c | 306 struct sdw_cdns *cdns; in intel_link_probe() local 314 cdns = &sdw->cdns; in intel_link_probe() 315 bus = &cdns->bus; in intel_link_probe() 319 cdns->dev = dev; in intel_link_probe() 322 cdns->instance = sdw->instance; in intel_link_probe() 323 cdns->msg_count = 0; in intel_link_probe() 345 sdw_cdns_probe(cdns); in intel_link_probe() 380 struct sdw_bus *bus = &cdns->bus; in intel_link_startup() 491 struct sdw_bus *bus = &cdns->bus; in intel_link_remove() 513 bus = &sdw->cdns.bus; in intel_link_process_wakeen_event() [all …]
|
| H A 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); 178 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns); 179 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake); 186 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns, 189 void sdw_cdns_config_stream(struct sdw_cdns *cdns, 208 void sdw_cdns_config_update(struct sdw_cdns *cdns); [all …]
|
| H A D | intel.c | 396 dev_dbg(sdw->cdns.dev, in intel_link_power_up() 426 dev_err(sdw->cdns.dev, in intel_link_power_up() 441 sdw->cdns.link_up = true; in intel_link_power_up() 462 dev_err(sdw->cdns.dev, in intel_link_power_down() 742 pdi = sdw_cdns_alloc_pdi(cdns, &cdns->pcm, ch, dir, dai->id); in intel_hw_params() 1036 struct sdw_cdns *cdns = &sdw->cdns; in intel_register_dai() local 1064 stream = &cdns->pcm; in intel_register_dai() 1066 ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, cdns->pcm.num_in, in intel_register_dai() 1071 off += cdns->pcm.num_in; in intel_register_dai() 1072 ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, cdns->pcm.num_out, in intel_register_dai() [all …]
|
| /linux-6.15/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-6.15/Documentation/devicetree/bindings/spi/ |
| H A D | cdns,qspi-nor.yaml | 56 cdns,fifo-depth: 61 cdns,fifo-depth: 107 cdns,fifo-depth: 112 cdns,fifo-width: 123 cdns,is-decoded-cs: 129 cdns,rclk-en: 156 - cdns,tshsl-ns 157 - cdns,tsd2d-ns 158 - cdns,tchsh-ns 159 - cdns,tslch-ns [all …]
|
| 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-6.15/Documentation/devicetree/bindings/net/ |
| H A D | cdns,macb.yaml | 4 $id: http://devicetree.org/schemas/net/cdns,macb.yaml# 19 - const: cdns,emac # Generic 25 - const: cdns,gem # Generic 33 - const: cdns,gem # Generic 40 - const: cdns,macb # Generic 47 - const: cdns,macb # Generic 58 - cdns,emac # Generic 59 - cdns,gem # Generic 117 cdns,rx-watermark: 182 compatible = "cdns,macb"; [all …]
|
| /linux-6.15/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>;
|
| H A 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.15/Documentation/devicetree/bindings/phy/ |
| H A 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 175 cdns,num-lanes = <4>; 176 cdns,max-bit-rate = <8100>; 203 cdns,num-lanes = <2>; [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/mmc/ |
| H A D | 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: 82 cdns,phy-input-delay-mmc-ddr: 93 cdns,phy-dll-delay-sdclk: 101 cdns,phy-dll-delay-sdclk-hsmmc: [all …]
|
| /linux-6.15/arch/arm/boot/dts/intel/socfpga/ |
| 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>;
|
| /linux-6.15/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 32 - cdns,ufshc-m31-16nm 67 compatible = "cdns,ufshc", "jedec,ufs-2.0";
|