Searched refs:mpp_data (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 227 struct hvcall_mpp_data mpp_data; in parse_mpp_data() local 230 rc = h_get_mpp(&mpp_data); in parse_mpp_data() 234 seq_printf(m, "entitled_memory=%ld\n", mpp_data.entitled_mem); in parse_mpp_data() 236 if (mpp_data.mapped_mem != -1) in parse_mpp_data() 238 mpp_data.mapped_mem); in parse_mpp_data() 240 seq_printf(m, "entitled_memory_group_number=%d\n", mpp_data.group_num); in parse_mpp_data() 241 seq_printf(m, "entitled_memory_pool_number=%d\n", mpp_data.pool_num); in parse_mpp_data() 243 seq_printf(m, "entitled_memory_weight=%d\n", mpp_data.mem_weight); in parse_mpp_data() 245 mpp_data.unallocated_mem_weight); in parse_mpp_data() 247 mpp_data.unallocated_entitlement); in parse_mpp_data() [all …]
|
D | lpar.c | 931 int h_get_mpp(struct hvcall_mpp_data *mpp_data) in h_get_mpp() argument 938 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp() 939 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp() 941 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_mpp() 942 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp() 944 mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff; in h_get_mpp() 945 mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff; in h_get_mpp() 946 mpp_data->unallocated_entitlement = retbuf[3] & 0xffffffffffffUL; in h_get_mpp() 948 mpp_data->pool_size = retbuf[4]; in h_get_mpp() 949 mpp_data->loan_request = retbuf[5]; in h_get_mpp() [all …]
|
D | cmm.c | 292 struct hvcall_mpp_data mpp_data; in cmm_get_mpp() local 297 rc = h_get_mpp(&mpp_data); in cmm_get_mpp() 302 page_loan_request = div_s64((s64)mpp_data.loan_request, PAGE_SIZE); in cmm_get_mpp()
|
D | vio.c | 908 struct hvcall_mpp_data mpp_data; in vio_cmo_bus_init() local 917 err = h_get_mpp(&mpp_data); in vio_cmo_bus_init() 928 vio_cmo.entitled = mpp_data.entitled_mem; in vio_cmo_bus_init()
|
/Linux-v4.19/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 765 struct mvebu_mpp_ctrl_data *mpp_data; in mvebu_pinctrl_simple_mmio_probe() local 775 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_mmio_probe() 777 if (!mpp_data) in mvebu_pinctrl_simple_mmio_probe() 781 mpp_data[i].base = base; in mvebu_pinctrl_simple_mmio_probe() 783 soc->control_data = mpp_data; in mvebu_pinctrl_simple_mmio_probe() 819 struct mvebu_mpp_ctrl_data *mpp_data; in mvebu_pinctrl_simple_regmap_probe() local 827 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_regmap_probe() 829 if (!mpp_data) in mvebu_pinctrl_simple_regmap_probe() 833 mpp_data[i].regmap.map = regmap; in mvebu_pinctrl_simple_regmap_probe() 834 mpp_data[i].regmap.offset = offset; in mvebu_pinctrl_simple_regmap_probe() [all …]
|
D | pinctrl-dove.c | 774 struct mvebu_mpp_ctrl_data *mpp_data; in dove_pinctrl_probe() local 796 mpp_data = devm_kcalloc(&pdev->dev, dove_pinctrl_info.ncontrols, in dove_pinctrl_probe() 797 sizeof(*mpp_data), GFP_KERNEL); in dove_pinctrl_probe() 798 if (!mpp_data) in dove_pinctrl_probe() 801 dove_pinctrl_info.control_data = mpp_data; in dove_pinctrl_probe() 803 mpp_data[i].base = base; in dove_pinctrl_probe()
|