Searched refs:mem_avail (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/infiniband/hw/mthca/ |
D | mthca_profile.c | 77 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/ |
D | cpqphp_nvram.c | 68 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/ |
D | sm501.c | 805 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()
|