Home
last modified time | relevance | path

Searched full:cdns (Results 1 – 25 of 159) sorted by relevance

1234567

/Linux-v5.15/drivers/usb/cdns3/
Ddrd.c23 * @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 …]
Dcore.c26 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 …]
Dcdns3-plat.c24 static int set_phy_power_on(struct cdns *cdns) in set_phy_power_on() argument
28 ret = phy_power_on(cdns->usb2_phy); in set_phy_power_on()
32 ret = phy_power_on(cdns->usb3_phy); in set_phy_power_on()
34 phy_power_off(cdns->usb2_phy); in set_phy_power_on()
39 static void set_phy_power_off(struct cdns *cdns) in set_phy_power_off() argument
41 phy_power_off(cdns->usb3_phy); in set_phy_power_off()
42 phy_power_off(cdns->usb2_phy); in set_phy_power_off()
55 struct cdns *cdns; in cdns3_plat_probe() local
59 cdns = devm_kzalloc(dev, sizeof(*cdns), GFP_KERNEL); in cdns3_plat_probe()
60 if (!cdns) in cdns3_plat_probe()
[all …]
Dhost.c33 static int __cdns_host_init(struct cdns *cdns) in __cdns_host_init() argument
39 cdns_drd_host_on(cdns); in __cdns_host_init()
43 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns_host_init()
47 xhci->dev.parent = cdns->dev; in __cdns_host_init()
48 cdns->host_dev = xhci; in __cdns_host_init()
50 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns_host_init()
53 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns_host_init()
57 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci, in __cdns_host_init()
59 if (!cdns->xhci_plat_data) { in __cdns_host_init()
64 if (cdns->pdata && (cdns->pdata->quirks & CDNS3_DEFAULT_PM_RUNTIME_ALLOW)) in __cdns_host_init()
[all …]
Dcore.h17 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);
50 * struct cdns - Representation of Cadence USB3 DRD controller.
66 * @host_dev: the child host device pointer for cdns core
83 struct cdns { struct
120 int (*gadget_init)(struct cdns *cdns); argument
123 int cdns_hw_role_switch(struct cdns *cdns);
[all …]
Ddrd.h205 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 …]
Dgadget-export.h15 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
Dhost-export.h14 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
Dcdnsp-pci.c28 #define PCI_DRIVER_NAME "cdns-pci-usbssp"
29 #define PLAT_DRIVER_NAME "cdns-usbssp"
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()
[all …]
/Linux-v5.15/drivers/soundwire/
Dcadence_master.c198 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 …]
Dintel.c50 #define cdns_to_intel(_cdns) container_of(_cdns, struct sdw_intel, cdns)
195 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_m_datamode()
213 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_s_datamode()
230 struct dentry *root = sdw->cdns.bus.debugfs; in intel_debugfs_init()
246 sdw_cdns_debugfs_init(&sdw->cdns, sdw->debugfs); in intel_debugfs_init()
267 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up()
293 dev_dbg(sdw->cdns.dev, "%s: powering up all links\n", __func__); in intel_link_power_up()
296 dev_dbg(sdw->cdns.dev, in intel_link_power_up()
318 dev_err(sdw->cdns.dev, "Failed to power up link: %d\n", ret); in intel_link_power_up()
326 dev_err(sdw->cdns.dev, in intel_link_power_up()
[all …]
Dcadence_master.h150 int sdw_cdns_probe(struct sdw_cdns *cdns);
156 int sdw_cdns_init(struct sdw_cdns *cdns);
157 int sdw_cdns_pdi_init(struct sdw_cdns *cdns,
159 int sdw_cdns_exit_reset(struct sdw_cdns *cdns);
160 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state);
162 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns);
163 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake);
164 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset);
167 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root);
170 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns,
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/spi/
Dcdns,qspi-nor.yaml4 $id: http://devicetree.org/schemas/spi/cdns,qspi-nor.yaml#
23 - const: cdns,qspi-nor
24 - const: cdns,qspi-nor
37 cdns,fifo-depth:
44 cdns,fifo-width:
50 cdns,trigger-address:
55 cdns,is-decoded-cs:
61 cdns,rclk-en:
85 cdns,read-delay:
90 cdns,tshsl-ns:
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/phy/
Dphy-cadence-torrent.yaml22 - 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 …]
Dphy-cadence-sierra.yaml20 - cdns,sierra-phy-t0
72 cdns,autoconf:
102 cdns,phy-type:
109 cdns,num-lanes:
142 compatible = "cdns,sierra-phy-t0";
153 cdns,num-lanes = <2>;
155 cdns,phy-type = <PHY_TYPE_PCIE>;
160 cdns,num-lanes = <1>;
162 cdns,phy-type = <PHY_TYPE_PCIE>;
/Linux-v5.15/Documentation/devicetree/bindings/mmc/
Dcdns,sdhci.yaml4 $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-v5.15/Documentation/devicetree/bindings/net/
Dmacb.txt4 - compatible: Should be "cdns,[<chip>-]{macb|gem}"
5 Use "cdns,at91rm9200-emac" Atmel at91rm9200 SoC.
6 Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs.
7 Use "cdns,sam9x60-macb" for Microchip sam9x60 SoC.
8 Use "cdns,np4-macb" for NP4 SoC devices.
9 Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb".
15 Use "cdns,zynq-gem" Xilinx Zynq-7xxx SoC.
16 Use "cdns,zynqmp-gem" for Zynq Ultrascale+ MPSoC.
20 Or the generic form: "cdns,emac".
29 Optional elements: 'rx_clk' applies to cdns,zynqmp-gem
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/pci/
Dcdns,cdns-pcie-ep.yaml4 $id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-ep.yaml#
13 - $ref: "cdns-pcie-ep.yaml#"
18 const: cdns,cdns-pcie-ep
41 compatible = "cdns,cdns-pcie-ep";
45 cdns,max-outbound-regions = <16>;
Dcdns,cdns-pcie-host.yaml4 $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-v5.15/arch/arm/boot/dts/
Dsocfpga_arria10_socdk_qspi.dts20 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>;
Dsocfpga_cyclone5_vining_fpga.dts232 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 …]
Dsocfpga_cyclone5_sodia.dts124 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>;
Dsocfpga_arria5_socdk.dts127 cdns,page-size = <256>;
128 cdns,block-size = <16>;
129 cdns,read-delay = <4>;
130 cdns,tshsl-ns = <50>;
131 cdns,tsd2d-ns = <50>;
132 cdns,tchsh-ns = <4>;
133 cdns,tslch-ns = <4>;
/Linux-v5.15/drivers/gpu/drm/bridge/cadence/
DMakefile2 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-v5.15/arch/arm64/boot/dts/intel/
Dsocfpga_agilex_socdk.dts114 cdns,page-size = <256>;
115 cdns,block-size = <16>;
116 cdns,read-delay = <2>;
117 cdns,tshsl-ns = <50>;
118 cdns,tsd2d-ns = <50>;
119 cdns,tchsh-ns = <4>;
120 cdns,tslch-ns = <4>;

1234567