Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.h26 #define HINIC_DB_MAX_AREAS (HINIC_DB_SIZE / HINIC_DB_PAGE_SIZE) macro
39 int db_idx[HINIC_DB_MAX_AREAS];
Dhinic_hw_io.c49 for (i = 0; i < HINIC_DB_MAX_AREAS; i++) in init_db_area_idx()
53 free_db_area->return_pos = HINIC_DB_MAX_AREAS; in init_db_area_idx()
55 free_db_area->num_free = HINIC_DB_MAX_AREAS; in init_db_area_idx()
76 pos &= HINIC_DB_MAX_AREAS - 1; in get_db_area()
96 pos &= HINIC_DB_MAX_AREAS - 1; in return_db_area()