Home
last modified time | relevance | path

Searched refs:pipe_info (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/media/usb/zr364xx/
Dzr364xx.c568 struct zr364xx_pipeinfo *pipe_info, in zr364xx_read_video_callback() argument
584 u16 *buf = (u16 *)pipe_info->transfer_buffer; in zr364xx_read_video_callback()
596 psrc = (u8 *)pipe_info->transfer_buffer; in zr364xx_read_video_callback()
648 if (purb->actual_length < pipe_info->transfer_size) { in zr364xx_read_video_callback()
975 struct zr364xx_pipeinfo *pipe_info; in read_pipe_completion() local
979 pipe_info = purb->context; in read_pipe_completion()
981 if (!pipe_info) { in read_pipe_completion()
986 cam = pipe_info->cam; in read_pipe_completion()
995 pipe_info->err_count++; in read_pipe_completion()
999 if (pipe_info->state == 0) { in read_pipe_completion()
[all …]
/Linux-v4.19/drivers/usb/renesas_usbhs/
Dpipe.h54 __usbhs_for_each_pipe(1, pos, &((priv)->pipe_info), i)
57 __usbhs_for_each_pipe(0, pos, &((priv)->pipe_info), i)
62 #define usbhs_priv_to_pipeinfo(pr) (&(pr)->pipe_info)
101 #define usbhs_pipe_number(p) (int)((p) - (p)->priv->pipe_info.pipe)
102 #define usbhs_pipe_is_dcp(p) ((p)->priv->pipe_info.pipe == (p))
Dcommon.h272 struct usbhs_pipe_info pipe_info; member
/Linux-v4.19/drivers/media/usb/s2255/
Ds2255drv.c1712 static int save_frame(struct s2255_dev *dev, struct s2255_pipeinfo *pipe_info) in save_frame() argument
1734 pdata = (unsigned char *)pipe_info->transfer_buffer; in save_frame()
1736 for (jj = 0; jj < (pipe_info->cur_transfer_size - 12); jj++) { in save_frame()
1827 psrc = (u8 *)pipe_info->transfer_buffer + offset; in save_frame()
1838 copy_size = (pipe_info->cur_transfer_size - offset); in save_frame()
1871 struct s2255_pipeinfo *pipe_info) in s2255_read_video_callback() argument
1882 res = save_frame(dev, pipe_info); in s2255_read_video_callback()
2057 struct s2255_pipeinfo *pipe_info; in read_pipe_completion() local
2061 pipe_info = purb->context; in read_pipe_completion()
2062 if (pipe_info == NULL) { in read_pipe_completion()
[all …]
/Linux-v4.19/drivers/nfc/st-nci/
Dse.c170 u8 pipe_info[] = { ST_NCI_DM_GETINFO_PIPE_INFO, in st_nci_hci_load_session() local
204 pipe_info[2] = skb_pipe_list->data[i]; in st_nci_hci_load_session()
206 ST_NCI_DM_GETINFO, pipe_info, in st_nci_hci_load_session()
207 sizeof(pipe_info), &skb_pipe_info); in st_nci_hci_load_session()
237 ndev->hci_dev->init_data.gates[j].pipe = pipe_info[2]; in st_nci_hci_load_session()
240 pipe_info[2]; in st_nci_hci_load_session()
241 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session()
243 ndev->hci_dev->pipes[pipe_info[2]].host = in st_nci_hci_load_session()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dsnoc.c380 ath10k_snoc_rx_post_pipe(&ar_snoc->pipe_info[i]); in ath10k_snoc_rx_post()
389 struct ath10k_snoc_pipe *pipe_info = &ar_snoc->pipe_info[ce_state->id]; in ath10k_snoc_process_rx_cb() local
421 ath10k_snoc_rx_post_pipe(pipe_info); in ath10k_snoc_process_rx_cb()
501 snoc_pipe = &ar_snoc->pipe_info[pipe_id]; in ath10k_snoc_hif_tx_sg()
560 return ath10k_ce_num_free_src_entries(ar_snoc->pipe_info[pipe].ce_hdl); in ath10k_snoc_hif_get_free_queue_number()
711 struct ath10k_snoc_pipe *pipe_info; in ath10k_snoc_buffer_cleanup() local
716 pipe_info = &ar_snoc->pipe_info[pipe_num]; in ath10k_snoc_buffer_cleanup()
717 ath10k_snoc_rx_pipe_cleanup(pipe_info); in ath10k_snoc_buffer_cleanup()
718 ath10k_snoc_tx_pipe_cleanup(pipe_info); in ath10k_snoc_buffer_cleanup()
844 if (ce_id < 0 || ce_id >= ARRAY_SIZE(ar_snoc->pipe_info)) { in ath10k_snoc_per_engine_handler()
[all …]
Dsnoc.h78 struct ath10k_snoc_pipe pipe_info[CE_COUNT_MAX]; member
Dpci.c852 ath10k_pci_rx_post_pipe(&ar_pci->pipe_info[i]); in ath10k_pci_rx_post()
1206 struct ath10k_pci_pipe *pipe_info = &ar_pci->pipe_info[ce_state->id]; in ath10k_pci_process_rx_cb() local
1240 ath10k_pci_rx_post_pipe(pipe_info); in ath10k_pci_process_rx_cb()
1249 struct ath10k_pci_pipe *pipe_info = &ar_pci->pipe_info[ce_state->id]; in ath10k_pci_process_htt_rx_cb() local
1250 struct ath10k_ce_pipe *ce_pipe = pipe_info->ce_hdl; in ath10k_pci_process_htt_rx_cb()
1364 struct ath10k_pci_pipe *pci_pipe = &ar_pci->pipe_info[pipe_id]; in ath10k_pci_hif_tx_sg()
1441 return ath10k_ce_num_free_src_entries(ar_pci->pipe_info[pipe].ce_hdl); in ath10k_pci_hif_get_free_queue_number()
2027 struct ath10k_pci_pipe *pipe_info; in ath10k_pci_buffer_cleanup() local
2029 pipe_info = &ar_pci->pipe_info[pipe_num]; in ath10k_pci_buffer_cleanup()
2030 ath10k_pci_rx_pipe_cleanup(pipe_info); in ath10k_pci_buffer_cleanup()
[all …]
Dpci.h127 struct ath10k_pci_pipe pipe_info[CE_COUNT_MAX]; member
/Linux-v4.19/drivers/nfc/st21nfca/
Dcore.c125 u8 pipe_info[] = { ST21NFCA_DM_GETINFO_PIPE_INFO, in st21nfca_hci_load_session() local
161 pipe_info[2] = skb_pipe_list->data[i]; in st21nfca_hci_load_session()
163 ST21NFCA_DM_GETINFO, pipe_info, in st21nfca_hci_load_session()
164 sizeof(pipe_info), &skb_pipe_info); in st21nfca_hci_load_session()
193 hdev->init_data.gates[j].pipe = pipe_info[2]; in st21nfca_hci_load_session()
196 pipe_info[2]; in st21nfca_hci_load_session()
197 hdev->pipes[pipe_info[2]].gate = in st21nfca_hci_load_session()
199 hdev->pipes[pipe_info[2]].dest_host = in st21nfca_hci_load_session()
/Linux-v4.19/drivers/usb/dwc2/
Dhcd_intr.c1005 pipe_type = dwc2_hcd_get_pipe_type(&urb->pipe_info); in dwc2_hc_xfercomp_intr()
1140 pipe_type = dwc2_hcd_get_pipe_type(&urb->pipe_info); in dwc2_hc_stall_intr()
1257 switch (dwc2_hcd_get_pipe_type(&qtd->urb->pipe_info)) { in dwc2_hc_nak_intr()
1578 dwc2_hcd_get_dev_addr(&urb->pipe_info)); in dwc2_hc_ahberr_intr()
1580 dwc2_hcd_get_ep_num(&urb->pipe_info), in dwc2_hc_ahberr_intr()
1581 dwc2_hcd_is_pipe_in(&urb->pipe_info) ? "IN" : "OUT"); in dwc2_hc_ahberr_intr()
1583 switch (dwc2_hcd_get_pipe_type(&urb->pipe_info)) { in dwc2_hc_ahberr_intr()
1621 dwc2_hcd_get_mps(&urb->pipe_info)); in dwc2_hc_ahberr_intr()
1668 switch (dwc2_hcd_get_pipe_type(&qtd->urb->pipe_info)) { in dwc2_hc_xacterr_intr()
1723 switch (dwc2_hcd_get_pipe_type(&qtd->urb->pipe_info)) { in dwc2_hc_frmovrun_intr()
Dhcd_queue.c1509 u8 ep_type = dwc2_hcd_get_pipe_type(&urb->pipe_info); in dwc2_qh_init()
1510 bool ep_is_in = !!dwc2_hcd_is_pipe_in(&urb->pipe_info); in dwc2_qh_init()
1517 int maxp = dwc2_hcd_get_mps(&urb->pipe_info); in dwc2_qh_init()
1614 dwc2_hcd_get_dev_addr(&urb->pipe_info), in dwc2_qh_init()
1615 dwc2_hcd_get_ep_num(&urb->pipe_info), in dwc2_qh_init()
2037 if (dwc2_hcd_get_pipe_type(&urb->pipe_info) == in dwc2_hcd_qtd_init()
Dhcd.c2553 switch (dwc2_hcd_get_pipe_type(&urb->pipe_info)) { in dwc2_hc_init_xfer()
2585 dwc2_hcd_is_pipe_out(&urb->pipe_info); in dwc2_hc_init_xfer()
2801 chan->dev_addr = dwc2_hcd_get_dev_addr(&urb->pipe_info); in dwc2_assign_and_init_hc()
2802 chan->ep_num = dwc2_hcd_get_ep_num(&urb->pipe_info); in dwc2_assign_and_init_hc()
2820 chan->ep_is_in = (dwc2_hcd_is_pipe_in(&urb->pipe_info) != 0); in dwc2_assign_and_init_hc()
2830 !dwc2_hcd_is_pipe_in(&urb->pipe_info)) in dwc2_assign_and_init_hc()
4002 urb->pipe_info.dev_addr = dev_addr; in dwc2_hcd_urb_set_pipeinfo()
4003 urb->pipe_info.ep_num = ep_num; in dwc2_hcd_urb_set_pipeinfo()
4004 urb->pipe_info.pipe_type = ep_type; in dwc2_hcd_urb_set_pipeinfo()
4005 urb->pipe_info.pipe_dir = ep_dir; in dwc2_hcd_urb_set_pipeinfo()
[all …]
Dhcd.h200 struct dwc2_hcd_pipe_info pipe_info; member