Searched refs:max_regions (Results 1 – 11 of 11) sorted by relevance
/drivers/pci/controller/ |
D | pcie-rockchip-ep.c | 43 u32 max_regions; member 256 for (r = 0; r < ep->max_regions; r++) in rockchip_pcie_ep_unmap_addr() 260 if (r == ep->max_regions) in rockchip_pcie_ep_unmap_addr() 483 &ep->max_regions); in rockchip_pcie_parse_ep_dt() 484 if (err < 0 || ep->max_regions > MAX_REGION_LIMIT) in rockchip_pcie_parse_ep_dt() 485 ep->max_regions = MAX_REGION_LIMIT; in rockchip_pcie_parse_ep_dt() 508 size_t max_regions; in rockchip_pcie_ep_probe() local 546 max_regions = ep->max_regions; in rockchip_pcie_ep_probe() 547 ep->ob_addr = devm_kcalloc(dev, max_regions, sizeof(*ep->ob_addr), in rockchip_pcie_ep_probe() 558 windows = devm_kcalloc(dev, ep->max_regions, in rockchip_pcie_ep_probe() [all …]
|
/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 422 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()
|
/drivers/pci/controller/cadence/ |
D | pcie-cadence-ep.c | 191 if (r >= ep->max_regions - 1) { in cdns_pcie_ep_map_addr() 212 for (r = 0; r < ep->max_regions - 1; r++) in cdns_pcie_ep_unmap_addr() 216 if (r == ep->max_regions - 1) in cdns_pcie_ep_unmap_addr() 651 ep->max_regions = CDNS_PCIE_MAX_OB; in cdns_pcie_ep_setup() 652 of_property_read_u32(np, "cdns,max-outbound-regions", &ep->max_regions); in cdns_pcie_ep_setup() 655 ep->max_regions, sizeof(*ep->ob_addr), in cdns_pcie_ep_setup()
|
D | pcie-cadence.h | 363 u32 max_regions; member
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_tcam.c | 61 id = find_first_zero_bit(tcam->used_regions, tcam->max_regions); in mlxsw_sp_acl_tcam_region_id_get() 62 if (id < tcam->max_regions) { in mlxsw_sp_acl_tcam_region_id_get() 1489 u64 max_regions; in mlxsw_sp_acl_tcam_init() local 1500 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_tcam_init() 1503 if (max_tcam_regions < max_regions) in mlxsw_sp_acl_tcam_init() 1504 max_regions = max_tcam_regions; in mlxsw_sp_acl_tcam_init() 1506 tcam->used_regions = bitmap_zalloc(max_regions, GFP_KERNEL); in mlxsw_sp_acl_tcam_init() 1511 tcam->max_regions = max_regions; in mlxsw_sp_acl_tcam_init()
|
D | spectrum_acl_atcam.c | 280 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()
|
D | spectrum2_acl_tcam.c | 80 tcam->kvdl_count = _tcam->max_regions; in mlxsw_sp2_acl_tcam_init()
|
D | spectrum_acl_tcam.h | 16 unsigned int max_regions; member
|
D | cmd.h | 724 MLXSW_ITEM32(cmd_mbox, config_profile, max_regions, 0x2C, 0, 16);
|
D | core.h | 290 u16 max_regions; member
|
D | pci.c | 1190 mbox, profile->max_regions); in mlxsw_pci_config_profile()
|