Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/google/gve/
H A Dgve_utils.c11 bool gve_tx_was_added_to_block(struct gve_priv *priv, int queue_idx) in gve_tx_was_added_to_block() argument
14 &priv->ntfy_blocks[gve_tx_idx_to_ntfy(priv, queue_idx)]; in gve_tx_was_added_to_block()
19 void gve_tx_remove_from_block(struct gve_priv *priv, int queue_idx) in gve_tx_remove_from_block() argument
22 &priv->ntfy_blocks[gve_tx_idx_to_ntfy(priv, queue_idx)]; in gve_tx_remove_from_block()
27 void gve_tx_add_to_block(struct gve_priv *priv, int queue_idx) in gve_tx_add_to_block() argument
31 int ntfy_idx = gve_tx_idx_to_ntfy(priv, queue_idx); in gve_tx_add_to_block()
33 struct gve_tx_ring *tx = &priv->tx[queue_idx]; in gve_tx_add_to_block()
38 queue_idx); in gve_tx_add_to_block()
41 bool gve_rx_was_added_to_block(struct gve_priv *priv, int queue_idx) in gve_rx_was_added_to_block() argument
44 &priv->ntfy_blocks[gve_rx_idx_to_ntfy(priv, queue_idx)]; in gve_rx_was_added_to_block()
49 gve_rx_remove_from_block(struct gve_priv * priv,int queue_idx) gve_rx_remove_from_block() argument
57 gve_rx_add_to_block(struct gve_priv * priv,int queue_idx) gve_rx_add_to_block() argument
[all...]
H A Dgve_utils.h14 bool gve_tx_was_added_to_block(struct gve_priv *priv, int queue_idx);
15 void gve_tx_remove_from_block(struct gve_priv *priv, int queue_idx);
16 void gve_tx_add_to_block(struct gve_priv *priv, int queue_idx);
18 bool gve_rx_was_added_to_block(struct gve_priv *priv, int queue_idx);
19 void gve_rx_remove_from_block(struct gve_priv *priv, int queue_idx);
20 void gve_rx_add_to_block(struct gve_priv *priv, int queue_idx);
H A Dgve.h1185 static inline u32 gve_tx_idx_to_ntfy(struct gve_priv *priv, u32 queue_idx) in gve_xdp_tx_queue_id()
1187 return queue_idx; in gve_xdp_tx_queue_id()
1192 static inline u32 gve_rx_idx_to_ntfy(struct gve_priv *priv, u32 queue_idx) in gve_xdp_tx_start_queue_id()
1194 return (priv->num_ntfy_blks / 2) + queue_idx; in gve_supports_xdp_xmit()
1095 gve_tx_idx_to_ntfy(struct gve_priv * priv,u32 queue_idx) gve_tx_idx_to_ntfy() argument
1102 gve_rx_idx_to_ntfy(struct gve_priv * priv,u32 queue_idx) gve_rx_idx_to_ntfy() argument
/linux/drivers/dma/fsl-dpaa2-qdma/
H A Ddpdmai.c30 u8 queue_idx; member
256 int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 queue_idx, in dpdmai_set_rx_queue() argument
273 cmd_params->queue_idx = queue_idx; in dpdmai_set_rx_queue()
292 int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 queue_idx, in dpdmai_get_rx_queue() argument
305 cmd_params->queue_idx = queue_idx; in dpdmai_get_rx_queue()
336 u16 token, u8 queue_idx, u8 priority, struct dpdmai_tx_queue_attr *attr) in dpdmai_get_tx_queue() argument
349 cmd_params->queue_idx = queue_idx; in dpdmai_get_tx_queue()
/linux/drivers/virtio/
H A Dvirtio_pci_common.c335 vp_find_one_vq_msix(struct virtio_device *vdev, int queue_idx, in vp_find_one_vq_msix()
357 vq = vp_setup_vq(vdev, queue_idx, callback, name, ctx, msix_vec, in vp_find_one_vq_msix()
390 int i, err, nvectors, allocated_vectors, queue_idx = 0; in vp_find_vqs_msix()
434 vqs[i] = vp_find_one_vq_msix(vdev, queue_idx, vqi->callback, in vp_find_vqs_msix()
437 &vp_dev->vqs[queue_idx]); in vp_find_vqs_msix()
438 queue_idx++; in vp_find_vqs_msix()
469 int i, err, queue_idx = 0; in vp_find_vqs_intx()
497 vqs[i] = vp_setup_vq(vdev, queue_idx, vqi->callback, in vp_find_vqs_intx()
499 VIRTIO_MSI_NO_VECTOR, &vp_dev->vqs[queue_idx]); in vp_find_vqs_intx()
500 queue_idx in vp_find_vqs_intx()
329 vp_find_one_vq_msix(struct virtio_device * vdev,int queue_idx,vq_callback_t * callback,const char * name,bool ctx,bool slow_path,int * allocated_vectors,enum vp_vq_vector_policy vector_policy,struct virtio_pci_vq_info ** p_info) vp_find_one_vq_msix() argument
384 int i, err, nvectors, allocated_vectors, queue_idx = 0; vp_find_vqs_msix() local
463 int i, err, queue_idx = 0; vp_find_vqs_intx() local
[all...]
H A Dvirtio_vdpa.c358 int i, err, queue_idx = 0; in virtio_vdpa_find_vqs()
374 vqs[i] = virtio_vdpa_setup_vq(vdev, queue_idx, vqi->callback, in virtio_vdpa_find_vqs()
382 ops->set_vq_affinity(vdpa, queue_idx, &masks[i]); in virtio_vdpa_get_features()
383 queue_idx++; in virtio_vdpa_get_features()
339 int i, err, queue_idx = 0; virtio_vdpa_find_vqs() local
H A Dvirtio_mmio.c469 int i, err, queue_idx = 0; in vm_find_vqs() local
491 vqs[i] = vm_setup_vq(vdev, queue_idx++, vqi->callback, in vm_find_vqs()
/linux/drivers/net/ethernet/atheros/alx/
H A Dalx.h68 u16 queue_idx; member
83 u16 queue_idx; member
H A Dmain.c154 return netdev_get_tx_queue(txq->netdev, txq->queue_idx); in alx_get_tx_queue()
463 txring_header_reg[np->txq->queue_idx], in alx_init_ring_ptrs()
768 txq->queue_idx = i; in alx_alloc_napis()
784 rxq->queue_idx = 0; in alx_alloc_napis()
869 np->txq->queue_idx); in alx_request_msix()
872 np->txq->queue_idx); in alx_request_msix()
875 np->rxq->queue_idx); in alx_request_msix()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhealth.c223 int queue_idx, char *lbl) in mlx5e_health_queue_dump() argument
228 key.index1 = queue_idx; in mlx5e_health_queue_dump()
234 devlink_fmsg_u32_pair_put(fmsg, "index", queue_idx); in mlx5e_health_queue_dump()
H A Dhealth.h58 int queue_idx, char *lbl);
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c807 /** @queue_idx: Index of the queue inside @group. */
808 u32 queue_idx;
1055 (group->blocked_queues & BIT(job->queue_idx)) && in group_unbind_locked()
1669 struct panthor_queue *queue = group->queues[job->queue_idx]; in group_tiler_oom_work()
1696 (job->queue_idx * sizeof(*syncobj)); in cs_slot_process_tiler_oom_event_locked()
1737 u32 queue_idx; in csg_slot_process_idle_event_locked()
1741 for (queue_idx = 0; queue_idx < group->queue_count; queue_idx++) { in csg_slot_process_idle_event_locked()
1742 struct panthor_queue *queue = group->queues[queue_idx]; in csg_slot_process_idle_event_locked()
805 u32 queue_idx; global() member
2585 panthor_queue_eval_syncwait(struct panthor_group * group,u8 queue_idx) panthor_queue_eval_syncwait() argument
3114 u32 queue_idx; group_sync_upd_work() local
[all...]
/linux/drivers/staging/rtl8723bs/include/
H A Dhal_sdio.h
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gfx_v12.c394 static void get_wave_count(struct amdgpu_device *adev, int queue_idx, in get_wave_count() argument
406 pipe_idx = queue_idx / adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
407 queue_slot = queue_idx % adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
H A Damdgpu_amdkfd_gfx_v12_1.c399 * @queue_idx: Index of queue in the queue-map bit-field in get_wave_count()
403 static void get_wave_count(struct amdgpu_device *adev, int queue_idx, in get_wave_count()
415 pipe_idx = queue_idx / adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
416 queue_slot = queue_idx % adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
462 * Read (SPI_CSQ_WF_ACTIVE_COUNT_0 + queue_idx) register. It provides the
397 get_wave_count(struct amdgpu_device * adev,int queue_idx,struct kfd_cu_occupancy * queue_cnt,uint32_t inst) get_wave_count() argument
H A Damdgpu_amdkfd_gfx_v11.c833 static void get_wave_count(struct amdgpu_device *adev, int queue_idx, in get_wave_count() argument
845 pipe_idx = queue_idx / adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
846 queue_slot = queue_idx % adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
H A Damdgpu_amdkfd_gfx_v9.c948 * @queue_idx: Index of queue in the queue-map bit-field
952 static void get_wave_count(struct amdgpu_device *adev, int queue_idx, in get_wave_count()
964 pipe_idx = queue_idx / adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
965 queue_slot = queue_idx % adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
1011 * Read (SPI_CSQ_WF_ACTIVE_COUNT_0 + queue_idx) register. It provides the
950 get_wave_count(struct amdgpu_device * adev,int queue_idx,struct kfd_cu_occupancy * queue_cnt,uint32_t inst) get_wave_count() argument
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00mac.c680 unsigned int link_id, u16 queue_idx, in rt2x00mac_conf_tx() argument
686 queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt2x00mac_conf_tx()
709 queue_idx, queue->cw_min, queue->cw_max, queue->aifs, in rt2x00mac_conf_tx()
H A Drt73usb.c2222 unsigned int link_id, u16 queue_idx, in rt73usb_conf_tx() argument
2238 retval = rt2x00mac_conf_tx(hw, vif, link_id, queue_idx, params); in rt73usb_conf_tx()
2246 if (queue_idx >= 4) in rt73usb_conf_tx()
2249 queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt73usb_conf_tx()
2252 offset = AC_TXOP_CSR0 + (sizeof(u32) * (!!(queue_idx & 2))); in rt73usb_conf_tx()
2253 field.bit_offset = (queue_idx & 1) * 16; in rt73usb_conf_tx()
2261 field.bit_offset = queue_idx * 4; in rt73usb_conf_tx()
H A Drt61pci.c2803 unsigned int link_id, u16 queue_idx, in rt61pci_conf_tx() argument
2819 retval = rt2x00mac_conf_tx(hw, vif, link_id, queue_idx, params); in rt61pci_conf_tx()
2827 if (queue_idx >= 4) in rt61pci_conf_tx()
2830 queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); in rt61pci_conf_tx()
2833 offset = AC_TXOP_CSR0 + (sizeof(u32) * (!!(queue_idx & 2))); in rt61pci_conf_tx()
2834 field.bit_offset = (queue_idx & 1) * 16; in rt61pci_conf_tx()
2842 field.bit_offset = queue_idx * 4; in rt61pci_conf_tx()
/linux/drivers/accel/habanalabs/common/
H A Dhw_queue.c918 int sob, reserved_mon_idx, queue_idx; in sync_stream_queue_init() local
952 queue_idx = hdev->sync_stream_queue_idx++; in sync_stream_queue_init()
955 (queue_idx * HL_RSVD_SOBS); in sync_stream_queue_init()
957 (queue_idx * HL_RSVD_MONS); in sync_stream_queue_init()
/linux/include/net/page_pool/
H A Dtypes.h30 * page_pool_params.slow.queue_idx.
83 * @queue_idx: queue idx this page_pool is being created for.
100 unsigned int queue_idx;
/linux/drivers/remoteproc/
H A Dremoteproc_virtio.c213 int i, ret, queue_idx = 0; in rproc_virtio_get_status()
223 vqs[i] = rp_find_vq(vdev, queue_idx++, vqi->callback, in rproc_virtio_set_status()
188 int i, ret, queue_idx = 0; rproc_virtio_find_vqs() local
/linux/drivers/s390/virtio/
H A Dvirtio_ccw.c306 int i, j, queue_idx, highest_queue_idx = -1; in get_airq_indicator() local
335 for (j = 0, queue_idx = 0; j < nvqs; j++) { in get_airq_indicator()
338 airq_iv_set_ptr(info->aiv, bit + queue_idx++, in get_airq_indicator()
708 int ret, i, queue_idx = 0; in virtio_ccw_find_vqs() local
724 vqs[i] = virtio_ccw_setup_vq(vdev, queue_idx++, vqi->callback, in virtio_ccw_find_vqs()
/linux/drivers/nvme/host/
H A Drdma.c307 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_rdma_init_request() local
308 struct nvme_rdma_queue *queue = &ctrl->queues[queue_idx]; in nvme_rdma_init_request()
316 if (queue_idx && ctrl->ctrl.max_integrity_segments) in nvme_rdma_init_request()
1683 u32 queue_idx = nvme_rdma_queue_idx(queue); in nvme_rdma_tagset()
1685 if (queue_idx == 0) in nvme_rdma_tagset() local
1686 return queue->ctrl->admin_tag_set.tags[queue_idx]; in nvme_rdma_tagset()
1687 return queue->ctrl->tag_set.tags[queue_idx - 1]; in nvme_rdma_tagset()

12