Home
last modified time | relevance | path

Searched refs:queue_mask (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/ti/
Dknav_qmss_acc.c283 cmd->command, cmd->queue_mask, cmd->list_dma, in knav_acc_write()
289 writel_relaxed(cmd->queue_mask, &pdsp->acc_command->queue_mask); in knav_acc_write()
308 u32 queue_mask; in knav_acc_setup_cmd() local
313 queue_mask = BIT(range->num_queues) - 1; in knav_acc_setup_cmd()
317 queue_mask = 0; in knav_acc_setup_cmd()
322 cmd->queue_mask = queue_mask; in knav_acc_setup_cmd()
Dknav_qmss.h89 u32 queue_mask; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager_vi.c135 packet->queue_mask_lo = lower_32_bits(res->queue_mask); in pm_set_resources_vi()
136 packet->queue_mask_hi = upper_32_bits(res->queue_mask); in pm_set_resources_vi()
Dkfd_packet_manager_v9.c136 packet->queue_mask_lo = lower_32_bits(res->queue_mask); in pm_set_resources_v9()
137 packet->queue_mask_hi = upper_32_bits(res->queue_mask); in pm_set_resources_v9()
Dkfd_device_queue_manager.c1094 res.queue_mask = 0; in set_sched_resources()
1110 if (WARN_ON(i >= (sizeof(res.queue_mask)*8))) { in set_sched_resources()
1115 res.queue_mask |= 1ull in set_sched_resources()
1125 res.vmid_mask, res.queue_mask); in set_sched_resources()
Dkfd_priv.h549 uint64_t queue_mask; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c498 uint64_t queue_mask = 0; in amdgpu_gfx_enable_kcq() local
511 if (WARN_ON(i > (sizeof(queue_mask)*8))) { in amdgpu_gfx_enable_kcq()
516 queue_mask |= (1ull << amdgpu_queue_mask_bit_to_set_resource_bit(adev, i)); in amdgpu_gfx_enable_kcq()
530 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_enable_kcq()
Damdgpu_gfx.h77 uint64_t queue_mask);
Dgfx_v8_0.c4353 uint64_t queue_mask = 0; in gfx_v8_0_kiq_kcq_enable() local
4363 if (WARN_ON(i >= (sizeof(queue_mask)*8))) { in gfx_v8_0_kiq_kcq_enable()
4368 queue_mask |= (1ull << i); in gfx_v8_0_kiq_kcq_enable()
4379 amdgpu_ring_write(kiq_ring, lower_32_bits(queue_mask)); /* queue mask lo */ in gfx_v8_0_kiq_kcq_enable()
4380 amdgpu_ring_write(kiq_ring, upper_32_bits(queue_mask)); /* queue mask hi */ in gfx_v8_0_kiq_kcq_enable()
Dgfx_v9_0.c813 uint64_t queue_mask) in gfx_v9_0_kiq_set_resources() argument
821 lower_32_bits(queue_mask)); /* queue mask lo */ in gfx_v9_0_kiq_set_resources()
823 upper_32_bits(queue_mask)); /* queue mask hi */ in gfx_v9_0_kiq_set_resources()
Dgfx_v10_0.c3220 static void gfx10_kiq_set_resources(struct amdgpu_ring *kiq_ring, uint64_t queue_mask) in gfx10_kiq_set_resources() argument
3225 amdgpu_ring_write(kiq_ring, lower_32_bits(queue_mask)); /* queue mask lo */ in gfx10_kiq_set_resources()
3226 amdgpu_ring_write(kiq_ring, upper_32_bits(queue_mask)); /* queue mask hi */ in gfx10_kiq_set_resources()
/kernel/linux/linux-5.10/net/ethtool/
Dioctl.c2436 DECLARE_BITMAP(queue_mask, MAX_NUM_QUEUE); in ethtool_get_per_queue_coalesce()
2443 bitmap_from_arr32(queue_mask, per_queue_opt->queue_mask, in ethtool_get_per_queue_coalesce()
2446 for_each_set_bit(bit, queue_mask, MAX_NUM_QUEUE) { in ethtool_get_per_queue_coalesce()
2469 DECLARE_BITMAP(queue_mask, MAX_NUM_QUEUE); in ethtool_set_per_queue_coalesce()
2477 bitmap_from_arr32(queue_mask, per_queue_opt->queue_mask, MAX_NUM_QUEUE); in ethtool_set_per_queue_coalesce()
2478 n_queue = bitmap_weight(queue_mask, MAX_NUM_QUEUE); in ethtool_set_per_queue_coalesce()
2483 for_each_set_bit(bit, queue_mask, MAX_NUM_QUEUE) { in ethtool_set_per_queue_coalesce()
2512 for_each_set_bit(i, queue_mask, bit) { in ethtool_set_per_queue_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmv643xx_eth.c2248 u8 queue_mask; in mv643xx_eth_poll() local
2259 queue_mask = mp->work_tx | mp->work_tx_end | mp->work_rx; in mv643xx_eth_poll()
2261 queue_mask |= mp->work_rx_refill; in mv643xx_eth_poll()
2263 if (!queue_mask) { in mv643xx_eth_poll()
2269 queue = fls(queue_mask) - 1; in mv643xx_eth_poll()
2270 queue_mask = 1 << queue; in mv643xx_eth_poll()
2276 if (mp->work_tx_end & queue_mask) { in mv643xx_eth_poll()
2278 } else if (mp->work_tx & queue_mask) { in mv643xx_eth_poll()
2281 } else if (mp->work_rx & queue_mask) { in mv643xx_eth_poll()
2283 } else if (!mp->oom && (mp->work_rx_refill & queue_mask)) { in mv643xx_eth_poll()
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/
Dmacb_main.c3558 unsigned int *queue_mask, in macb_probe_queues() argument
3561 *queue_mask = 0x1; in macb_probe_queues()
3574 *queue_mask |= readl_relaxed(mem + GEM_DCFG6) & 0xff; in macb_probe_queues()
3575 *num_queues = hweight32(*queue_mask); in macb_probe_queues()
3688 if (!(bp->queue_mask & (1 << hw_q))) in macb_init()
4453 unsigned int queue_mask, num_queues; in macb_probe() local
4490 macb_probe_queues(mem, native_io, &queue_mask, &num_queues); in macb_probe()
4514 bp->queue_mask = queue_mask; in macb_probe()
Dmacb.h1183 unsigned int queue_mask; member
/kernel/linux/linux-5.10/net/sched/
Dsch_taprio.c1197 u32 i, queue_mask = 0; in tc_map_to_queue_mask() local
1208 queue_mask |= GENMASK(offset + count - 1, offset); in tc_map_to_queue_mask()
1211 return queue_mask; in tc_map_to_queue_mask()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dethtool.h443 __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dethtool.h1374 __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dethtool.h489 __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch12053 + if (!test_and_set_bit(qno, &client->queue_mask[event_type]))
12245 + client->queue_mask[i] = 0; /*
12309 + test_and_clear_bit(qno, &client->queue_mask[event]);
12633 + unsigned long queue_mask[HIF_EVENT_MAX];