Home
last modified time | relevance | path

Searched refs:nslots (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/kvm/
A Dmemslot_perf_test.c94 uint32_t nslots; member
212 if (slot == data->nslots - 1) in vm_gpa2hva()
260 TEST_ASSERT(nslots > 1 || nslots == -1, in prepare_vm()
262 if (nslots != -1) in prepare_vm()
270 data->nslots = max_mem_slots - 1; in prepare_vm()
277 rempages = mempages % data->nslots; in prepare_vm()
842 int nslots; member
857 targs->nslots); in help()
890 targs->nslots = atoi(optarg); in parse_args()
891 if (targs->nslots <= 0 && targs->nslots != -1) { in parse_args()
[all …]
/linux/kernel/dma/
A Dswiotlb.c476 BUG_ON(!nslots); in swiotlb_find_slots()
489 if (unlikely(nslots > mem->nslabs - mem->used)) in swiotlb_find_slots()
506 if (!iommu_is_span_boundary(index, nslots, in swiotlb_find_slots()
509 if (mem->slots[index].list >= nslots) in swiotlb_find_slots()
520 for (i = index; i < index + nslots; i++) { in swiotlb_find_slots()
533 if (index + nslots < mem->nslabs) in swiotlb_find_slots()
534 mem->index = index + nslots; in swiotlb_find_slots()
537 mem->used += nslots; in swiotlb_find_slots()
607 count = mem->slots[index + nslots].list; in swiotlb_release_slots()
615 for (i = index + nslots - 1; i >= index; i--) { in swiotlb_release_slots()
[all …]
/linux/drivers/dma/ti/
A Dedma.c781 int i, j, left, nslots; in edma_execute() local
826 if (i != (nslots - 1)) in edma_execute()
1078 int i, nslots, ret; in edma_prep_slave_sg() local
1166 int ret, nslots; in edma_prep_dma_memcpy() local
1196 nslots = 1; in edma_prep_dma_memcpy()
1213 nslots = 1; in edma_prep_dma_memcpy()
1215 nslots = 2; in edma_prep_dma_memcpy()
1237 if (nslots == 1) { in edma_prep_dma_memcpy()
1365 int i, ret, nslots; in edma_prep_dma_cyclic() local
1414 nslots = 2; in edma_prep_dma_cyclic()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_u32.c361 u8 nslots; in cxgb4_delete_knode() local
405 nslots = 0; in cxgb4_delete_knode()
407 nslots++; in cxgb4_delete_knode()
410 nslots += 2; in cxgb4_delete_knode()
413 filter_id += nslots; in cxgb4_delete_knode()
A Dcxgb4_filter.c445 static bool cxgb4_filter_prio_in_range(struct tid_info *t, u32 idx, u8 nslots, in cxgb4_filter_prio_in_range() argument
535 prev_fe = &prev_tab[prev_ftid & ~(nslots - 1)]; in cxgb4_filter_prio_in_range()
/linux/drivers/virtio/
A Dvirtio_input.c223 int abs, err, nslots; in virtinput_probe() local
310 nslots = input_abs_get_max(vi->idev, ABS_MT_SLOT) + 1; in virtinput_probe()
311 err = input_mt_init_slots(vi->idev, nslots, 0); in virtinput_probe()
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_beacon.c16 for (i = 0; i < dev->beacon_ops->nslots; i++) { in mt76x02_set_beacon_offsets()
A Dmt76x02.h64 unsigned int nslots; member
A Dmt76x02_usb_core.c256 .nslots = N_BCN_SLOTS, in mt76x02u_init_beacon_config()
A Dmt76x02_mmio.c87 .nslots = 8, in mt76x02e_init_beacon_config()
/linux/include/linux/
A Dcdrom.h156 __u8 nslots; member
/linux/drivers/cdrom/
A Dcdrom.c1319 buf->hdr.nslots = 3; in cdrom_read_mech_status()
1370 int nslots = 1; in cdrom_number_of_slots() local
1382 nslots = info->hdr.nslots; in cdrom_number_of_slots()
1385 return nslots; in cdrom_number_of_slots()
/linux/drivers/i3c/
A Dmaster.c2293 unsigned int nslots = 0; in i3c_generic_ibi_free_pool() local
2299 nslots++; in i3c_generic_ibi_free_pool()
2306 WARN_ON(nslots != pool->num_slots); in i3c_generic_ibi_free_pool()

Completed in 37 milliseconds