Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/drivers/usb/cdns3/
Dcore.h86 struct cdns { struct
90 struct cdns3_usb_regs __iomem *dev_regs; argument
93 struct cdns3_otg_legacy_regs __iomem *otg_v0_regs; argument
94 struct cdns3_otg_regs __iomem *otg_v1_regs; argument
95 struct cdnsp_otg_regs __iomem *otg_cdnsp_regs; argument
96 struct cdns_otg_common_regs __iomem *otg_regs; argument
97 struct cdns_otg_irq_regs __iomem *otg_irq_regs; argument
107 struct cdns_role_driver *roles[USB_ROLE_DEVICE + 1]; argument
119 struct cdns3_platform_data *pdata; argument
124 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.c29 static int cdns_role_start(struct cdns *cdns, enum usb_role role) in cdns_role_start()
55 static void cdns_role_stop(struct cdns *cdns) in cdns_role_stop()
71 static void cdns_exit_roles(struct cdns *cdns) in cdns_exit_roles()
83 static int cdns_core_init_role(struct cdns *cdns) in cdns_core_init_role()
212 static enum usb_role cdns_hw_role_state_machine(struct cdns *cdns) in cdns_hw_role_state_machine()
263 static int cdns_idle_role_start(struct cdns *cdns) in cdns_idle_role_start()
268 static void cdns_idle_role_stop(struct cdns *cdns) in cdns_idle_role_stop()
274 static int cdns_idle_init(struct cdns *cdns) in cdns_idle_init()
298 int cdns_hw_role_switch(struct cdns *cdns) in cdns_hw_role_switch()
344 struct cdns *cdns = usb_role_switch_get_drvdata(sw); in cdns_role_get() local
[all …]
Dcdns3-plat.c26 static int set_phy_power_on(struct cdns *cdns) in set_phy_power_on()
41 static void set_phy_power_off(struct cdns *cdns) in set_phy_power_off()
57 struct cdns *cdns; in cdns3_plat_probe() local
181 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.c69 static int __cdns_host_init(struct cdns *cdns) in __cdns_host_init()
133 static void cdns_host_exit(struct cdns *cdns) in cdns_host_exit()
141 int cdns_host_init(struct cdns *cdns) in cdns_host_init()
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()
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()
Dcdnsp-pci.c207 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_suspend() local
214 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_resume() local
Dcdnsp-gadget.c144 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_set_apb_timeout_value() local
1572 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_gadget_pullup() local
1899 static int __cdnsp_gadget_init(struct cdns *cdns) in __cdnsp_gadget_init()
1993 static void cdnsp_gadget_exit(struct cdns *cdns) in cdnsp_gadget_exit()
2008 static int cdnsp_gadget_suspend(struct cdns *cdns, bool do_wakeup) in cdnsp_gadget_suspend()
2024 static int cdnsp_gadget_resume(struct cdns *cdns, bool hibernated) in cdnsp_gadget_resume()
2056 int cdnsp_gadget_init(struct cdns *cdns) in cdnsp_gadget_init()
Dcdns3-gadget.c1915 struct cdns *cdns = dev_get_drvdata(priv_dev->dev); in cdns3_device_irq_handler() local
3246 static void cdns3_gadget_exit(struct cdns *cdns) in cdns3_gadget_exit()
3284 static int cdns3_gadget_start(struct cdns *cdns) in cdns3_gadget_start()
3414 static int __cdns3_gadget_init(struct cdns *cdns) in __cdns3_gadget_init()
3453 static int cdns3_gadget_suspend(struct cdns *cdns, bool do_wakeup) in cdns3_gadget_suspend()
3472 static int cdns3_gadget_resume(struct cdns *cdns, bool hibernated) in cdns3_gadget_resume()
3493 int cdns3_gadget_init(struct cdns *cdns) in cdns3_gadget_init()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
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 …]
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 …]
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()
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()
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()
Dgadget.c1910 struct cdns3 *cdns = dev_get_drvdata(priv_dev->dev); in cdns3_device_irq_handler() local
3225 void cdns3_gadget_exit(struct cdns3 *cdns) in cdns3_gadget_exit()
3261 static int cdns3_gadget_start(struct cdns3 *cdns) in cdns3_gadget_start()
3381 static int __cdns3_gadget_init(struct cdns3 *cdns) in __cdns3_gadget_init()
3420 static int cdns3_gadget_suspend(struct cdns3 *cdns, bool do_wakeup) in cdns3_gadget_suspend()
3439 static int cdns3_gadget_resume(struct cdns3 *cdns, bool hibernated) in cdns3_gadget_resume()
3458 int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init()
/kernel/linux/linux-6.6/drivers/soundwire/
Dcadence_master.c203 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl()
208 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel()
213 static inline u32 cdns_ip_readl(struct sdw_cdns *cdns, int offset) in cdns_ip_readl()
218 static inline void cdns_ip_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_ip_writel()
223 static inline void cdns_updatel(struct sdw_cdns *cdns, in cdns_updatel()
233 static inline void cdns_ip_updatel(struct sdw_cdns *cdns, in cdns_ip_updatel()
239 static int cdns_set_wait(struct sdw_cdns *cdns, int offset, u32 mask, u32 value) in cdns_set_wait()
257 static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value) in cdns_clear_bit()
269 static int cdns_config_update(struct sdw_cdns *cdns) in cdns_config_update()
290 void sdw_cdns_config_update(struct sdw_cdns *cdns) in sdw_cdns_config_update()
[all …]
Dintel_bus_common.c15 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus() local
72 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus_after_reset() local
176 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus_after_clock_stop() local
202 struct sdw_cdns *cdns = &sdw->cdns; in intel_stop_bus() local
239 struct sdw_cdns *cdns = &sdw->cdns; in intel_pre_bank_switch() local
253 struct sdw_cdns *cdns = &sdw->cdns; in intel_post_bank_switch() local
Dintel_auxdevice.c79 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_pre_bank_switch() local
87 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_post_bank_switch() local
97 struct sdw_cdns *cdns = bus_to_cdns(bus); in generic_new_peripheral_assigned() local
218 struct sdw_cdns *cdns; in intel_link_probe() local
279 struct sdw_cdns *cdns = auxiliary_get_drvdata(auxdev); in intel_link_startup() local
390 struct sdw_cdns *cdns = auxiliary_get_drvdata(auxdev); in intel_link_remove() local
469 struct sdw_cdns *cdns = dev_get_drvdata(dev); in intel_pm_prepare() local
529 struct sdw_cdns *cdns = dev_get_drvdata(dev); in intel_suspend() local
574 struct sdw_cdns *cdns = dev_get_drvdata(dev); in intel_suspend_runtime() local
613 struct sdw_cdns *cdns = dev_get_drvdata(dev); in intel_resume() local
[all …]
Dintel_ace2x.c245 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_params() local
317 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_prepare() local
370 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_free() local
412 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_get_sdw_stream() local
424 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_trigger() local
547 static int intel_create_dai(struct sdw_cdns *cdns, in intel_create_dai()
584 struct sdw_cdns *cdns = &sdw->cdns; in intel_register_dai() local
Dintel.c675 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_params() local
748 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_prepare() local
801 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_free() local
836 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_get_sdw_stream() local
848 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_trigger() local
915 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_component_dais_suspend() local
949 static int intel_create_dai(struct sdw_cdns *cdns, in intel_create_dai()
986 struct sdw_cdns *cdns = &sdw->cdns; in intel_register_dai() local
Dintel.h46 struct sdw_cdns *cdns; member
52 struct sdw_cdns cdns; member
/kernel/linux/linux-5.10/drivers/soundwire/
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 …]
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 …]
Dintel.h38 struct sdw_cdns *cdns; member
43 struct sdw_cdns cdns; member

12