/openbmc/linux/drivers/usb/dwc3/ |
H A D | core.c | 49 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode() argument 107 dwc3_enable_susphy(struct dwc3 * dwc,bool enable) dwc3_enable_susphy() argument 128 dwc3_set_prtcap(struct dwc3 * dwc,u32 mode) dwc3_set_prtcap() argument 142 struct dwc3 *dwc = work_to_dwc(work); __dwc3_set_mode() local 261 dwc3_set_mode(struct dwc3 * dwc,u32 mode) dwc3_set_mode() argument 277 struct dwc3 *dwc = dep->dwc; dwc3_core_fifo_space() local 293 dwc3_core_soft_reset(struct dwc3 * dwc) dwc3_core_soft_reset() argument 350 dwc3_frame_length_adjustment(struct dwc3 * dwc) dwc3_frame_length_adjustment() argument 378 dwc3_ref_clk_period(struct dwc3 * dwc) dwc3_ref_clk_period() argument 448 dwc3_free_one_event_buffer(struct dwc3 * dwc,struct dwc3_event_buffer * evt) dwc3_free_one_event_buffer() argument 462 dwc3_alloc_one_event_buffer(struct dwc3 * dwc,unsigned int length) dwc3_alloc_one_event_buffer() argument 489 dwc3_free_event_buffers(struct dwc3 * dwc) dwc3_free_event_buffers() argument 506 dwc3_alloc_event_buffers(struct dwc3 * dwc,unsigned int length) dwc3_alloc_event_buffers() argument 533 dwc3_event_buffers_setup(struct dwc3 * dwc) dwc3_event_buffers_setup() argument 556 dwc3_event_buffers_cleanup(struct dwc3 * dwc) dwc3_event_buffers_cleanup() argument 585 dwc3_core_num_eps(struct dwc3 * dwc) dwc3_core_num_eps() argument 592 dwc3_cache_hwparams(struct dwc3 * dwc) dwc3_cache_hwparams() argument 610 dwc3_core_ulpi_init(struct dwc3 * dwc) dwc3_core_ulpi_init() argument 634 dwc3_phy_setup(struct dwc3 * dwc) dwc3_phy_setup() argument 762 dwc3_phy_init(struct dwc3 * dwc) dwc3_phy_init() argument 788 dwc3_phy_exit(struct dwc3 * dwc) dwc3_phy_exit() argument 797 dwc3_phy_power_on(struct dwc3 * dwc) dwc3_phy_power_on() argument 823 dwc3_phy_power_off(struct dwc3 * dwc) dwc3_phy_power_off() argument 832 dwc3_clk_enable(struct dwc3 * dwc) dwc3_clk_enable() argument 857 dwc3_clk_disable(struct dwc3 * dwc) dwc3_clk_disable() argument 864 dwc3_core_exit(struct dwc3 * dwc) dwc3_core_exit() argument 873 dwc3_core_is_valid(struct dwc3 * dwc) dwc3_core_is_valid() argument 893 dwc3_core_setup_global_control(struct dwc3 * dwc) dwc3_core_setup_global_control() argument 984 dwc3_set_incr_burst_type(struct dwc3 * dwc) dwc3_set_incr_burst_type() argument 1075 dwc3_set_power_down_clk_scale(struct dwc3 * dwc) dwc3_set_power_down_clk_scale() argument 1106 dwc3_config_threshold(struct dwc3 * dwc) dwc3_config_threshold() argument 1217 dwc3_core_init(struct dwc3 * dwc) dwc3_core_init() argument 1377 dwc3_core_get_phy(struct dwc3 * dwc) dwc3_core_get_phy() argument 1428 dwc3_core_init_mode(struct dwc3 * dwc) dwc3_core_init_mode() argument 1472 dwc3_core_exit_mode(struct dwc3 * dwc) dwc3_core_exit_mode() argument 1493 dwc3_get_properties(struct dwc3 * dwc) dwc3_get_properties() argument 1665 dwc3_has_imod(struct dwc3 * dwc) dwc3_has_imod() argument 1672 dwc3_check_params(struct dwc3 * dwc) dwc3_check_params() argument 1773 dwc3_get_extcon(struct dwc3 * dwc) dwc3_get_extcon() argument 1823 dwc3_get_clocks(struct dwc3 * dwc) dwc3_get_clocks() argument 1881 dwc3_get_usb_power_supply(struct dwc3 * dwc) dwc3_get_usb_power_supply() argument 1903 struct dwc3 *dwc; dwc3_probe() local 2063 struct dwc3 *dwc = platform_get_drvdata(pdev); dwc3_remove() local 2091 dwc3_core_init_for_resume(struct dwc3 * dwc) dwc3_core_init_for_resume() argument 2117 dwc3_suspend_common(struct dwc3 * dwc,pm_message_t msg) dwc3_suspend_common() argument 2184 dwc3_resume_common(struct dwc3 * dwc,pm_message_t msg) dwc3_resume_common() argument 2251 dwc3_runtime_checks(struct dwc3 * dwc) dwc3_runtime_checks() argument 2269 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_runtime_suspend() local 2284 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_runtime_resume() local 2312 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_runtime_idle() local 2335 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_suspend() local 2349 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_resume() local 2367 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_complete() local [all...] |
H A D | drd.c | 19 static void dwc3_otg_disable_events(struct dwc3 *dwc, u32 disable_mask) in dwc3_otg_disable_events() argument 27 static void dwc3_otg_enable_events(struct dwc3 *dwc, u32 enable_mask) in dwc3_otg_enable_events() argument 35 static void dwc3_otg_clear_events(struct dwc3 *dwc) in dwc3_otg_clear_events() argument 54 struct dwc3 *dwc in dwc3_otg_thread_irq() local 72 struct dwc3 *dwc = _dwc; dwc3_otg_irq() local 93 dwc3_otgregs_init(struct dwc3 * dwc) dwc3_otgregs_init() argument 137 dwc3_otg_get_irq(struct dwc3 * dwc) dwc3_otg_get_irq() argument 167 dwc3_otg_init(struct dwc3 * dwc) dwc3_otg_init() argument 186 dwc3_otg_exit(struct dwc3 * dwc) dwc3_otg_exit() argument 195 dwc3_otg_host_init(struct dwc3 * dwc) dwc3_otg_host_init() argument 244 dwc3_otg_host_exit(struct dwc3 * dwc) dwc3_otg_host_exit() argument 267 dwc3_otg_device_init(struct dwc3 * dwc) dwc3_otg_device_init() argument 303 dwc3_otg_device_exit(struct dwc3 * dwc) dwc3_otg_device_exit() argument 328 dwc3_otg_update(struct dwc3 * dwc,bool ignore_idstatus) dwc3_otg_update() argument 415 dwc3_drd_update(struct dwc3 * dwc) dwc3_drd_update() argument 432 struct dwc3 *dwc = container_of(nb, struct dwc3, edev_nb); dwc3_drd_notifier() local 446 struct dwc3 *dwc = usb_role_switch_get_drvdata(sw); dwc3_usb_role_switch_set() local 470 struct dwc3 *dwc = usb_role_switch_get_drvdata(sw); dwc3_usb_role_switch_get() local 496 dwc3_setup_role_switch(struct dwc3 * dwc) dwc3_setup_role_switch() argument 537 dwc3_drd_init(struct dwc3 * dwc) dwc3_drd_init() argument 587 dwc3_drd_exit(struct dwc3 * dwc) dwc3_drd_exit() argument [all...] |
H A D | ep0.c | 40 struct dwc3 *dwc; in dwc3_ep0_prepare_one_trb() local 68 struct dwc3 *dwc; in dwc3_ep0_start_trans() local 92 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local 195 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local 223 void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart() 258 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local 268 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local 279 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start() 310 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep() 336 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status() [all …]
|
H A D | gadget.c | 41 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode() argument 72 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state() argument 89 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state() argument 142 dwc3_ep0_reset_state(struct dwc3 * dwc) dwc3_ep0_reset_state() argument 196 struct dwc3 *dwc = dep->dwc; dwc3_gadget_del_and_unmap_request() local 230 struct dwc3 *dwc = dep->dwc; dwc3_gadget_giveback() local 249 dwc3_send_gadget_generic_command(struct dwc3 * dwc,unsigned int cmd,u32 param) dwc3_send_gadget_generic_command() argument 312 struct dwc3 *dwc = dep->dwc; dwc3_send_gadget_ep_cmd() local 456 struct dwc3 *dwc = dep->dwc; dwc3_send_clear_stall_ep_cmd() local 488 struct dwc3 *dwc = dep->dwc; dwc3_alloc_trb_pool() local 507 struct dwc3 *dwc = dep->dwc; dwc3_free_trb_pool() local 548 dwc3_gadget_start_config(struct dwc3 * dwc,unsigned int resource_index) dwc3_gadget_start_config() argument 578 struct dwc3 *dwc = dep->dwc; dwc3_gadget_set_ep_config() local 672 dwc3_gadget_calc_tx_fifo_size(struct dwc3 * dwc,int mult) dwc3_gadget_calc_tx_fifo_size() argument 694 dwc3_gadget_calc_ram_depth(struct dwc3 * dwc) dwc3_gadget_calc_ram_depth() argument 735 dwc3_gadget_clear_tx_fifos(struct dwc3 * dwc) dwc3_gadget_clear_tx_fifos() argument 792 struct dwc3 *dwc = dep->dwc; dwc3_gadget_resize_tx_fifos() local 892 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_enable() local 1006 dwc3_remove_requests(struct dwc3 * dwc,struct dwc3_ep * dep,int status) dwc3_remove_requests() argument 1048 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_disable() local 1104 struct dwc3 *dwc; dwc3_gadget_ep_enable() local 1136 struct dwc3 *dwc; dwc3_gadget_ep_disable() local 1261 struct dwc3 *dwc = dep->dwc; dwc3_prepare_one_trb() local 1606 struct dwc3 *dwc = dep->dwc; dwc3_prepare_trbs() local 1719 __dwc3_gadget_get_frame(struct dwc3 * dwc) __dwc3_gadget_get_frame() argument 1890 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_start_isoc() local 1955 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_queue() local 2024 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_queue() local 2069 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_cleanup_cancelled_requests() local 2105 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_dequeue() local 2169 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_set_halt() local 2256 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_set_halt() local 2272 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_set_wedge() local 2320 dwc3_gadget_enable_linksts_evts(struct dwc3 * dwc,bool set) dwc3_gadget_enable_linksts_evts() argument 2338 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_get_frame() local 2343 __dwc3_gadget_wakeup(struct dwc3 * dwc,bool async) __dwc3_gadget_wakeup() argument 2420 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_wakeup() local 2446 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_func_wakeup() local 2486 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_set_remote_wakeup() local 2499 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_set_selfpowered() local 2509 dwc3_stop_active_transfers(struct dwc3 * dwc) dwc3_stop_active_transfers() argument 2524 __dwc3_gadget_set_ssp_rate(struct dwc3 * dwc) __dwc3_gadget_set_ssp_rate() argument 2548 __dwc3_gadget_set_speed(struct dwc3 * dwc) __dwc3_gadget_set_speed() argument 2617 dwc3_gadget_run_stop(struct dwc3 * dwc,int is_on) dwc3_gadget_run_stop() argument 2696 dwc3_gadget_soft_disconnect(struct dwc3 * dwc) dwc3_gadget_soft_disconnect() argument 2768 dwc3_gadget_soft_connect(struct dwc3 * dwc) dwc3_gadget_soft_connect() argument 2789 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_pullup() local 2837 dwc3_gadget_enable_irq(struct dwc3 * dwc) dwc3_gadget_enable_irq() argument 2860 dwc3_gadget_disable_irq(struct dwc3 * dwc) dwc3_gadget_disable_irq() argument 2890 dwc3_gadget_setup_nump(struct dwc3 * dwc) dwc3_gadget_setup_nump() argument 2910 __dwc3_gadget_start(struct dwc3 * dwc) __dwc3_gadget_start() argument 3009 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_start() local 3033 __dwc3_gadget_stop(struct dwc3 * dwc) __dwc3_gadget_stop() argument 3042 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_stop() local 3061 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_config_params() local 3100 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_set_speed() local 3111 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_set_ssp_rate() local 3122 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_vbus_draw() local 3150 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_check_config() local 3185 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_async_callbacks() local 3214 struct dwc3 *dwc = dep->dwc; dwc3_gadget_init_control_endpoint() local 3229 struct dwc3 *dwc = dep->dwc; dwc3_gadget_init_in_endpoint() local 3278 struct dwc3 *dwc = dep->dwc; dwc3_gadget_init_out_endpoint() local 3323 dwc3_gadget_init_endpoint(struct dwc3 * dwc,u8 epnum) dwc3_gadget_init_endpoint() argument 3374 dwc3_gadget_init_endpoints(struct dwc3 * dwc,u8 total) dwc3_gadget_init_endpoints() argument 3391 dwc3_gadget_free_endpoints(struct dwc3 * dwc) dwc3_gadget_free_endpoints() argument 3614 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_should_continue() local 3643 struct dwc3 *dwc = dep->dwc; dwc3_gadget_endpoint_trbs_complete() local 3765 struct dwc3 *dwc = dep->dwc; dwc3_gadget_endpoint_command_complete() local 3792 struct dwc3 *dwc = dep->dwc; dwc3_gadget_endpoint_stream_event() local 3854 dwc3_endpoint_interrupt(struct dwc3 * dwc,const struct dwc3_event_depevt * event) dwc3_endpoint_interrupt() argument 3901 dwc3_disconnect_gadget(struct dwc3 * dwc) dwc3_disconnect_gadget() argument 3910 dwc3_suspend_gadget(struct dwc3 * dwc) dwc3_suspend_gadget() argument 3919 dwc3_resume_gadget(struct dwc3 * dwc) dwc3_resume_gadget() argument 3928 dwc3_reset_gadget(struct dwc3 * dwc) dwc3_reset_gadget() argument 3943 struct dwc3 *dwc = dep->dwc; dwc3_stop_active_transfer() local 4007 dwc3_clear_stall_all_ep(struct dwc3 * dwc) dwc3_clear_stall_all_ep() argument 4029 dwc3_gadget_disconnect_interrupt(struct dwc3 * dwc) dwc3_gadget_disconnect_interrupt() argument 4062 dwc3_gadget_reset_interrupt(struct dwc3 * dwc) dwc3_gadget_reset_interrupt() argument 4140 dwc3_gadget_conndone_interrupt(struct dwc3 * dwc) dwc3_gadget_conndone_interrupt() argument 4286 dwc3_gadget_wakeup_interrupt(struct dwc3 * dwc,unsigned int evtinfo) dwc3_gadget_wakeup_interrupt() argument 4304 dwc3_gadget_linksts_change_interrupt(struct dwc3 * dwc,unsigned int evtinfo) dwc3_gadget_linksts_change_interrupt() argument 4409 dwc3_gadget_suspend_interrupt(struct dwc3 * dwc,unsigned int evtinfo) dwc3_gadget_suspend_interrupt() argument 4422 dwc3_gadget_interrupt(struct dwc3 * dwc,const struct dwc3_event_devt * event) dwc3_gadget_interrupt() argument 4459 dwc3_process_event_entry(struct dwc3 * dwc,const union dwc3_event * event) dwc3_process_event_entry() argument 4474 struct dwc3 *dwc = evt->dwc; dwc3_process_event_buf() local 4524 struct dwc3 *dwc = evt->dwc; dwc3_thread_interrupt() local 4539 struct dwc3 *dwc = evt->dwc; dwc3_check_event_buf() local 4594 dwc3_gadget_get_irq(struct dwc3 * dwc) dwc3_gadget_get_irq() argument 4632 dwc3_gadget_init(struct dwc3 * dwc) dwc3_gadget_init() argument 4759 dwc3_gadget_exit(struct dwc3 * dwc) dwc3_gadget_exit() argument 4775 dwc3_gadget_suspend(struct dwc3 * dwc) dwc3_gadget_suspend() argument 4803 dwc3_gadget_resume(struct dwc3 * dwc) dwc3_gadget_resume() argument [all...] |
H A D | debugfs.c | 287 struct dwc3 *dwc = s->private; in dwc3_host_lsp() local 317 struct dwc3 *dwc = s->private; in dwc3_gadget_lsp() local 331 struct dwc3 *dwc = s->private; in dwc3_lsp_show() local 372 struct dwc3 *dwc = s->private; in dwc3_lsp_write() local 402 struct dwc3 *dwc = s->private; in dwc3_mode_show() local 443 struct dwc3 *dwc = s->private; in dwc3_mode_write() local 477 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local 529 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local 574 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local 617 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local [all …]
|
H A D | host.c | 22 struct dwc3 *dwc; in dwc3_xhci_plat_start() local 37 static void dwc3_host_fill_xhci_irq_res(struct dwc3 *dwc, in dwc3_host_fill_xhci_irq_res() 52 static int dwc3_host_get_irq(struct dwc3 *dwc) in dwc3_host_get_irq() 83 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() 166 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
|
H A D | ulpi.c | 24 static int dwc3_ulpi_busyloop(struct dwc3 *dwc, u8 addr, bool read) in dwc3_ulpi_busyloop() 53 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_read() local 71 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_write() local 86 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init() 98 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
|
H A D | dwc3-pci.c | 213 static int dwc3_pci_quirks(struct dwc3_pci *dwc, in dwc3_pci_quirks() 304 struct dwc3_pci *dwc = container_of(work, struct dwc3_pci, wakeup_work); in dwc3_pci_resume_work() local 321 struct dwc3_pci *dwc; in dwc3_pci_probe() local 389 struct dwc3_pci *dwc = pci_get_drvdata(pci); in dwc3_pci_remove() local 450 static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param) in dwc3_pci_dsm() 478 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_suspend() local 488 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_resume() local 504 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_suspend() local 511 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_resume() local
|
H A D | dwc3-haps.c | 43 struct dwc3_haps *dwc; in dwc3_haps_probe() local 105 struct dwc3_haps *dwc = pci_get_drvdata(pci); in dwc3_haps_remove() local
|
H A D | core.h | 689 struct dwc3 *dwc; member 737 struct dwc3 *dwc; member 1565 dwc3_mdwidth(struct dwc3 * dwc) dwc3_mdwidth() argument 1588 dwc3_host_init(struct dwc3 * dwc) dwc3_host_init() argument 1590 dwc3_host_exit(struct dwc3 * dwc) dwc3_host_exit() argument 1607 dwc3_gadget_init(struct dwc3 * dwc) dwc3_gadget_init() argument 1609 dwc3_gadget_exit(struct dwc3 * dwc) dwc3_gadget_exit() argument 1611 dwc3_gadget_set_test_mode(struct dwc3 * dwc,int mode) dwc3_gadget_set_test_mode() argument 1613 dwc3_gadget_get_link_state(struct dwc3 * dwc) dwc3_gadget_get_link_state() argument 1615 dwc3_gadget_set_link_state(struct dwc3 * dwc,enum dwc3_link_state state) dwc3_gadget_set_link_state() argument 1622 dwc3_send_gadget_generic_command(struct dwc3 * dwc,int cmd,u32 param) dwc3_send_gadget_generic_command() argument 1625 dwc3_gadget_clear_tx_fifos(struct dwc3 * dwc) dwc3_gadget_clear_tx_fifos() argument 1637 dwc3_drd_init(struct dwc3 * dwc) dwc3_drd_init() argument 1639 dwc3_drd_exit(struct dwc3 * dwc) dwc3_drd_exit() argument 1641 dwc3_otg_init(struct dwc3 * dwc) dwc3_otg_init() argument 1643 dwc3_otg_exit(struct dwc3 * dwc) dwc3_otg_exit() argument 1645 dwc3_otg_update(struct dwc3 * dwc,bool ignore_idstatus) dwc3_otg_update() argument 1647 dwc3_otg_host_init(struct dwc3 * dwc) dwc3_otg_host_init() argument 1656 dwc3_gadget_suspend(struct dwc3 * dwc) dwc3_gadget_suspend() argument 1661 dwc3_gadget_resume(struct dwc3 * dwc) dwc3_gadget_resume() argument 1672 dwc3_ulpi_init(struct dwc3 * dwc) dwc3_ulpi_init() argument 1674 dwc3_ulpi_exit(struct dwc3 * dwc) dwc3_ulpi_exit() argument [all...] |
H A D | dwc3-imx8mp.c | 131 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_interrupt() local 303 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_resume() local
|
H A D | dwc3-qcom.c | 310 struct dwc3 *dwc; in dwc3_qcom_is_host() local 326 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in dwc3_qcom_read_usb2_speed() local 489 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq() local
|
H A D | gadget.h | 147 static inline void dwc3_gadget_dctl_write_safe(struct dwc3 *dwc, u32 value) in dwc3_gadget_dctl_write_safe()
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | core.c | 35 static void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode() 49 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset() 95 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer() 109 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer() 135 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers() 155 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers() 188 static int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup() 213 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup() 231 static int dwc3_alloc_scratch_buffers(struct dwc3 *dwc) in dwc3_alloc_scratch_buffers() 247 static int dwc3_setup_scratch_buffers(struct dwc3 *dwc) in dwc3_setup_scratch_buffers() [all …]
|
H A D | gadget.c | 40 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode() 71 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state() 88 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state() 161 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_resize_tx_fifos() 227 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local 265 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command() 292 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd() 359 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_start_config() 382 static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, in dwc3_gadget_set_ep_config() 445 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource() [all …]
|
H A D | ep0.c | 49 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, in dwc3_ep0_start_trans() 112 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local 217 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local 249 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart() 277 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local 296 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start() 305 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep() 328 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status() 386 static int dwc3_ep0_handle_feature(struct dwc3 *dwc, in dwc3_ep0_handle_feature() 496 static int dwc3_ep0_set_address(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_set_address() [all …]
|
H A D | core.h | 398 struct dwc3 *dwc; member 442 struct dwc3 *dwc; member 1001 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() 1003 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit() 1017 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init() 1019 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit() 1021 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode() 1023 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state() 1025 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, in dwc3_gadget_set_link_state() 1029 static inline int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd() [all …]
|
H A D | gadget.h | 98 static inline u32 dwc3_gadget_ep_get_transfer_index(struct dwc3 *dwc, u8 number) in dwc3_gadget_ep_get_transfer_index()
|
/openbmc/linux/drivers/dma/dw/ |
H A D | core.c | 49 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active() 57 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); in dwc_tx_submit() local 78 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get() 97 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put() 115 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize() 128 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs() 139 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable() 149 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, in dwc_do_single_block() 172 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart() 217 static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) in dwc_dostart_first_queued() [all …]
|
H A D | dw.c | 14 static void dw_dma_initialize_chan(struct dw_dma_chan *dwc) in dw_dma_initialize_chan() 32 static void dw_dma_suspend_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_suspend_chan() 39 static void dw_dma_resume_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_resume_chan() 46 static u32 dw_dma_bytes2block(struct dw_dma_chan *dwc, in dw_dma_bytes2block() 62 static size_t dw_dma_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in dw_dma_block2bytes() 67 static u32 dw_dma_prepare_ctllo(struct dw_dma_chan *dwc) in dw_dma_prepare_ctllo() 82 static void dw_dma_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst) in dw_dma_encode_maxburst()
|
H A D | idma32.c | 36 static unsigned int idma32_get_slave_devfn(struct dw_dma_chan *dwc) in idma32_get_slave_devfn() 46 static void idma32_initialize_chan_xbar(struct dw_dma_chan *dwc) in idma32_initialize_chan_xbar() 141 static void idma32_initialize_chan_generic(struct dw_dma_chan *dwc) in idma32_initialize_chan_generic() 161 static void idma32_suspend_chan(struct dw_dma_chan *dwc, bool drain) in idma32_suspend_chan() 171 static void idma32_resume_chan(struct dw_dma_chan *dwc, bool drain) in idma32_resume_chan() 181 static u32 idma32_bytes2block(struct dw_dma_chan *dwc, in idma32_bytes2block() 197 static size_t idma32_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in idma32_block2bytes() 202 static u32 idma32_prepare_ctllo(struct dw_dma_chan *dwc) in idma32_prepare_ctllo() 212 static void idma32_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst) in idma32_encode_maxburst()
|
H A D | regs.h | 298 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs() 303 #define channel_readl(dwc, name) \ argument 305 #define channel_writel(dwc, name, val) \ argument
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-dwc.c | 60 static inline u32 dwc_pwm_readl(struct dwc_pwm *dwc, u32 offset) in dwc_pwm_readl() 65 static inline void dwc_pwm_writel(struct dwc_pwm *dwc, u32 value, u32 offset) in dwc_pwm_writel() 70 static void __dwc_pwm_set_enable(struct dwc_pwm *dwc, int pwm, int enabled) in __dwc_pwm_set_enable() 84 static int __dwc_pwm_configure_timer(struct dwc_pwm *dwc, in __dwc_pwm_configure_timer() 147 struct dwc_pwm *dwc = to_dwc_pwm(chip); in dwc_pwm_apply() local 169 struct dwc_pwm *dwc = to_dwc_pwm(chip); in dwc_pwm_get_state() local 203 struct dwc_pwm *dwc; in dwc_pwm_alloc() local 220 struct dwc_pwm *dwc; in dwc_pwm_probe() local 267 struct dwc_pwm *dwc = pci_get_drvdata(pdev); in dwc_pwm_suspend() local 287 struct dwc_pwm *dwc = pci_get_drvdata(pdev); in dwc_pwm_resume() local
|
/openbmc/linux/fs/ocfs2/ |
H A D | aops.c | 2103 struct ocfs2_dio_write_ctxt *dwc = NULL; in ocfs2_dio_alloc_write_ctx() local 2122 struct ocfs2_dio_write_ctxt *dwc) in ocfs2_dio_free_write_ctx() 2148 struct ocfs2_dio_write_ctxt *dwc = NULL; in ocfs2_dio_wr_get_block() local 2293 struct ocfs2_dio_write_ctxt *dwc, in ocfs2_dio_end_io_write()
|
/openbmc/linux/include/math-emu/ |
H A D | op-common.h | 829 #define FP_CONV(dfs,sfs,dwc,swc,D,S) \ argument
|