Home
last modified time | relevance | path

Searched refs:cache_line_size (Results 1 – 23 of 23) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dalloc.c112 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_alloc_db_pgdir()
144 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_alloc_db_from_pgdir()
156 offset = db->index * cache_line_size(); in mlx5_alloc_db_from_pgdir()
203 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_db_free()
/drivers/infiniband/sw/rxe/
Drxe_queue.c118 if (elem_size < cache_line_size()) in rxe_queue_init()
119 elem_size = cache_line_size(); in rxe_queue_init()
/drivers/scsi/cxlflash/
Dcommon.h148 } __aligned(cache_line_size());
Dsislite.h397 char carea[cache_line_size()]; /* 128B each */
/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.h161 uint16_t cache_line_size; member
Dkfd_topology.c241 props->cacheline_size = cache->cache_line_size; in kfd_parse_subtype_cache()
/drivers/pci/
Dpci-acpi.c62 hpx->t0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
241 hpp->t0->cache_line_size = fields[0].integer.value; in acpi_run_hpp()
Dprobe.c1398 .cache_line_size = 8,
1418 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, hpp->cache_line_size); in program_hpp_type0()
/drivers/pci/host/
Dpci-mvebu.c98 u8 cache_line_size; member
494 bridge->cache_line_size = 0x10; in mvebu_sw_pci_bridge_init()
529 bridge->latency_timer << 8 | bridge->cache_line_size; in mvebu_sw_pci_bridge_read()
/drivers/edac/
Di7core_edac.c1977 const int cache_line_size = 64; in set_sdram_scrub_rate() local
1985 cache_line_size * 1000000; in set_sdram_scrub_rate()
2017 const u32 cache_line_size = 64; in get_sdram_scrub_rate() local
2037 1000000 * cache_line_size; in get_sdram_scrub_rate()
/drivers/iommu/
Diova.c727 rcache->cpu_rcaches = __alloc_percpu(sizeof(*cpu_rcache), cache_line_size()); in init_iova_rcaches()
/drivers/gpu/drm/i915/
Di915_guc_submission.c273 const uint32_t cacheline_size = cache_line_size(); in select_doorbell_cacheline()
/drivers/net/ethernet/mellanox/mlx4/
Dmain.c266 if (cache_line_size() == 128 || cache_line_size() == 256) { in mlx4_enable_cqe_eqe_stride()
275 if (cache_line_size() != 32 && cache_line_size() != 64) in mlx4_enable_cqe_eqe_stride()
Dfw.c1878 (ilog2(cache_line_size()) - 4) << 5; in mlx4_INIT_HCA()
1927 dev->caps.eqe_size = cache_line_size(); in mlx4_INIT_HCA()
1928 dev->caps.cqe_size = cache_line_size(); in mlx4_INIT_HCA()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c6287 unsigned int cache_line_size) in t4_fixup_host_params() argument
6291 unsigned int stat_len = cache_line_size > 64 ? 128 : 64; in t4_fixup_host_params()
6292 unsigned int fl_align = cache_line_size < 32 ? 32 : cache_line_size; in t4_fixup_host_params()
Dcxgb4.h1575 unsigned int cache_line_size);
/drivers/scsi/
Dipr.h1407 u8 cache_line_size; member
Dipr.c110 .cache_line_size = 0x20,
135 .cache_line_size = 0x20,
160 .cache_line_size = 0x20,
10167 ioa_cfg->chip_cfg->cache_line_size); in ipr_probe_ioa()
/drivers/infiniband/hw/mlx5/
Dcq.c948 cqe_size = cache_line_size() == 128 ? 128 : 64; in mlx5_ib_create_cq()
Dmain.c1045 resp.cache_line_size = cache_line_size(); in mlx5_ib_alloc_ucontext()
/drivers/staging/fwserial/
Dfwserial.c998 cache_line_size(), in fwtty_port_activate()
/drivers/net/ethernet/marvell/
Dmvneta.c303 cache_line_size())
Dmvpp2.c379 ETH_HLEN + ETH_FCS_LEN, cache_line_size())