Searched refs:mem_avail (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/infiniband/hw/mthca/ |
D | mthca_profile.c | 77 u64 mem_base, mem_avail; in mthca_make_profile() local 125 mem_avail = dev_lim->hca.arbel.max_icm_sz; in mthca_make_profile() 128 mem_avail = dev->fw.tavor.fw_start - dev->ddr_start; in mthca_make_profile() 151 if (total_size > mem_avail) { in mthca_make_profile() 155 (unsigned long long) mem_avail); in mthca_make_profile() 173 (int) (total_size >> 10), (int) (mem_avail >> 10), in mthca_make_profile() 174 (int) ((mem_avail - total_size) >> 10)); in mthca_make_profile()
|
/linux-2.6.39/drivers/pci/hotplug/ |
D | cpqphp_nvram.c | 83 u8 mem_avail; member 328 p_ev_ctrl->mem_avail = loop; in store_HRT() 488 nummem = p_ev_ctrl->mem_avail; in compaq_nvram_load() 516 nummem = p_ev_ctrl->mem_avail; in compaq_nvram_load()
|
/linux-2.6.39/drivers/mfd/ |
D | sm501.c | 813 resource_size_t *mem_avail) in sm501_register_usbhost() argument 822 sm501_create_mem(sm, &pdev->resource[1], mem_avail, 256*1024); in sm501_register_usbhost() 872 resource_size_t *mem_avail) in sm501_register_display() argument 882 sm501_create_mem(sm, &pdev->resource[2], mem_avail, *mem_avail); in sm501_register_display() 1328 resource_size_t mem_avail; in sm501_init_dev() local 1349 mem_avail = sm501_mem_local[(dramctrl >> 13) & 0x7]; in sm501_init_dev() 1352 sm->regs, devid, (unsigned long)mem_avail >> 20, sm->irq); in sm501_init_dev() 1373 sm501_register_usbhost(sm, &mem_avail); in sm501_init_dev() 1395 sm501_register_display(sm, &mem_avail); in sm501_init_dev()
|