Home
last modified time | relevance | path

Searched refs:cdns (Results 1 – 25 of 80) sorted by relevance

1234

/linux/drivers/usb/cdns3/
H A Ddrd.c28 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()
64 if (cdns->phyrst_a_enable) { in cdns_set_mode()
[all …]
H A Dcdns3-plat.c26 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 …]
H A 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 lost_power);
86 struct cdns { struct
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);
[all …]
H A Ddrd.h212 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 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
H A 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
H A Dcdnsp-pci.c54 struct cdns *cdnsp; in cdnsp_pci_probe()
179 struct cdns *cdnsp; in cdnsp_pci_remove()
183 cdnsp = (struct cdns *)pci_get_drvdata(pdev); in cdnsp_pci_remove()
199 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_suspend() local
201 return cdns_suspend(cdns); in cdnsp_pci_suspend()
206 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_resume() local
210 spin_lock_irqsave(&cdns->lock, flags); in cdnsp_pci_resume()
211 ret = cdns_resume(cdns); in cdnsp_pci_resume()
212 spin_unlock_irqrestore(&cdns->lock, flags); in cdnsp_pci_resume()
213 cdns_set_active(cdns, 1); in cdnsp_pci_resume()
H A Dcdnsp-gadget.c145 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_set_apb_timeout_value() local
151 if (!cdns->override_apb_timeout) in cdnsp_set_apb_timeout_value()
159 val = CHICKEN_APB_TIMEOUT_SET(val, cdns->override_apb_timeout); in cdnsp_set_apb_timeout_value()
1573 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_gadget_pullup() local
1582 disable_irq(cdns->dev_irq); in cdnsp_gadget_pullup()
1587 cdns_clear_vbus(cdns); in cdnsp_gadget_pullup()
1589 cdns_set_vbus(cdns); in cdnsp_gadget_pullup()
1593 enable_irq(cdns->dev_irq); in cdnsp_gadget_pullup()
1900 static int __cdnsp_gadget_init(struct cdns *cdns) in __cdnsp_gadget_init() argument
1906 cdns_drd_gadget_on(cdns); in __cdnsp_gadget_init()
[all …]
H A DMakefile6 cdns-usb-common-y := core.o drd.o
10 obj-m += cdns-usb-common.o
13 obj-$(CONFIG_USB_CDNS_SUPPORT) += cdns-usb-common.o
17 cdns-usb-common-$(CONFIG_USB_CDNS_HOST) += host.o
/linux/drivers/gpu/drm/bridge/cadence/
H A DMakefile2 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/drivers/soundwire/
H A Dcadence_master.h167 int sdw_cdns_probe(struct sdw_cdns *cdns);
172 int sdw_cdns_soft_reset(struct sdw_cdns *cdns);
173 int sdw_cdns_init(struct sdw_cdns *cdns);
174 int sdw_cdns_pdi_init(struct sdw_cdns *cdns,
176 int sdw_cdns_exit_reset(struct sdw_cdns *cdns);
177 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state);
179 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns);
180 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake);
181 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset);
184 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root);
[all …]
H A Dintel.c140 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/arch/arm64/boot/dts/axiado/
H A Dax3000.dtsi129 compatible = "axiado,ax3000-gpio", "cdns,gpio-r1p02";
142 compatible = "axiado,ax3000-gpio", "cdns,gpio-r1p02";
155 compatible = "axiado,ax3000-gpio", "cdns,gpio-r1p02";
168 compatible = "axiado,ax3000-gpio", "cdns,gpio-r1p02";
181 compatible = "axiado,ax3000-gpio", "cdns,gpio-r1p02";
194 compatible = "axiado,ax3000-gpio", "cdns,gpio-r1p02";
207 compatible = "axiado,ax3000-gpio", "cdns,gpio-r1p02";
220 compatible = "axiado,ax3000-gpio", "cdns,gpio-r1p02";
234 compatible = "axiado,ax3000-i3c", "cdns,i3c-master";
248 compatible = "axiado,ax3000-i3c", "cdns,i3c-master";
[all …]
/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_arria10_socdk_qspi.dts20 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 Dsocfpga_cyclone5_vining_fpga.dts232 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 Dsocfpga_cyclone5_socrates.dts87 cdns,read-delay = <4>;
88 cdns,tshsl-ns = <50>;
89 cdns,tsd2d-ns = <50>;
90 cdns,tchsh-ns = <4>;
91 cdns,tslch-ns = <4>;
H A Dsocfpga_cyclone5_sodia.dts126 cdns,read-delay = <4>;
127 cdns,tshsl-ns = <50>;
128 cdns,tsd2d-ns = <50>;
129 cdns,tchsh-ns = <4>;
130 cdns,tslch-ns = <4>;
H A Dsocfpga_arria5_socdk.dts127 cdns,read-delay = <4>;
128 cdns,tshsl-ns = <50>;
129 cdns,tsd2d-ns = <50>;
130 cdns,tchsh-ns = <4>;
131 cdns,tslch-ns = <4>;
/linux/arch/arm64/boot/dts/amd/
H A Delba-asic-common.dtsi31 cdns,read-delay = <0>;
32 cdns,tshsl-ns = <0>;
33 cdns,tsd2d-ns = <0>;
34 cdns,tchsh-ns = <0>;
35 cdns,tslch-ns = <0>;
H A Delba.dtsi82 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>;
/linux/arch/xtensa/boot/dts/
H A Dcsp.dts5 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 Dxtfpga.dtsi3 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/arch/arm64/boot/dts/intel/
H A Dsocfpga_agilex5_socdk.dts75 cdns,read-delay = <2>;
76 cdns,tshsl-ns = <50>;
77 cdns,tsd2d-ns = <50>;
78 cdns,tchsh-ns = <4>;
79 cdns,tslch-ns = <4>;
H A Dsocfpga_agilex5_socdk_013b.dts90 cdns,read-delay = <2>;
91 cdns,tshsl-ns = <50>;
92 cdns,tsd2d-ns = <50>;
93 cdns,tchsh-ns = <4>;
94 cdns,tslch-ns = <4>;
H A Dsocfpga_agilex3_socdk.dts96 cdns,read-delay = <2>;
97 cdns,tshsl-ns = <50>;
98 cdns,tsd2d-ns = <50>;
99 cdns,tchsh-ns = <4>;
100 cdns,tslch-ns = <4>;

1234