Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
H A 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 …]
H A 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 …]
H A 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
185 struct cdns *cdns = platform_get_drvdata(pdev); in cdns3_plat_remove() local
202 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_set_platform_suspend() local
213 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_controller_suspend() local
237 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_controller_resume() local
290 struct cdns *cdns = dev_get_drvdata(dev); in cdns3_plat_suspend() local
H A 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()
H A 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()
H A Dcdnsp-pci.c199 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_suspend() local
206 struct cdns *cdns = dev_get_drvdata(dev); in cdnsp_pci_resume() local
H A Dcdnsp-gadget.c145 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_set_apb_timeout_value() local
1573 struct cdns *cdns = dev_get_drvdata(pdev->dev); in cdnsp_gadget_pullup() local
1900 static int __cdnsp_gadget_init(struct cdns *cdns) in __cdnsp_gadget_init()
1997 static void cdnsp_gadget_exit(struct cdns *cdns) in cdnsp_gadget_exit()
2012 static int cdnsp_gadget_suspend(struct cdns *cdns, bool do_wakeup) in cdnsp_gadget_suspend()
2028 static int cdnsp_gadget_resume(struct cdns *cdns, bool lost_power) in cdnsp_gadget_resume()
2060 int cdnsp_gadget_init(struct cdns *cdns) in cdnsp_gadget_init()
H A Dcdns3-gadget.c1916 struct cdns *cdns = dev_get_drvdata(priv_dev->dev); in cdns3_device_irq_handler() local
3250 static void cdns3_gadget_exit(struct cdns *cdns) in cdns3_gadget_exit()
3287 static int cdns3_gadget_start(struct cdns *cdns) in cdns3_gadget_start()
3417 static int __cdns3_gadget_init(struct cdns *cdns) in __cdns3_gadget_init()
3457 static int cdns3_gadget_suspend(struct cdns *cdns, bool do_wakeup) in cdns3_gadget_suspend()
3476 static int cdns3_gadget_resume(struct cdns *cdns, bool lost_power) in cdns3_gadget_resume()
3497 int cdns3_gadget_init(struct cdns *cdns) in cdns3_gadget_init()
/linux/drivers/soundwire/
H A Dcadence_master.c206 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl() argument
211 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel() argument
216 static inline u32 cdns_ip_readl(struct sdw_cdns *cdns, int offset) in cdns_ip_readl() argument
221 static inline void cdns_ip_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_ip_writel() argument
226 cdns_updatel(struct sdw_cdns * cdns,int offset,u32 mask,u32 val) cdns_updatel() argument
236 cdns_ip_updatel(struct sdw_cdns * cdns,int offset,u32 mask,u32 val) cdns_ip_updatel() argument
242 cdns_set_wait(struct sdw_cdns * cdns,int offset,u32 mask,u32 value) cdns_set_wait() argument
260 cdns_clear_bit(struct sdw_cdns * cdns,int offset,u32 value) cdns_clear_bit() argument
272 cdns_config_update(struct sdw_cdns * cdns) cdns_config_update() argument
293 sdw_cdns_config_update(struct sdw_cdns * cdns) sdw_cdns_config_update() argument
304 sdw_cdns_config_update_set_wait(struct sdw_cdns * cdns) sdw_cdns_config_update_set_wait() argument
319 cdns_sprintf(struct sdw_cdns * cdns,char * buf,size_t pos,unsigned int reg) cdns_sprintf() argument
328 struct sdw_cdns *cdns = s->private; cdns_reg_show() local
401 struct sdw_cdns *cdns = data; cdns_hw_reset() local
421 struct sdw_cdns *cdns = data; cdns_parity_error_injection() local
500 struct sdw_cdns *cdns = data; cdns_set_pdi_loopback_source() local
517 struct sdw_cdns *cdns = data; cdns_set_pdi_loopback_target() local
537 sdw_cdns_debugfs_init(struct sdw_cdns * cdns,struct dentry * root) sdw_cdns_debugfs_init() argument
565 cdns_fill_msg_resp(struct sdw_cdns * cdns,struct sdw_msg * msg,int count,int offset) cdns_fill_msg_resp() argument
603 cdns_read_response(struct sdw_cdns * cdns) cdns_read_response() argument
627 _cdns_xfer_msg(struct sdw_cdns * cdns,struct sdw_msg * msg,int cmd,int offset,int count,bool defer) _cdns_xfer_msg() argument
678 cdns_program_scp_addr(struct sdw_cdns * cdns,struct sdw_msg * msg) cdns_program_scp_addr() argument
742 cdns_prep_msg(struct sdw_cdns * cdns,struct sdw_msg * msg,int * cmd) cdns_prep_msg() argument
774 struct sdw_cdns *cdns = bus_to_cdns(bus); cdns_xfer_msg() local
799 struct sdw_cdns *cdns = bus_to_cdns(bus); cdns_xfer_msg_defer() local
818 struct sdw_cdns *cdns = bus_to_cdns(bus); cdns_read_ping_status() local
828 cdns_update_slave_status(struct sdw_cdns * cdns,u64 slave_intstat) cdns_update_slave_status() argument
914 struct sdw_cdns *cdns = dev_id; sdw_cdns_irq() local
1001 struct sdw_cdns *cdns = cdns_check_attached_status_dwork() local
1032 struct sdw_cdns *cdns = cdns_update_slave_status_work() local
1109 sdw_cdns_check_self_clearing_bits(struct sdw_cdns * cdns,const char * string,bool initial_delay,int reset_iterations) sdw_cdns_check_self_clearing_bits() argument
1165 sdw_cdns_exit_reset(struct sdw_cdns * cdns) sdw_cdns_exit_reset() argument
1184 cdns_enable_slave_interrupts(struct sdw_cdns * cdns,bool state) cdns_enable_slave_interrupts() argument
1202 sdw_cdns_enable_interrupt(struct sdw_cdns * cdns,bool state) sdw_cdns_enable_interrupt() argument
1269 cdns_allocate_pdi(struct sdw_cdns * cdns,struct sdw_cdns_pdi ** stream,u32 num) cdns_allocate_pdi() argument
1297 sdw_cdns_pdi_init(struct sdw_cdns * cdns,struct sdw_cdns_stream_config config) sdw_cdns_pdi_init() argument
1346 cdns_init_clock_ctrl(struct sdw_cdns * cdns) cdns_init_clock_ctrl() argument
1399 sdw_cdns_soft_reset(struct sdw_cdns * cdns) sdw_cdns_soft_reset() argument
1424 sdw_cdns_init(struct sdw_cdns * cdns) sdw_cdns_init() argument
1490 struct sdw_cdns *cdns = bus_to_cdns(bus); cdns_bus_conf() local
1517 struct sdw_cdns *cdns = bus_to_cdns(bus); cdns_port_params() local
1557 struct sdw_cdns *cdns = bus_to_cdns(bus); cdns_transport_params() local
1646 struct sdw_cdns *cdns = bus_to_cdns(bus); cdns_port_enable() local
1671 sdw_cdns_is_clock_stop(struct sdw_cdns * cdns) sdw_cdns_is_clock_stop() argument
1683 sdw_cdns_clock_stop(struct sdw_cdns * cdns,bool block_wake) sdw_cdns_clock_stop() argument
1765 sdw_cdns_clock_restart(struct sdw_cdns * cdns,bool bus_reset) sdw_cdns_clock_restart() argument
1817 sdw_cdns_probe(struct sdw_cdns * cdns) sdw_cdns_probe() argument
1834 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); cdns_set_sdw_stream() local
1890 cdns_find_pdi(struct sdw_cdns * cdns,unsigned int num,struct sdw_cdns_pdi * pdi,int dai_id) cdns_find_pdi() argument
1912 sdw_cdns_config_stream(struct sdw_cdns * cdns,u32 ch,u32 dir,struct sdw_cdns_pdi * pdi) sdw_cdns_config_stream() argument
1951 sdw_cdns_alloc_pdi(struct sdw_cdns * cdns,struct sdw_cdns_streams * stream,u32 ch,u32 dir,int dai_id) sdw_cdns_alloc_pdi() argument
[all...]
H A Dintel_ace2x.c52 struct sdw_cdns *cdns = &sdw->cdns; in intel_ace2x_bpt_open_stream() local
290 struct sdw_cdns *cdns = &sdw->cdns; intel_ace2x_bpt_close_stream() local
323 struct sdw_cdns *cdns = &sdw->cdns; intel_ace2x_bpt_send_async() local
367 struct sdw_cdns *cdns = &sdw->cdns; intel_ace2x_bpt_wait() local
699 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); intel_hw_params() local
769 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); intel_prepare() local
814 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); intel_hw_free() local
856 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); intel_get_sdw_stream() local
868 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); intel_trigger() local
991 intel_create_dai(struct sdw_cdns * cdns,struct snd_soc_dai_driver * dais,enum intel_pdi_type type,u32 num,u32 off,u32 max_ch) intel_create_dai() argument
1028 struct sdw_cdns *cdns = &sdw->cdns; intel_register_dai() local
[all...]
H A Dintel.c724 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_params() local
790 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_prepare() local
843 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_hw_free() local
885 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_get_sdw_stream() local
897 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_trigger() local
964 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in intel_component_dais_suspend() local
998 static int intel_create_dai(struct sdw_cdns *cdns, in intel_create_dai()
1035 struct sdw_cdns *cdns = &sdw->cdns; in intel_register_dai() local
H A Dintel.h48 struct sdw_cdns *cdns; member
76 struct sdw_cdns cdns; member