Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 12 of 12) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/hif/src/usb/
Dusbdrv.c52 static void usb_hif_free_urb_to_pipe(struct HIF_USB_PIPE *pipe, in usb_hif_free_urb_to_pipe() argument
55 qdf_spin_lock_irqsave(&pipe->device->cs_lock); in usb_hif_free_urb_to_pipe()
56 pipe->urb_cnt++; in usb_hif_free_urb_to_pipe()
57 DL_ListAdd(&pipe->urb_list_head, &urb_context->link); in usb_hif_free_urb_to_pipe()
58 qdf_spin_unlock_irqrestore(&pipe->device->cs_lock); in usb_hif_free_urb_to_pipe()
67 struct HIF_URB_CONTEXT *usb_hif_alloc_urb_from_pipe(struct HIF_USB_PIPE *pipe) in usb_hif_alloc_urb_from_pipe() argument
72 qdf_spin_lock_irqsave(&pipe->device->cs_lock); in usb_hif_alloc_urb_from_pipe()
73 item = dl_list_remove_item_from_head(&pipe->urb_list_head); in usb_hif_alloc_urb_from_pipe()
77 pipe->urb_cnt--; in usb_hif_alloc_urb_from_pipe()
79 qdf_spin_unlock_irqrestore(&pipe->device->cs_lock); in usb_hif_alloc_urb_from_pipe()
[all …]
Dhif_usb_internal.h44 #define HIF_USB_SCHEDULE_WORK(pipe)\ argument
45 tasklet_schedule(&pipe->io_complete_tasklet)
47 #define HIF_USB_INIT_WORK(pipe)\ argument
48 tasklet_init(&pipe->io_complete_tasklet,\
50 (unsigned long)pipe)
52 #define HIF_USB_FLUSH_WORK(pipe) flush_work(&pipe->io_complete_work) argument
54 #define HIF_USB_SCHEDULE_WORK(pipe) queue_work(system_highpri_wq,\ argument
55 &(pipe)->io_complete_work)
56 #define HIF_USB_INIT_WORK(pipe)\ argument
57 INIT_WORK(&pipe->io_complete_work,\
[all …]
Dhif_usb.c77 struct HIF_USB_PIPE *pipe = urb_context->pipe; in usb_hif_usb_transmit_complete() local
81 pipe->logical_pipe_num, urb->status, urb->actual_length); in usb_hif_usb_transmit_complete()
87 hif_err("pipe: %d, failed: %d", pipe->logical_pipe_num, in usb_hif_usb_transmit_complete()
103 skb_queue_tail(&pipe->io_comp_queue, buf); in usb_hif_usb_transmit_complete()
104 HIF_USB_SCHEDULE_WORK(pipe); in usb_hif_usb_transmit_complete()
126 struct HIF_USB_PIPE *pipe = &device->pipes[pipe_id]; in hif_send_internal() local
208 urb_context = usb_hif_alloc_urb_from_pipe(pipe); in hif_send_internal()
214 pipe_id, pipe->urb_cnt); in hif_send_internal()
226 pipe->usb_pipe_handle, in hif_send_internal()
228 (len % pipe->max_packet_size) == in hif_send_internal()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/
Dhif_sdio.c120 QDF_STATUS hif_send_head(struct hif_opaque_softc *hif_ctx, uint8_t pipe, in hif_send_head() argument
129 transfer_id, pipe, in hif_send_head()
208 uint8_t pipe) in hif_get_free_queue_number() argument
226 void hif_send_complete_check(struct hif_opaque_softc *hif_ctx, uint8_t pipe, in hif_send_complete_check() argument
Dhif_sdio_dev.h46 unsigned int transfer_id, uint8_t pipe,
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_main.c3317 uint8_t pipe, unsigned int transfer_id, unsigned int nbytes, in hif_send_head() argument
3322 struct HIF_CE_pipe_info *pipe_info = &(hif_state->pipe_info[pipe]); in hif_send_head()
3403 void hif_send_complete_check(struct hif_opaque_softc *hif_ctx, uint8_t pipe, in hif_send_complete_check() argument
3418 resources = hif_get_free_queue_number(hif_ctx, pipe); in hif_send_complete_check()
3423 if (resources > (hif_state->host_ce_config[pipe].src_nentries >> in hif_send_complete_check()
3428 ce_per_engine_servicereap(scn, pipe); in hif_send_complete_check()
3430 ce_per_engine_service(scn, pipe); in hif_send_complete_check()
3436 hif_register_ce_custom_cb(struct hif_opaque_softc *hif_ctx, uint8_t pipe, in hif_register_ce_custom_cb() argument
3443 if (pipe >= CE_COUNT_MAX) in hif_register_ce_custom_cb()
3446 pipe_info = &hif_state->pipe_info[pipe]; in hif_register_ce_custom_cb()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_ipa.c352 bool pipe; in hdd_ipa_get_tx_pipe_multi_conn() local
366 &pipe); in hdd_ipa_get_tx_pipe_multi_conn()
373 *tx_pipe = !pipe; in hdd_ipa_get_tx_pipe_multi_conn()
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
Dtransfer.c87 uint8_t pipe, uint32_t nbytes, qdf_nbuf_t buf) in hif_dev_send_buffer() argument
97 if (hif_get_send_address(pdev, pipe, &addr)) { in hif_dev_send_buffer()
98 hif_err("Invalid address map for pipe 0x%x", pipe); in hif_dev_send_buffer()
Dtransfer.h69 uint8_t pipe, unsigned long *addr);
Dadma.c263 uint8_t pipe, unsigned long *addr) in hif_get_send_address() argument
271 chan = hif_dev_map_pipe_to_adma_chan(pdev, pipe); in hif_get_send_address()
Dmailbox.c556 uint8_t pipe, unsigned long *addr) in hif_get_send_address() argument
563 mbox_index = hif_dev_map_pipe_to_mail_box(pdev, pipe); in hif_get_send_address()
/wlan-driver/qca-wifi-host-cmn/hif/inc/
Dhif.h1090 void (*txResourceAvailHandler)(void *context, uint8_t pipe);
1175 hif_register_ce_custom_cb(struct hif_opaque_softc *hif_ctx, uint8_t pipe,
1186 hif_unregister_ce_custom_cb(struct hif_opaque_softc *hif_ctx, uint8_t pipe);
1196 hif_enable_ce_custom_cb(struct hif_opaque_softc *hif_ctx, uint8_t pipe);
1206 hif_disable_ce_custom_cb(struct hif_opaque_softc *hif_ctx, uint8_t pipe);