Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/usb/cdns3/
Dcore.c28 static int cdns3_idle_init(struct cdns3 *cdns);
31 struct cdns3_role_driver *cdns3_get_current_role_driver(struct cdns3 *cdns) in cdns3_get_current_role_driver() argument
33 WARN_ON(!cdns->roles[cdns->role]); in cdns3_get_current_role_driver()
34 return cdns->roles[cdns->role]; in cdns3_get_current_role_driver()
37 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start() argument
44 mutex_lock(&cdns->mutex); in cdns3_role_start()
45 cdns->role = role; in cdns3_role_start()
46 mutex_unlock(&cdns->mutex); in cdns3_role_start()
48 if (!cdns->roles[role]) in cdns3_role_start()
51 if (cdns->roles[role]->state == CDNS3_ROLE_STATE_ACTIVE) in cdns3_role_start()
[all …]
Ddrd.c30 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()
47 reg = readl(&cdns->otg_v0_regs->ctrl1); in cdns3_set_mode()
49 writel(reg, &cdns->otg_v0_regs->ctrl1); in cdns3_set_mode()
60 dev_err(cdns->dev, "Unsupported mode of operation %d\n", mode); in cdns3_set_mode()
67 int cdns3_get_id(struct cdns3 *cdns) in cdns3_get_id() argument
71 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE; in cdns3_get_id()
[all …]
Dhost.c17 static int __cdns3_host_init(struct cdns3 *cdns) in __cdns3_host_init() argument
22 cdns3_drd_switch_host(cdns, 1); in __cdns3_host_init()
26 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns3_host_init()
30 xhci->dev.parent = cdns->dev; in __cdns3_host_init()
31 cdns->host_dev = xhci; in __cdns3_host_init()
33 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns3_host_init()
36 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns3_host_init()
42 dev_err(cdns->dev, "failed to register xHCI device\n"); in __cdns3_host_init()
52 static void cdns3_host_exit(struct cdns3 *cdns) in cdns3_host_exit() argument
54 platform_device_unregister(cdns->host_dev); in cdns3_host_exit()
[all …]
Ddrd.h156 int cdns3_is_host(struct cdns3 *cdns);
157 int cdns3_is_device(struct cdns3 *cdns);
158 int cdns3_get_id(struct cdns3 *cdns);
159 int cdns3_get_vbus(struct cdns3 *cdns);
160 int cdns3_drd_init(struct cdns3 *cdns);
161 int cdns3_drd_exit(struct cdns3 *cdns);
162 int cdns3_drd_update_mode(struct cdns3 *cdns);
163 int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on);
164 int cdns3_drd_switch_host(struct cdns3 *cdns, int on);
165 int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode);
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);
96 int cdns3_hw_role_switch(struct cdns3 *cdns);
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
Dhost-export.h14 int cdns3_host_init(struct cdns3 *cdns);
18 static inline int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init() argument
23 static inline void cdns3_host_exit(struct cdns3 *cdns) { } in cdns3_host_exit() argument
/Linux-v5.4/drivers/soundwire/
Dcadence_master.c194 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl() argument
196 return readl(cdns->registers + offset); in cdns_readl()
199 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel() argument
201 writel(value, cdns->registers + offset); in cdns_writel()
204 static inline void cdns_updatel(struct sdw_cdns *cdns, in cdns_updatel() argument
209 tmp = cdns_readl(cdns, offset); in cdns_updatel()
211 cdns_writel(cdns, offset, tmp); in cdns_updatel()
214 static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value) in cdns_clear_bit() argument
219 writel(value, cdns->registers + offset); in cdns_clear_bit()
223 reg_read = readl(cdns->registers + offset); in cdns_clear_bit()
[all …]
Dintel.c103 struct sdw_cdns cdns; member
111 #define cdns_to_intel(_cdns) container_of(_cdns, struct sdw_intel, cdns)
262 struct dentry *root = sdw->cdns.bus.debugfs; in intel_debugfs_init()
272 sdw_cdns_debugfs_init(&sdw->cdns, sdw->debugfs); in intel_debugfs_init()
305 sdw->cdns.link_up = true; in intel_link_power_up()
361 dev_err(sdw->cdns.dev, "Failed to set sync period: %d\n", ret); in intel_shim_init()
386 dev_dbg(sdw->cdns.dev, "PCM cap bd:%d in:%d out:%d\n", in intel_pdi_init()
399 dev_dbg(sdw->cdns.dev, "PDM cap bd:%d in:%d out:%d\n", in intel_pdi_init()
469 intel_pdi_stream_ch_update(sdw, &sdw->cdns.pcm, true); in intel_pdi_ch_update()
470 intel_pdi_stream_ch_update(sdw, &sdw->cdns.pdm, false); in intel_pdi_ch_update()
[all …]
Dcadence_master.h155 int sdw_cdns_probe(struct sdw_cdns *cdns);
161 int sdw_cdns_init(struct sdw_cdns *cdns);
162 int sdw_cdns_pdi_init(struct sdw_cdns *cdns,
164 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns);
167 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root);
170 int sdw_cdns_get_stream(struct sdw_cdns *cdns,
173 int sdw_cdns_alloc_stream(struct sdw_cdns *cdns,
176 void sdw_cdns_config_stream(struct sdw_cdns *cdns, struct sdw_cdns_port *port,
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/arch/arm/boot/dts/
Dsocfpga_arria10_socdk_qspi.dts20 cdns,page-size = <256>;
21 cdns,block-size = <16>;
22 cdns,read-delay = <4>;
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>;
/Linux-v5.4/Documentation/devicetree/bindings/mmc/
Dsdhci-cadence.txt5 "cdns,sd4hc" - default of the IP
27 - cdns,phy-input-delay-sd-highspeed:
30 - cdns,phy-input-delay-legacy:
33 - cdns,phy-input-delay-sd-uhs-sdr12:
36 - cdns,phy-input-delay-sd-uhs-sdr25:
39 - cdns,phy-input-delay-sd-uhs-sdr50:
42 - cdns,phy-input-delay-sd-uhs-ddr50:
45 - cdns,phy-input-delay-mmc-highspeed:
48 - cdns,phy-input-delay-mmc-ddr:
56 - cdns,phy-dll-delay-sdclk:
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/phy/
Dphy-cadence-sierra.txt5 - compatible: cdns,sierra-phy-t0
20 - cdns,autoconf: A boolean property whose presence indicates that the
39 - cdns,num-lanes: Number of lanes in this group. From 1 to 4. The
41 - cdns,phy-type: Can be PHY_TYPE_PCIE or PHY_TYPE_USB3, depending on
46 compatible = "cdns,sierra-phy-t0";
57 cdns,num-lanes = <2>;
59 cdns,phy-type = <PHY_TYPE_PCIE>;
64 cdns,num-lanes = <1>;
66 cdns,phy-type = <PHY_TYPE_PCIE>;
/Linux-v5.4/Documentation/devicetree/bindings/pci/
Dcdns,cdns-pcie-ep.txt4 - compatible: Should contain "cdns,cdns-pcie-ep" to identify the IP used.
8 - cdns,max-outbound-regions: Set to maximum number of outbound regions
19 compatible = "cdns,cdns-pcie-ep";
23 cdns,max-outbound-regions = <16>;
Dcdns,cdns-pcie-host.txt7 - compatible: Should contain "cdns,cdns-pcie-host" to identify the IP used.
20 - cdns,max-outbound-regions: Set to maximum number of outbound regions
22 - cdns,no-bar-match-nbits: Set into the no BAR match register to configure the
34 compatible = "cdns,cdns-pcie-host";
40 cdns,max-outbound-regions = <16>;
41 cdns,no-bar-match-nbits = <32>;
/Linux-v5.4/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";
/Linux-v5.4/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10_socdk.dts166 cdns,page-size = <256>;
167 cdns,block-size = <16>;
168 cdns,read-delay = <1>;
169 cdns,tshsl-ns = <50>;
170 cdns,tsd2d-ns = <50>;
171 cdns,tchsh-ns = <4>;
172 cdns,tslch-ns = <4>;

1234