Home
last modified time | relevance | path

Searched refs:slot_size (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/kvm/
A Dmax_guest_memory_test.c170 uint64_t max_gpa, gpa, slot_size, max_mem, i; in main() local
183 slot_size = SZ_2G; in main()
220 TEST_ASSERT(max_gpa > (4 * slot_size), "MAXPHYADDR <4gb "); in main()
222 fd = kvm_memfd_alloc(slot_size, hugepages); in main()
229 for (i = 0; i < slot_size; i += vm->page_size) in main()
234 gpa = start_gpa + ((slot - first_slot) * slot_size); in main()
235 if (gpa + slot_size > max_gpa) in main()
241 vm_set_user_memory_region(vm, slot, 0, gpa, slot_size, mem); in main()
245 for (i = 0; i < slot_size; i += SZ_1G) in main()
248 for (i = 0; i < slot_size; i += vm->page_size) in main()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/litex/
A Dlitex_liteeth.c44 u32 slot_size; member
78 memcpy_fromio(data, priv->rx_base + rx_slot * priv->slot_size, len); in liteeth_rx()
171 if (unlikely(skb->len > priv->slot_size)) { in liteeth_start_xmit()
182 txbuffer = priv->tx_base + priv->tx_slot * priv->slot_size; in liteeth_start_xmit()
220 err = of_property_read_u32(np, "litex,slot-size", &priv->slot_size); in liteeth_setup_slots()
223 priv->slot_size = 0x800; in liteeth_setup_slots()
265 priv->tx_base = buf_base + priv->num_rx_slots * priv->slot_size; in liteeth_probe()
281 netdev->irq, priv->num_tx_slots, priv->num_rx_slots, priv->slot_size); in liteeth_probe()
/linux-6.3-rc2/sound/soc/codecs/
A Dtas2780.c157 int slot_size; in tas2780_set_bitwidth() local
165 slot_size = TAS2780_TDM_CFG2_RXS_16BITS; in tas2780_set_bitwidth()
172 slot_size = TAS2780_TDM_CFG2_RXS_24BITS; in tas2780_set_bitwidth()
179 slot_size = TAS2780_TDM_CFG2_RXS_32BITS; in tas2780_set_bitwidth()
193 TAS2780_TDM_CFG2_RXS_MASK, slot_size); in tas2780_set_bitwidth()
377 int slot_size; in tas2780_set_dai_tdm_slot() local
406 slot_size = TAS2780_TDM_CFG2_RXS_16BITS; in tas2780_set_dai_tdm_slot()
409 slot_size = TAS2780_TDM_CFG2_RXS_24BITS; in tas2780_set_dai_tdm_slot()
412 slot_size = TAS2780_TDM_CFG2_RXS_32BITS; in tas2780_set_dai_tdm_slot()
420 TAS2780_TDM_CFG2_RXS_MASK, slot_size); in tas2780_set_dai_tdm_slot()
A Dtas2764.c435 int slot_size; in tas2764_set_dai_tdm_slot() local
461 slot_size = TAS2764_TDM_CFG2_RXS_16BITS; in tas2764_set_dai_tdm_slot()
464 slot_size = TAS2764_TDM_CFG2_RXS_24BITS; in tas2764_set_dai_tdm_slot()
467 slot_size = TAS2764_TDM_CFG2_RXS_32BITS; in tas2764_set_dai_tdm_slot()
475 slot_size); in tas2764_set_dai_tdm_slot()
/linux-6.3-rc2/drivers/tc/
A Dtc.c36 resource_size_t slotsize = tbus->info.slot_size << 20; in tc_bus_add_devices()
162 if (tc_bus.info.slot_size) { in tc_init()
172 (tc_bus.info.slot_size << 20) * in tc_init()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_beacon.c17 val = i * dev->beacon_ops->slot_size; in mt76x02_set_beacon_offsets()
28 int beacon_len = dev->beacon_ops->slot_size; in mt76x02_write_beacon()
57 int bcn_len = dev->beacon_ops->slot_size; in mt76x02_mac_set_beacon()
A Dmt76x02.h65 unsigned int slot_size; member
A Dmt76x02_usb_core.c257 .slot_size = (8192 / N_BCN_SLOTS) & ~63, in mt76x02u_init_beacon_config()
A Dmt76x02_mmio.c89 .slot_size = 1024, in mt76x02e_init_beacon_config()
/linux-6.3-rc2/include/linux/
A Dtc.h53 s32 slot_size; /* Slot size in megabytes. */ member
/linux-6.3-rc2/drivers/hsi/clients/
A Dcmt_speech.c107 unsigned int slot_size; member
888 hi->slot_size = L1_CACHE_ALIGN(hi->buf_size); in cs_hsi_data_enable()
891 hi->slot_size, hi->buf_size, L1_CACHE_BYTES); in cs_hsi_data_enable()
899 hi->rx_offsets[i] = data_start + i * hi->slot_size; in cs_hsi_data_enable()
906 (i + hi->mmap_cfg->rx_bufs) * hi->slot_size; in cs_hsi_data_enable()
957 hi->slot_size = 0; in cs_hsi_buf_config()
/linux-6.3-rc2/sound/soc/stm/
A Dstm32_sai_sub.c596 int slotr, slotr_mask, slot_size; in stm32_sai_set_dai_tdm_slot() local
608 slot_size = SAI_SLOT_SIZE_16; in stm32_sai_set_dai_tdm_slot()
611 slot_size = SAI_SLOT_SIZE_32; in stm32_sai_set_dai_tdm_slot()
614 slot_size = SAI_SLOT_SIZE_AUTO; in stm32_sai_set_dai_tdm_slot()
618 slotr = SAI_XSLOTR_SLOTSZ_SET(slot_size) | in stm32_sai_set_dai_tdm_slot()
/linux-6.3-rc2/drivers/staging/vc04_services/interface/vchiq_arm/
A Dvchiq_core.h325 int slot_size; member
A Dvchiq_core.c2151 slot_zero->slot_size = VCHIQ_SLOT_SIZE; in vchiq_init_slots()
/linux-6.3-rc2/net/sched/
A Dsch_qfq.c229 u64 slot_size = (u64)maxlen * inv_w; in qfq_calc_index() local
233 size_map = slot_size >> min_slot_shift; in qfq_calc_index()
238 index -= !(slot_size - (1ULL << (index + min_slot_shift - 1))); in qfq_calc_index()
/linux-6.3-rc2/drivers/media/platform/amphion/
A Dvpu_malone.c218 u32 slot_size; member
633 iface->udata_buffer[instance].slot_size = params->udata.size; in vpu_malone_set_params()
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/
A Dwmi.h1952 __le32 slot_size; member

Completed in 63 milliseconds