/linux-6.3-rc2/tools/testing/selftests/kvm/ |
A D | max_guest_memory_test.c | 170 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 D | litex_liteeth.c | 44 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 D | tas2780.c | 157 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 D | tas2764.c | 435 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 D | tc.c | 36 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 D | mt76x02_beacon.c | 17 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 D | mt76x02.h | 65 unsigned int slot_size; member
|
A D | mt76x02_usb_core.c | 257 .slot_size = (8192 / N_BCN_SLOTS) & ~63, in mt76x02u_init_beacon_config()
|
A D | mt76x02_mmio.c | 89 .slot_size = 1024, in mt76x02e_init_beacon_config()
|
/linux-6.3-rc2/include/linux/ |
A D | tc.h | 53 s32 slot_size; /* Slot size in megabytes. */ member
|
/linux-6.3-rc2/drivers/hsi/clients/ |
A D | cmt_speech.c | 107 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 D | stm32_sai_sub.c | 596 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 D | vchiq_core.h | 325 int slot_size; member
|
A D | vchiq_core.c | 2151 slot_zero->slot_size = VCHIQ_SLOT_SIZE; in vchiq_init_slots()
|
/linux-6.3-rc2/net/sched/ |
A D | sch_qfq.c | 229 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 D | vpu_malone.c | 218 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 D | wmi.h | 1952 __le32 slot_size; member
|