Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/drivers/usb/cdns3/
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 …]
Dcore.c27 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->mutex); in cdns_role_start()
47 ret = cdns->roles[role]->start(cdns); in cdns_role_start()
49 cdns->roles[role]->state = CDNS_ROLE_STATE_ACTIVE; in cdns_role_start()
[all …]
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 …]
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);
83 struct cdns { struct
120 int (*gadget_init)(struct cdns *cdns); argument
123 int cdns_hw_role_switch(struct cdns *cdns);
124 int cdns_init(struct cdns *cdns);
125 int cdns_remove(struct cdns *cdns);
[all …]
Dhost.c67 static int __cdns_host_init(struct cdns *cdns) in __cdns_host_init() argument
73 cdns_drd_host_on(cdns); in __cdns_host_init()
77 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns_host_init()
81 xhci->dev.parent = cdns->dev; in __cdns_host_init()
82 cdns->host_dev = xhci; in __cdns_host_init()
84 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns_host_init()
87 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns_host_init()
91 if (cdns->version < CDNSP_CONTROLLER_V2) in __cdns_host_init()
92 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci, in __cdns_host_init()
95 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdnsp_xhci, in __cdns_host_init()
[all …]
Ddrd.h209 bool cdns_is_host(struct cdns *cdns);
210 bool cdns_is_device(struct cdns *cdns);
211 int cdns_get_id(struct cdns *cdns);
212 int cdns_get_vbus(struct cdns *cdns);
213 void cdns_clear_vbus(struct cdns *cdns);
214 void cdns_set_vbus(struct cdns *cdns);
215 int cdns_drd_init(struct cdns *cdns);
216 int cdns_drd_exit(struct cdns *cdns);
217 int cdns_drd_update_mode(struct cdns *cdns);
218 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.c57 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()
/linux-6.6.21/drivers/soundwire/
Dcadence_master.c203 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl() argument
205 return readl(cdns->registers + offset); in cdns_readl()
208 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel() argument
210 writel(value, cdns->registers + offset); in cdns_writel()
213 static inline u32 cdns_ip_readl(struct sdw_cdns *cdns, int offset) in cdns_ip_readl() argument
215 return cdns_readl(cdns, cdns->ip_offset + offset); in cdns_ip_readl()
218 static inline void cdns_ip_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_ip_writel() argument
220 return cdns_writel(cdns, cdns->ip_offset + offset, value); in cdns_ip_writel()
223 static inline void cdns_updatel(struct sdw_cdns *cdns, in cdns_updatel() argument
228 tmp = cdns_readl(cdns, offset); in cdns_updatel()
[all …]
Dintel_bus_common.c14 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()
42 ret = sdw_cdns_config_update_set_wait(cdns); in intel_start_bus()
48 ret = sdw_cdns_exit_reset(cdns); in intel_start_bus()
54 ret = sdw_cdns_enable_interrupt(cdns, true); in intel_start_bus()
60 sdw_cdns_check_self_clearing_bits(cdns, __func__, in intel_start_bus()
68 struct device *dev = sdw->cdns.dev; in intel_start_bus_after_reset()
[all …]
Dintel_ace2x.c73 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up()
84 dev_dbg(sdw->cdns.dev, "first link up, programming SYNCPRD\n"); in intel_link_power_up()
93 dev_err(sdw->cdns.dev, "%s: hdac_bus_eml_sdw_set_syncprd failed: %d\n", in intel_link_power_up()
101 dev_err(sdw->cdns.dev, "%s: hdac_bus_eml_sdw_power_up failed: %d\n", in intel_link_power_up()
110 dev_err(sdw->cdns.dev, "%s: hdac_bus_eml_sdw_wait_syncpu failed: %d\n", in intel_link_power_up()
118 sdw->cdns.link_up = true; in intel_link_power_up()
136 sdw->cdns.link_up = false; in intel_link_power_down()
142 dev_err(sdw->cdns.dev, "%s: hdac_bus_eml_sdw_power_down failed: %d\n", in intel_link_power_down()
173 dev_err(sdw->cdns.dev, "%s: SyncGO clear failed: %d\n", __func__, ret); in intel_sync_go_unlocked()
245 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_params() local
[all …]
Dintel_auxdevice.c79 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_pre_bank_switch() local
80 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_pre_bank_switch()
87 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_post_bank_switch() local
88 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_post_bank_switch()
97 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_new_peripheral_assigned() local
98 struct sdw_intel *sdw = cdns_to_intel(cdns); in generic_new_peripheral_assigned()
218 struct sdw_cdns *cdns; in intel_link_probe() local
226 cdns = &sdw->cdns; in intel_link_probe()
227 bus = &cdns->bus; in intel_link_probe()
231 cdns->dev = dev; in intel_link_probe()
[all …]
Dcadence_master.h161 int sdw_cdns_probe(struct sdw_cdns *cdns);
166 int sdw_cdns_init(struct sdw_cdns *cdns);
167 int sdw_cdns_pdi_init(struct sdw_cdns *cdns,
169 int sdw_cdns_exit_reset(struct sdw_cdns *cdns);
170 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state);
172 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns);
173 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake);
174 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset);
177 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root);
180 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns,
[all …]
Dintel.c141 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_m_datamode()
159 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_s_datamode()
176 struct dentry *root = sdw->cdns.bus.debugfs; in intel_debugfs_init()
192 sdw_cdns_debugfs_init(&sdw->cdns, sdw->debugfs); in intel_debugfs_init()
343 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up()
369 dev_dbg(sdw->cdns.dev, "powering up all links\n"); in intel_link_power_up()
372 dev_dbg(sdw->cdns.dev, in intel_link_power_up()
394 dev_err(sdw->cdns.dev, "Failed to power up link: %d\n", ret); in intel_link_power_up()
402 dev_err(sdw->cdns.dev, in intel_link_power_up()
410 sdw->cdns.link_up = true; in intel_link_power_up()
[all …]
/linux-6.6.21/drivers/gpu/drm/bridge/cadence/
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-6.6.21/Documentation/devicetree/bindings/spi/
Dcdns,qspi-nor.yaml4 $id: http://devicetree.org/schemas/spi/cdns,qspi-nor.yaml#
56 cdns,fifo-depth:
61 cdns,fifo-depth:
77 - const: cdns,qspi-nor
78 - const: cdns,qspi-nor
101 cdns,fifo-depth:
106 cdns,fifo-width:
112 cdns,trigger-address:
117 cdns,is-decoded-cs:
123 cdns,rclk-en:
[all …]
Dcdns,qspi-nor-peripheral-props.yaml4 $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.6.21/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#
17 const: cdns,cdns-pcie-ep
40 compatible = "cdns,cdns-pcie-ep";
44 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-6.6.21/Documentation/devicetree/bindings/net/
Dcdns,macb.yaml4 $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-6.6.21/Documentation/devicetree/bindings/phy/
Dphy-cadence-torrent.yaml22 - cdns,torrent-phy
92 cdns,phy-type:
100 cdns,num-lanes:
107 cdns,ssc-mode:
116 cdns,max-bit-rate:
127 - cdns,phy-type
128 - cdns,num-lanes
154 compatible = "cdns,torrent-phy";
169 cdns,phy-type = <PHY_TYPE_DP>;
170 cdns,num-lanes = <4>;
[all …]
/linux-6.6.21/arch/arm/boot/dts/intel/socfpga/
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 …]
/linux-6.6.21/Documentation/devicetree/bindings/mmc/
Dcdns,sdhci.yaml4 $id: http://devicetree.org/schemas/mmc/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:
75 cdns,phy-input-delay-mmc-highspeed:
81 cdns,phy-input-delay-mmc-ddr:
[all …]

1234567