Home
last modified time | relevance | path

Searched refs:cam_sz (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/powerpc/mm/nohash/
De500.c178 unsigned long cam_sz; in map_mem_in_cams_addr() local
181 cam_sz = calc_cam_sz(boundary, virt, phys); in map_mem_in_cams_addr()
183 settlbcam(i, virt, phys, cam_sz, pgprot_val(prot), 0); in map_mem_in_cams_addr()
185 boundary -= cam_sz; in map_mem_in_cams_addr()
186 amount_mapped += cam_sz; in map_mem_in_cams_addr()
187 virt += cam_sz; in map_mem_in_cams_addr()
188 phys += cam_sz; in map_mem_in_cams_addr()
191 unsigned long cam_sz; in map_mem_in_cams_addr() local
194 cam_sz = calc_cam_sz(ram, virt, phys); in map_mem_in_cams_addr()
196 settlbcam(i, virt, phys, cam_sz, pgprot_val(prot), 0); in map_mem_in_cams_addr()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c4373 int cam_sz; in bnx2x_init_mac_credit_pool() local
4378 cam_sz = (MAX_MAC_CREDIT_E1 / 2) - BNX2X_MAX_MULTICAST; in bnx2x_init_mac_credit_pool()
4380 cam_sz = BNX2X_CAM_SIZE_EMUL - BNX2X_MAX_EMUL_MULTI; in bnx2x_init_mac_credit_pool()
4382 bnx2x_init_credit_pool(p, func_id * cam_sz, cam_sz); in bnx2x_init_mac_credit_pool()
4390 cam_sz = (MAX_MAC_CREDIT_E1H / (2*func_num)); in bnx2x_init_mac_credit_pool()
4392 cam_sz = BNX2X_CAM_SIZE_EMUL; in bnx2x_init_mac_credit_pool()
4393 bnx2x_init_credit_pool(p, func_id * cam_sz, cam_sz); in bnx2x_init_mac_credit_pool()
4406 cam_sz = PF_MAC_CREDIT_E2(bp, func_num); in bnx2x_init_mac_credit_pool()
4408 cam_sz = BNX2X_CAM_SIZE_EMUL; in bnx2x_init_mac_credit_pool()
4413 bnx2x_init_credit_pool(p, -1, cam_sz); in bnx2x_init_mac_credit_pool()