Home
last modified time | relevance | path

Searched refs:priv_dev (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/usb/cdns3/
A Dcdns3-ep0.c58 cdns3_select_ep(priv_dev, priv_dev->ep0_data_dir); in cdns3_ep0_run_transfer()
90 ret = priv_dev->gadget_driver->setup(&priv_dev->gadget, ctrl_req); in cdns3_ep0_delegate_req()
92 spin_lock(&priv_dev->lock); in cdns3_ep0_delegate_req()
98 priv_dev->ep0_data_dir = 0; in cdns3_prepare_setup_packet()
100 cdns3_ep0_run_transfer(priv_dev, priv_dev->setup_dma, in cdns3_prepare_setup_packet()
190 dev_err(priv_dev->dev, in cdns3_req_ep0_set_address()
197 dev_err(priv_dev->dev, in cdns3_req_ep0_set_address()
269 cdns3_ep0_run_transfer(priv_dev, priv_dev->setup_dma, in cdns3_req_ep0_get_status()
440 cdns3_ep0_run_transfer(priv_dev, priv_dev->setup_dma, 6, 1, 0); in cdns3_req_ep0_set_sel()
747 dev_err(priv_dev->dev, in cdns3_gadget_ep0_queue()
[all …]
A Dcdns3-gadget.c1760 priv_dev->gadget_driver->disconnect(&priv_dev->gadget); in cdns3_disconnect_gadget()
1808 priv_dev->gadget_driver->suspend(&priv_dev->gadget); in cdns3_check_usb_interrupt_proceed()
1817 priv_dev->gadget_driver->resume(&priv_dev->gadget); in cdns3_check_usb_interrupt_proceed()
3017 priv_dev->ep_buf_size = priv_dev->ep_iso_burst = in cdns3_gadget_check_config()
3044 devm_kfree(priv_dev->dev, priv_dev->eps[i]); in cdns3_free_all_eps()
3078 priv_dev->eps[i] = priv_dev->eps[0]; in cdns3_init_eps()
3177 dma_free_coherent(priv_dev->sysdev, 8, priv_dev->setup_buf, in cdns3_gadget_exit()
3193 priv_dev = kzalloc(sizeof(*priv_dev), GFP_KERNEL); in cdns3_gadget_start()
3194 if (!priv_dev) in cdns3_gadget_start()
3275 priv_dev->dev_ver = readl(&priv_dev->regs->usb_cap6); in cdns3_gadget_start()
[all …]
A Dcdns3-trace.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);
115 TP_ARGS(priv_dev, usb_ists)
120 TP_ARGS(priv_dev, priv_ep),
131 __entry->ep_sts = readl(&priv_dev->regs->ep_sts);
147 TP_ARGS(priv_dev, priv_ep)
152 TP_ARGS(priv_dev, ep_sts),
159 __entry->ep_dir = priv_dev->selected_ep;
168 TP_PROTO(struct cdns3_device *priv_dev, u32 ep_sts),
[all …]
A Dcdns3-gadget.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);
/linux-6.3-rc2/drivers/staging/gdm724x/
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);
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,
A Dgdm_usb.c51 static int gdm_usb_recv(void *priv_dev,
405 udev = phy_dev->priv_dev; in do_rx()
489 struct lte_udev *udev = priv_dev; in gdm_usb_recv()
709 struct lte_udev *udev = priv_dev; in gdm_usb_sdu_send()
765 struct lte_udev *udev = priv_dev; in gdm_usb_hci_send()
798 struct lte_udev *udev = priv_dev; in gdm_usb_get_endian()
834 phy_dev->priv_dev = (void *)udev; in gdm_usb_probe()
891 udev = phy_dev->priv_dev; in gdm_usb_disconnect()
915 udev = phy_dev->priv_dev; in gdm_usb_suspend()
950 udev = phy_dev->priv_dev; in gdm_usb_resume()
[all …]
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()
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()
168 gdm->tty_dev->send_func(gdm->tty_dev->priv_dev, in gdm_tty_write()
232 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in register_lte_tty_device()
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 35 milliseconds