Home
last modified time | relevance | path

Searched refs:queue_idx (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dalx.h68 u16 queue_idx; member
83 u16 queue_idx; member
Dmain.c155 return netdev_get_tx_queue(txq->netdev, txq->queue_idx); in alx_get_tx_queue()
464 txring_header_reg[np->txq->queue_idx], in alx_init_ring_ptrs()
769 txq->queue_idx = i; in alx_alloc_napis()
785 rxq->queue_idx = 0; in alx_alloc_napis()
870 np->txq->queue_idx); in alx_request_msix()
873 np->txq->queue_idx); in alx_request_msix()
876 np->rxq->queue_idx); in alx_request_msix()
/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve.h342 static inline u32 gve_tx_idx_to_ntfy(struct gve_priv *priv, u32 queue_idx) in gve_tx_idx_to_ntfy() argument
344 return queue_idx; in gve_tx_idx_to_ntfy()
349 static inline u32 gve_rx_idx_to_ntfy(struct gve_priv *priv, u32 queue_idx) in gve_rx_idx_to_ntfy() argument
351 return (priv->num_ntfy_blks / 2) + queue_idx; in gve_rx_idx_to_ntfy()
Dgve_rx.c11 static void gve_rx_remove_from_block(struct gve_priv *priv, int queue_idx) in gve_rx_remove_from_block() argument
14 &priv->ntfy_blocks[gve_rx_idx_to_ntfy(priv, queue_idx)]; in gve_rx_remove_from_block()
87 static void gve_rx_add_to_block(struct gve_priv *priv, int queue_idx) in gve_rx_add_to_block() argument
89 u32 ntfy_idx = gve_rx_idx_to_ntfy(priv, queue_idx); in gve_rx_add_to_block()
91 struct gve_rx_ring *rx = &priv->rx[queue_idx]; in gve_rx_add_to_block()
Dgve_tx.c134 static void gve_tx_remove_from_block(struct gve_priv *priv, int queue_idx) in gve_tx_remove_from_block() argument
137 &priv->ntfy_blocks[gve_tx_idx_to_ntfy(priv, queue_idx)]; in gve_tx_remove_from_block()
175 static void gve_tx_add_to_block(struct gve_priv *priv, int queue_idx) in gve_tx_add_to_block() argument
177 int ntfy_idx = gve_tx_idx_to_ntfy(priv, queue_idx); in gve_tx_add_to_block()
179 struct gve_tx_ring *tx = &priv->tx[queue_idx]; in gve_tx_add_to_block()
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Dhal_sdio.c80 u32 rtw_hal_get_sdio_tx_max_length(struct adapter *padapter, u8 queue_idx) in rtw_hal_get_sdio_tx_max_length() argument
87 deviceId = ffaddr2deviceId(pdvobjpriv, queue_idx); in rtw_hal_get_sdio_tx_max_length()
/Linux-v5.4/drivers/nvme/target/
Dloop.c86 u32 queue_idx = nvme_loop_queue_idx(queue); in nvme_loop_tagset() local
88 if (queue_idx == 0) in nvme_loop_tagset()
89 return queue->ctrl->admin_tag_set.tags[queue_idx]; in nvme_loop_tagset()
90 return queue->ctrl->tag_set.tags[queue_idx - 1]; in nvme_loop_tagset()
195 struct nvme_loop_iod *iod, unsigned int queue_idx) in nvme_loop_init_iod() argument
199 iod->queue = &ctrl->queues[queue_idx]; in nvme_loop_init_iod()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Dhal_sdio.h16 u32 rtw_hal_get_sdio_tx_max_length(struct adapter *padapter, u8 queue_idx);
/Linux-v5.4/drivers/virtio/
Dvirtio_pci_common.c287 int i, err, nvectors, allocated_vectors, queue_idx = 0; in vp_find_vqs_msix() local
323 vqs[i] = vp_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vp_find_vqs_msix()
358 int i, err, queue_idx = 0; in vp_find_vqs_intx() local
376 vqs[i] = vp_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vp_find_vqs_intx()
Dvirtio_mmio.c467 int i, err, queue_idx = 0; in vm_find_vqs() local
485 vqs[i] = vm_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vm_find_vqs()
/Linux-v5.4/drivers/remoteproc/
Dremoteproc_virtio.c150 int i, ret, queue_idx = 0; in rproc_virtio_find_vqs() local
158 vqs[i] = rp_find_vq(vdev, queue_idx++, callbacks[i], names[i], in rproc_virtio_find_vqs()
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/
Drt2x00mac.c648 struct ieee80211_vif *vif, u16 queue_idx, in rt2x00mac_conf_tx() argument
654 queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt2x00mac_conf_tx()
677 queue_idx, queue->cw_min, queue->cw_max, queue->aifs, in rt2x00mac_conf_tx()
Drt73usb.c2221 struct ieee80211_vif *vif, u16 queue_idx, in rt73usb_conf_tx() argument
2237 retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); in rt73usb_conf_tx()
2245 if (queue_idx >= 4) in rt73usb_conf_tx()
2248 queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt73usb_conf_tx()
2251 offset = AC_TXOP_CSR0 + (sizeof(u32) * (!!(queue_idx & 2))); in rt73usb_conf_tx()
2252 field.bit_offset = (queue_idx & 1) * 16; in rt73usb_conf_tx()
2260 field.bit_offset = queue_idx * 4; in rt73usb_conf_tx()
Drt61pci.c2798 struct ieee80211_vif *vif, u16 queue_idx, in rt61pci_conf_tx() argument
2814 retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); in rt61pci_conf_tx()
2822 if (queue_idx >= 4) in rt61pci_conf_tx()
2825 queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt61pci_conf_tx()
2828 offset = AC_TXOP_CSR0 + (sizeof(u32) * (!!(queue_idx & 2))); in rt61pci_conf_tx()
2829 field.bit_offset = (queue_idx & 1) * 16; in rt61pci_conf_tx()
2837 field.bit_offset = queue_idx * 4; in rt61pci_conf_tx()
Drt2800lib.h248 struct ieee80211_vif *vif, u16 queue_idx,
Drt2400pci.c1266 const enum data_queue_qid queue_idx) in rt2400pci_txdone() argument
1268 struct data_queue *queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt2400pci_txdone()
Drt2500pci.c1394 const enum data_queue_qid queue_idx) in rt2500pci_txdone() argument
1396 struct data_queue *queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt2500pci_txdone()
Drt2800lib.c10379 struct ieee80211_vif *vif, u16 queue_idx, in rt2800_conf_tx() argument
10395 retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); in rt2800_conf_tx()
10403 if (queue_idx >= 4) in rt2800_conf_tx()
10406 queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt2800_conf_tx()
10409 offset = WMM_TXOP0_CFG + (sizeof(u32) * (!!(queue_idx & 2))); in rt2800_conf_tx()
10410 field.bit_offset = (queue_idx & 1) * 16; in rt2800_conf_tx()
10418 field.bit_offset = queue_idx * 4; in rt2800_conf_tx()
10434 offset = EDCA_AC0_CFG + (sizeof(u32) * queue_idx); in rt2800_conf_tx()
/Linux-v5.4/drivers/nvme/host/
Drdma.c293 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_rdma_init_request() local
294 struct nvme_rdma_queue *queue = &ctrl->queues[queue_idx]; in nvme_rdma_init_request()
1399 u32 queue_idx = nvme_rdma_queue_idx(queue); in nvme_rdma_tagset() local
1401 if (queue_idx == 0) in nvme_rdma_tagset()
1402 return queue->ctrl->admin_tag_set.tags[queue_idx]; in nvme_rdma_tagset()
1403 return queue->ctrl->tag_set.tags[queue_idx - 1]; in nvme_rdma_tagset()
Dtcp.c137 u32 queue_idx = nvme_tcp_queue_id(queue); in nvme_tcp_tagset() local
139 if (queue_idx == 0) in nvme_tcp_tagset()
140 return queue->ctrl->admin_tag_set.tags[queue_idx]; in nvme_tcp_tagset()
141 return queue->ctrl->tag_set.tags[queue_idx - 1]; in nvme_tcp_tagset()
367 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_tcp_init_request() local
368 struct nvme_tcp_queue *queue = &ctrl->queues[queue_idx]; in nvme_tcp_init_request()
/Linux-v5.4/drivers/misc/mic/vop/
Dvop_main.c392 int i, err, retry, queue_idx = 0; in vop_find_vqs() local
406 vqs[i] = vop_find_vq(dev, queue_idx++, callbacks[i], names[i], in vop_find_vqs()
/Linux-v5.4/drivers/net/
Dxen-netfront.c550 u16 queue_idx; in xennet_select_queue() local
554 queue_idx = 0; in xennet_select_queue()
557 queue_idx = hash % num_queues; in xennet_select_queue()
560 return queue_idx; in xennet_select_queue()
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h378 u16 queue_idx; member
/Linux-v5.4/arch/um/drivers/
Dvirtio_uml.c870 int i, queue_idx = 0, rc; in vu_find_vqs() local
883 vqs[i] = vu_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vu_find_vqs()
/Linux-v5.4/drivers/s390/virtio/
Dvirtio_ccw.c661 int ret, i, queue_idx = 0; in virtio_ccw_find_vqs() local
674 vqs[i] = virtio_ccw_setup_vq(vdev, queue_idx++, callbacks[i], in virtio_ccw_find_vqs()

12