Home
last modified time | relevance | path

Searched refs:mem_avail (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/infiniband/hw/mthca/
Dmthca_profile.c77 u64 mem_base, mem_avail; in mthca_make_profile() local
124 mem_avail = dev_lim->hca.arbel.max_icm_sz; in mthca_make_profile()
127 mem_avail = dev->fw.tavor.fw_start - dev->ddr_start; in mthca_make_profile()
147 if (total_size > mem_avail) { in mthca_make_profile()
151 (unsigned long long) mem_avail); in mthca_make_profile()
169 (int) (total_size >> 10), (int) (mem_avail >> 10), in mthca_make_profile()
170 (int) ((mem_avail - total_size) >> 10)); in mthca_make_profile()
/Linux-v5.15/drivers/pci/hotplug/
Dcpqphp_nvram.c68 u8 mem_avail; member
311 p_ev_ctrl->mem_avail = loop; in store_HRT()
468 nummem = p_ev_ctrl->mem_avail; in compaq_nvram_load()
496 nummem = p_ev_ctrl->mem_avail; in compaq_nvram_load()
/Linux-v5.15/drivers/mfd/
Dsm501.c805 resource_size_t *mem_avail) in sm501_register_usbhost() argument
814 sm501_create_mem(sm, &pdev->resource[1], mem_avail, 256*1024); in sm501_register_usbhost()
864 resource_size_t *mem_avail) in sm501_register_display() argument
874 sm501_create_mem(sm, &pdev->resource[2], mem_avail, *mem_avail); in sm501_register_display()
1301 resource_size_t mem_avail; in sm501_init_dev() local
1322 mem_avail = sm501_mem_local[(dramctrl >> 13) & 0x7]; in sm501_init_dev()
1325 sm->regs, devid, (unsigned long)mem_avail >> 20, sm->irq); in sm501_init_dev()
1346 sm501_register_usbhost(sm, &mem_avail); in sm501_init_dev()
1368 sm501_register_display(sm, &mem_avail); in sm501_init_dev()