Home
last modified time | relevance | path

Searched refs:queue_len (Results 1 – 22 of 22) sorted by relevance

/drivers/dma/bestcomm/
Dgen_bd.c85 bcom_gen_bd_rx_init(int queue_len, phys_addr_t fifo, in bcom_gen_bd_rx_init() argument
91 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_gen_bd), in bcom_gen_bd_rx_init()
170 bcom_gen_bd_tx_init(int queue_len, phys_addr_t fifo, in bcom_gen_bd_tx_init() argument
176 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_gen_bd), in bcom_gen_bd_tx_init()
315 struct bcom_task * bcom_psc_gen_bd_rx_init(unsigned psc_num, int queue_len, in bcom_psc_gen_bd_rx_init() argument
321 return bcom_gen_bd_rx_init(queue_len, fifo, in bcom_psc_gen_bd_rx_init()
337 bcom_psc_gen_bd_tx_init(unsigned psc_num, int queue_len, phys_addr_t fifo) in bcom_psc_gen_bd_tx_init() argument
340 return bcom_gen_bd_tx_init(queue_len, fifo, in bcom_psc_gen_bd_tx_init()
Dfec.c85 bcom_fec_rx_init(int queue_len, phys_addr_t fifo, int maxbufsize) in bcom_fec_rx_init() argument
90 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_fec_bd), in bcom_fec_rx_init()
187 bcom_fec_tx_init(int queue_len, phys_addr_t fifo) in bcom_fec_tx_init() argument
192 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_fec_bd), in bcom_fec_tx_init()
Data.c58 bcom_ata_init(int queue_len, int maxbufsize) in bcom_ata_init() argument
67 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_ata_bd), 0); in bcom_ata_init()
/drivers/net/can/dev/
Drx-offload.c284 int queue_len; in can_rx_offload_irq_finish() local
293 queue_len = skb_queue_len(&offload->skb_queue); in can_rx_offload_irq_finish()
294 if (queue_len > offload->skb_queue_len_max / 8) in can_rx_offload_irq_finish()
296 __func__, queue_len); in can_rx_offload_irq_finish()
305 int queue_len; in can_rx_offload_threaded_irq_finish() local
314 queue_len = skb_queue_len(&offload->skb_queue); in can_rx_offload_threaded_irq_finish()
315 if (queue_len > offload->skb_queue_len_max / 8) in can_rx_offload_threaded_irq_finish()
317 __func__, queue_len); in can_rx_offload_threaded_irq_finish()
/drivers/net/wireless/ti/wl1251/
Dtx.c445 int i, result_index, num_complete = 0, queue_len; in wl1251_tx_complete() local
476 queue_len = skb_queue_len(&wl->tx_queue); in wl1251_tx_complete()
478 if ((num_complete > 0) && (queue_len > 0)) { in wl1251_tx_complete()
485 queue_len <= WL1251_TX_QUEUE_LOW_WATERMARK) { in wl1251_tx_complete()
Ddebugfs.c201 u32 queue_len; in tx_queue_len_read() local
205 queue_len = skb_queue_len(&wl->tx_queue); in tx_queue_len_read()
207 res = scnprintf(buf, sizeof(buf), "%u\n", queue_len); in tx_queue_len_read()
/drivers/misc/habanalabs/common/
Dhw_queue.c26 static inline int queue_ci_get(atomic_t *ci, u32 queue_len) in queue_ci_get() argument
28 return atomic_read(ci) & ((queue_len << 1) - 1); in queue_ci_get()
31 static inline int queue_free_slots(struct hl_hw_queue *q, u32 queue_len) in queue_free_slots() argument
33 int delta = (q->pi - queue_ci_get(&q->ci, queue_len)); in queue_free_slots()
36 return (queue_len - delta); in queue_free_slots()
38 return (abs(delta) - queue_len); in queue_free_slots()
Dhabanalabs.h1195 dma_addr_t *dma_handle, u16 *queue_len);
/drivers/net/ethernet/ibm/
Dibmveth.h129 u32 queue_len; member
Dibmveth.c530 adapter->rx_queue.queue_len = sizeof(struct ibmveth_rx_q_entry) * in ibmveth_open()
533 dma_alloc_coherent(dev, adapter->rx_queue.queue_len, in ibmveth_open()
559 adapter->rx_queue.queue_len; in ibmveth_open()
647 dma_free_coherent(dev, adapter->rx_queue.queue_len, in ibmveth_open()
696 dma_free_coherent(dev, adapter->rx_queue.queue_len, in ibmveth_close()
/drivers/misc/habanalabs/goya/
DgoyaP.h229 dma_addr_t *dma_handle, u16 *queue_len);
Dgoya.c2934 dma_addr_t *dma_handle, u16 *queue_len) in goya_get_int_queue_base() argument
2946 *queue_len = MME_QMAN_LENGTH; in goya_get_int_queue_base()
2950 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
2954 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
2958 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
2962 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
2966 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
2970 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
2974 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
2978 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
/drivers/net/wireless/ti/wlcore/
Ddebugfs.c84 u32 queue_len; in tx_queue_len_read() local
88 queue_len = wl1271_tx_total_queue_count(wl); in tx_queue_len_read()
90 res = scnprintf(buf, sizeof(buf), "%u\n", queue_len); in tx_queue_len_read()
/drivers/net/ethernet/neterion/
Ds2io.c4010 u16 frg_cnt, frg_len, i, queue, queue_len, put_off, get_off; in s2io_xmit() local
4053 queue_len = sp->total_tcp_fifos; in s2io_xmit()
4056 sp->fifo_selector[queue_len - 1]; in s2io_xmit()
4057 if (queue >= queue_len) in s2io_xmit()
4058 queue = queue_len - 1; in s2io_xmit()
4060 queue_len = sp->total_udp_fifos; in s2io_xmit()
4063 sp->fifo_selector[queue_len - 1]; in s2io_xmit()
4064 if (queue >= queue_len) in s2io_xmit()
4065 queue = queue_len - 1; in s2io_xmit()
4096 queue_len = fifo->tx_curr_put_info.fifo_len + 1; in s2io_xmit()
[all …]
/drivers/staging/rtl8192e/
Drtllib_softmac.c2454 unsigned long queue_len = 0; in rtllib_softmac_xmit() local
2471 queue_len = skb_queue_len(&ieee->skb_waitQ[queue_index]); in rtllib_softmac_xmit()
2472 if ((queue_len != 0) || in rtllib_softmac_xmit()
2479 if (queue_len < 200) in rtllib_softmac_xmit()
/drivers/net/wireless/realtek/rtlwifi/
Dpci.c1672 u32 queue_len; in rtl_pci_flush() local
1679 queue_len = skb_queue_len(&ring->queue); in rtl_pci_flush()
1680 if (queue_len == 0 || queue_id == BEACON_QUEUE || in rtl_pci_flush()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c634 u16 queue_len, counter = 0; in vxge_get_vpath_no() local
645 queue_len = vdev->no_of_vpath; in vxge_get_vpath_no()
648 vdev->vpath_selector[queue_len - 1]; in vxge_get_vpath_no()
649 if (counter >= queue_len) in vxge_get_vpath_no()
650 counter = queue_len - 1; in vxge_get_vpath_no()
/drivers/net/
Dtun.c1977 int queue_len; in tun_get_user() local
1981 queue_len = skb_queue_len(queue); in tun_get_user()
1984 if (!more || queue_len > NAPI_POLL_WEIGHT) in tun_get_user()
/drivers/crypto/
Domap-aes.c1087 static DEVICE_ATTR_RW(queue_len);
Domap-sham.c2039 static DEVICE_ATTR_RW(queue_len);
/drivers/misc/habanalabs/gaudi/
Dgaudi.c4903 u16 *queue_len) in gaudi_get_int_queue_base() argument
4916 *queue_len = q->pq_size / QMAN_PQ_ENTRY_SIZE; in gaudi_get_int_queue_base()
7306 u32 ci, qm_ci_stream_off, queue_len; in gaudi_print_last_pqes_on_err() local
7317 queue_len = (q->queue_type == QUEUE_TYPE_INT) ? in gaudi_print_last_pqes_on_err()
7328 ci = gaudi_queue_idx_dec(ci, queue_len); in gaudi_print_last_pqes_on_err()
7349 ci = gaudi_queue_idx_dec(ci, queue_len); in gaudi_print_last_pqes_on_err()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h4966 __le32 queue_len; member