Home
last modified time | relevance | path

Searched refs:pg_size (Results 1 – 5 of 5) sorted by relevance

/drivers/iommu/
Diommu.c323 unsigned long pg_size; in iommu_group_create_direct_mappings() local
331 pg_size = 1UL << __ffs(domain->pgsize_bitmap); in iommu_group_create_direct_mappings()
343 start = ALIGN(entry->start, pg_size); in iommu_group_create_direct_mappings()
344 end = ALIGN(entry->start + entry->length, pg_size); in iommu_group_create_direct_mappings()
346 for (addr = start; addr < end; addr += pg_size) { in iommu_group_create_direct_mappings()
353 ret = iommu_map(domain, addr, addr, pg_size, entry->prot); in iommu_group_create_direct_mappings()
/drivers/crypto/caam/
Dctrl.c450 int pg_size; in caam_probe() local
539 pg_size = (comp_params & CTPR_MS_PG_SZ_MASK) >> CTPR_MS_PG_SZ_SHIFT; in caam_probe()
544 if (pg_size == 0) in caam_probe()
/drivers/target/sbp/
Dsbp_target.c1257 int tcode, sg_miter_flags, max_payload, pg_size, speed, node_id, in sbp_rw_data() local
1276 pg_size = CMDBLK_ORB_PG_SIZE(be32_to_cpu(req->orb.misc)); in sbp_rw_data()
1277 if (pg_size) { in sbp_rw_data()
1279 pg_size = 0x100 << pg_size; in sbp_rw_data()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c743 u16 pg_size = 2 * MLXSW_SP_BYTES_TO_CELLS(mtu); in mlxsw_sp_pg_buf_pack() local
750 pg_size + delay, pg_size); in mlxsw_sp_pg_buf_pack()
752 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, pg_index, pg_size); in mlxsw_sp_pg_buf_pack()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c2586 unsigned int pg_size) in pm_num_pages() argument
2588 unsigned int n = mem_size / pg_size; in pm_num_pages()