/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 | 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 in cdns_role_start() 55 cdns_role_stop(struct cdns * cdns) cdns_role_stop() argument 71 cdns_exit_roles(struct cdns * cdns) cdns_exit_roles() argument 83 cdns_core_init_role(struct cdns * cdns) cdns_core_init_role() argument 212 cdns_hw_role_state_machine(struct cdns * cdns) cdns_hw_role_state_machine() argument 263 cdns_idle_role_start(struct cdns * cdns) cdns_idle_role_start() argument 268 cdns_idle_role_stop(struct cdns * cdns) cdns_idle_role_stop() argument 274 cdns_idle_init(struct cdns * cdns) cdns_idle_init() argument 298 cdns_hw_role_switch(struct cdns * cdns) cdns_hw_role_switch() argument 344 struct cdns *cdns = usb_role_switch_get_drvdata(sw); cdns_role_get() local 360 struct cdns *cdns = usb_role_switch_get_drvdata(sw); cdns_role_set() local 407 struct cdns *cdns = data; cdns_wakeup_irq() local 427 cdns_init(struct cdns * cdns) cdns_init() argument 497 cdns_remove(struct cdns * cdns) cdns_remove() argument 507 cdns_suspend(struct cdns * cdns) cdns_suspend() argument 525 cdns_resume(struct cdns * cdns) cdns_resume() argument 562 cdns_set_active(struct cdns * cdns,u8 set_active) cdns_set_active() argument [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 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 …]
|
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() 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 …]
|
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 | 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/drivers/soundwire/ |
H A 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 …]
|
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 …]
|
/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
|
H A D | cdns-dsi-core.h | 51 * struct cdns_dsi_platform_ops - CDNS DSI Platform operations 52 * @init: Called in the CDNS DSI probe 53 * @deinit: Called in the CDNS DSI remove 54 * @enable: Called at the beginning of CDNS DSI bridge enable 55 * @disable: Called at the end of CDNS DSI bridge disable
|
/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/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 159 compatible = "cdns,torrent-phy"; 174 cdns,phy-type = <PHY_TYPE_DP>; 175 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/Documentation/devicetree/bindings/usb/ |
H A D | cdns,usb3.yaml | 4 $id: http://devicetree.org/schemas/usb/cdns,usb3.yaml# 14 const: cdns,usb3 66 cdns,on-chip-buff-size: 72 cdns,phyrst-a-enable: 99 compatible = "cdns,usb3";
|