Home
last modified time | relevance | path

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

/linux/include/linux/fsl/bestcomm/
H A Dgen_bd.h20 bcom_gen_bd_rx_init(int queue_len, phys_addr_t fifo,
31 bcom_gen_bd_tx_init(int queue_len, phys_addr_t fifo,
42 struct bcom_task * bcom_psc_gen_bd_rx_init(unsigned psc_num, int queue_len,
44 struct bcom_task * bcom_psc_gen_bd_tx_init(unsigned psc_num, int queue_len,
H A Dfec.h41 bcom_fec_rx_init(int queue_len, phys_addr_t fifo, int maxbufsize);
51 bcom_fec_tx_init(int queue_len, phys_addr_t fifo);
H A Data.h23 extern struct bcom_task * bcom_ata_init(int queue_len, int maxbufsize);
/linux/drivers/dma/bestcomm/
H A 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()
H A Dfec.c81 bcom_fec_rx_init(int queue_len, phys_addr_t fifo, int maxbufsize) in bcom_fec_rx_init() argument
86 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_fec_bd), in bcom_fec_rx_init()
183 bcom_fec_tx_init(int queue_len, phys_addr_t fifo) in bcom_fec_tx_init() argument
188 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_fec_bd), in bcom_fec_tx_init()
H A Data.c54 bcom_ata_init(int queue_len, int maxbufsize) in bcom_ata_init() argument
63 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_ata_bd), 0); in bcom_ata_init()
/linux/drivers/net/can/dev/
H A Drx-offload.c311 int queue_len; in can_rx_offload_irq_finish() local
320 queue_len = skb_queue_len(&offload->skb_queue); in can_rx_offload_irq_finish()
321 if (queue_len > offload->skb_queue_len_max / 8) in can_rx_offload_irq_finish()
323 __func__, queue_len); in can_rx_offload_irq_finish()
332 int queue_len; in can_rx_offload_threaded_irq_finish() local
341 queue_len = skb_queue_len(&offload->skb_queue); in can_rx_offload_threaded_irq_finish()
342 if (queue_len > offload->skb_queue_len_max / 8) in can_rx_offload_threaded_irq_finish()
344 __func__, queue_len); in can_rx_offload_threaded_irq_finish()
/linux/drivers/net/wireless/ti/wl1251/
H A Dtx.c447 int i, result_index, num_complete = 0, queue_len; in wl1251_tx_complete() local
484 queue_len = skb_queue_len(&wl->tx_queue); in wl1251_tx_complete()
486 if ((num_complete > 0) && (queue_len > 0)) { in wl1251_tx_complete()
493 queue_len <= WL1251_TX_QUEUE_LOW_WATERMARK) { in wl1251_tx_complete()
H A 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()
/linux/drivers/accel/habanalabs/common/
H A 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()
/linux/drivers/net/ethernet/ibm/
H A Dibmveth.h152 u32 queue_len; member
H A Dibmveth.c646 adapter->rx_queue.queue_len = sizeof(struct ibmveth_rx_q_entry) * in ibmveth_open()
649 dma_alloc_coherent(dev, adapter->rx_queue.queue_len, in ibmveth_open()
680 adapter->rx_queue.queue_len; in ibmveth_open()
758 dma_free_coherent(dev, adapter->rx_queue.queue_len, in ibmveth_open()
806 dma_free_coherent(dev, adapter->rx_queue.queue_len, in ibmveth_close()
2239 adapter->rx_queue.queue_len = 1; in ibmveth_rxq_get_buffer_test()
/linux/drivers/accel/habanalabs/goya/
H A DgoyaP.h238 dma_addr_t *dma_handle, u16 *queue_len);
H A Dgoya.c3007 dma_addr_t *dma_handle, u16 *queue_len) in goya_get_int_queue_base() argument
3019 *queue_len = MME_QMAN_LENGTH; in goya_get_int_queue_base()
3023 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
3027 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
3031 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
3035 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
3039 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
3043 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
3047 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
3051 *queue_len = TPC_QMAN_LENGTH; in goya_get_int_queue_base()
/linux/tools/tracing/latency/
H A Dlatency-collector.c797 static __always_inline int queue_len(const struct queue *q) in queue_len() function
807 int nr_free = QUEUE_SIZE - queue_len(q); in queue_nr_free()
869 if (queue_len(&printqueue) > 0) { in queue_wait_for_entry()
/linux/tools/perf/util/
H A Dannotate.c1235 int printed = 2, queue_len = 0; in hist_entry__annotate_printf() local
1279 queue_len = 0; in hist_entry__annotate_printf()
1288 printed += queue_len; in hist_entry__annotate_printf()
1290 queue_len = 0; in hist_entry__annotate_printf()
1305 if (queue_len == context) in hist_entry__annotate_printf()
1308 ++queue_len; in hist_entry__annotate_printf()
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dpci.c1644 u32 queue_len; in rtl_pci_flush() local
1651 queue_len = skb_queue_len(&ring->queue); in rtl_pci_flush()
1652 if (queue_len == 0 || queue_id == BEACON_QUEUE || in rtl_pci_flush()