/Linux-v6.1/drivers/usb/cdns3/ |
D | drd.c | 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() 64 if (cdns->phyrst_a_enable) { in cdns_set_mode() [all …]
|
D | core.c | 26 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 …]
|
D | cdns3-plat.c | 25 static int set_phy_power_on(struct cdns *cdns) in set_phy_power_on() argument 29 ret = phy_power_on(cdns->usb2_phy); in set_phy_power_on() 33 ret = phy_power_on(cdns->usb3_phy); in set_phy_power_on() 35 phy_power_off(cdns->usb2_phy); in set_phy_power_on() 40 static void set_phy_power_off(struct cdns *cdns) in set_phy_power_off() argument 42 phy_power_off(cdns->usb3_phy); in set_phy_power_off() 43 phy_power_off(cdns->usb2_phy); in set_phy_power_off() 56 struct cdns *cdns; in cdns3_plat_probe() local 60 cdns = devm_kzalloc(dev, sizeof(*cdns), GFP_KERNEL); in cdns3_plat_probe() 61 if (!cdns) in cdns3_plat_probe() [all …]
|
D | core.h | 17 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 …]
|
D | host.c | 60 static int __cdns_host_init(struct cdns *cdns) in __cdns_host_init() argument 66 cdns_drd_host_on(cdns); in __cdns_host_init() 70 dev_err(cdns->dev, "couldn't allocate xHCI device\n"); in __cdns_host_init() 74 xhci->dev.parent = cdns->dev; in __cdns_host_init() 75 cdns->host_dev = xhci; in __cdns_host_init() 77 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns_host_init() 80 dev_err(cdns->dev, "couldn't add resources to xHCI device\n"); in __cdns_host_init() 84 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci, in __cdns_host_init() 86 if (!cdns->xhci_plat_data) { in __cdns_host_init() 91 if (cdns->pdata && (cdns->pdata->quirks & CDNS3_DEFAULT_PM_RUNTIME_ALLOW)) in __cdns_host_init() [all …]
|
D | drd.h | 205 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 …]
|
D | gadget-export.h | 15 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
|
D | host-export.h | 14 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
|
D | cdnsp-pci.c | 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() 221 spin_unlock_irqrestore(&cdns->lock, flags); in cdnsp_pci_resume()
|
/Linux-v6.1/drivers/soundwire/ |
D | cadence_master.c | 198 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 …]
|
D | intel.c | 53 #define cdns_to_intel(_cdns) container_of(_cdns, struct sdw_intel, cdns) 197 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_m_datamode() 215 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_s_datamode() 232 struct dentry *root = sdw->cdns.bus.debugfs; in intel_debugfs_init() 248 sdw_cdns_debugfs_init(&sdw->cdns, sdw->debugfs); in intel_debugfs_init() 389 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up() 415 dev_dbg(sdw->cdns.dev, "powering up all links\n"); in intel_link_power_up() 418 dev_dbg(sdw->cdns.dev, in intel_link_power_up() 440 dev_err(sdw->cdns.dev, "Failed to power up link: %d\n", ret); in intel_link_power_up() 448 dev_err(sdw->cdns.dev, in intel_link_power_up() [all …]
|
D | cadence_master.h | 144 int sdw_cdns_probe(struct sdw_cdns *cdns); 150 int sdw_cdns_init(struct sdw_cdns *cdns); 151 int sdw_cdns_pdi_init(struct sdw_cdns *cdns, 153 int sdw_cdns_exit_reset(struct sdw_cdns *cdns); 154 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state); 156 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns); 157 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake); 158 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset); 161 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root); 164 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns, [all …]
|
/Linux-v6.1/drivers/gpu/drm/bridge/cadence/ |
D | Makefile | 2 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-v6.1/arch/arm/boot/dts/ |
D | socfpga_arria10_socdk_qspi.dts | 20 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>;
|
D | socfpga_cyclone5_vining_fpga.dts | 232 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 …]
|
D | socfpga_cyclone5_sodia.dts | 124 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>;
|
D | socfpga_arria5_socdk.dts | 127 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>;
|
D | socfpga_cyclone5_socdk.dts | 132 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>;
|
D | socfpga_cyclone5_socrates.dts | 87 cdns,read-delay = <4>; 88 cdns,tshsl-ns = <50>; 89 cdns,tsd2d-ns = <50>; 90 cdns,tchsh-ns = <4>; 91 cdns,tslch-ns = <4>;
|
D | socfpga_cyclone5_sockit.dts | 177 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-v6.1/arch/arm64/boot/dts/intel/ |
D | socfpga_agilex_socdk.dts | 115 cdns,page-size = <256>; 116 cdns,block-size = <16>; 117 cdns,read-delay = <2>; 118 cdns,tshsl-ns = <50>; 119 cdns,tsd2d-ns = <50>; 120 cdns,tchsh-ns = <4>; 121 cdns,tslch-ns = <4>;
|
D | socfpga_n5x_socdk.dts | 93 cdns,page-size = <256>; 94 cdns,block-size = <16>; 95 cdns,read-delay = <2>; 96 cdns,tshsl-ns = <50>; 97 cdns,tsd2d-ns = <50>; 98 cdns,tchsh-ns = <4>; 99 cdns,tslch-ns = <4>;
|
/Linux-v6.1/arch/xtensa/boot/dts/ |
D | csp.dts | 5 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-v6.1/arch/arm64/boot/dts/altera/ |
D | socfpga_stratix10_socdk.dts | 166 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>;
|
D | socfpga_stratix10_socdk_nand.dts | 179 cdns,page-size = <256>; 180 cdns,block-size = <16>; 181 cdns,read-delay = <1>; 182 cdns,tshsl-ns = <50>; 183 cdns,tsd2d-ns = <50>; 184 cdns,tchsh-ns = <4>; 185 cdns,tslch-ns = <4>;
|