Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/
H A Dmemslot_perf_test.c87 uint32_t nslots; member
265 slots = data->nslots; in get_max_slots()
299 data->nslots = nslots; in prepare_vm()
319 if (slot == data->nslots) in prepare_vm()
885 int nslots; member
900 targs->nslots); in help()
971 if (targs->nslots <= 1 && targs->nslots != -1) { in parse_args()
1013 if (targs->nslots == -1) in parse_args()
1016 targs->nslots = min_t(int, targs->nslots, max_mem_slots) - 1; in parse_args()
1019 targs->nslots + 1); in parse_args()
[all …]
/linux/kernel/dma/
H A Dswiotlb.c179 if (nslots < nareas * IO_TLB_SEGSIZE) in limit_nareas()
180 return nslots / IO_TLB_SEGSIZE; in limit_nareas()
965 atomic_long_sub(nslots, &mem->total_used); in dec_used()
1032 BUG_ON(!nslots); in swiotlb_search_pool_area()
1084 if (pool->slots[slot_index].list >= nslots) in swiotlb_search_pool_area()
1115 area->used += nslots; in swiotlb_search_pool_area()
1447 int index, nslots, aindex; in swiotlb_release_slots() local
1467 count = mem->slots[index + nslots].list; in swiotlb_release_slots()
1475 for (i = index + nslots - 1; i >= index; i--) { in swiotlb_release_slots()
1490 area->used -= nslots; in swiotlb_release_slots()
[all …]
/linux/drivers/dma/ti/
H A Dedma.c724 int i, j, left, nslots; in edma_execute() local
769 if (i != (nslots - 1)) in edma_execute()
1021 int i, nslots, ret; in edma_prep_slave_sg() local
1109 int ret, nslots; in edma_prep_dma_memcpy() local
1139 nslots = 1; in edma_prep_dma_memcpy()
1156 nslots = 1; in edma_prep_dma_memcpy()
1158 nslots = 2; in edma_prep_dma_memcpy()
1180 if (nslots == 1) { in edma_prep_dma_memcpy()
1308 int i, ret, nslots; in edma_prep_dma_cyclic() local
1357 nslots = 2; in edma_prep_dma_cyclic()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H 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()
H 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/
H 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/
H A Dmt76x02_beacon.c16 for (i = 0; i < dev->beacon_ops->nslots; i++) { in mt76x02_set_beacon_offsets()
H A Dmt76x02.h64 unsigned int nslots; member
H A Dmt76x02_usb_core.c263 .nslots = N_BCN_SLOTS, in mt76x02u_init_beacon_config()
H A Dmt76x02_mmio.c95 .nslots = 8, in mt76x02e_init_beacon_config()
/linux/include/linux/
H A Dcdrom.h155 __u8 nslots; member
/linux/drivers/cdrom/
H A Dcdrom.c1297 buf->hdr.nslots = 3; in cdrom_read_mech_status()
1347 int nslots = 1; in cdrom_number_of_slots() local
1359 nslots = info->hdr.nslots; in cdrom_number_of_slots()
1362 return nslots; in cdrom_number_of_slots()
/linux/drivers/i3c/
H A Dmaster.c2553 unsigned int nslots = 0; in i3c_generic_ibi_free_pool() local
2559 nslots++; in i3c_generic_ibi_free_pool()
2566 WARN_ON(nslots != pool->num_slots); in i3c_generic_ibi_free_pool()
/linux/sound/soc/codecs/
H A Dcs42l43.c554 int *slots, unsigned int nslots) in cs42l43_mask_to_slots() argument
560 if (i == nslots) { in cs42l43_mask_to_slots()