Home
last modified time | relevance | path

Searched refs:total_cnt (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_pble.c465 lf4k = palloc->total_cnt >> 9; in get_lvl2_pble()
466 lflast = palloc->total_cnt % PBLE_PER_PAGE; in get_lvl2_pble()
519 addr = (u64 *)gen_pool_alloc(pool, (palloc->total_cnt << 3)); in get_lvl1_pble()
528 lvl1->cnt = palloc->total_cnt; in get_lvl1_pble()
548 if (status && (palloc->total_cnt > PBLE_PER_PAGE)) in get_lvl1_lvl2_pble()
571 palloc->total_cnt = pble_cnt; in i40iw_get_pble()
577 max_sds = (palloc->total_cnt >> 18) + 1; in i40iw_get_pble()
Di40iw_pble.h68 u32 total_cnt; member
Di40iw_verbs.c1367 ret = i40iw_check_mem_contiguous(arr, palloc->total_cnt, pg_size); in i40iw_check_mr_contiguous()
/Linux-v5.4/drivers/media/dvb-frontends/
Dlgs8gxx.c925 u32 total_cnt = 0, err_cnt = 0; in lgs8gxx_read_ber() local
941 total_cnt <<= 8; in lgs8gxx_read_ber()
943 total_cnt |= t; in lgs8gxx_read_ber()
950 dprintk("error=%d total=%d\n", err_cnt, total_cnt); in lgs8gxx_read_ber()
952 if (total_cnt == 0) in lgs8gxx_read_ber()
955 *ber = err_cnt * 100 / total_cnt; in lgs8gxx_read_ber()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8723b1ant.c259 u32 total_cnt; in halbtc8723b1ant_monitor_wifi_ctr() local
301 total_cnt = coex_sta->crc_ok_cck + coex_sta->crc_ok_11g + in halbtc8723b1ant_monitor_wifi_ctr()
309 (total_cnt - coex_sta->crc_ok_cck)) { in halbtc8723b1ant_monitor_wifi_ctr()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_sli.c6905 int status, total_cnt; in lpfc_sli4_repost_sgl_list() local
6920 total_cnt = cnt; in lpfc_sli4_repost_sgl_list()
6950 if (num_posted == total_cnt) { in lpfc_sli4_repost_sgl_list()
6972 total_cnt--; in lpfc_sli4_repost_sgl_list()
7000 total_cnt -= post_cnt; in lpfc_sli4_repost_sgl_list()
7028 return total_cnt; in lpfc_sli4_repost_sgl_list()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dchip.c14317 u32 total_cnt; in init_fecn_handling() local
14325 total_cnt = dd->num_rcv_contexts - start; in init_fecn_handling()
14328 if (rmt->used + total_cnt >= NUM_MAP_ENTRIES) { in init_fecn_handling()
14381 rmt->used += total_cnt; in init_fecn_handling()