Home
last modified time | relevance | path

Searched defs:cdns (Results 1 – 14 of 14) sorted by relevance

/drivers/usb/cdns3/
Dcore.h83 struct cdns { struct
87 struct cdns3_usb_regs __iomem *dev_regs; argument
90 struct cdns3_otg_legacy_regs __iomem *otg_v0_regs; argument
91 struct cdns3_otg_regs __iomem *otg_v1_regs; argument
92 struct cdnsp_otg_regs __iomem *otg_cdnsp_regs; argument
93 struct cdns_otg_common_regs __iomem *otg_regs; argument
94 struct cdns_otg_irq_regs __iomem *otg_irq_regs; argument
104 struct cdns_role_driver *roles[USB_ROLE_DEVICE + 1]; argument
116 struct cdns3_platform_data *pdata; argument
120 int (*gadget_init)(struct cdns *cdns); argument
[all …]
Ddrd.c28 static int cdns_set_mode(struct cdns *cdns, enum usb_dr_mode mode) in cdns_set_mode()
86 int cdns_get_id(struct cdns *cdns) in cdns_get_id()
96 int cdns_get_vbus(struct cdns *cdns) in cdns_get_vbus()
106 void cdns_clear_vbus(struct cdns *cdns) in cdns_clear_vbus()
119 void cdns_set_vbus(struct cdns *cdns) in cdns_set_vbus()
132 bool cdns_is_host(struct cdns *cdns) in cdns_is_host()
142 bool cdns_is_device(struct cdns *cdns) in cdns_is_device()
157 static void cdns_otg_disable_irq(struct cdns *cdns) in cdns_otg_disable_irq()
167 static void cdns_otg_enable_irq(struct cdns *cdns) in cdns_otg_enable_irq()
179 int cdns_drd_host_on(struct cdns *cdns) in cdns_drd_host_on()
[all …]
Dcore.c28 static int cdns_role_start(struct cdns *cdns, enum usb_role role) in cdns_role_start()
54 static void cdns_role_stop(struct cdns *cdns) in cdns_role_stop()
70 static void cdns_exit_roles(struct cdns *cdns) in cdns_exit_roles()
82 static int cdns_core_init_role(struct cdns *cdns) in cdns_core_init_role()
211 static enum usb_role cdns_hw_role_state_machine(struct cdns *cdns) in cdns_hw_role_state_machine()
262 static int cdns_idle_role_start(struct cdns *cdns) in cdns_idle_role_start()
267 static void cdns_idle_role_stop(struct cdns *cdns) in cdns_idle_role_stop()
273 static int cdns_idle_init(struct cdns *cdns) in cdns_idle_init()
297 int cdns_hw_role_switch(struct cdns *cdns) in cdns_hw_role_switch()
343 struct cdns *cdns = usb_role_switch_get_drvdata(sw); in cdns_role_get() local
[all …]
Dcdns3-plat.c24 static int set_phy_power_on(struct cdns *cdns) in set_phy_power_on()
39 static void set_phy_power_off(struct cdns *cdns) in set_phy_power_off()
55 struct cdns *cdns; in cdns3_plat_probe() local
180 struct cdns *cdns = platform_get_drvdata(pdev); in cdns3_plat_remove() local
198 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_set_platform_suspend() local
209 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_controller_suspend() local
233 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_controller_resume() local
286 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_plat_suspend() local
Dhost.c66 static int __cdns_host_init(struct cdns *cdns) in __cdns_host_init()
130 static void cdns_host_exit(struct cdns *cdns) in cdns_host_exit()
138 int cdns_host_init(struct cdns *cdns) in cdns_host_init()
Dhost-export.h18 static inline int cdns_host_init(struct cdns *cdns) in cdns_host_init()
23 static inline void cdns_host_exit(struct cdns *cdns) { } in cdns_host_exit()
Dgadget-export.h18 static inline int cdnsp_gadget_init(struct cdns *cdns) in cdnsp_gadget_init()
30 static inline int cdns3_gadget_init(struct cdns *cdns) in cdns3_gadget_init()
Dcdnsp-pci.c201 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_suspend() local
208 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_resume() local
Dcdnsp-gadget.c1542 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_gadget_pullup() local
1858 static int __cdnsp_gadget_init(struct cdns *cdns) in __cdnsp_gadget_init()
1952 static void cdnsp_gadget_exit(struct cdns *cdns) in cdnsp_gadget_exit()
1967 static int cdnsp_gadget_suspend(struct cdns *cdns, bool do_wakeup) in cdnsp_gadget_suspend()
1983 static int cdnsp_gadget_resume(struct cdns *cdns, bool hibernated) in cdnsp_gadget_resume()
2015 int cdnsp_gadget_init(struct cdns *cdns) in cdnsp_gadget_init()
Dcdns3-gadget.c1913 struct cdns *cdns = dev_get_drvdata(priv_dev->dev); in cdns3_device_irq_handler() local
3240 static void cdns3_gadget_exit(struct cdns *cdns) in cdns3_gadget_exit()
3278 static int cdns3_gadget_start(struct cdns *cdns) in cdns3_gadget_start()
3408 static int __cdns3_gadget_init(struct cdns *cdns) in __cdns3_gadget_init()
3447 static int cdns3_gadget_suspend(struct cdns *cdns, bool do_wakeup) in cdns3_gadget_suspend()
3466 static int cdns3_gadget_resume(struct cdns *cdns, bool hibernated) in cdns3_gadget_resume()
3487 int cdns3_gadget_init(struct cdns *cdns) in cdns3_gadget_init()
Dcdns3-imx.c253 struct cdns *cdns = dev_get_drvdata(dev); in cdns_imx_platform_suspend() local
/drivers/soundwire/
Dcadence_master.c199 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl()
204 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel()
209 static inline void cdns_updatel(struct sdw_cdns *cdns, in cdns_updatel()
219 static int cdns_set_wait(struct sdw_cdns *cdns, int offset, u32 mask, u32 value) in cdns_set_wait()
237 static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value) in cdns_clear_bit()
249 static int cdns_config_update(struct sdw_cdns *cdns) in cdns_config_update()
273 static ssize_t cdns_sprintf(struct sdw_cdns *cdns, in cdns_sprintf()
282 struct sdw_cdns *cdns = s->private; in cdns_reg_show() local
357 struct sdw_cdns *cdns = data; in cdns_hw_reset() local
377 struct sdw_cdns *cdns = data; in cdns_parity_error_injection() local
[all …]
Dintel.c759 struct sdw_cdns *cdns = bus_to_cdns(bus); in intel_pre_bank_switch() local
773 struct sdw_cdns *cdns = bus_to_cdns(bus); in intel_post_bank_switch() local
817 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_startup() local
835 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_params() local
920 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_prepare() local
968 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_free() local
1005 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_shutdown() local
1087 static int intel_create_dai(struct sdw_cdns *cdns, in intel_create_dai()
1130 struct sdw_cdns *cdns = &sdw->cdns; in intel_register_dai() local
1269 struct sdw_cdns *cdns; in intel_link_probe() local
[all …]
Dintel.h36 struct sdw_cdns *cdns; member
41 struct sdw_cdns cdns; member