Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/cdns3/
H A Ddrd.c30 static int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode) in cdns3_set_mode()
88 int cdns3_get_id(struct cdns3 *cdns) in cdns3_get_id()
98 int cdns3_get_vbus(struct cdns3 *cdns) in cdns3_get_vbus()
108 bool cdns3_is_host(struct cdns3 *cdns) in cdns3_is_host()
118 bool cdns3_is_device(struct cdns3 *cdns) in cdns3_is_device()
133 static void cdns3_otg_disable_irq(struct cdns3 *cdns) in cdns3_otg_disable_irq()
142 static void cdns3_otg_enable_irq(struct cdns3 *cdns) in cdns3_otg_enable_irq()
154 int cdns3_drd_host_on(struct cdns3 *cdns) in cdns3_drd_host_on()
183 void cdns3_drd_host_off(struct cdns3 *cdns) in cdns3_drd_host_off()
204 int cdns3_drd_gadget_on(struct cdns3 *cdns) in cdns3_drd_gadget_on()
[all …]
H A Dcore.c30 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start()
56 static void cdns3_role_stop(struct cdns3 *cdns) in cdns3_role_stop()
72 static void cdns3_exit_roles(struct cdns3 *cdns) in cdns3_exit_roles()
84 static int cdns3_core_init_role(struct cdns3 *cdns) in cdns3_core_init_role()
202 static enum usb_role cdns3_hw_role_state_machine(struct cdns3 *cdns) in cdns3_hw_role_state_machine()
253 static int cdns3_idle_role_start(struct cdns3 *cdns) in cdns3_idle_role_start()
258 static void cdns3_idle_role_stop(struct cdns3 *cdns) in cdns3_idle_role_stop()
264 static int cdns3_idle_init(struct cdns3 *cdns) in cdns3_idle_init()
288 int cdns3_hw_role_switch(struct cdns3 *cdns) in cdns3_hw_role_switch()
334 struct cdns3 *cdns = usb_role_switch_get_drvdata(sw); in cdns3_role_get() local
[all …]
H A Dhost.c31 static int __cdns3_host_init(struct cdns3 *cdns) in __cdns3_host_init()
116 static void cdns3_host_exit(struct cdns3 *cdns) in cdns3_host_exit()
124 int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init()
H A Dgadget-export.h19 static inline int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init()
24 static inline void cdns3_gadget_exit(struct cdns3 *cdns) { } in cdns3_gadget_exit()
H A Dhost-export.h20 static inline int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init()
25 static inline void cdns3_host_exit(struct cdns3 *cdns) { } in cdns3_host_exit()
H A Dgadget.c1851 struct cdns3 *cdns = dev_get_drvdata(priv_dev->dev); in cdns3_device_irq_handler() local
3099 void cdns3_gadget_exit(struct cdns3 *cdns) in cdns3_gadget_exit()
3135 static int cdns3_gadget_start(struct cdns3 *cdns) in cdns3_gadget_start()
3255 static int __cdns3_gadget_init(struct cdns3 *cdns) in __cdns3_gadget_init()
3294 static int cdns3_gadget_suspend(struct cdns3 *cdns, bool do_wakeup) in cdns3_gadget_suspend()
3313 static int cdns3_gadget_resume(struct cdns3 *cdns, bool hibernated) in cdns3_gadget_resume()
3332 int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init()
H A Dcdns3-imx.c248 struct cdns3 *cdns = dev_get_drvdata(dev); in cdns_imx_platform_suspend() local
/OK3568_Linux_fs/u-boot/drivers/usb/cdns3/
H A Dcore.c32 struct cdns3 cdns; member
36 struct cdns3 cdns; member
40 struct cdns3_role_driver *cdns3_get_current_role_driver(struct cdns3 *cdns) in cdns3_get_current_role_driver()
46 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start()
72 static void cdns3_role_stop(struct cdns3 *cdns) in cdns3_role_stop()
88 static void cdns3_exit_roles(struct cdns3 *cdns) in cdns3_exit_roles()
102 static int cdns3_core_init_role(struct cdns3 *cdns) in cdns3_core_init_role()
194 static enum usb_role cdsn3_hw_role_state_machine(struct cdns3 *cdns) in cdsn3_hw_role_state_machine()
247 static int cdns3_idle_role_start(struct cdns3 *cdns) in cdns3_idle_role_start()
252 static void cdns3_idle_role_stop(struct cdns3 *cdns) in cdns3_idle_role_stop()
[all …]
H A Ddrd.c32 int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode) in cdns3_set_mode()
69 int cdns3_get_id(struct cdns3 *cdns) in cdns3_get_id()
79 int cdns3_get_vbus(struct cdns3 *cdns) in cdns3_get_vbus()
89 int cdns3_is_host(struct cdns3 *cdns) in cdns3_is_host()
99 int cdns3_is_device(struct cdns3 *cdns) in cdns3_is_device()
117 int cdns3_drd_switch_host(struct cdns3 *cdns, int on) in cdns3_drd_switch_host()
154 int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on) in cdns3_drd_switch_gadget()
196 static int cdns3_init_otg_mode(struct cdns3 *cdns) in cdns3_init_otg_mode()
216 int cdns3_drd_update_mode(struct cdns3 *cdns) in cdns3_drd_update_mode()
239 int cdns3_drd_init(struct cdns3 *cdns) in cdns3_drd_init()
[all …]
H A Dhost.c19 static int __cdns3_host_init(struct cdns3 *cdns) in __cdns3_host_init()
33 static void cdns3_host_exit(struct cdns3 *cdns) in cdns3_host_exit()
39 int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init()
H A Dhost-export.h19 static inline int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init()
24 static inline void cdns3_host_exit(struct cdns3 *cdns) { } in cdns3_host_exit()
H A Dgadget-export.h19 static inline int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init()
24 static inline void cdns3_gadget_exit(struct cdns3 *cdns) { } in cdns3_gadget_exit()
H A Dgadget.c1369 struct cdns3 *cdns = data; in cdns3_device_irq_handler() local
1413 struct cdns3 *cdns = data; in cdns3_device_thread_irq_handler() local
2524 void cdns3_gadget_exit(struct cdns3 *cdns) in cdns3_gadget_exit()
2552 static int cdns3_gadget_start(struct cdns3 *cdns) in cdns3_gadget_start()
2670 static int __cdns3_gadget_init(struct cdns3 *cdns) in __cdns3_gadget_init()
2683 static int cdns3_gadget_suspend(struct cdns3 *cdns, bool do_wakeup) in cdns3_gadget_suspend()
2701 static int cdns3_gadget_resume(struct cdns3 *cdns, bool hibernated) in cdns3_gadget_resume()
2720 int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init()
2745 static void cdns3_gadget_uboot_handle_interrupt(struct cdns3 *cdns) in cdns3_gadget_uboot_handle_interrupt()
2755 struct cdns3 *cdns = dev_get_priv(dev); in dm_usb_gadget_handle_interrupts() local
/OK3568_Linux_fs/kernel/drivers/soundwire/
H A Dcadence_master.c198 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl()
203 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel()
208 static inline void cdns_updatel(struct sdw_cdns *cdns, in cdns_updatel()
218 static int cdns_set_wait(struct sdw_cdns *cdns, int offset, u32 mask, u32 value) in cdns_set_wait()
236 static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value) in cdns_clear_bit()
248 static int cdns_config_update(struct sdw_cdns *cdns) in cdns_config_update()
272 static ssize_t cdns_sprintf(struct sdw_cdns *cdns, in cdns_sprintf()
281 struct sdw_cdns *cdns = s->private; in cdns_reg_show() local
356 struct sdw_cdns *cdns = data; in cdns_hw_reset() local
376 struct sdw_cdns *cdns = data; in cdns_parity_error_injection() local
[all …]
H A Dintel.c834 struct sdw_cdns *cdns = bus_to_cdns(bus); in intel_pre_bank_switch() local
848 struct sdw_cdns *cdns = bus_to_cdns(bus); in intel_post_bank_switch() local
892 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_startup() local
910 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_params() local
995 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_prepare() local
1043 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_free() local
1080 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_shutdown() local
1162 static int intel_create_dai(struct sdw_cdns *cdns, in intel_create_dai()
1205 struct sdw_cdns *cdns = &sdw->cdns; in intel_register_dai() local
1337 struct sdw_cdns *cdns; in intel_master_probe() local
[all …]
H A Dintel.h38 struct sdw_cdns *cdns; member
43 struct sdw_cdns cdns; member