/Linux-v5.4/drivers/net/wireless/rsi/ |
D | rsi_91x_core.c | 91 static u32 rsi_get_num_pkts_dequeue(struct rsi_common *common, u8 q_num) in rsi_get_num_pkts_dequeue() argument 96 s16 txop = common->tx_qinfo[q_num].txop * 32; in rsi_get_num_pkts_dequeue() 103 if (q_num == VI_Q) in rsi_get_num_pkts_dequeue() 106 if (skb_queue_len(&common->tx_queue[q_num])) in rsi_get_num_pkts_dequeue() 107 skb = skb_peek(&common->tx_queue[q_num]); in rsi_get_num_pkts_dequeue() 121 if (skb_queue_len(&common->tx_queue[q_num]) - pkt_cnt) in rsi_get_num_pkts_dequeue() 142 u8 q_num = INVALID_QUEUE; in rsi_core_determine_hal_queue() local 146 q_num = MGMT_BEACON_Q; in rsi_core_determine_hal_queue() 147 return q_num; in rsi_core_determine_hal_queue() 151 q_num = MGMT_SOFT_Q; in rsi_core_determine_hal_queue() [all …]
|
D | rsi_91x_coex.c | 25 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()
|
D | rsi_91x_sdio_ops.c | 370 int rsi_sdio_check_buffer_status(struct rsi_hw *adapter, u8 q_num) in rsi_sdio_check_buffer_status() argument 425 if ((q_num == MGMT_SOFT_Q) && (dev->rx_info.mgmt_buffer_full)) in rsi_sdio_check_buffer_status() 428 if ((q_num < MGMT_SOFT_Q) && (dev->rx_info.buffer_full)) in rsi_sdio_check_buffer_status()
|
D | rsi_usb.h | 71 static inline int rsi_usb_check_queue_status(struct rsi_hw *adapter, u8 q_num) in rsi_usb_check_queue_status() argument
|
D | rsi_sdio.h | 146 int rsi_sdio_check_buffer_status(struct rsi_hw *adapter, u8 q_num);
|
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/ |
D | ionic_stats.c | 80 int q_num; in ionic_get_lif_stats() local 84 for (q_num = 0; q_num < MAX_Q(lif); q_num++) { in ionic_get_lif_stats() 85 txqcq = lif_to_txqcq(lif, q_num); in ionic_get_lif_stats() 95 rxqcq = lif_to_rxqcq(lif, q_num); in ionic_get_lif_stats() 140 int i, q_num; in ionic_sw_stats_get_strings() local 146 for (q_num = 0; q_num < MAX_Q(lif); q_num++) { in ionic_sw_stats_get_strings() 149 q_num, ionic_tx_stats_desc[i].name); in ionic_sw_stats_get_strings() 158 q_num, in ionic_sw_stats_get_strings() 165 q_num, in ionic_sw_stats_get_strings() 172 q_num, in ionic_sw_stats_get_strings() [all …]
|
/Linux-v5.4/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 532 int i, j, q_num; in bnad_get_strings() local 604 q_num = 0; in bnad_get_strings() 609 sprintf(string, "cq%d_producer_index", q_num); in bnad_get_strings() 611 sprintf(string, "cq%d_consumer_index", q_num); in bnad_get_strings() 614 q_num); in bnad_get_strings() 616 sprintf(string, "cq%d_intr", q_num); in bnad_get_strings() 618 sprintf(string, "cq%d_poll", q_num); in bnad_get_strings() 620 sprintf(string, "cq%d_schedule", q_num); in bnad_get_strings() 622 sprintf(string, "cq%d_keep_poll", q_num); in bnad_get_strings() 624 sprintf(string, "cq%d_complete", q_num); in bnad_get_strings() [all …]
|
/Linux-v5.4/drivers/scsi/snic/ |
D | snic_io.c | 59 u16 q_num, in snic_wq_cmpl_handler_cont() argument 66 SNIC_BUG_ON(q_num != 0); in snic_wq_cmpl_handler_cont() 68 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont() 69 svnic_wq_service(&snic->wq[q_num], in snic_wq_cmpl_handler_cont() 74 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont() 142 snic_wqdesc_avail(struct snic *snic, int q_num, int req_type) in snic_wqdesc_avail() argument 146 if (q_num > 0) { in snic_wqdesc_avail() 152 SNIC_BUG_ON(q_num > 0); in snic_wqdesc_avail() 171 int q_num = 0; in snic_queue_wq_desc() local 185 q_num = snic_select_wq(snic); in snic_queue_wq_desc() [all …]
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ae_adapt.c | 58 int q_num = rcb_comm->max_q_per_vf; in hns_ae_get_base_ring_pair() local 61 return &rcb_comm->ring_pair_cb[port * q_num * vf_num]; in hns_ae_get_base_ring_pair() 97 ae_handle->q_num = qnum_per_vf; in hns_ae_get_handle() 146 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle() 160 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down() 189 int q_num = handle->q_num; in hns_ae_ring_enable_all() local 192 for (i = 0; i < q_num; i++) in hns_ae_ring_enable_all() 318 for (i = 0; i < handle->q_num; i++) { in hns_ae_set_mtu() 345 for (k = 0; k < handle->q_num; k++) { in hns_ae_start() 366 hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_TX); in hns_ae_stop() [all …]
|
D | hns_enet.c | 370 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw() 1235 static int hns_nic_init_affinity_mask(int q_num, int ring_idx, in hns_nic_init_affinity_mask() argument 1244 if (q_num == num_possible_cpus()) { in hns_nic_init_affinity_mask() 1248 cpu = ring_idx - q_num; in hns_nic_init_affinity_mask() 1253 cpu = (ring_idx - q_num) * 2 + 1; in hns_nic_init_affinity_mask() 1262 static void hns_nic_free_irq(int q_num, struct hns_nic_priv *priv) in hns_nic_free_irq() argument 1266 for (i = 0; i < q_num * 2; i++) { in hns_nic_free_irq() 1286 for (i = 0; i < h->q_num * 2; i++) { in hns_nic_init_irq() 1307 cpu = hns_nic_init_affinity_mask(h->q_num, i, in hns_nic_init_irq() 1320 hns_nic_free_irq(h->q_num, priv); in hns_nic_init_irq() [all …]
|
D | hnae.c | 296 for (i = 0; i < handle->q_num; i++) /* free ring*/ in hnae_reinit_handle() 302 for (i = 0; i < handle->q_num; i++) {/* reinit ring*/ in hnae_reinit_handle() 348 for (i = 0; i < handle->q_num; i++) { in hnae_get_handle() 375 for (i = 0; i < h->q_num; i++) in hnae_put_handle()
|
D | hns_ethtool.c | 527 h->q_num, h->q_num * 2 - 1, in __lb_run_test() 566 (void)__lb_clean_rings(priv, 0, h->q_num - 1, 256); in __lb_down() 819 ch->max_rx = priv->ae_handle->q_num; in hns_get_channels() 820 ch->max_tx = priv->ae_handle->q_num; in hns_get_channels() 822 ch->rx_count = priv->ae_handle->q_num; in hns_get_channels() 823 ch->tx_count = priv->ae_handle->q_num; in hns_get_channels() 1257 cmd->data = priv->ae_handle->q_num; in hns_get_rxnfc()
|
D | hns_enet.h | 85 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
|
D | hnae.h | 554 int q_num; member 670 for (i = 0; i < h->q_num; i++) { in hnae_reinit_all_ring_desc() 685 for (i = 0; i < h->q_num; i++) { in hnae_reinit_all_ring_page_off()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_debugfs.c | 168 u32 q_num, value; in hns3_dbg_bd_info() local 172 cnt = sscanf(&cmd_buf[8], "%u %u", &q_num, &tx_index); in hns3_dbg_bd_info() 180 if (q_num >= h->kinfo.num_tqps) { in hns3_dbg_bd_info() 181 dev_err(dev, "Queue number(%u) is out of range(0-%u)\n", q_num, in hns3_dbg_bd_info() 187 ring = ring_data[q_num].ring; in hns3_dbg_bd_info() 199 dev_info(dev, "TX Queue Num: %u, BD Index: %u\n", q_num, tx_index); in hns3_dbg_bd_info() 217 ring = ring_data[q_num + h->kinfo.num_tqps].ring; in hns3_dbg_bd_info() 223 dev_info(dev, "RX Queue Num: %u, BD Index: %u\n", q_num, rx_index); in hns3_dbg_bd_info()
|
/Linux-v5.4/drivers/crypto/hisilicon/zip/ |
D | zip_main.c | 226 u32 n, q_num; in pf_q_num_set() local 234 q_num = min_t(u32, HZIP_QUEUE_NUM_V1, HZIP_QUEUE_NUM_V2); in pf_q_num_set() 236 q_num); in pf_q_num_set() 241 q_num = HZIP_QUEUE_NUM_V1; in pf_q_num_set() 244 q_num = HZIP_QUEUE_NUM_V2; in pf_q_num_set() 252 if (ret != 0 || n > q_num || n == 0) in pf_q_num_set() 745 u32 q_num, remain_q_num, i; in hisi_zip_vf_q_assign() local 755 q_num = remain_q_num / num_vfs; in hisi_zip_vf_q_assign() 758 q_num += remain_q_num % num_vfs; in hisi_zip_vf_q_assign() 759 ret = hisi_qm_set_vft(qm, i, q_base, q_num); in hisi_zip_vf_q_assign() [all …]
|
/Linux-v5.4/drivers/scsi/ |
D | storvsc_drv.c | 1244 u16 q_num) in get_og_chn() argument 1264 node_mask = cpumask_of_node(cpu_to_node(q_num)); in get_og_chn() 1274 hash_qnum = q_num; in get_og_chn() 1286 stor_device->stor_chns[q_num] = stor_device->stor_chns[tgt_cpu]; in get_og_chn() 1288 return stor_device->stor_chns[q_num]; in get_og_chn() 1293 struct storvsc_cmd_request *request, u16 q_num) in storvsc_do_io() argument 1313 if (stor_device->stor_chns[q_num] != NULL) { in storvsc_do_io() 1314 outgoing_channel = stor_device->stor_chns[q_num]; in storvsc_do_io() 1315 if (outgoing_channel->target_cpu == q_num) { in storvsc_do_io() 1320 node_mask = cpumask_of_node(cpu_to_node(q_num)); in storvsc_do_io() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 3152 ice_get_q_coalesce(struct ice_vsi *vsi, struct ethtool_coalesce *ec, int q_num) in ice_get_q_coalesce() argument 3154 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_get_q_coalesce() 3156 &vsi->rx_rings[q_num]->q_vector->rx)) in ice_get_q_coalesce() 3159 &vsi->tx_rings[q_num]->q_vector->tx)) in ice_get_q_coalesce() 3161 } else if (q_num < vsi->num_rxq) { in ice_get_q_coalesce() 3163 &vsi->rx_rings[q_num]->q_vector->rx)) in ice_get_q_coalesce() 3165 } else if (q_num < vsi->num_txq) { in ice_get_q_coalesce() 3167 &vsi->tx_rings[q_num]->q_vector->tx)) in ice_get_q_coalesce() 3187 int q_num) in __ice_get_coalesce() argument 3192 if (q_num < 0) in __ice_get_coalesce() [all …]
|
/Linux-v5.4/drivers/dma/ti/ |
D | cppi41.c | 95 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() 472 cppi_writel(reg, cdd->qmgr_mem + QMGR_QUEUE_D(c->q_num)); in push_desc_queue() 717 desc_phys = cppi41_pop_desc(cdd, c->q_num); in cppi41_tear_down_chan() [all …]
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_init.h | 202 #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-v5.4/arch/sparc/include/uapi/asm/ |
D | oradax.h | 31 __u16 q_num; /* queue number of enqueued ccb */ member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | pci.c | 204 enum mlxsw_pci_queue_type q_type, u8 q_num) in __mlxsw_pci_queue_get() argument 206 return &mlxsw_pci->queues[q_type].q[q_num]; in __mlxsw_pci_queue_get() 210 u8 q_num) in mlxsw_pci_sdq_get() argument 213 MLXSW_PCI_QUEUE_TYPE_SDQ, q_num); in mlxsw_pci_sdq_get() 217 u8 q_num) in mlxsw_pci_rdq_get() argument 220 MLXSW_PCI_QUEUE_TYPE_RDQ, q_num); in mlxsw_pci_rdq_get() 224 u8 q_num) in mlxsw_pci_cq_get() argument 226 return __mlxsw_pci_queue_get(mlxsw_pci, MLXSW_PCI_QUEUE_TYPE_CQ, q_num); in mlxsw_pci_cq_get() 230 u8 q_num) in mlxsw_pci_eq_get() argument 232 return __mlxsw_pci_queue_get(mlxsw_pci, MLXSW_PCI_QUEUE_TYPE_EQ, q_num); in mlxsw_pci_eq_get() [all …]
|
/Linux-v5.4/drivers/net/ethernet/google/gve/ |
D | gve_rx.c | 111 rx->q_num = idx; in gve_rx_alloc_ring() 396 rx->q_num, idx, desc, desc->flags_seq); in gve_clean_rx_done() 399 rx->q_num, GVE_SEQNO(desc->flags_seq), in gve_clean_rx_done()
|
D | gve.h | 74 u32 q_num; /* queue index */ member 131 u32 q_num ____cacheline_aligned; /* queue idx */
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | tx.h | 692 __le16 q_num; member 706 u8 q_num; member
|