Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dcore.c28 static int cdns3_idle_init(struct cdns3 *cdns);
30 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start() argument
37 mutex_lock(&cdns->mutex); in cdns3_role_start()
38 cdns->role = role; in cdns3_role_start()
39 mutex_unlock(&cdns->mutex); in cdns3_role_start()
41 if (!cdns->roles[role]) in cdns3_role_start()
44 if (cdns->roles[role]->state == CDNS3_ROLE_STATE_ACTIVE) in cdns3_role_start()
47 mutex_lock(&cdns->mutex); in cdns3_role_start()
48 ret = cdns->roles[role]->start(cdns); in cdns3_role_start()
50 cdns->roles[role]->state = CDNS3_ROLE_STATE_ACTIVE; in cdns3_role_start()
[all …]
Ddrd.c31 int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode) in cdns3_set_mode() argument
41 dev_dbg(cdns->dev, "Set controller to OTG mode\n"); in cdns3_set_mode()
42 if (cdns->version == CDNS3_CONTROLLER_V1) { in cdns3_set_mode()
43 reg = readl(&cdns->otg_v1_regs->override); in cdns3_set_mode()
45 writel(reg, &cdns->otg_v1_regs->override); in cdns3_set_mode()
53 if (cdns->phyrst_a_enable) { in cdns3_set_mode()
54 reg = readl(&cdns->otg_v1_regs->phyrst_cfg); in cdns3_set_mode()
56 writel(reg, &cdns->otg_v1_regs->phyrst_cfg); in cdns3_set_mode()
59 reg = readl(&cdns->otg_v0_regs->ctrl1); in cdns3_set_mode()
61 writel(reg, &cdns->otg_v0_regs->ctrl1); in cdns3_set_mode()
[all …]
Dhost.c31 static int __cdns3_host_init(struct cdns3 *cdns) in __cdns3_host_init() argument
37 cdns3_drd_host_on(cdns); in __cdns3_host_init()
41 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns3_host_init()
45 xhci->dev.parent = cdns->dev; in __cdns3_host_init()
46 cdns->host_dev = xhci; in __cdns3_host_init()
48 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns3_host_init()
51 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns3_host_init()
55 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci, in __cdns3_host_init()
57 if (!cdns->xhci_plat_data) { in __cdns3_host_init()
62 if (cdns->pdata && (cdns->pdata->quirks & CDNS3_DEFAULT_PM_RUNTIME_ALLOW)) in __cdns3_host_init()
[all …]
Ddrd.h162 bool cdns3_is_host(struct cdns3 *cdns);
163 bool cdns3_is_device(struct cdns3 *cdns);
164 int cdns3_get_id(struct cdns3 *cdns);
165 int cdns3_get_vbus(struct cdns3 *cdns);
166 int cdns3_drd_init(struct cdns3 *cdns);
167 int cdns3_drd_exit(struct cdns3 *cdns);
168 int cdns3_drd_update_mode(struct cdns3 *cdns);
169 int cdns3_drd_gadget_on(struct cdns3 *cdns);
170 void cdns3_drd_gadget_off(struct cdns3 *cdns);
171 int cdns3_drd_host_on(struct cdns3 *cdns);
[all …]
Dgadget-export.h15 int cdns3_gadget_init(struct cdns3 *cdns);
16 void cdns3_gadget_exit(struct cdns3 *cdns);
19 static inline int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init() argument
24 static inline void cdns3_gadget_exit(struct cdns3 *cdns) { } in cdns3_gadget_exit() argument
Dcore.h30 int (*start)(struct cdns3 *cdns);
31 void (*stop)(struct cdns3 *cdns);
32 int (*suspend)(struct cdns3 *cdns, bool do_wakeup);
33 int (*resume)(struct cdns3 *cdns, bool hibernated);
115 int cdns3_hw_role_switch(struct cdns3 *cdns);
Dhost-export.h15 int cdns3_host_init(struct cdns3 *cdns);
20 static inline int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init() argument
25 static inline void cdns3_host_exit(struct cdns3 *cdns) { } in cdns3_host_exit() argument
/kernel/linux/linux-5.10/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.c123 #define cdns_to_intel(_cdns) container_of(_cdns, struct sdw_intel, cdns)
268 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_m_datamode()
286 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_s_datamode()
303 struct dentry *root = sdw->cdns.bus.debugfs; in intel_debugfs_init()
319 sdw_cdns_debugfs_init(&sdw->cdns, sdw->debugfs); in intel_debugfs_init()
340 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up()
366 dev_dbg(sdw->cdns.dev, "%s: powering up all links\n", __func__); in intel_link_power_up()
369 dev_dbg(sdw->cdns.dev, in intel_link_power_up()
391 dev_err(sdw->cdns.dev, "Failed to power up link: %d\n", ret); in intel_link_power_up()
399 dev_err(sdw->cdns.dev, in intel_link_power_up()
[all …]
Dcadence_master.h147 int sdw_cdns_probe(struct sdw_cdns *cdns);
153 int sdw_cdns_init(struct sdw_cdns *cdns);
154 int sdw_cdns_pdi_init(struct sdw_cdns *cdns,
156 int sdw_cdns_exit_reset(struct sdw_cdns *cdns);
157 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state);
159 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns);
160 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake);
161 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset);
164 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root);
167 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns,
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/
Dcadence-quadspi.txt5 Generic default - "cdns,qspi-nor".
6 For TI 66AK2G SoC - "ti,k2g-qspi", "cdns,qspi-nor".
7 For TI AM654 SoC - "ti,am654-ospi", "cdns,qspi-nor".
14 - cdns,fifo-depth : Size of the data FIFO in words.
15 - cdns,fifo-width : Bus width of the data FIFO in bytes.
16 - cdns,trigger-address : 32-bit indirect AHB trigger address.
19 - cdns,is-decoded-cs : Flag to indicate whether decoder is used or not.
20 - cdns,rclk-en : Flag to indicate that QSPI return clock is used to latch
27 - cdns,read-delay : Delay for read capture logic, in clock cycles
28 - cdns,tshsl-ns : Delay in nanoseconds for the length that the master
[all …]
/kernel/linux/linux-5.10/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".
10 Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
11 the Cadence GEM, or the generic form: "cdns,gem".
16 Use "cdns,zynq-gem" Xilinx Zynq-7xxx SoC.
17 Use "cdns,zynqmp-gem" for Zynq Ultrascale+ MPSoC.
[all …]
/kernel/linux/linux-5.10/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>;
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>;
Dsocfpga_cyclone5_socdk.dts132 cdns,page-size = <256>;
133 cdns,block-size = <16>;
134 cdns,read-delay = <4>;
135 cdns,tshsl-ns = <50>;
136 cdns,tsd2d-ns = <50>;
137 cdns,tchsh-ns = <4>;
138 cdns,tslch-ns = <4>;
Dsocfpga_cyclone5_sockit.dts177 cdns,page-size = <256>;
178 cdns,block-size = <16>;
179 cdns,read-delay = <4>;
180 cdns,tshsl-ns = <50>;
181 cdns,tsd2d-ns = <50>;
182 cdns,tchsh-ns = <4>;
183 cdns,tslch-ns = <4>;
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/
DMakefile2 obj-$(CONFIG_DRM_CDNS_MHDP8546) += cdns-mhdp8546.o
3 cdns-mhdp8546-y := cdns-mhdp8546-core.o
4 cdns-mhdp8546-$(CONFIG_DRM_CDNS_MHDP8546_J721E) += cdns-mhdp8546-j721e.o
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-cadence-sierra.txt5 - compatible: Must be "cdns,sierra-phy-t0" for Sierra in Cadence platform
23 - cdns,autoconf: A boolean property whose presence indicates that the
42 - cdns,num-lanes: Number of lanes in this group. From 1 to 4. The
44 - cdns,phy-type: Can be PHY_TYPE_PCIE or PHY_TYPE_USB3, depending on
49 compatible = "cdns,sierra-phy-t0";
60 cdns,num-lanes = <2>;
62 cdns,phy-type = <PHY_TYPE_PCIE>;
67 cdns,num-lanes = <1>;
69 cdns,phy-type = <PHY_TYPE_PCIE>;
/kernel/linux/linux-5.10/arch/xtensa/boot/dts/
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";
/kernel/linux/linux-5.10/arch/arm64/boot/dts/intel/
Dsocfpga_agilex_socdk.dts118 cdns,page-size = <256>;
119 cdns,block-size = <16>;
120 cdns,read-delay = <1>;
121 cdns,tshsl-ns = <50>;
122 cdns,tsd2d-ns = <50>;
123 cdns,tchsh-ns = <4>;
124 cdns,tslch-ns = <4>;
/kernel/linux/linux-5.10/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10_socdk.dts167 cdns,page-size = <256>;
168 cdns,block-size = <16>;
169 cdns,read-delay = <1>;
170 cdns,tshsl-ns = <50>;
171 cdns,tsd2d-ns = <50>;
172 cdns,tchsh-ns = <4>;
173 cdns,tslch-ns = <4>;
Dsocfpga_stratix10_socdk_nand.dts200 cdns,page-size = <256>;
201 cdns,block-size = <16>;
202 cdns,read-delay = <1>;
203 cdns,tshsl-ns = <50>;
204 cdns,tsd2d-ns = <50>;
205 cdns,tchsh-ns = <4>;
206 cdns,tslch-ns = <4>;

1234