Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/lib/libfdt/
H A Dfdt_region.c34 struct fdt_region region[], int max_regions, in fdt_find_regions() argument
115 if (count && count <= max_regions && in fdt_find_regions()
124 if (count < max_regions) { in fdt_find_regions()
137 if (count < max_regions) { in fdt_find_regions()
164 info->count <= info->max_regions && in fdt_add_region()
167 } else if (info->count++ < info->max_regions) { in fdt_add_region()
220 int max_regions, struct fdt_region_state *info) in fdt_add_alias_regions() argument
246 info->max_regions = max_regions; in fdt_add_alias_regions()
275 return info->count < max_regions ? info->count : -FDT_ERR_NOSPACE; in fdt_add_alias_regions()
350 info->max_regions = 1; in fdt_first_region()
/OK3568_Linux_fs/kernel/drivers/pci/controller/
H A Dpcie-rockchip-ep.c43 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()
546 &ep->max_regions); in rockchip_pcie_parse_ep_dt()
547 if (err < 0 || ep->max_regions > MAX_REGION_LIMIT) in rockchip_pcie_parse_ep_dt()
548 ep->max_regions = MAX_REGION_LIMIT; in rockchip_pcie_parse_ep_dt()
569 size_t max_regions; in rockchip_pcie_ep_probe() local
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/sgi-xp/
H A Dxpc_partition.c412 int max_regions; in xpc_discovery() local
438 max_regions = 256; in xpc_discovery()
440 max_regions = 64; in xpc_discovery()
444 max_regions *= 2; in xpc_discovery()
447 max_regions *= 2; in xpc_discovery()
450 max_regions *= 2; in xpc_discovery()
455 for (region = 0; region < max_regions; region++) { in xpc_discovery()
/OK3568_Linux_fs/u-boot/include/linux/
H A Dlibfdt.h83 int max_regions; /* Maximum regions to find */ member
145 struct fdt_region region[], int max_regions,
307 int max_regions, struct fdt_region_state *info);
/OK3568_Linux_fs/kernel/arch/arm/mm/
H 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()
/OK3568_Linux_fs/u-boot/tools/
H A Dfdtgrep.c652 int max_regions, char *path, int path_len, int flags) in fdtgrep_find_regions() argument
664 count < max_regions ? &region[count] : NULL, in fdtgrep_find_regions()
673 if (disp->add_aliases && count < max_regions) { in fdtgrep_find_regions()
677 max_regions, &state); in fdtgrep_find_regions()
682 } else if (new_count <= max_regions) { in fdtgrep_find_regions()
778 int max_regions; in do_fdtgrep() local
812 max_regions = count; in do_fdtgrep()
815 region, max_regions, path, sizeof(path), in do_fdtgrep()
821 if (count <= max_regions) in do_fdtgrep()
/OK3568_Linux_fs/u-boot/common/
H A Dimage-sig.c350 int max_regions; in fit_config_check_sig() local
399 max_regions = 20 + count * 7; in fit_config_check_sig()
400 struct fdt_region fdt_regions[max_regions]; in fit_config_check_sig()
405 fdt_regions, max_regions - 1, in fit_config_check_sig()
415 if (count >= max_regions - 1) { in fit_config_check_sig()
/OK3568_Linux_fs/kernel/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c158 if (r >= ep->max_regions - 1) { in cdns_pcie_ep_map_addr()
178 for (r = 0; r < ep->max_regions - 1; r++) in cdns_pcie_ep_unmap_addr()
182 if (r == ep->max_regions - 1) in cdns_pcie_ep_unmap_addr()
533 &ep->max_regions); in cdns_pcie_ep_setup()
539 ep->max_regions, sizeof(*ep->ob_addr), in cdns_pcie_ep_setup()
H A Dpcie-cadence.h347 u32 max_regions; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c37 u64 max_regions; in mlxsw_sp_acl_tcam_init() local
49 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_tcam_init()
52 if (max_tcam_regions < max_regions) in mlxsw_sp_acl_tcam_init()
53 max_regions = max_tcam_regions; in mlxsw_sp_acl_tcam_init()
55 alloc_size = sizeof(tcam->used_regions[0]) * BITS_TO_LONGS(max_regions); in mlxsw_sp_acl_tcam_init()
59 tcam->max_regions = max_regions; in mlxsw_sp_acl_tcam_init()
125 id = find_first_zero_bit(tcam->used_regions, tcam->max_regions); in mlxsw_sp_acl_tcam_region_id_get()
126 if (id < tcam->max_regions) { in mlxsw_sp_acl_tcam_region_id_get()
H A Dspectrum_acl_atcam.c282 u64 max_regions; in mlxsw_sp_acl_atcam_region_associate() local
284 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_atcam_region_associate()
285 if (hw_region >= max_regions) in mlxsw_sp_acl_atcam_region_associate()
H A Dspectrum2_acl_tcam.c80 tcam->kvdl_count = _tcam->max_regions; in mlxsw_sp2_acl_tcam_init()
H A Dspectrum_acl_tcam.h16 unsigned int max_regions; member
H A Dcmd.h701 MLXSW_ITEM32(cmd_mbox, config_profile, max_regions, 0x2C, 0, 16);
H A Dcore.h264 u16 max_regions; member
H A Dswitchx2.c1615 .max_regions = 400,
H A Dpci.c1137 mbox, profile->max_regions); in mlxsw_pci_config_profile()
/OK3568_Linux_fs/kernel/fs/ocfs2/cluster/
H A Dheartbeat.c2521 int o2hb_get_all_regions(char *region_uuids, u8 max_regions) in o2hb_get_all_regions() argument
2535 if (numregs < max_regions) { in o2hb_get_all_regions()