Searched refs:max_regions (Results 1 – 14 of 14) sorted by relevance
/Linux-v4.19/drivers/pci/controller/ |
D | pcie-rockchip-ep.c | 42 u32 max_regions; member 272 if (r >= ep->max_regions - 1) { in rockchip_pcie_ep_map_addr() 293 for (r = 0; r < ep->max_regions - 1; r++) in rockchip_pcie_ep_unmap_addr() 301 if (r == ep->max_regions - 1) in rockchip_pcie_ep_unmap_addr() 351 u32 r = ep->max_regions - 1; in rockchip_pcie_ep_assert_intx() 460 rockchip_pcie_prog_ep_ob_atu(rockchip, fn, ep->max_regions - 1, in rockchip_pcie_ep_send_msi_irq() 536 &ep->max_regions); in rockchip_pcie_parse_ep_dt() 537 if (err < 0 || ep->max_regions > MAX_REGION_LIMIT) in rockchip_pcie_parse_ep_dt() 538 ep->max_regions = MAX_REGION_LIMIT; in rockchip_pcie_parse_ep_dt() 559 size_t max_regions; in rockchip_pcie_ep_probe() local [all …]
|
D | pcie-cadence-ep.c | 39 u32 max_regions; member 183 if (r >= ep->max_regions - 1) { in cdns_pcie_ep_map_addr() 203 for (r = 0; r < ep->max_regions - 1; r++) in cdns_pcie_ep_unmap_addr() 207 if (r == ep->max_regions - 1) in cdns_pcie_ep_unmap_addr() 261 u32 r = ep->max_regions - 1; in cdns_pcie_ep_assert_intx() 351 cdns_pcie_set_outbound_region(pcie, fn, ep->max_regions - 1, in cdns_pcie_ep_send_msi_irq() 466 &ep->max_regions); in cdns_pcie_ep_probe() 472 ep->max_regions, sizeof(*ep->ob_addr), in cdns_pcie_ep_probe()
|
D | pcie-cadence-host.c | 35 u32 max_regions; member 175 if (r >= rc->max_regions) in cdns_pcie_host_init_address_translation() 259 rc->max_regions = 32; in cdns_pcie_host_probe() 260 of_property_read_u32(np, "cdns,max-outbound-regions", &rc->max_regions); in cdns_pcie_host_probe()
|
/Linux-v4.19/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 416 int max_regions; in xpc_discovery() local 442 max_regions = 256; in xpc_discovery() 444 max_regions = 64; in xpc_discovery() 448 max_regions *= 2; in xpc_discovery() 451 max_regions *= 2; in xpc_discovery() 454 max_regions *= 2; in xpc_discovery() 460 for (region = 0; region < max_regions; region++) { in xpc_discovery()
|
/Linux-v4.19/arch/arm/mm/ |
D | pmsa-v8.c | 127 static int max_regions; in __mpu_max_regions() local 130 if (max_regions) in __mpu_max_regions() 131 return max_regions; in __mpu_max_regions() 135 max_regions = (mpuir & MPUIR_DREGION_SZMASK) >> MPUIR_DREGION; in __mpu_max_regions() 137 return max_regions; in __mpu_max_regions()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_tcam.c | 31 u64 max_regions; in mlxsw_sp_acl_tcam_init() local 38 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_tcam_init() 41 if (max_tcam_regions < max_regions) in mlxsw_sp_acl_tcam_init() 42 max_regions = max_tcam_regions; in mlxsw_sp_acl_tcam_init() 44 alloc_size = sizeof(tcam->used_regions[0]) * BITS_TO_LONGS(max_regions); in mlxsw_sp_acl_tcam_init() 48 tcam->max_regions = max_regions; in mlxsw_sp_acl_tcam_init() 112 id = find_first_zero_bit(tcam->used_regions, tcam->max_regions); in mlxsw_sp_acl_tcam_region_id_get() 113 if (id < tcam->max_regions) { in mlxsw_sp_acl_tcam_region_id_get()
|
D | spectrum_acl_atcam.c | 281 u64 max_regions; in mlxsw_sp_acl_atcam_region_associate() local 283 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_atcam_region_associate() 284 if (hw_region >= max_regions) in mlxsw_sp_acl_atcam_region_associate()
|
D | spectrum_acl_tcam.h | 16 unsigned int max_regions; member
|
D | spectrum2_acl_tcam.c | 80 tcam->kvdl_count = _tcam->max_regions; in mlxsw_sp2_acl_tcam_init()
|
D | core.h | 214 u16 max_regions; member
|
D | cmd.h | 689 MLXSW_ITEM32(cmd_mbox, config_profile, max_regions, 0x2C, 0, 16);
|
D | switchx2.c | 1653 .max_regions = 400,
|
D | pci.c | 1140 mbox, profile->max_regions); in mlxsw_pci_config_profile()
|
/Linux-v4.19/fs/ocfs2/cluster/ |
D | heartbeat.c | 2631 int o2hb_get_all_regions(char *region_uuids, u8 max_regions) in o2hb_get_all_regions() argument 2645 if (numregs < max_regions) { in o2hb_get_all_regions()
|