/linux-5.19.10/drivers/usb/cdns3/ |
D | cdns3-ep0.c | 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() 83 static int cdns3_ep0_delegate_req(struct cdns3_device *priv_dev, in cdns3_ep0_delegate_req() argument 88 spin_unlock(&priv_dev->lock); in cdns3_ep0_delegate_req() 89 priv_dev->setup_pending = 1; in cdns3_ep0_delegate_req() [all …]
|
D | cdns3-gadget.c | 114 static int cdns3_get_dma_pos(struct cdns3_device *priv_dev, in cdns3_get_dma_pos() argument 119 dma_index = readl(&priv_dev->regs->ep_traddr) - priv_ep->trb_pool_dma; in cdns3_get_dma_pos() 162 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep) in cdns3_select_ep() argument 164 if (priv_dev->selected_ep == ep) in cdns3_select_ep() 167 priv_dev->selected_ep = ep; in cdns3_select_ep() 168 writel(ep, &priv_dev->regs->ep_sel); in cdns3_select_ep() 178 static int cdns3_get_tdl(struct cdns3_device *priv_dev) in cdns3_get_tdl() argument 180 if (priv_dev->dev_ver < DEV_VER_V3) in cdns3_get_tdl() 181 return EP_CMD_TDL_GET(readl(&priv_dev->regs->ep_cmd)); in cdns3_get_tdl() 183 return readl(&priv_dev->regs->ep_tdl); in cdns3_get_tdl() [all …]
|
D | cdns3-trace.h | 98 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, struct cdns3_endpoint *priv_ep), [all …]
|
D | cdns3-gadget.h | 1344 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-5.19.10/drivers/staging/gdm724x/ |
D | gdm_lte.h | 37 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);
|
D | gdm_tty.h | 33 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,
|
D | gdm_usb.c | 51 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 …]
|
D | gdm_mux.c | 270 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()
|
D | gdm_tty.c | 124 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()
|
D | gdm_lte.c | 467 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()
|