/drivers/isdn/i4l/ |
H A D | isdn_net.h | 85 lp = nd->queue; /* get lp on top of queue */ 86 while (isdn_net_lp_busy(nd->queue)) { 87 nd->queue = nd->queue->next; 88 if (nd->queue == lp) { /* not found -- should never happen */ 93 lp = nd->queue; 94 nd->queue = nd->queue->next; 114 lp = nd->queue; [all...] |
/drivers/staging/rtl8723au/os_dep/ |
H A D | xmit_linux.c | 63 u16 queue; local 65 queue = skb_get_queue_mapping(pkt); 67 if (__netif_subqueue_stopped(padapter->pnetdev, queue) && 68 (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) 69 netif_wake_subqueue(padapter->pnetdev, queue); 71 if (__netif_subqueue_stopped(padapter->pnetdev, queue)) 72 netif_wake_subqueue(padapter->pnetdev, queue); 105 u16 queue; local 107 queue = skb_get_queue_mapping(pkt); 110 if (pxmitpriv->hwxmits[queue] [all...] |
/drivers/misc/genwqe/ |
H A D | card_debugfs.c | 236 struct ddcb_queue *queue; local 239 queue = &cd->queue; 250 queue->ddcb_max, (long long)queue->ddcb_daddr, 251 (long long)queue->ddcb_daddr + 252 (queue->ddcb_max * DDCB_LENGTH), 253 (long long)queue->ddcb_vaddr, queue->ddcbs_in_flight, 254 queue [all...] |
/drivers/message/i2o/ |
H A D | i2o_block.h | 26 * Added a queue depth. 29 * Removed queue walk, fixed for 64bitness. 34 * Heavily chop down the queue depths 59 /* request queue sizes */ 75 spinlock_t lock; /* queue lock */ 78 unsigned int open_queue_depth; /* number of requests in the queue */ 89 struct list_head queue; member in struct:i2o_block_request 100 struct request_queue *queue; member in struct:i2o_block_delayed_request
|
/drivers/net/xen-netback/ |
H A D | common.h | 106 /* IRQ name is queue name with "-tx" or "-rx" appended */ 112 /* Stats fields to be updated per-queue. 114 * fields that are updated in netback.c for each queue. 129 struct xenvif_queue { /* Per-queue data for xenvif */ 266 int xenvif_init_queue(struct xenvif_queue *queue); 267 void xenvif_deinit_queue(struct xenvif_queue *queue); 269 int xenvif_connect(struct xenvif_queue *queue, unsigned long tx_ring_ref, 280 int xenvif_queue_stopped(struct xenvif_queue *queue); 281 void xenvif_wake_queue(struct xenvif_queue *queue); 284 void xenvif_unmap_frontend_rings(struct xenvif_queue *queue); 317 nr_pending_reqs(struct xenvif_queue *queue) argument [all...] |
H A D | xenbus.c | 39 static int connect_rings(struct backend_info *be, struct xenvif_queue *queue); 52 struct xenvif_queue *queue = m->private; local 53 struct xen_netif_tx_back_ring *tx_ring = &queue->tx; 54 struct xen_netif_rx_back_ring *rx_ring = &queue->rx; 60 seq_printf(m, "Queue %d\nTX: nr_ents %u\n", queue->id, 76 queue->pending_prod, 77 queue->pending_cons, 78 nr_pending_reqs(queue)); 80 queue->dealloc_prod, 81 queue 133 struct xenvif_queue *queue = local 167 void *queue = NULL; local 686 struct xenvif_queue *queue; local 787 connect_rings(struct backend_info *be, struct xenvif_queue *queue) argument [all...] |
/drivers/soc/ti/ |
H A D | knav_qmss_acc.c | 2 * Keystone accumulator queue manager 45 int range_base, queue; local 50 for (queue = 0; queue < range->num_queues; queue++) { 52 queue); 56 range_base + queue); 61 queue = acc->channel - range->acc_info.start_channel; 62 inst = knav_range_offset_to_inst(kdev, range, queue); 64 range_base + queue); 104 int range_base, channel, queue = 0; local 212 knav_range_setup_acc_irq(struct knav_range_info *range, int queue, bool enabled) argument 313 knav_acc_setup_cmd(struct knav_device *kdev, struct knav_range_info *range, struct knav_reg_acc_command *cmd, int queue) argument 347 knav_acc_stop(struct knav_device *kdev, struct knav_range_info *range, int queue) argument 365 knav_acc_start(struct knav_device *kdev, struct knav_range_info *range, int queue) argument 390 int queue; local [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | dma.c | 27 * handle queue setup for 5210 chipset (rest are handled on qcu.c). 116 * ath5k_hw_start_tx_dma() - Start DMA transmit for a specific queue 118 * @queue: The hw queue number 120 * Start DMA transmit for a specific queue and since 5210 doesn't have 121 * QCU/DCU, set up queue parameters for 5210 here based on queue type (one 122 * queue for normal data and one queue for beacons). For queue setu 130 ath5k_hw_start_tx_dma(struct ath5k_hw *ah, unsigned int queue) argument 188 ath5k_hw_stop_tx_dma(struct ath5k_hw *ah, unsigned int queue) argument 328 ath5k_hw_stop_beacon_queue(struct ath5k_hw *ah, unsigned int queue) argument 353 ath5k_hw_get_txdp(struct ath5k_hw *ah, unsigned int queue) argument 396 ath5k_hw_set_txdp(struct ath5k_hw *ah, unsigned int queue, u32 phys_addr) argument [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00mac.c | 31 struct data_queue *queue, 91 retval = rt2x00queue_write_tx_frame(queue, skb, NULL, true); 107 struct data_queue *queue = NULL; local 119 * Use the ATIM queue if appropriate and present. 125 queue = rt2x00queue_get_tx_queue(rt2x00dev, qid); 126 if (unlikely(!queue)) { 128 "Attempt to send packet over invalid queue %d\n" 134 * If CTS/RTS is required. create and queue that frame first. 145 if (rt2x00queue_available(queue) <= 1) 148 if (rt2x00mac_tx_rts_cts(rt2x00dev, queue, sk 30 rt2x00mac_tx_rts_cts(struct rt2x00_dev *rt2x00dev, struct data_queue *queue, struct sk_buff *frag_skb) argument 203 struct data_queue *queue = rt2x00dev->bcn; local 711 struct data_queue *queue; local 756 struct data_queue *queue; local 837 struct data_queue *queue; local 852 struct data_queue *queue; local [all...] |
H A D | rt2800mmio.c | 55 const unsigned int txwi_size = entry->queue->winfo_size; 192 * For example, a tx queue 199 * in the tx queue with a matching wcid. 252 struct data_queue *queue; local 261 * Unknown queue, this shouldn't happen. Just drop 269 queue = rt2x00queue_get_tx_queue(rt2x00dev, qid); 270 if (unlikely(queue == NULL)) { 272 * The queue is NULL, this shouldn't happen. Stop 275 rt2x00_warn(rt2x00dev, "Got TX status for an unavailable queue %u, dropping\n", 280 if (unlikely(rt2x00queue_empty(queue))) { 556 rt2800mmio_start_queue(struct data_queue *queue) argument 584 rt2800mmio_kick_queue(struct data_queue *queue) argument 609 rt2800mmio_stop_queue(struct data_queue *queue) argument 646 rt2800mmio_queue_init(struct data_queue *queue) argument [all...] |
H A D | rt2x00queue.h | 21 Abstract: rt2x00 queue datastructures and routines 46 * @QID_AC_VO: AC VO queue 47 * @QID_AC_VI: AC VI queue 48 * @QID_AC_BE: AC BE queue 49 * @QID_AC_BK: AC BK queue 50 * @QID_HCCA: HCCA queue 51 * @QID_MGMT: MGMT queue (prio queue) 52 * @QID_RX: RX queue 54 * @QID_BEACON: Beacon queue (valu 381 struct data_queue *queue; member in struct:queue_entry 596 rt2x00queue_empty(struct data_queue *queue) argument 605 rt2x00queue_full(struct data_queue *queue) argument 614 rt2x00queue_available(struct data_queue *queue) argument 623 rt2x00queue_threshold(struct data_queue *queue) argument [all...] |
/drivers/block/rsxx/ |
H A D | dev.c | 283 card->queue = blk_alloc_queue(GFP_KERNEL); 284 if (!card->queue) { 285 dev_err(CARD_TO_DEV(card), "Failed queue alloc\n"); 293 blk_cleanup_queue(card->queue); 300 blk_queue_dma_alignment(card->queue, blk_size - 1); 301 blk_queue_logical_block_size(card->queue, blk_size); 304 blk_queue_make_request(card->queue, rsxx_make_request); 305 blk_queue_bounce_limit(card->queue, BLK_BOUNCE_ANY); 306 blk_queue_max_hw_sectors(card->queue, blkdev_max_hw_sectors); 307 blk_queue_physical_block_size(card->queue, RSXX_HW_BLK_SIZ [all...] |
/drivers/gpu/drm/ttm/ |
H A D | ttm_lock.c | 48 init_waitqueue_head(&lock->queue); 60 wake_up_all(&lock->queue); 88 ret = wait_event_interruptible(lock->queue, 91 wait_event(lock->queue, __ttm_read_lock(lock)); 127 (lock->queue, __ttm_read_trylock(lock, &locked)); 129 wait_event(lock->queue, __ttm_read_trylock(lock, &locked)); 143 wake_up_all(&lock->queue); 174 ret = wait_event_interruptible(lock->queue, 179 wake_up_all(&lock->queue); 183 wait_event(lock->queue, __ttm_read_loc [all...] |
/drivers/staging/rtl8723au/include/ |
H A D | osdep_service.h | 51 struct list_head queue; member in struct:rtw_queue 55 static inline struct list_head *get_list_head(struct rtw_queue *queue) argument 57 return &queue->queue;
|
/drivers/watchdog/ |
H A D | mtx-1_wdt.c | 64 int queue; member in struct:__anon7281 81 if (mtx1_wdt_device.queue && ticks) 99 if (!mtx1_wdt_device.queue) { 100 mtx1_wdt_device.queue = 1; 114 if (mtx1_wdt_device.queue) { 115 mtx1_wdt_device.queue = 0; 220 mtx1_wdt_device.queue = 0; 238 if (mtx1_wdt_device.queue) { 239 mtx1_wdt_device.queue = 0;
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-op-mode.h | 123 * @queue_full: notifies that a HW queue is full. 125 * @queue_not_full: notifies that a HW queue is not full any more. 136 * @cmd_queue_full: Called when the command queue gets full. Must be atomic and 157 void (*queue_full)(struct iwl_op_mode *op_mode, int queue); 158 void (*queue_not_full)(struct iwl_op_mode *op_mode, int queue); 198 int queue) 200 op_mode->ops->queue_full(op_mode, queue); 204 int queue) 206 op_mode->ops->queue_not_full(op_mode, queue); 197 iwl_op_mode_queue_full(struct iwl_op_mode *op_mode, int queue) argument 203 iwl_op_mode_queue_not_full(struct iwl_op_mode *op_mode, int queue) argument
|
/drivers/scsi/aacraid/ |
H A D | comminit.c | 263 * queue headers. 273 /* Adapter to Host normal priority Command queue */ 274 comm->queue[HostNormCmdQueue].base = queues; 275 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); 279 /* Adapter to Host high priority command queue */ 280 comm->queue[HostHighCmdQueue].base = queues; 281 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); 286 /* Host to adapter normal priority command queue */ 287 comm->queue[AdapNormCmdQueue].base = queues; 288 aac_queue_init(dev, &comm->queue[AdapNormCmdQueu [all...] |
/drivers/staging/rtl8188eu/os_dep/ |
H A D | xmit_linux.c | 114 u16 queue; local 117 queue = skb_get_queue_mapping(pkt); 119 if (__netif_subqueue_stopped(padapter->pnetdev, queue) && 120 (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) 121 netif_wake_subqueue(padapter->pnetdev, queue); 123 if (__netif_subqueue_stopped(padapter->pnetdev, queue)) 124 netif_wake_subqueue(padapter->pnetdev, queue); 157 u16 queue; local 159 queue = skb_get_queue_mapping(pkt); 162 if (pxmitpriv->hwxmits[queue] [all...] |
/drivers/usb/gadget/udc/ |
H A D | s3c2410_udc.h | 18 struct list_head queue; member in struct:s3c2410_ep 56 struct list_head queue; /* ep's requests */ member in struct:s3c2410_request
|
/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 85 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue); 86 static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue); 358 struct s_smt_tx_queue *queue ; local 366 queue = smc->hw.fp.tx[QUEUE_A0] ; 372 queue->tx_curr_put = queue->tx_curr_get = ds ; 374 queue->tx_free = HWM_ASYNC_TXD_COUNT ; 375 queue->tx_used = 0 ; 380 queue = smc->hw.fp.tx[QUEUE_S] ; 386 queue 395 struct s_smt_rx_queue *queue ; local 586 repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue) argument 638 repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue) argument 1047 struct s_smt_rx_queue *queue ; /* points to the queue ctl struct */ local 1467 struct s_smt_rx_queue *queue ; local 1632 struct s_smt_tx_queue *queue ; local 1816 struct s_smt_tx_queue *queue ; local 1943 struct s_smt_tx_queue *queue ; local 2034 struct s_smt_tx_queue *queue ; local [all...] |
/drivers/staging/unisys/visorchannel/ |
H A D | visorchannel.h | 58 BOOL visorchannel_signalremove(VISORCHANNEL *channel, u32 queue, void *msg); 59 BOOL visorchannel_signalinsert(VISORCHANNEL *channel, u32 queue, void *msg); 60 int visorchannel_signalqueue_slots_avail(VISORCHANNEL *channel, u32 queue); 61 int visorchannel_signalqueue_max_slots(VISORCHANNEL *channel, u32 queue);
|
H A D | visorchannel_funcs.c | 296 /** Return offset of a specific queue entry (data) from the beginning of a 306 #define SIG_WRITE_FIELD(channel, queue, sig_hdr, FIELD) \ 308 SIG_QUEUE_OFFSET(&channel->chan_hdr, queue)+ \ 314 sig_read_header(VISORCHANNEL *channel, u32 queue, argument 327 SIG_QUEUE_OFFSET(&channel->chan_hdr, queue), 329 ERRDRV("queue=%d SIG_QUEUE_OFFSET=%d", 330 queue, (int)SIG_QUEUE_OFFSET(&channel->chan_hdr, queue)); 331 ERRDRV("visor_memregion_read of signal queue failed: (status=%d)\n", rc); 340 sig_do_data(VISORCHANNEL *channel, u32 queue, argument 366 sig_read_data(VISORCHANNEL *channel, u32 queue, SIGNAL_QUEUE_HEADER *sig_hdr, u32 slot, void *data) argument 373 sig_write_data(VISORCHANNEL *channel, u32 queue, SIGNAL_QUEUE_HEADER *sig_hdr, u32 slot, void *data) argument 402 visorchannel_signalremove(VISORCHANNEL *channel, u32 queue, void *msg) argument 448 visorchannel_signalinsert(VISORCHANNEL *channel, u32 queue, void *msg) argument 502 visorchannel_signalqueue_slots_avail(VISORCHANNEL *channel, u32 queue) argument 521 visorchannel_signalqueue_max_slots(VISORCHANNEL *channel, u32 queue) argument [all...] |
/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_intr.c | 28 ret = wait_event_interruptible_timeout(dev->queue, 60 ret = wait_event_interruptible_timeout(ctx->queue, 65 ret = wait_event_timeout(ctx->queue,
|
/drivers/mfd/ |
H A D | pcf50633-adc.c | 47 struct pcf50633_adc_request *queue[PCF50633_MAX_ADC_FIFO_DEPTH]; member in struct:pcf50633_adc 78 if (!adc->queue[head]) 81 adc_setup(pcf, adc->queue[head]->mux, adc->queue[head]->avg); 95 if (adc->queue[tail]) { 97 dev_err(pcf->dev, "ADC queue is full, dropping request\n"); 101 adc->queue[tail] = req; 182 req = adc->queue[head]; 184 dev_err(pcf->dev, "pcf50633-adc irq: ADC queue empty!\n"); 188 adc->queue[hea [all...] |
/drivers/net/wireless/ti/wlcore/ |
H A D | tx.h | 198 static inline int wl1271_tx_get_queue(int queue) argument 200 switch (queue) { 215 int wlcore_tx_get_mac80211_queue(struct wl12xx_vif *wlvif, int queue) argument 219 switch (queue) { 263 u8 queue, enum wlcore_queue_stop_reason reason); 264 void wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, 266 void wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, 273 struct wl12xx_vif *wlvif, u8 queue, 278 u8 queue, 281 u8 queue); [all...] |