/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | 303 static int iwl_mvm_invalidate_sta_queue(struct iwl_mvm *mvm, int queue, argument 316 sta_id = mvm->queue_info[queue].ra_sta_id; 344 /* Notify FW of queue removal from the STA queues */ 354 int queue = *queueptr; local 356 .scd_queue = queue, 384 iwl_trans_txq_free(mvm->trans, queue); 390 if (WARN_ON(mvm->queue_info[queue].tid_bitmap == 0)) 393 mvm->queue_info[queue].tid_bitmap &= ~BIT(tid); 395 cmd.action = mvm->queue_info[queue].tid_bitmap ? 398 mvm->queue_info[queue] 444 iwl_mvm_get_queue_agg_tids(struct iwl_mvm *mvm, int queue) argument 484 iwl_mvm_remove_sta_queue_marking(struct iwl_mvm *mvm, int queue) argument 547 iwl_mvm_free_inactive_queue(struct iwl_mvm *mvm, int queue, struct ieee80211_sta *old_sta, u8 new_sta_id) argument 597 int queue = 0; local 663 iwl_mvm_reconfig_scd(struct iwl_mvm *mvm, int queue, int fifo, int sta_id, int tid, int frame_limit, u16 ssn) argument 701 iwl_mvm_redirect_queue(struct iwl_mvm *mvm, int queue, int tid, int ac, int ssn, unsigned int wdg_timeout, bool force, struct iwl_mvm_txq *txq) argument 849 int queue, size; local 919 int queue = -1; local 944 iwl_mvm_update_txq_mapping(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u8 sta_id, u8 tid) argument 988 iwl_mvm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u16 ssn, const struct iwl_trans_txq_scd_cfg *cfg, unsigned int wdg_timeout) argument 1023 iwl_mvm_change_queue_tid(struct iwl_mvm *mvm, int queue) argument 1060 iwl_mvm_unshare_queue(struct iwl_mvm *mvm, int queue) argument 1146 iwl_mvm_remove_inactive_tids(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int queue, unsigned long tid_bitmap, unsigned long *unshare_queues, unsigned long *changetid_queues) argument 1349 int queue = -1; local 1591 int queue; local 2197 iwl_mvm_enable_aux_snif_queue(struct iwl_mvm *mvm, u16 queue, u8 sta_id, u8 fifo) argument 2226 iwl_mvm_add_int_sta_with_queue(struct iwl_mvm *mvm, int macidx, int maccolor, u8 *addr, struct iwl_mvm_int_sta *sta, u16 *queue, int fifo) argument 2362 int queue; local 2438 u16 *queueptr, queue; local 2616 int queue = iwl_mvm_tvqm_enable_txq(mvm, NULL, msta->sta_id, local 3028 iwl_mvm_sta_tx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int tid, u8 queue, bool start) argument 3211 int queue, ret; local 4326 u16 queue; local [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | ctrl.c | 50 unsigned int queue, bool is_u64, u64 *res) 58 qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; 66 nfp_err(cpp, "RED offload reading stat failed on vNIC %d band %d queue %d (+ %d)\n", 67 alink->id, band, queue, alink->queue_base); 99 unsigned int queue, u32 val) 103 threshold = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; 132 unsigned int queue, enum nfp_abm_q_action act) 136 qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; 141 u64 nfp_abm_ctrl_stat_non_sto(struct nfp_abm_link *alink, unsigned int queue) argument 149 band, queue, tru 48 nfp_abm_ctrl_stat(struct nfp_abm_link *alink, const struct nfp_rtsym *sym, unsigned int stride, unsigned int offset, unsigned int band, unsigned int queue, bool is_u64, u64 *res) argument 98 nfp_abm_ctrl_set_q_lvl(struct nfp_abm_link *alink, unsigned int band, unsigned int queue, u32 val) argument 131 nfp_abm_ctrl_set_q_act(struct nfp_abm_link *alink, unsigned int band, unsigned int queue, enum nfp_abm_q_action act) argument 157 nfp_abm_ctrl_stat_sto(struct nfp_abm_link *alink, unsigned int queue) argument 174 nfp_abm_ctrl_stat_basic(struct nfp_abm_link *alink, unsigned int band, unsigned int queue, unsigned int off, u64 *val) argument 195 nfp_abm_ctrl_read_q_stats(struct nfp_abm_link *alink, unsigned int band, unsigned int queue, struct nfp_alink_stats *stats) argument 233 nfp_abm_ctrl_read_q_xstats(struct nfp_abm_link *alink, unsigned int band, unsigned int queue, struct nfp_alink_xstats *xstats) argument [all...] |
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800mmio.h | 117 unsigned int rt2800mmio_get_dma_done(struct data_queue *queue); 139 void rt2800mmio_start_queue(struct data_queue *queue); 140 void rt2800mmio_kick_queue(struct data_queue *queue); 141 void rt2800mmio_flush_queue(struct data_queue *queue, bool drop); 142 void rt2800mmio_stop_queue(struct data_queue *queue); 143 void rt2800mmio_queue_init(struct data_queue *queue);
|
H A D | rt2x00queue.h | 10 Abstract: rt2x00 queue datastructures and routines 35 * @QID_AC_VO: AC VO queue 36 * @QID_AC_VI: AC VI queue 37 * @QID_AC_BE: AC BE queue 38 * @QID_AC_BK: AC BK queue 39 * @QID_HCCA: HCCA queue 40 * @QID_MGMT: MGMT queue (prio queue) 41 * @QID_RX: RX queue 43 * @QID_BEACON: Beacon queue (valu 372 struct data_queue *queue; member in struct:queue_entry 591 rt2x00queue_empty(struct data_queue *queue) argument 600 rt2x00queue_full(struct data_queue *queue) argument 609 rt2x00queue_available(struct data_queue *queue) argument 618 rt2x00queue_threshold(struct data_queue *queue) argument [all...] |
/linux-master/net/netfilter/ |
H A D | nfnetlink_queue.c | 70 u_int16_t queue_num; /* number of this queue */ 80 struct list_head queue_list; /* packets in queue */ 163 static void nfqnl_flush(struct nfqnl_instance *queue, nfqnl_cmpfn cmpfn, 193 __enqueue_entry(struct nfqnl_instance *queue, struct nf_queue_entry *entry) argument 195 list_add_tail(&entry->list, &queue->queue_list); 196 queue->queue_total++; 200 __dequeue_entry(struct nfqnl_instance *queue, struct nf_queue_entry *entry) argument 203 queue->queue_total--; 207 find_dequeue_entry(struct nfqnl_instance *queue, unsigned int id) argument 211 spin_lock_bh(&queue 401 nfqnl_flush(struct nfqnl_instance *queue, nfqnl_cmpfn cmpfn, unsigned long data) argument 542 nfqnl_build_packet_message(struct net *net, struct nfqnl_instance *queue, struct nf_queue_entry *entry, __be32 **packet_id_ptr) argument 830 __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue, struct nf_queue_entry *entry) argument 926 __nfqnl_enqueue_packet_gso(struct net *net, struct nfqnl_instance *queue, struct sk_buff *skb, struct nf_queue_entry *entry) argument 959 struct nfqnl_instance *queue; local 1052 nfqnl_set_mode(struct nfqnl_instance *queue, unsigned char mode, unsigned int range) argument 1220 struct nfqnl_instance *queue; local 1261 struct nfqnl_instance *queue; local 1373 struct nfqnl_instance *queue; local 1456 struct nfqnl_instance *queue; local [all...] |
/linux-master/drivers/nvme/target/ |
H A D | fc.c | 91 struct nvmet_fc_tgt_queue *queue; member in struct:nvmet_fc_fcp_iod 185 return (fodptr - fodptr->queue->fod); 197 * note: Association ID = Connection ID for queue 0 249 static void nvmet_fc_tgt_q_put(struct nvmet_fc_tgt_queue *queue); 250 static int nvmet_fc_tgt_q_get(struct nvmet_fc_tgt_queue *queue); 471 * terminates the FC-NVME connections (per queue, both admin and io 636 struct nvmet_fc_tgt_queue *queue) 638 struct nvmet_fc_fcp_iod *fod = queue->fod; 641 for (i = 0; i < queue->sqsize; fod++, i++) { 644 fod->queue 635 nvmet_fc_prep_fcp_iodlist(struct nvmet_fc_tgtport *tgtport, struct nvmet_fc_tgt_queue *queue) argument 670 nvmet_fc_destroy_fcp_iodlist(struct nvmet_fc_tgtport *tgtport, struct nvmet_fc_tgt_queue *queue) argument 684 nvmet_fc_alloc_fcp_iod(struct nvmet_fc_tgt_queue *queue) argument 706 nvmet_fc_queue_fcp_req(struct nvmet_fc_tgtport *tgtport, struct nvmet_fc_tgt_queue *queue, struct nvmefc_tgt_fcp_req *fcpreq) argument 734 nvmet_fc_free_fcp_iod(struct nvmet_fc_tgt_queue *queue, struct nvmet_fc_fcp_iod *fod) argument 802 struct nvmet_fc_tgt_queue *queue; local 854 struct nvmet_fc_tgt_queue *queue = local 865 nvmet_fc_tgt_q_put(struct nvmet_fc_tgt_queue *queue) argument 871 nvmet_fc_tgt_q_get(struct nvmet_fc_tgt_queue *queue) argument 878 nvmet_fc_delete_target_queue(struct nvmet_fc_tgt_queue *queue) argument 960 struct nvmet_fc_tgt_queue *queue; local 1586 struct nvmet_fc_tgt_queue *queue; local 1668 struct nvmet_fc_tgt_queue *queue; local 1759 struct nvmet_fc_tgt_queue *queue; local 2667 struct nvmet_fc_tgt_queue *queue; local 2776 struct nvmet_fc_tgt_queue *queue; local [all...] |
H A D | loop.c | 23 struct nvme_loop_queue *queue; member in struct:nvme_loop_iod 69 static inline int nvme_loop_queue_idx(struct nvme_loop_queue *queue) argument 71 return queue - queue->ctrl->queues; 82 static struct blk_mq_tags *nvme_loop_tagset(struct nvme_loop_queue *queue) argument 84 u32 queue_idx = nvme_loop_queue_idx(queue); 87 return queue->ctrl->admin_tag_set.tags[queue_idx]; 88 return queue->ctrl->tag_set.tags[queue_idx - 1]; 93 struct nvme_loop_queue *queue = local 99 * survive any kind of queue freez 135 struct nvme_loop_queue *queue = hctx->driver_data; local 176 struct nvme_loop_queue *queue = &ctrl->queues[0]; local 222 struct nvme_loop_queue *queue = &ctrl->queues[hctx_idx + 1]; local 242 struct nvme_loop_queue *queue = &ctrl->queues[0]; local [all...] |
/linux-master/drivers/net/wireguard/ |
H A D | queueing.h | 24 int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function, 26 void wg_packet_queue_free(struct crypt_queue *queue, bool purge); 134 void wg_prev_queue_init(struct prev_queue *queue); 137 bool wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb); 140 struct sk_buff *wg_prev_queue_dequeue(struct prev_queue *queue); 143 static inline struct sk_buff *wg_prev_queue_peek(struct prev_queue *queue) argument 145 if (queue->peeked) 146 return queue->peeked; 147 queue->peeked = wg_prev_queue_dequeue(queue); 152 wg_prev_queue_drop_peeked(struct prev_queue *queue) argument [all...] |
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_timer.c | 30 * if queue is not started yet, start it. 55 * if no more timer exists, stop the queue. 137 ev.queue = dp->queue; 138 ev.data.queue.queue = dp->queue; 139 ev.data.queue.param.value = value; 144 * set queue tempo and start queue [all...] |
/linux-master/drivers/staging/rtl8712/ |
H A D | osdep_service.h | 34 struct list_head queue; member in struct:__queue 43 INIT_LIST_HEAD(&((pqueue)->queue)); \
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | igt_reset.c | 22 wait_event(gt->reset.queue, 42 wake_up_all(>->reset.queue);
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_video.h | 21 struct list_head queue; member in struct:vsp1_vb2_buffer 44 struct vb2_queue queue; member in struct:vsp1_video
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device_queue_manager_v11.c | 31 static void init_sdma_vm_v11(struct device_queue_manager *dqm, struct queue *q, 76 static void init_sdma_vm_v11(struct device_queue_manager *dqm, struct queue *q,
|
H A D | kfd_device_queue_manager_v10.c | 32 static void init_sdma_vm_v10(struct device_queue_manager *dqm, struct queue *q, 76 static void init_sdma_vm_v10(struct device_queue_manager *dqm, struct queue *q,
|
H A D | kfd_kernel_queue.h | 34 * queue ring buffer where the calling function can write its packet. It is 39 * kq_submit_packet: Update the write pointer and doorbell of a kernel queue. 58 struct queue *queue; member in struct:kernel_queue
|
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_capture.h | 28 struct list_head queue; member in struct:sun6i_isp_capture_state 43 struct vb2_queue queue; member in struct:sun6i_isp_capture
|
/linux-master/include/linux/ |
H A D | ptr_ring.h | 38 int size ____cacheline_aligned_in_smp; /* max entries in queue */ 40 void **queue; member in struct:ptr_ring 51 return r->queue[r->producer]; 106 if (unlikely(!r->size) || r->queue[r->producer]) 113 WRITE_ONCE(r->queue[r->producer++], ptr); 172 return READ_ONCE(r->queue[r->consumer_head]); 197 return !r->queue[READ_ONCE(r->consumer_head)]; 253 * r->queue[consumer++] = NULL; 280 r->queue[head--] = NULL; 477 r->batch = SMP_CACHE_BYTES * 2 / sizeof(*(r->queue)); 558 __ptr_ring_swap_queue(struct ptr_ring *r, void **queue, int size, gfp_t gfp, void (*destroy)(void *)) argument 594 void **queue = __ptr_ring_init_queue_alloc(size, gfp); local [all...] |
/linux-master/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 77 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue); 78 static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue); 350 struct s_smt_tx_queue *queue ; local 358 queue = smc->hw.fp.tx[QUEUE_A0] ; 364 queue->tx_curr_put = queue->tx_curr_get = ds ; 366 queue->tx_free = HWM_ASYNC_TXD_COUNT ; 367 queue->tx_used = 0 ; 372 queue = smc->hw.fp.tx[QUEUE_S] ; 378 queue 387 struct s_smt_rx_queue *queue ; local 578 repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue) argument 630 repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue) argument 1039 struct s_smt_rx_queue *queue ; /* points to the queue ctl struct */ local 1459 struct s_smt_rx_queue *queue ; local 1624 struct s_smt_tx_queue *queue ; local 1808 struct s_smt_tx_queue *queue ; local 1935 struct s_smt_tx_queue *queue ; local 2026 struct s_smt_tx_queue *queue ; local [all...] |
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_ethtool.c | 96 /* first queue pair is within TSNEP_MAC_SIZE, only queues additional to 97 * the first queue pair extend the register length by TSNEP_QUEUE_SIZE 338 if (adapter->queue[i].tx) { 340 return &adapter->queue[i]; 355 if (adapter->queue[i].rx) { 357 return &adapter->queue[i]; 372 struct tsnep_queue *queue; local 374 queue = tsnep_get_queue_with_rx(adapter, 0); 375 if (queue) 376 ec->rx_coalesce_usecs = tsnep_get_irq_coalesce(queue); 409 tsnep_ethtool_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) argument 431 tsnep_ethtool_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) argument [all...] |
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf.h | 23 /* Default command queue length */ 36 u32 idx; /* Command queue host write idx */ 39 * Command queue head, instructions 47 u32 qchunksize; /* Command queue chunk size */ 48 struct otx_cpt_cmd_queue queue[OTX_CPT_NUM_QS_PER_VF]; member in struct:otx_cpt_cmd_qinfo 53 struct otx_cpt_pending_queue queue[OTX_CPT_NUM_QS_PER_VF]; member in struct:otx_cpt_pending_qinfo 57 for (i = 0, q = &qinfo->queue[i]; i < qinfo->num_queues; i++, \ 58 q = &qinfo->queue[i]) 88 struct otx_cpt_cmd_qinfo cqinfo; /* Command queue information */ 89 struct otx_cpt_pending_qinfo pqinfo; /* Pending queue informatio [all...] |
/linux-master/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_int.c | 28 s32 queue; local 34 /* Process high-priority queue and then low-priority queue. */ 35 for (queue = 0; queue < RX_DESC_QUEUE_NUM; queue++) { 36 rx_pos = comm->rx_pos[queue]; 37 rx_count = comm->rx_desc_num[queue]; 40 sinfo = comm->rx_skb_info[queue] + rx_pos; 41 desc = comm->rx_desc[queue] [all...] |
/linux-master/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_intr.c | 25 ret = wait_event_interruptible_timeout(dev->queue, 57 ret = wait_event_interruptible_timeout(ctx->queue, 62 ret = wait_event_timeout(ctx->queue,
|
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_queue.c | 36 * Device attributes common for all crypto queue devices. 69 ZCRYPT_DBF_INFO("%s queue=%02x.%04x online=%d\n", 70 __func__, AP_QID_CARD(zq->queue->qid), 71 AP_QID_QUEUE(zq->queue->qid), online); 76 ap_flush_queue(zq->queue); 108 ap_flush_queue(zq->queue); 162 * zcrypt_queue_register() - Register a crypto queue device. 163 * @zq: Pointer to a crypto queue device 165 * Register a crypto queue device. Returns 0 if successful. 173 zc = dev_get_drvdata(&zq->queue [all...] |
/linux-master/sound/virtio/ |
H A D | virtio_ctl_msg.c | 117 * Context: Any context. Takes and releases the control queue spinlock. 126 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); local 150 spin_lock_irqsave(&queue->lock, flags); 151 rc = virtqueue_add_sgs(queue->vqueue, psgs, nouts, nins, msg, 154 notify = virtqueue_kick_prepare(queue->vqueue); 158 spin_unlock_irqrestore(&queue->lock, flags); 174 virtqueue_notify(queue->vqueue); 216 * Context: Any context. Expects the control queue spinlock to be held by 235 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); local 238 spin_lock_irqsave(&queue 296 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); local [all...] |
/linux-master/drivers/net/xen-netback/ |
H A D | common.h | 103 /* IRQ name is queue name with "-tx" or "-rx" appended */ 109 /* Stats fields to be updated per-queue. 111 * fields that are updated in netback.c for each queue. 135 struct xenvif_queue { /* Per-queue data for xenvif */ 350 int xenvif_init_queue(struct xenvif_queue *queue); 351 void xenvif_deinit_queue(struct xenvif_queue *queue); 353 int xenvif_connect_data(struct xenvif_queue *queue, 368 void xenvif_unmap_frontend_data_rings(struct xenvif_queue *queue); 369 int xenvif_map_frontend_data_rings(struct xenvif_queue *queue, 374 void xenvif_napi_schedule_or_enable_events(struct xenvif_queue *queue); 397 nr_pending_reqs(struct xenvif_queue *queue) argument [all...] |