Home
last modified time | relevance | path

Searched refs:priv_dev (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/cdns3/
H A Dep0.c27 * @priv_dev: extended gadget object
34 static void cdns3_ep0_run_transfer(struct cdns3_device *priv_dev, in cdns3_ep0_run_transfer() argument
38 struct cdns3_usb_regs __iomem *regs = priv_dev->regs; in cdns3_ep0_run_transfer()
39 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_run_transfer()
58 cdns3_select_ep(priv_dev, priv_dev->ep0_data_dir); in cdns3_ep0_run_transfer()
62 trace_cdns3_doorbell_ep0(priv_dev->ep0_data_dir ? "ep0in" : "ep0out", in cdns3_ep0_run_transfer()
69 __cdns3_gadget_wakeup(priv_dev); in cdns3_ep0_run_transfer()
72 writel(EP_CMD_ERDY, &priv_dev->regs->ep_cmd); in cdns3_ep0_run_transfer()
78 * @priv_dev
83 cdns3_ep0_delegate_req(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_ep0_delegate_req() argument
96 cdns3_prepare_setup_packet(struct cdns3_device *priv_dev) cdns3_prepare_setup_packet() argument
104 cdns3_ep0_complete_setup(struct cdns3_device *priv_dev, u8 send_stall, u8 send_erdy) cdns3_ep0_complete_setup() argument
136 cdns3_req_ep0_set_configuration(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_req_ep0_set_configuration() argument
180 cdns3_req_ep0_set_address(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_req_ep0_set_address() argument
220 cdns3_req_ep0_get_status(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl) cdns3_req_ep0_get_status() argument
274 cdns3_ep0_feature_handle_device(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl, int set) cdns3_ep0_feature_handle_device() argument
337 cdns3_ep0_feature_handle_intf(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl, int set) cdns3_ep0_feature_handle_intf() argument
356 cdns3_ep0_feature_handle_endpoint(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl, int set) cdns3_ep0_feature_handle_endpoint() argument
395 cdns3_req_ep0_handle_feature(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl, int set) cdns3_req_ep0_handle_feature() argument
428 cdns3_req_ep0_set_sel(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_req_ep0_set_sel() argument
452 cdns3_req_ep0_set_isoch_delay(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_req_ep0_set_isoch_delay() argument
470 cdns3_ep0_standard_request(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_ep0_standard_request() argument
505 __pending_setup_status_handler(struct cdns3_device *priv_dev) __pending_setup_status_handler() argument
518 struct cdns3_device *priv_dev = container_of(work, struct cdns3_device, cdns3_pending_setup_status_handler() local
531 cdns3_ep0_setup_phase(struct cdns3_device *priv_dev) cdns3_ep0_setup_phase() argument
569 cdns3_transfer_completed(struct cdns3_device *priv_dev) cdns3_transfer_completed() argument
595 cdns3_check_new_setup(struct cdns3_device *priv_dev) cdns3_check_new_setup() argument
610 cdns3_check_ep0_interrupt_proceed(struct cdns3_device *priv_dev, int dir) cdns3_check_ep0_interrupt_proceed() argument
692 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_gadget_ep0_queue() local
784 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_gadget_ep_set_wedge() local
810 cdns3_ep0_config(struct cdns3_device *priv_dev) cdns3_ep0_config() argument
875 cdns3_init_ep0(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_init_ep0() argument
[all...]
H A Dgadget.c113 static int cdns3_get_dma_pos(struct cdns3_device *priv_dev, in cdns3_get_dma_pos() argument
118 dma_index = readl(&priv_dev->regs->ep_traddr) - priv_ep->trb_pool_dma; in cdns3_get_dma_pos()
158 * @priv_dev: extended gadget object
161 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep) in cdns3_select_ep() argument
163 if (priv_dev->selected_ep == ep) in cdns3_select_ep()
166 priv_dev->selected_ep = ep; in cdns3_select_ep()
167 writel(ep, &priv_dev->regs->ep_sel); in cdns3_select_ep()
172 * @priv_dev: extended gadget object
177 static int cdns3_get_tdl(struct cdns3_device *priv_dev) in cdns3_get_tdl() argument
179 if (priv_dev in cdns3_get_tdl()
210 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_free_trb_pool() local
228 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_allocate_trb_pool() local
278 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_ep_stall_flush() local
297 cdns3_hw_reset_eps_config(struct cdns3_device *priv_dev) cdns3_hw_reset_eps_config() argument
365 cdns3_allow_enable_l1(struct cdns3_device *priv_dev, int enable) cdns3_allow_enable_l1() argument
373 cdns3_get_speed(struct cdns3_device *priv_dev) cdns3_get_speed() argument
398 cdns3_start_all_request(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_start_all_request() argument
524 cdns3_wa2_gadget_giveback(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req) cdns3_wa2_gadget_giveback() argument
564 cdns3_wa2_gadget_ep_queue(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req) cdns3_wa2_gadget_ep_queue() argument
726 cdns3_wa2_reset_tdl(struct cdns3_device *priv_dev) cdns3_wa2_reset_tdl() argument
738 cdns3_wa2_check_outq_status(struct cdns3_device *priv_dev) cdns3_wa2_check_outq_status() argument
812 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_gadget_giveback() local
871 struct cdns3_device *priv_dev = container_of(work, struct cdns3_device, cdns3_free_aligned_request_buf() local
901 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_prepare_aligned_request_buf() local
954 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_wa1_update_guard() local
973 cdns3_wa1_tray_restore_cycle_bit(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_wa1_tray_restore_cycle_bit() argument
989 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_ep_run_stream_transfer() local
1093 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_rearm_drdy_if_needed() local
1114 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_ep_run_transfer() local
1415 cdns3_set_hw_configuration(struct cdns3_device *priv_dev) cdns3_set_hw_configuration() argument
1482 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_trb_handled() local
1542 cdns3_transfer_completed(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_transfer_completed() argument
1648 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_rearm_transfer() local
1669 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_reprogram_tdl() local
1689 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_check_ep_interrupt_proceed() local
1817 cdns3_disconnect_gadget(struct cdns3_device *priv_dev) cdns3_disconnect_gadget() argument
1843 __cdns3_gadget_wakeup(priv_dev); global() variable
1851 cdns3_ep0_config(priv_dev); global() variable
1857 cdns3_disconnect_gadget(priv_dev); global() variable
1861 cdns3_hw_reset_eps_config(priv_dev); global() variable
1893 cdns3_hw_reset_eps_config(priv_dev); global() variable
1894 cdns3_ep0_config(priv_dev); global() variable
1909 struct cdns3_device *priv_dev = data; cdns3_device_irq_handler() local
1954 struct cdns3_device *priv_dev = data; cdns3_device_thread_irq_handler() local
2017 cdns3_ep_onchip_buffer_reserve(struct cdns3_device *priv_dev, int size, int is_in) cdns3_ep_onchip_buffer_reserve() argument
2052 cdns3_configure_dmult(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_configure_dmult() argument
2094 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_ep_config() local
2218 cdns3_find_available_ep(struct cdns3_device *priv_dev, struct usb_endpoint_descriptor *desc) cdns3_find_available_ep() argument
2267 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_match_ep() local
2348 struct cdns3_device *priv_dev; cdns3_gadget_ep_enable() local
2487 struct cdns3_device *priv_dev; cdns3_gadget_ep_disable() local
2580 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; __cdns3_gadget_ep_queue() local
2633 struct cdns3_device *priv_dev; cdns3_gadget_ep_queue() local
2678 struct cdns3_device *priv_dev; cdns3_gadget_ep_dequeue() local
2743 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; __cdns3_gadget_ep_set_halt() local
2764 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; __cdns3_gadget_ep_clear_halt() local
2815 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_gadget_ep_set_halt() local
2859 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_get_frame() local
2864 __cdns3_gadget_wakeup(struct cdns3_device *priv_dev) __cdns3_gadget_wakeup() argument
2881 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_wakeup() local
2894 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_set_selfpowered() local
2905 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_pullup() local
2918 cdns3_gadget_config(struct cdns3_device *priv_dev) cdns3_gadget_config() argument
2970 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_udc_start() local
3014 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_udc_stop() local
3057 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_check_config() local
3110 cdns3_free_all_eps(struct cdns3_device *priv_dev) cdns3_free_all_eps() argument
3130 cdns3_init_eps(struct cdns3_device *priv_dev) cdns3_init_eps() argument
3219 struct cdns3_device *priv_dev = container_of(dev, cdns3_gadget_release() local
3227 struct cdns3_device *priv_dev; cdns3_gadget_exit() local
3263 struct cdns3_device *priv_dev; cdns3_gadget_start() local
3423 struct cdns3_device *priv_dev = cdns->gadget_dev; global() variable
3426 cdns3_disconnect_gadget(priv_dev); global() variable
3431 cdns3_hw_reset_eps_config(priv_dev); global() variable
3441 struct cdns3_device *priv_dev = cdns->gadget_dev; cdns3_gadget_resume() local
[all...]
H A Dtrace.h98 TP_PROTO(struct cdns3_device *priv_dev, u32 usb_ists),
99 TP_ARGS(priv_dev, usb_ists),
106 __entry->speed = cdns3_get_speed(priv_dev);
114 TP_PROTO(struct cdns3_device *priv_dev, u32 usb_ists),
115 TP_ARGS(priv_dev, usb_ists)
119 TP_PROTO(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep),
120 TP_ARGS(priv_dev, priv_ep),
131 __entry->ep_sts = readl(&priv_dev->regs->ep_sts);
132 __entry->ep_traddr = readl(&priv_dev->regs->ep_traddr);
146 TP_PROTO(struct cdns3_device *priv_dev, struc
[all...]
H A Dgadget.h1344 enum usb_device_speed cdns3_get_speed(struct cdns3_device *priv_dev);
1346 void cdns3_hw_reset_eps_config(struct cdns3_device *priv_dev);
1347 void cdns3_set_hw_configuration(struct cdns3_device *priv_dev);
1348 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep);
1349 void cdns3_allow_enable_l1(struct cdns3_device *priv_dev, int enable);
1367 int cdns3_init_ep0(struct cdns3_device *priv_dev,
1369 void cdns3_ep0_config(struct cdns3_device *priv_dev);
1371 void cdns3_check_ep0_interrupt_proceed(struct cdns3_device *priv_dev, int dir);
1372 int __cdns3_gadget_wakeup(struct cdns3_device *priv_dev);
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdns3-ep0.c27 * @priv_dev: extended gadget object
34 static void cdns3_ep0_run_transfer(struct cdns3_device *priv_dev, in cdns3_ep0_run_transfer() argument
38 struct cdns3_usb_regs __iomem *regs = priv_dev->regs; in cdns3_ep0_run_transfer()
39 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_run_transfer()
58 cdns3_select_ep(priv_dev, priv_dev->ep0_data_dir); in cdns3_ep0_run_transfer()
62 trace_cdns3_doorbell_ep0(priv_dev->ep0_data_dir ? "ep0in" : "ep0out", in cdns3_ep0_run_transfer()
69 __cdns3_gadget_wakeup(priv_dev); in cdns3_ep0_run_transfer()
72 writel(EP_CMD_ERDY, &priv_dev->regs->ep_cmd); in cdns3_ep0_run_transfer()
78 * @priv_dev
83 cdns3_ep0_delegate_req(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_ep0_delegate_req() argument
96 cdns3_prepare_setup_packet(struct cdns3_device *priv_dev) cdns3_prepare_setup_packet() argument
104 cdns3_ep0_complete_setup(struct cdns3_device *priv_dev, u8 send_stall, u8 send_erdy) cdns3_ep0_complete_setup() argument
136 cdns3_req_ep0_set_configuration(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_req_ep0_set_configuration() argument
180 cdns3_req_ep0_set_address(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_req_ep0_set_address() argument
220 cdns3_req_ep0_get_status(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl) cdns3_req_ep0_get_status() argument
274 cdns3_ep0_feature_handle_device(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl, int set) cdns3_ep0_feature_handle_device() argument
337 cdns3_ep0_feature_handle_intf(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl, int set) cdns3_ep0_feature_handle_intf() argument
356 cdns3_ep0_feature_handle_endpoint(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl, int set) cdns3_ep0_feature_handle_endpoint() argument
395 cdns3_req_ep0_handle_feature(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl, int set) cdns3_req_ep0_handle_feature() argument
428 cdns3_req_ep0_set_sel(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_req_ep0_set_sel() argument
452 cdns3_req_ep0_set_isoch_delay(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_req_ep0_set_isoch_delay() argument
470 cdns3_ep0_standard_request(struct cdns3_device *priv_dev, struct usb_ctrlrequest *ctrl_req) cdns3_ep0_standard_request() argument
505 __pending_setup_status_handler(struct cdns3_device *priv_dev) __pending_setup_status_handler() argument
518 struct cdns3_device *priv_dev = container_of(work, struct cdns3_device, cdns3_pending_setup_status_handler() local
531 cdns3_ep0_setup_phase(struct cdns3_device *priv_dev) cdns3_ep0_setup_phase() argument
569 cdns3_transfer_completed(struct cdns3_device *priv_dev) cdns3_transfer_completed() argument
595 cdns3_check_new_setup(struct cdns3_device *priv_dev) cdns3_check_new_setup() argument
610 cdns3_check_ep0_interrupt_proceed(struct cdns3_device *priv_dev, int dir) cdns3_check_ep0_interrupt_proceed() argument
692 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_gadget_ep0_queue() local
784 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_gadget_ep_set_wedge() local
810 cdns3_ep0_config(struct cdns3_device *priv_dev) cdns3_ep0_config() argument
875 cdns3_init_ep0(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_init_ep0() argument
[all...]
H A Dcdns3-gadget.c115 static int cdns3_get_dma_pos(struct cdns3_device *priv_dev, in cdns3_get_dma_pos() argument
120 dma_index = readl(&priv_dev->regs->ep_traddr) - priv_ep->trb_pool_dma; in cdns3_get_dma_pos()
160 * @priv_dev: extended gadget object
163 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep) in cdns3_select_ep() argument
165 if (priv_dev->selected_ep == ep) in cdns3_select_ep()
168 priv_dev->selected_ep = ep; in cdns3_select_ep()
169 writel(ep, &priv_dev->regs->ep_sel); in cdns3_select_ep()
174 * @priv_dev: extended gadget object
179 static int cdns3_get_tdl(struct cdns3_device *priv_dev) in cdns3_get_tdl() argument
181 if (priv_dev in cdns3_get_tdl()
197 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_free_trb_pool() local
214 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_allocate_trb_pool() local
264 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_ep_stall_flush() local
283 cdns3_hw_reset_eps_config(struct cdns3_device *priv_dev) cdns3_hw_reset_eps_config() argument
351 cdns3_allow_enable_l1(struct cdns3_device *priv_dev, int enable) cdns3_allow_enable_l1() argument
359 cdns3_get_speed(struct cdns3_device *priv_dev) cdns3_get_speed() argument
384 cdns3_start_all_request(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_start_all_request() argument
508 cdns3_wa2_gadget_giveback(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req) cdns3_wa2_gadget_giveback() argument
548 cdns3_wa2_gadget_ep_queue(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req) cdns3_wa2_gadget_ep_queue() argument
710 cdns3_wa2_reset_tdl(struct cdns3_device *priv_dev) cdns3_wa2_reset_tdl() argument
722 cdns3_wa2_check_outq_status(struct cdns3_device *priv_dev) cdns3_wa2_check_outq_status() argument
796 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_gadget_giveback() local
866 struct cdns3_device *priv_dev = container_of(work, struct cdns3_device, cdns3_free_aligned_request_buf() local
896 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_prepare_aligned_request_buf() local
959 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_wa1_update_guard() local
978 cdns3_wa1_tray_restore_cycle_bit(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_wa1_tray_restore_cycle_bit() argument
994 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_ep_run_stream_transfer() local
1098 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_rearm_drdy_if_needed() local
1119 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_ep_run_transfer() local
1420 cdns3_set_hw_configuration(struct cdns3_device *priv_dev) cdns3_set_hw_configuration() argument
1487 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_trb_handled() local
1547 cdns3_transfer_completed(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_transfer_completed() argument
1653 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_rearm_transfer() local
1674 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_reprogram_tdl() local
1694 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_check_ep_interrupt_proceed() local
1822 cdns3_disconnect_gadget(struct cdns3_device *priv_dev) cdns3_disconnect_gadget() argument
1848 __cdns3_gadget_wakeup(priv_dev); global() variable
1856 cdns3_ep0_config(priv_dev); global() variable
1862 cdns3_disconnect_gadget(priv_dev); global() variable
1866 cdns3_hw_reset_eps_config(priv_dev); global() variable
1898 cdns3_hw_reset_eps_config(priv_dev); global() variable
1899 cdns3_ep0_config(priv_dev); global() variable
1914 struct cdns3_device *priv_dev = data; cdns3_device_irq_handler() local
1959 struct cdns3_device *priv_dev = data; cdns3_device_thread_irq_handler() local
2022 cdns3_ep_onchip_buffer_reserve(struct cdns3_device *priv_dev, int size, int is_in) cdns3_ep_onchip_buffer_reserve() argument
2057 cdns3_configure_dmult(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) cdns3_configure_dmult() argument
2099 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_ep_config() local
2223 cdns3_find_available_ep(struct cdns3_device *priv_dev, struct usb_endpoint_descriptor *desc) cdns3_find_available_ep() argument
2272 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_match_ep() local
2353 struct cdns3_device *priv_dev; cdns3_gadget_ep_enable() local
2492 struct cdns3_device *priv_dev; cdns3_gadget_ep_disable() local
2585 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; __cdns3_gadget_ep_queue() local
2640 struct cdns3_device *priv_dev; cdns3_gadget_ep_queue() local
2685 struct cdns3_device *priv_dev; cdns3_gadget_ep_dequeue() local
2762 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; __cdns3_gadget_ep_set_halt() local
2783 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; __cdns3_gadget_ep_clear_halt() local
2834 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; cdns3_gadget_ep_set_halt() local
2878 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_get_frame() local
2883 __cdns3_gadget_wakeup(struct cdns3_device *priv_dev) __cdns3_gadget_wakeup() argument
2900 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_wakeup() local
2913 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_set_selfpowered() local
2924 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_pullup() local
2937 cdns3_gadget_config(struct cdns3_device *priv_dev) cdns3_gadget_config() argument
2989 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_udc_start() local
3033 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_udc_stop() local
3076 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); cdns3_gadget_check_config() local
3129 cdns3_free_all_eps(struct cdns3_device *priv_dev) cdns3_free_all_eps() argument
3149 cdns3_init_eps(struct cdns3_device *priv_dev) cdns3_init_eps() argument
3238 struct cdns3_device *priv_dev = container_of(dev, cdns3_gadget_release() local
3246 struct cdns3_device *priv_dev; cdns3_gadget_exit() local
3284 struct cdns3_device *priv_dev; cdns3_gadget_start() local
3454 struct cdns3_device *priv_dev = cdns->gadget_dev; global() variable
3457 cdns3_disconnect_gadget(priv_dev); global() variable
3462 cdns3_hw_reset_eps_config(priv_dev); global() variable
3472 struct cdns3_device *priv_dev = cdns->gadget_dev; cdns3_gadget_resume() local
[all...]
H A Dcdns3-trace.h98 TP_PROTO(struct cdns3_device *priv_dev, u32 usb_ists),
99 TP_ARGS(priv_dev, usb_ists),
105 __entry->speed = cdns3_get_speed(priv_dev);
113 TP_PROTO(struct cdns3_device *priv_dev, u32 usb_ists),
114 TP_ARGS(priv_dev, usb_ists)
118 TP_PROTO(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep),
119 TP_ARGS(priv_dev, priv_ep),
129 __entry->ep_sts = readl(&priv_dev->regs->ep_sts);
130 __entry->ep_traddr = readl(&priv_dev->regs->ep_traddr);
144 TP_PROTO(struct cdns3_device *priv_dev, struc
[all...]
H A Dcdns3-gadget.h1347 enum usb_device_speed cdns3_get_speed(struct cdns3_device *priv_dev);
1349 void cdns3_hw_reset_eps_config(struct cdns3_device *priv_dev);
1350 void cdns3_set_hw_configuration(struct cdns3_device *priv_dev);
1351 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep);
1352 void cdns3_allow_enable_l1(struct cdns3_device *priv_dev, int enable);
1370 int cdns3_init_ep0(struct cdns3_device *priv_dev,
1372 void cdns3_ep0_config(struct cdns3_device *priv_dev);
1374 void cdns3_check_ep0_interrupt_proceed(struct cdns3_device *priv_dev, int dir);
1375 int __cdns3_gadget_wakeup(struct cdns3_device *priv_dev);
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-pci.c28 struct cdns2_device *priv_dev; in cdns2_pci_probe() local
45 priv_dev = devm_kzalloc(&pdev->dev, sizeof(*priv_dev), GFP_KERNEL); in cdns2_pci_probe()
46 if (!priv_dev) in cdns2_pci_probe()
59 priv_dev->regs = devm_ioremap(dev, rsrc_start, rsrc_len); in cdns2_pci_probe()
60 if (!priv_dev->regs) { in cdns2_pci_probe()
65 priv_dev->irq = pdev->irq; in cdns2_pci_probe()
69 priv_dev->dev = dev; in cdns2_pci_probe()
71 priv_dev->eps_supported = 0x000f000f; in cdns2_pci_probe()
72 priv_dev in cdns2_pci_probe()
90 struct cdns2_device *priv_dev = pci_get_drvdata(pdev); cdns2_pci_remove() local
100 struct cdns2_device *priv_dev = dev_get_drvdata(dev); cdns2_pci_suspend() local
107 struct cdns2_device *priv_dev = dev_get_drvdata(dev); cdns2_pci_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/gdm724x/
H A Dgdm_lte.h37 void *priv_dev; member
39 int (*send_hci_func)(void *priv_dev, void *data, int len,
41 int (*send_sdu_func)(void *priv_dev, void *data, int len,
45 int (*rcv_func)(void *priv_dev,
49 u8 (*get_endian)(void *priv_dev);
H A Dgdm_tty.h33 void *priv_dev; member
34 int (*send_func)(void *priv_dev,
40 int (*recv_func)(void *priv_dev,
46 int (*send_control)(void *priv_dev,
H A Dgdm_usb.c51 static int gdm_usb_recv(void *priv_dev,
362 struct lte_udev *udev = phy_dev->priv_dev; in set_mac_address()
405 udev = phy_dev->priv_dev; in do_rx()
483 static int gdm_usb_recv(void *priv_dev, in gdm_usb_recv() argument
489 struct lte_udev *udev = priv_dev; in gdm_usb_recv()
704 static int gdm_usb_sdu_send(void *priv_dev, void *data, int len, in gdm_usb_sdu_send() argument
709 struct lte_udev *udev = priv_dev; in gdm_usb_sdu_send()
762 static int gdm_usb_hci_send(void *priv_dev, void *data, int len, in gdm_usb_hci_send() argument
765 struct lte_udev *udev = priv_dev; in gdm_usb_hci_send()
796 static u8 gdm_usb_get_endian(void *priv_dev) in gdm_usb_get_endian() argument
[all...]
H A Dgdm_mux.c270 static int gdm_mux_recv(void *priv_dev, in gdm_mux_recv() argument
274 struct mux_dev *mux_dev = priv_dev; in gdm_mux_recv()
342 static int gdm_mux_send(void *priv_dev, void *data, int len, int tty_index, in gdm_mux_send() argument
345 struct mux_dev *mux_dev = priv_dev; in gdm_mux_send()
405 static int gdm_mux_send_control(void *priv_dev, int request, int value, in gdm_mux_send_control() argument
408 struct mux_dev *mux_dev = priv_dev; in gdm_mux_send_control()
531 tty_dev->priv_dev = (void *)mux_dev; in gdm_mux_probe()
570 mux_dev = tty_dev->priv_dev; in gdm_mux_disconnect()
590 mux_dev = tty_dev->priv_dev; in gdm_mux_suspend()
621 mux_dev = tty_dev->priv_dev; in gdm_mux_resume()
[all...]
H A Dgdm_tty.c124 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in gdm_tty_recv_complete()
139 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in gdm_tty_recv_complete()
171 gdm->tty_dev->send_func(gdm->tty_dev->priv_dev, in gdm_tty_write()
235 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in register_lte_tty_device()
H A Dgdm_lte.c468 ret = nic->phy_dev->send_sdu_func(nic->phy_dev->priv_dev, in gdm_lte_tx()
515 length = gdm_dev16_to_cpu(phy_dev->get_endian(phy_dev->priv_dev), in gdm_lte_event_send()
525 nic->phy_dev->send_hci_func(nic->phy_dev->priv_dev, msg, len, NULL, in gdm_lte_event_rcv()
681 u8 endian = phy_dev->get_endian(phy_dev->priv_dev); in gdm_lte_multi_sdu_pkt()
734 u8 ed = nic->phy_dev->get_endian(nic->phy_dev->priv_dev); in gdm_lte_pdn_table()
757 u8 endian = phy_dev->get_endian(phy_dev->priv_dev); in gdm_lte_receive_pkt()
819 phy_dev->rcv_func(phy_dev->priv_dev, in start_rx_proc()
/kernel/linux/linux-6.6/drivers/staging/gdm724x/
H A Dgdm_lte.h37 void *priv_dev; member
39 int (*send_hci_func)(void *priv_dev, void *data, int len,
41 int (*send_sdu_func)(void *priv_dev, void *data, int len,
45 int (*rcv_func)(void *priv_dev,
49 u8 (*get_endian)(void *priv_dev);
H A Dgdm_tty.h33 void *priv_dev; member
34 int (*send_func)(void *priv_dev,
40 int (*recv_func)(void *priv_dev,
46 int (*send_control)(void *priv_dev,
H A Dgdm_usb.c51 static int gdm_usb_recv(void *priv_dev,
362 struct lte_udev *udev = phy_dev->priv_dev; in set_mac_address()
405 udev = phy_dev->priv_dev; in do_rx()
483 static int gdm_usb_recv(void *priv_dev, in gdm_usb_recv() argument
489 struct lte_udev *udev = priv_dev; in gdm_usb_recv()
704 static int gdm_usb_sdu_send(void *priv_dev, void *data, int len, in gdm_usb_sdu_send() argument
709 struct lte_udev *udev = priv_dev; in gdm_usb_sdu_send()
762 static int gdm_usb_hci_send(void *priv_dev, void *data, int len, in gdm_usb_hci_send() argument
765 struct lte_udev *udev = priv_dev; in gdm_usb_hci_send()
796 static u8 gdm_usb_get_endian(void *priv_dev) in gdm_usb_get_endian() argument
[all...]
H A Dgdm_mux.c270 static int gdm_mux_recv(void *priv_dev, in gdm_mux_recv() argument
274 struct mux_dev *mux_dev = priv_dev; in gdm_mux_recv()
342 static int gdm_mux_send(void *priv_dev, void *data, int len, int tty_index, in gdm_mux_send() argument
345 struct mux_dev *mux_dev = priv_dev; in gdm_mux_send()
405 static int gdm_mux_send_control(void *priv_dev, int request, int value, in gdm_mux_send_control() argument
408 struct mux_dev *mux_dev = priv_dev; in gdm_mux_send_control()
531 tty_dev->priv_dev = (void *)mux_dev; in gdm_mux_probe()
570 mux_dev = tty_dev->priv_dev; in gdm_mux_disconnect()
590 mux_dev = tty_dev->priv_dev; in gdm_mux_suspend()
621 mux_dev = tty_dev->priv_dev; in gdm_mux_resume()
[all...]
H A Dgdm_tty.c121 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in gdm_tty_recv_complete()
136 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in gdm_tty_recv_complete()
163 gdm->tty_dev->send_func(gdm->tty_dev->priv_dev, in gdm_tty_write()
225 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in register_lte_tty_device()
H A Dgdm_lte.c467 ret = nic->phy_dev->send_sdu_func(nic->phy_dev->priv_dev, in gdm_lte_tx()
514 length = gdm_dev16_to_cpu(phy_dev->get_endian(phy_dev->priv_dev), in gdm_lte_event_send()
524 nic->phy_dev->send_hci_func(nic->phy_dev->priv_dev, msg, len, NULL, in gdm_lte_event_rcv()
680 u8 endian = phy_dev->get_endian(phy_dev->priv_dev); in gdm_lte_multi_sdu_pkt()
732 u8 ed = nic->phy_dev->get_endian(nic->phy_dev->priv_dev); in gdm_lte_pdn_table()
755 u8 endian = phy_dev->get_endian(phy_dev->priv_dev); in gdm_lte_receive_pkt()
817 phy_dev->rcv_func(phy_dev->priv_dev, in start_rx_proc()

Completed in 20 milliseconds