Home
last modified time | relevance | path

Searched refs:max_regions (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/pci/controller/
A Dpcie-rockchip-ep.c43 u32 max_regions; member
273 if (r >= ep->max_regions - 1) { in rockchip_pcie_ep_map_addr()
294 for (r = 0; r < ep->max_regions - 1; r++) in rockchip_pcie_ep_unmap_addr()
302 if (r == ep->max_regions - 1) in rockchip_pcie_ep_unmap_addr()
352 u32 r = ep->max_regions - 1; in rockchip_pcie_ep_assert_intx()
461 rockchip_pcie_prog_ep_ob_atu(rockchip, fn, ep->max_regions - 1, in rockchip_pcie_ep_send_msi_irq()
547 &ep->max_regions); in rockchip_pcie_parse_ep_dt()
548 if (err < 0 || ep->max_regions > MAX_REGION_LIMIT) in rockchip_pcie_parse_ep_dt()
549 ep->max_regions = MAX_REGION_LIMIT; in rockchip_pcie_parse_ep_dt()
570 size_t max_regions; in rockchip_pcie_ep_probe() local
[all …]
/linux/drivers/misc/sgi-xp/
A Dxpc_partition.c422 int max_regions; in xpc_discovery() local
448 max_regions = 256; in xpc_discovery()
450 max_regions = 64; in xpc_discovery()
454 max_regions *= 2; in xpc_discovery()
457 max_regions *= 2; in xpc_discovery()
460 max_regions *= 2; in xpc_discovery()
465 for (region = 0; region < max_regions; region++) { in xpc_discovery()
/linux/arch/arm/mm/
A Dpmsa-v8.c128 static int max_regions; in __mpu_max_regions() local
131 if (max_regions) in __mpu_max_regions()
132 return max_regions; in __mpu_max_regions()
136 max_regions = (mpuir & MPUIR_DREGION_SZMASK) >> MPUIR_DREGION; in __mpu_max_regions()
138 return max_regions; in __mpu_max_regions()
/linux/drivers/pci/controller/cadence/
A Dpcie-cadence-ep.c192 if (r >= ep->max_regions - 1) { in cdns_pcie_ep_map_addr()
213 for (r = 0; r < ep->max_regions - 1; r++) in cdns_pcie_ep_unmap_addr()
217 if (r == ep->max_regions - 1) in cdns_pcie_ep_unmap_addr()
652 ep->max_regions = CDNS_PCIE_MAX_OB; in cdns_pcie_ep_setup()
653 of_property_read_u32(np, "cdns,max-outbound-regions", &ep->max_regions); in cdns_pcie_ep_setup()
656 ep->max_regions, sizeof(*ep->ob_addr), in cdns_pcie_ep_setup()
A Dpcie-cadence.h363 u32 max_regions; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_tcam.c37 u64 max_regions; in mlxsw_sp_acl_tcam_init() local
48 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_tcam_init()
51 if (max_tcam_regions < max_regions) in mlxsw_sp_acl_tcam_init()
52 max_regions = max_tcam_regions; in mlxsw_sp_acl_tcam_init()
54 tcam->used_regions = bitmap_zalloc(max_regions, GFP_KERNEL); in mlxsw_sp_acl_tcam_init()
57 tcam->max_regions = max_regions; in mlxsw_sp_acl_tcam_init()
122 id = find_first_zero_bit(tcam->used_regions, tcam->max_regions); in mlxsw_sp_acl_tcam_region_id_get()
123 if (id < tcam->max_regions) { in mlxsw_sp_acl_tcam_region_id_get()
A Dspectrum_acl_atcam.c280 u64 max_regions; in mlxsw_sp_acl_atcam_region_associate() local
282 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_atcam_region_associate()
283 if (hw_region >= max_regions) in mlxsw_sp_acl_atcam_region_associate()
A Dspectrum2_acl_tcam.c80 tcam->kvdl_count = _tcam->max_regions; in mlxsw_sp2_acl_tcam_init()
A Dspectrum_acl_tcam.h16 unsigned int max_regions; member
A Dcmd.h724 MLXSW_ITEM32(cmd_mbox, config_profile, max_regions, 0x2C, 0, 16);
A Dcore.h288 u16 max_regions; member
A Dpci.c1186 mbox, profile->max_regions); in mlxsw_pci_config_profile()
/linux/fs/ocfs2/cluster/
A Dheartbeat.c2518 int o2hb_get_all_regions(char *region_uuids, u8 max_regions) in o2hb_get_all_regions() argument
2532 if (numregs < max_regions) { in o2hb_get_all_regions()

Completed in 56 milliseconds