| /linux/drivers/usb/cdns3/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 hibernated); 121 int (*gadget_init)(struct cdns *cdns); argument 124 int cdns_hw_role_switch(struct cdns *cdns); 125 int cdns_init(struct cdns *cdns); 126 int cdns_remove(struct cdns *cdns); 129 int cdns_resume(struct cdns *cdns); [all …]
|
| 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() 83 xhci->dev.parent = cdns->dev; 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() [all …]
|
| 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 …]
|
| 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
|
| 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
|
| A D | cdnsp-pci.c | 58 struct cdns *cdnsp; in cdnsp_pci_probe() 180 struct cdns *cdnsp; in cdnsp_pci_remove() 184 cdnsp = (struct cdns *)pci_get_drvdata(pdev); in cdnsp_pci_remove() 200 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_suspend() local 202 return cdns_suspend(cdns); in cdnsp_pci_suspend() 207 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_resume() local 211 spin_lock_irqsave(&cdns->lock, flags); in cdnsp_pci_resume() 212 ret = cdns_resume(cdns); in cdnsp_pci_resume() 213 spin_unlock_irqrestore(&cdns->lock, flags); in cdnsp_pci_resume() 214 cdns_set_active(cdns, 1); in cdnsp_pci_resume()
|
| /linux/drivers/soundwire/ |
| A D | cadence_master.c | 216 return cdns_readl(cdns, cdns->ip_offset + offset); in cdns_ip_readl() 221 return cdns_writel(cdns, cdns->ip_offset + offset, value); in cdns_ip_writel() 237 cdns_updatel(cdns, cdns->ip_offset + offset, mask, val); in cdns_ip_updatel() 426 bus = &cdns->bus; in cdns_parity_error_injection() 499 unsigned int pdi_out_num = cdns->pcm.num_bd + cdns->pcm.num_out; in cdns_set_pdi_loopback_source() 516 unsigned int pdi_in_num = cdns->pcm.num_bd + cdns->pcm.num_in; in cdns_set_pdi_loopback_target() 619 cdns->response_buf[i] = cdns_ip_readl(cdns, cmd_base); in cdns_read_response() 916 if (!cdns->link_up) in sdw_cdns_irq() 999 struct sdw_cdns *cdns = in cdns_check_attached_status_dwork() local 1306 stream = &cdns->pcm; in sdw_cdns_pdi_init() [all …]
|
| A 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() 26 ret = sdw_cdns_init(cdns); in intel_start_bus() 32 sdw_cdns_config_update(cdns); in intel_start_bus() 72 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus_after_reset() local 107 sdw_cdns_init(&sdw->cdns); in intel_start_bus_after_reset() 176 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus_after_clock_stop() local 202 struct sdw_cdns *cdns = &sdw->cdns; in intel_stop_bus() local 239 struct sdw_cdns *cdns = &sdw->cdns; in intel_pre_bank_switch() local [all …]
|
| A D | intel_ace2x.c | 182 sdw->cdns.link_up = true; in intel_link_power_up() 200 sdw->cdns.link_up = false; in intel_link_power_down() 327 pdi = sdw_cdns_alloc_pdi(cdns, &cdns->pcm, ch, dir, dai->id); in intel_hw_params() 639 struct sdw_cdns *cdns = &sdw->cdns; in intel_register_dai() local 655 num_dai = cdns->pcm.num_pdi; in intel_register_dai() 669 stream = &cdns->pcm; in intel_register_dai() 671 ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, cdns->pcm.num_in, in intel_register_dai() 676 off += cdns->pcm.num_in; in intel_register_dai() 677 ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, cdns->pcm.num_out, in intel_register_dai() 682 off += cdns->pcm.num_out; in intel_register_dai() [all …]
|
| A D | cadence_master.h | 166 int sdw_cdns_probe(struct sdw_cdns *cdns); 171 int sdw_cdns_init(struct sdw_cdns *cdns); 172 int sdw_cdns_pdi_init(struct sdw_cdns *cdns, 174 int sdw_cdns_exit_reset(struct sdw_cdns *cdns); 175 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state); 177 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns); 178 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake); 185 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns, 188 void sdw_cdns_config_stream(struct sdw_cdns *cdns, 207 void sdw_cdns_config_update(struct sdw_cdns *cdns); [all …]
|
| A D | intel_auxdevice.c | 295 struct sdw_cdns *cdns; in intel_link_probe() local 303 cdns = &sdw->cdns; in intel_link_probe() 304 bus = &cdns->bus; in intel_link_probe() 308 cdns->dev = dev; in intel_link_probe() 311 cdns->instance = sdw->instance; in intel_link_probe() 312 cdns->msg_count = 0; in intel_link_probe() 334 sdw_cdns_probe(cdns); in intel_link_probe() 372 struct sdw_bus *bus = &cdns->bus; in intel_link_startup() 483 struct sdw_bus *bus = &cdns->bus; in intel_link_remove() 505 bus = &sdw->cdns.bus; in intel_link_process_wakeen_event() [all …]
|
| 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/drivers/gpu/drm/bridge/cadence/ |
| 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/spi/ |
| A D | cdns,qspi-nor.yaml | 56 cdns,fifo-depth: 61 cdns,fifo-depth: 79 - const: cdns,qspi-nor 102 cdns,fifo-depth: 107 cdns,fifo-width: 113 cdns,trigger-address: 118 cdns,is-decoded-cs: 124 cdns,rclk-en: 149 - cdns,fifo-width 150 - cdns,trigger-address [all …]
|
| 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/net/ |
| 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/Documentation/devicetree/bindings/pci/ |
| 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>;
|
| 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/Documentation/devicetree/bindings/phy/ |
| 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/Documentation/devicetree/bindings/mmc/ |
| A D | cdns,sdhci.yaml | 19 - const: cdns,sd4hc 39 cdns,phy-input-delay-sd-highspeed: 45 cdns,phy-input-delay-legacy: 51 cdns,phy-input-delay-sd-uhs-sdr12: 57 cdns,phy-input-delay-sd-uhs-sdr25: 63 cdns,phy-input-delay-sd-uhs-sdr50: 69 cdns,phy-input-delay-sd-uhs-ddr50: 81 cdns,phy-input-delay-mmc-ddr: 92 cdns,phy-dll-delay-sdclk: 100 cdns,phy-dll-delay-sdclk-hsmmc: [all …]
|
| /linux/arch/arm/boot/dts/intel/socfpga/ |
| 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/Documentation/devicetree/bindings/ufs/ |
| 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";
|