Home
last modified time | relevance | path

Searched refs:q_num (Results 1 – 25 of 49) sorted by relevance

12

/linux/drivers/net/wireless/rsi/
H A Drsi_91x_core.c103 if (q_num == VI_Q) in rsi_get_num_pkts_dequeue()
147 return q_num; in rsi_core_determine_hal_queue()
152 return q_num; in rsi_core_determine_hal_queue()
156 return q_num; in rsi_core_determine_hal_queue()
168 ii = q_num; in rsi_core_determine_hal_queue()
177 q_num = ii; in rsi_core_determine_hal_queue()
202 if (q_num == VO_Q || q_num == VI_Q) { in rsi_core_determine_hal_queue()
207 return q_num; in rsi_core_determine_hal_queue()
241 u8 q_num) in rsi_core_dequeue_pkt() argument
266 u8 q_num; in rsi_core_qos_processor() local
[all …]
H A Drsi_91x_coex.c25 enum rsi_coex_queues q_num = RSI_COEX_Q_INVALID; in rsi_coex_determine_coex_q() local
28 q_num = RSI_COEX_Q_COMMON; in rsi_coex_determine_coex_q()
30 q_num = RSI_COEX_Q_BT; in rsi_coex_determine_coex_q()
32 q_num = RSI_COEX_Q_WLAN; in rsi_coex_determine_coex_q()
34 return q_num; in rsi_coex_determine_coex_q()
H A Drsi_91x_sdio_ops.c336 int rsi_sdio_check_buffer_status(struct rsi_hw *adapter, u8 q_num) in rsi_sdio_check_buffer_status() argument
390 if ((q_num == MGMT_SOFT_Q) && (dev->rx_info.mgmt_buffer_full)) in rsi_sdio_check_buffer_status()
393 if ((q_num < MGMT_SOFT_Q) && (dev->rx_info.buffer_full)) in rsi_sdio_check_buffer_status()
H A Drsi_usb.h73 static inline int rsi_usb_check_queue_status(struct rsi_hw *adapter, u8 q_num) in rsi_usb_check_queue_status() argument
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_stats.c212 int q_num; in ionic_get_lif_stats() local
216 for (q_num = 0; q_num < MAX_Q(lif); q_num++) { in ionic_get_lif_stats()
255 int q_num) in ionic_sw_stats_get_tx_strings() argument
265 int q_num) in ionic_sw_stats_get_rx_strings() argument
276 int i, q_num; in ionic_sw_stats_get_strings() local
284 for (q_num = 0; q_num < MAX_Q(lif); q_num++) in ionic_sw_stats_get_strings()
290 for (q_num = 0; q_num < MAX_Q(lif); q_num++) in ionic_sw_stats_get_strings()
298 int q_num) in ionic_sw_stats_get_txq_values() argument
329 int i, q_num; in ionic_sw_stats_get_values() local
345 for (q_num = 0; q_num < MAX_Q(lif); q_num++) in ionic_sw_stats_get_values()
[all …]
/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_msg.c50 return q_num; in get_q_num()
60 trans_q = q_num; in set_q_num()
551 u32 q_num; in bcm_vk_append_ib_sgl() local
757 u16 q_num, in bcm_vk_dequeue_pending() argument
802 for (q_num = 0; q_num < chan->q_nr; q_num++) { in bcm_to_h_msg_dequeue()
888 q_num, in bcm_to_h_msg_dequeue()
1013 u32 q_num; in bcm_vk_read() local
1027 for (q_num = 0; q_num < chan->q_nr; q_num++) { in bcm_vk_read()
1084 u32 q_num; in bcm_vk_write() local
1139 ctx->q_num = q_num; in bcm_vk_write()
[all …]
H A Dbcm_vk.h179 #define VK_BAR0_Q_DB_BASE(q_num) (VK_BAR0_REGSEG_DB_BASE + \ argument
180 ((q_num) * VK_BAR0_REGSEG_DB_REG_GAP))
507 const pid_t pid, const u32 q_num);
508 void bcm_to_v_q_doorbell(struct bcm_vk *vk, u32 q_num, u32 db_val);
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c570 ethtool_sprintf(string, "cq%d_intr", q_num); in bnad_get_cq_strings()
571 ethtool_sprintf(string, "cq%d_poll", q_num); in bnad_get_cq_strings()
580 ethtool_sprintf(string, "rxq%d_bytes", q_num); in bnad_get_rxq_strings()
601 int i, j, q_num; in bnad_get_strings() local
628 q_num = 0; in bnad_get_strings()
633 bnad_get_cq_strings(&string, q_num++); in bnad_get_strings()
636 q_num = 0; in bnad_get_strings()
641 bnad_get_rxq_strings(&string, q_num++); in bnad_get_strings()
645 bnad_get_rxq_strings(&string, q_num++); in bnad_get_strings()
649 q_num = 0; in bnad_get_strings()
[all …]
/linux/drivers/scsi/snic/
H A Dsnic_io.c45 u16 q_num, in snic_wq_cmpl_handler_cont() argument
52 SNIC_BUG_ON(q_num != 0); in snic_wq_cmpl_handler_cont()
54 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
55 svnic_wq_service(&snic->wq[q_num], in snic_wq_cmpl_handler_cont()
60 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
132 if (q_num > 0) { in snic_wqdesc_avail()
138 SNIC_BUG_ON(q_num > 0); in snic_wqdesc_avail()
157 int q_num = 0; in snic_queue_wq_desc() local
171 q_num = snic_select_wq(snic); in snic_queue_wq_desc()
173 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
[all …]
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c34 wilc->txq[q_num].count--; in wilc_wlan_txq_remove()
306 q->cnt[q_num] += factors[q_num]; in is_ac_q_limit()
330 u8 q_num = AC_BE_Q; in ac_classify() local
341 return q_num; in ac_classify()
348 q_num = AC_BK_Q; in ac_classify()
353 q_num = AC_VI_Q; in ac_classify()
360 q_num = AC_VO_Q; in ac_classify()
364 return q_num; in ac_classify()
416 u8 q_num; in wilc_wlan_txq_add_net_pkt() local
444 tqe->q_num = q_num; in wilc_wlan_txq_add_net_pkt()
[all …]
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif_tx.c52 unsigned int q_num) in t7xx_dpmaif_update_drb_rd_idx() argument
54 struct dpmaif_tx_queue *txq = &dpmaif_ctrl->txq[q_num]; in t7xx_dpmaif_update_drb_rd_idx()
62 new_hw_rd_idx = t7xx_dpmaif_ul_get_rd_idx(&dpmaif_ctrl->hw_info, q_num); in t7xx_dpmaif_update_drb_rd_idx()
81 unsigned int q_num, unsigned int release_cnt) in t7xx_dpmaif_release_tx_buffer() argument
83 struct dpmaif_tx_queue *txq = &dpmaif_ctrl->txq[q_num]; in t7xx_dpmaif_release_tx_buffer()
109 "txq%u: DRB check fail, invalid skb\n", q_num); in t7xx_dpmaif_release_tx_buffer()
135 unsigned int q_num, unsigned int budget) in t7xx_dpmaif_tx_release() argument
137 struct dpmaif_tx_queue *txq = &dpmaif_ctrl->txq[q_num]; in t7xx_dpmaif_tx_release()
141 t7xx_dpmaif_update_drb_rd_idx(dpmaif_ctrl, q_num); in t7xx_dpmaif_tx_release()
196 struct dpmaif_drb *drb_base = dpmaif_ctrl->txq[q_num].drb_base; in t7xx_setup_msg_drb()
[all …]
H A Dt7xx_dpmaif.h156 void t7xx_dpmaif_unmask_ulq_intr(struct dpmaif_hw_info *hw_info, unsigned int q_num);
157 void t7xx_dpmaif_ul_update_hw_drb_cnt(struct dpmaif_hw_info *hw_info, unsigned int q_num,
172 unsigned int t7xx_dpmaif_ul_get_rd_idx(struct dpmaif_hw_info *hw_info, unsigned int q_num);
173 unsigned int t7xx_dpmaif_dl_get_bat_rd_idx(struct dpmaif_hw_info *hw_info, unsigned int q_num);
174 unsigned int t7xx_dpmaif_dl_get_bat_wr_idx(struct dpmaif_hw_info *hw_info, unsigned int q_num);
175 unsigned int t7xx_dpmaif_dl_get_frg_rd_idx(struct dpmaif_hw_info *hw_info, unsigned int q_num);
H A Dt7xx_dpmaif.c89 ul_int_que_done = BIT(q_num + DP_UL_INT_DONE_OFFSET) & DP_UL_INT_QDONE_MSK; in t7xx_dpmaif_mask_ulq_intr()
109 ul_int_que_done = BIT(q_num + DP_UL_INT_DONE_OFFSET) & DP_UL_INT_QDONE_MSK; in t7xx_dpmaif_unmask_ulq_intr()
772 t7xx_dpmaif_dl_dlq_pit_init_done(hw_info, q_num); in t7xx_dpmaif_config_dlq_pit_hw()
861 unsigned int q_num, unsigned int size) in t7xx_dpmaif_ul_update_drb_size() argument
872 unsigned int q_num, dma_addr_t addr) in t7xx_dpmaif_ul_update_drb_base_addr() argument
879 unsigned int q_num, bool ready) in t7xx_dpmaif_ul_rdy_en() argument
886 value |= BIT(q_num); in t7xx_dpmaif_ul_rdy_en()
888 value &= ~BIT(q_num); in t7xx_dpmaif_ul_rdy_en()
894 unsigned int q_num, bool enable) in t7xx_dpmaif_ul_arb_en() argument
901 value |= BIT(q_num + 8); in t7xx_dpmaif_ul_arb_en()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c961 int q_num) in idpf_find_rxq_vec() argument
968 q_grp = q_num / IDPF_DFLT_SPLITQ_RXQ_PER_GROUP; in idpf_find_rxq_vec()
982 int q_num) in idpf_find_txq_vec() argument
987 return vport->txqs[q_num]->q_vector; in idpf_find_txq_vec()
1025 u32 q_num) in idpf_get_q_coalesce() argument
1037 if (q_num >= vport->num_rxq && q_num >= vport->num_txq) { in idpf_get_q_coalesce()
1042 if (q_num < vport->num_rxq) in idpf_get_q_coalesce()
1046 if (q_num < vport->num_txq) in idpf_get_q_coalesce()
1086 return idpf_get_q_coalesce(netdev, ec, q_num); in idpf_get_per_q_coalesce()
1175 int q_num, bool is_rxq) in idpf_set_q_coalesce() argument
[all …]
/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c56 int q_num = rcb_comm->max_q_per_vf; in hns_ae_get_base_ring_pair() local
95 ae_handle->q_num = qnum_per_vf; in hns_ae_get_handle()
143 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle()
157 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down()
186 int q_num = handle->q_num; in hns_ae_ring_enable_all() local
189 for (i = 0; i < q_num; i++) in hns_ae_ring_enable_all()
315 for (i = 0; i < handle->q_num; i++) { in hns_ae_set_mtu()
342 for (k = 0; k < handle->q_num; k++) { in hns_ae_start()
639 for (idx = 0; idx < handle->q_num; idx++) { in hns_ae_update_stats()
718 for (idx = 0; idx < handle->q_num; idx++) { in hns_ae_get_stats()
[all …]
H A Dhns_enet.c1265 if (q_num == num_possible_cpus()) { in hns_nic_init_affinity_mask()
1269 cpu = ring_idx - q_num; in hns_nic_init_affinity_mask()
1287 for (i = 0; i < q_num * 2; i++) { in hns_nic_free_irq()
1341 hns_nic_free_irq(h->q_num, priv); in hns_nic_init_irq()
1390 hns_nic_free_irq(h->q_num, priv); in hns_nic_net_up()
1663 for (i = 0; i < h->q_num; i++) { in hns_nic_clear_all_rx_fetch()
2006 for (i = 0; i < h->q_num; i++) { in hns_nic_dump()
2109 if (h->q_num > NIC_MAX_Q_PER_VF) { in hns_nic_init_ring_data()
2120 for (i = 0; i < h->q_num; i++) { in hns_nic_init_ring_data()
2131 for (i = h->q_num; i < h->q_num * 2; i++) { in hns_nic_init_ring_data()
[all …]
H A Dhnae.c298 for (i = 0; i < handle->q_num; i++) /* free ring*/ in hnae_reinit_handle()
304 for (i = 0; i < handle->q_num; i++) {/* reinit ring*/ in hnae_reinit_handle()
350 for (i = 0; i < handle->q_num; i++) { in hnae_get_handle()
377 for (i = 0; i < h->q_num; i++) in hnae_put_handle()
H A Dhns_ethtool.c530 h->q_num, h->q_num * 2 - 1, in __lb_run_test()
569 (void)__lb_clean_rings(priv, 0, h->q_num - 1, 256); in __lb_down()
831 ch->max_rx = priv->ae_handle->q_num; in hns_get_channels()
832 ch->max_tx = priv->ae_handle->q_num; in hns_get_channels()
834 ch->rx_count = priv->ae_handle->q_num; in hns_get_channels()
835 ch->tx_count = priv->ae_handle->q_num; in hns_get_channels()
1242 cmd->data = priv->ae_handle->q_num; in hns_get_rxnfc()
/linux/include/linux/
H A Dhisi_acc_qm.h443 u32 n, q_num; in q_num_set() local
451 q_num = min_t(u32, QM_QNUM_V1, QM_QNUM_V2); in q_num_set()
453 q_num); in q_num_set()
456 q_num = QM_QNUM_V1; in q_num_set()
458 q_num = QM_QNUM_V2; in q_num_set()
464 if (ret || n < QM_MIN_QNUM || n > q_num) in q_num_set()
/linux/drivers/scsi/
H A Dstorvsc_drv.c1384 u16 q_num) in get_og_chn() argument
1405 node_mask = cpumask_of_node(cpu_to_node(q_num)); in get_og_chn()
1417 hash_qnum = q_num; in get_og_chn()
1431 return stor_device->stor_chns[q_num]; in get_og_chn()
1436 struct storvsc_cmd_request *request, u16 q_num) in storvsc_do_io() argument
1460 if (outgoing_channel->target_cpu == q_num) { in storvsc_do_io()
1465 node_mask = cpumask_of_node(cpu_to_node(q_num)); in storvsc_do_io()
1467 &stor_device->alloced_cpus, q_num + 1) { in storvsc_do_io()
1470 if (tgt_cpu == q_num) in storvsc_do_io()
1515 outgoing_channel = stor_device->stor_chns[q_num]; in storvsc_do_io()
[all …]
/linux/drivers/dma/ti/
H A Dcppi41.c95 unsigned int q_num; member
313 u32 q_num; in cppi41_irq() local
338 q_num = __fls(val); in cppi41_irq()
339 val &= ~(1 << q_num); in cppi41_irq()
340 q_num += 32 * i; in cppi41_irq()
341 desc = cppi41_pop_desc(cdd, q_num); in cppi41_irq()
345 q_num, desc); in cppi41_irq()
391 cppi_writel(c->q_num, c->gcr_reg + RXHPCRA0); in cppi41_dma_alloc_chan_resources()
717 desc_phys = cppi41_pop_desc(cdd, c->q_num); in cppi41_tear_down_chan()
974 cchan->q_num = queues[cchan->port_num].submit; in cpp41_dma_filter_fn()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c4122 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_get_q_coalesce()
4129 } else if (q_num < vsi->num_rxq) { in ice_get_q_coalesce()
4133 } else if (q_num < vsi->num_txq) { in ice_get_q_coalesce()
4155 int q_num) in __ice_get_coalesce() argument
4160 if (q_num < 0) in __ice_get_coalesce()
4161 q_num = 0; in __ice_get_coalesce()
4290 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_set_q_coalesce()
4300 } else if (q_num < vsi->num_rxq) { in ice_set_q_coalesce()
4305 } else if (q_num < vsi->num_txq) { in ice_set_q_coalesce()
4350 int q_num) in __ice_set_coalesce() argument
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_init.h202 #define BNX2X_PF_Q_NUM(q_num, port, vnic)\ argument
203 ((((port) << 1) | (vnic)) * 16 + (q_num))
207 static inline void bnx2x_map_q_cos(struct bnx2x *bp, u32 q_num, u32 new_cos) in bnx2x_map_q_cos() argument
210 u32 curr_cos = REG_RD(bp, QM_REG_QVOQIDX_0 + q_num * 4); in bnx2x_map_q_cos()
229 BNX2X_PF_Q_NUM(q_num, BP_PORT(bp), vnic); in bnx2x_map_q_cos()
/linux/arch/sparc/include/uapi/asm/
H A Doradax.h31 __u16 q_num; /* queue number of enqueued ccb */ member
/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c308 int idx = rx->q_num; in gve_rx_free_ring_dqo()
330 qpl_id = gve_get_rx_qpl_id(cfg->qcfg_tx, rx->q_num); in gve_rx_free_ring_dqo()
396 rx->q_num = idx; in gve_rx_alloc_ring_dqo()
428 qpl_id = gve_get_rx_qpl_id(cfg->qcfg_tx, rx->q_num); in gve_rx_alloc_ring_dqo()
554 gve_rx_write_doorbell_dqo(priv, rx->q_num); in gve_rx_post_buffers_dqo()
900 skb_record_rx_queue(rx->ctx.skb_head, rx->q_num); in gve_rx_complete_skb()
953 err = gve_rx_dqo(napi, rx, compl_desc, complq->head, rx->q_num); in gve_rx_poll_dqo()

12