/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | tx.c | 73 "TX queue %d transmission id %x complete\n", 74 tx_queue->queue, tx_queue->read_count); 125 * queue, it is possible for the completion path to race with 128 * Therefore we stop the queue first, then read read_count 130 * restart the queue if the fill level turns out to be low 205 /* Map all data from an SKB for DMA and create descriptors on the queue. 282 * Add a socket buffer to a TX queue 285 * the TX queue. The queue's insert pointer will be incremented by 289 * the queue' [all...] |
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-stats.c | 27 if (f->index > 0 || f->type != video->queue->type) 41 if (f->type != video->queue->type) 117 list_add_tail(&stats_buf->queue, &stats_dev->stat); 142 struct rkisp1_buffer, queue); 143 list_del(&buf->queue); 374 struct rkisp1_buffer, queue); 375 list_del(&cur_buf->queue); 456 vdev->queue = &node->buf_queue; 459 rkisp1_stats_init_vb2_queue(vdev->queue, stats);
|
/linux-master/tools/perf/util/cs-etm-decoder/ |
H A D | cs-etm-decoder.c | 111 * value. Otherwise the first element of the packet queue is not 314 /* First get the packet queue for this traceID */ 483 * The packet queue is full and we haven't seen a timestamp (had we 484 * seen one the packet queue wouldn't be full). Let the front end 499 cs_etm_decoder__buffer_discontinuity(struct cs_etm_packet_queue *queue, argument 506 cs_etm_decoder__reset_timestamp(queue); 507 return cs_etm_decoder__buffer_packet(queue, trace_chan_id, 512 cs_etm_decoder__buffer_exception(struct cs_etm_packet_queue *queue, argument 518 ret = cs_etm_decoder__buffer_packet(queue, trace_chan_id, 523 packet = &queue 530 cs_etm_decoder__buffer_exception_ret(struct cs_etm_packet_queue *queue, const uint8_t trace_chan_id) argument [all...] |
/linux-master/drivers/net/wwan/t7xx/ |
H A D | t7xx_port_proxy.c | 362 * @queue: CLDMA queue. 369 int t7xx_port_proxy_recv_skb_from_dedicated_queue(struct cldma_queue *queue, struct sk_buff *skb) argument 371 struct t7xx_pci_dev *t7xx_dev = queue->md_ctrl->t7xx_dev; 378 if (WARN_ON_ONCE(port->port_conf->rxq_index != queue->index)) { 394 struct cldma_queue *queue, u16 channel) 406 if (queue->md_ctrl->hif_id == port_conf->path_id && 416 * @queue: CLDMA queue. 423 int t7xx_port_proxy_recv_skb(struct cldma_queue *queue, struc argument 393 t7xx_port_proxy_find_port(struct t7xx_pci_dev *t7xx_dev, struct cldma_queue *queue, u16 channel) argument [all...] |
/linux-master/drivers/ptp/ |
H A D | ptp_sysfs.c | 77 struct timestamp_event_queue *queue; local 87 /* The sysfs fifo will always draw from the fist queue */ 88 queue = list_first_entry(&ptp->tsevqs, struct timestamp_event_queue, 92 spin_lock_irqsave(&queue->lock, flags); 93 qcnt = queue_cnt(queue); 95 event = queue->buf[queue->head]; 97 WRITE_ONCE(queue->head, (queue->head + 1) % PTP_MAX_TIMESTAMPS); 99 spin_unlock_irqrestore(&queue [all...] |
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt73usb.c | 1013 static void rt73usb_start_queue(struct data_queue *queue) argument 1015 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 1018 switch (queue->qid) { 1036 static void rt73usb_stop_queue(struct data_queue *queue) argument 1038 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 1041 switch (queue->qid) { 1481 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, entry->queue->qid); 1482 rt2x00_set_field32(&word, TXD_W1_AIFSN, entry->queue->aifs); 1483 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min); 1484 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue 2226 struct data_queue *queue; local 2354 rt73usb_queue_init(struct data_queue *queue) argument [all...] |
H A D | rt2x00usb.h | 359 * rt2x00usb_kick_queue - Kick data queue 360 * @queue: Data queue to kick 362 * This will walk through all entries of the queue and push all pending 365 void rt2x00usb_kick_queue(struct data_queue *queue); 368 * rt2x00usb_flush_queue - Flush data queue 369 * @queue: Data queue to stop 372 * This will walk through all entries of the queue and will optionally 376 void rt2x00usb_flush_queue(struct data_queue *queue, boo [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | fsl_udc_core.c | 164 /* Removed the req from fsl_ep->queue */ 165 list_del_init(&req->queue); 212 while (!list_empty(&ep->queue)) { 215 req = list_entry(ep->queue.next, struct fsl_req, queue); 672 * the main operation is to insert the req->queue to the eq->queue 685 INIT_LIST_HEAD(&req->queue); 734 if (!(list_empty(&ep->queue)) && !(ep_index(ep) == 0)) { 737 lastreq = list_entry(ep->queue [all...] |
H A D | fusb300_udc.c | 258 while (!list_empty(&ep->queue)) { 259 req = list_entry(ep->queue.next, struct fusb300_request, queue); 276 INIT_LIST_HEAD(&req->queue); 435 if (list_empty(&ep->queue)) 438 list_add_tail(&req->queue, &ep->queue); 463 if (!list_empty(&ep->queue)) 483 if (!list_empty(&ep->queue)) { 525 .queue [all...] |
H A D | max3420_udc.c | 151 struct list_head queue; member in struct:max3420_req 158 struct list_head queue; member in struct:max3420_ep 691 if (list_empty(&ep->queue)) 694 req = list_first_entry(&ep->queue, struct max3420_req, queue); 732 list_del_init(&req->queue); 962 list_for_each_entry_safe(req, r, &ep->queue, queue) { 963 list_del_init(&req->queue); 1036 list_add_tail(&req->queue, [all...] |
H A D | omap_udc.h | 134 struct list_head queue; member in struct:omap_req 141 struct list_head queue; member in struct:omap_ep
|
H A D | gr_udc.h | 152 struct list_head queue; member in struct:gr_ep 163 struct list_head queue; member in struct:gr_request
|
/linux-master/drivers/media/i2c/ |
H A D | video-i2c.c | 765 struct vb2_queue *queue; local 792 queue = &data->vb_vidq; 793 queue->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 794 queue->io_modes = VB2_DMABUF | VB2_MMAP | VB2_USERPTR | VB2_READ; 795 queue->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; 796 queue->drv_priv = data; 797 queue->buf_struct_size = sizeof(struct video_i2c_buffer); 798 queue->min_queued_buffers = 1; 799 queue->ops = &video_i2c_video_qops; 800 queue [all...] |
/linux-master/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 82 static int atl1c_alloc_rx_buffer(struct atl1c_adapter *adapter, u32 queue, 367 * @txqueue: index of hanging tx queue 873 * @queue: idx of transmit queue 876 u32 queue) 878 struct atl1c_tpd_ring *tpd_ring = &adapter->tpd_ring[queue]; 889 netdev_tx_reset_queue(netdev_get_tx_queue(adapter->netdev, queue)); 901 * @queue: idx of transmit queue 903 static void atl1c_clean_rx_ring(struct atl1c_adapter *adapter, u32 queue) argument 875 atl1c_clean_tx_ring(struct atl1c_adapter *adapter, u32 queue) argument 1746 atl1c_alloc_rx_buffer(struct atl1c_adapter *adapter, u32 queue, bool napi_mode) argument 1979 atl1c_tpd_avail(struct atl1c_adapter *adapter, u32 queue) argument 1998 atl1c_get_tpd(struct atl1c_adapter *adapter, u32 queue) argument 2040 atl1c_tso_csum(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc **tpd, u32 queue) argument 2141 atl1c_tx_rollback(struct atl1c_adapter *adpt, struct atl1c_tpd_desc *first_tpd, u32 queue) argument 2163 atl1c_tx_map(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc *tpd, u32 queue) argument 2261 atl1c_tx_queue(struct atl1c_adapter *adapter, u32 queue) argument 2273 u32 queue = skb_get_queue_mapping(skb); local [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_scheduler.c | 47 GEM_BUG_ON(rb_first_cached(&sched_engine->queue) != 48 rb_first(&sched_engine->queue.rb_root)); 51 for (rb = rb_first_cached(&sched_engine->queue); rb; rb = rb_next(rb)) { 75 parent = &sched_engine->queue.rb_root.rb_node; 114 rb_insert_color_cached(&p->node, &sched_engine->queue, first); 462 sched_engine->queue = RB_ROOT_CACHED;
|
/linux-master/block/partitions/ |
H A D | efi.c | 137 queue_logical_block_size(disk->queue)) - 1ULL; 240 (queue_logical_block_size(state->disk->queue) / 512); 310 unsigned ssz = queue_logical_block_size(state->disk->queue); 357 queue_logical_block_size(state->disk->queue)) { 360 queue_logical_block_size(state->disk->queue)); 718 unsigned ssz = queue_logical_block_size(state->disk->queue) / 512;
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4.h | 122 #define GMAC_RX_QUEUE_CLEAR(queue) ~(GENMASK(1, 0) << ((queue) * 2)) 123 #define GMAC_RX_AV_QUEUE_ENABLE(queue) BIT((queue) * 2) 124 #define GMAC_RX_DCB_QUEUE_ENABLE(queue) BIT(((queue) * 2) + 1) 333 #define MTL_RXQ_DMA_MAP0 0x00000c30 /* queue 0 to 3 */ 334 #define MTL_RXQ_DMA_MAP1 0x00000c34 /* queue 4 to 7 */
|
/linux-master/drivers/infiniband/hw/cxgb4/ |
H A D | qp.c | 102 dma_free_coherent(&(rdev->lldi.pdev->dev), sq->memsize, sq->queue, 123 sq->queue = (__force union t4_wr *)(rdev->oc_mw_kva + sq->dma_addr - 131 sq->queue = dma_alloc_coherent(&(rdev->lldi.pdev->dev), sq->memsize, 133 if (!sq->queue) 135 sq->phys_addr = virt_to_phys(sq->queue); 163 wq->rq.memsize, wq->rq.queue, 260 memset(wq->sq.queue, 0, wq->sq.memsize); 264 wq->rq.queue = dma_alloc_coherent(&rdev->lldi.pdev->dev, 268 if (!wq->rq.queue) { 273 wq->sq.queue, [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tx_common.c | 35 "creating TX queue %d size %#x mask %#x\n", 36 tx_queue->queue, efx->txq_entries, tx_queue->ptr_mask); 73 "initialising TX queue %d\n", tx_queue->queue); 103 "shutting down TX queue %d\n", tx_queue->queue); 133 "destroying TX queue %d\n", tx_queue->queue); 194 "TX queue %d transmission id %x complete\n", 195 tx_queue->queue, tx_queu [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | tx_common.c | 35 "creating TX queue %d size %#x mask %#x\n", 36 tx_queue->queue, efx->txq_entries, tx_queue->ptr_mask); 73 "initialising TX queue %d\n", tx_queue->queue); 106 "destroying TX queue %d\n", tx_queue->queue); 160 "TX queue %d transmission id %x complete\n", 161 tx_queue->queue, tx_queue->read_count); 175 "shutting down TX queue %d\n", tx_queue->queue); [all...] |
/linux-master/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
H A D | dev.c | 199 skb_queue_tail(&priv->b_tx_status.queue, skb); 201 /* queue is "full", discard last items */ 202 while (skb_queue_len(&priv->b_tx_status.queue) > 5) { 206 "transmit status queue full\n"); 208 old_skb = skb_dequeue(&priv->b_tx_status.queue); 221 * here, thus queue the skb and finish on a work queue. */ 222 skb_queue_tail(&priv->b_tx_status.queue, skb); 395 /* TODO check rx queue length and refill *somewhere* */ 508 spin_lock_irqsave(&priv->b_tx_status.queue 1199 int queue; local 1340 rtl8187_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_packet_manager.c | 131 struct queue *q; 167 if (!kq->queue->properties.is_active) 171 kq->queue->queue, qpd->is_debug); 175 kq->queue, 189 pr_debug("static_queue, mapping user queue %d, is debug status %d\n", 190 q->queue, qpd->is_debug); 284 pr_err("Failed to allocate buffer on kernel queue\n"); 357 pr_err("Failed to allocate buffer on kernel queue\n"); 388 pr_err("Failed to allocate buffer on kernel queue\ [all...] |
/linux-master/drivers/atm/ |
H A D | idt77252.c | 95 struct sk_buff *, int queue); 100 static void add_rx_skb(struct idt77252_dev *, int queue, 582 sb_pool_add(struct idt77252_dev *card, struct sk_buff *skb, int queue) argument 584 struct sb_pool *pool = &card->sbpool[queue]; 595 IDT77252_PRV_POOL(skb) = POOL_HANDLE(queue, index); 604 unsigned int queue, index; local 609 queue = POOL_QUEUE(handle); 610 if (queue > 3) 617 card->sbpool[queue].skb[index] = NULL; 623 unsigned int queue, inde local 1239 struct sk_buff *queue; local 1787 idt77252_fbq_full(struct idt77252_dev *card, int queue) argument 1793 push_rx_skb(struct idt77252_dev *card, struct sk_buff *skb, int queue) argument 1839 add_rx_skb(struct idt77252_dev *card, int queue, unsigned int size, unsigned int count) argument [all...] |
/linux-master/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 273 } else if (list_empty(&q->queue)) { 274 list_add_tail(&buf->entry, &q->queue); 276 next = list_entry(q->queue.next, struct saa7134_buf, 282 list_add_tail(&buf->entry, &q->queue); 309 if (!list_empty(&q->queue)) { 310 /* activate next one from queue */ 311 buf = list_entry(q->queue.next, struct saa7134_buf, entry); 313 buf, q->queue.prev, q->queue.next); 315 if (!list_empty(&q->queue)) [all...] |
/linux-master/drivers/pps/ |
H A D | kapi.c | 104 init_waitqueue_head(&pps->queue); 216 wake_up_interruptible_all(&pps->queue);
|