Searched refs:mpp_data (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 258 struct hvcall_mpp_data mpp_data; in parse_mpp_data() local 261 rc = h_get_mpp(&mpp_data); in parse_mpp_data() 265 seq_printf(m, "entitled_memory=%ld\n", mpp_data.entitled_mem); in parse_mpp_data() 267 if (mpp_data.mapped_mem != -1) in parse_mpp_data() 269 mpp_data.mapped_mem); in parse_mpp_data() 271 seq_printf(m, "entitled_memory_group_number=%d\n", mpp_data.group_num); in parse_mpp_data() 272 seq_printf(m, "entitled_memory_pool_number=%d\n", mpp_data.pool_num); in parse_mpp_data() 274 seq_printf(m, "entitled_memory_weight=%d\n", mpp_data.mem_weight); in parse_mpp_data() 276 mpp_data.unallocated_mem_weight); in parse_mpp_data() 278 mpp_data.unallocated_entitlement); in parse_mpp_data() [all …]
|
D | lpar.c | 1892 int h_get_mpp(struct hvcall_mpp_data *mpp_data) in h_get_mpp() argument 1899 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp() 1900 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp() 1902 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_mpp() 1903 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp() 1905 mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff; in h_get_mpp() 1906 mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff; in h_get_mpp() 1907 mpp_data->unallocated_entitlement = retbuf[3] & 0xffffffffffffUL; in h_get_mpp() 1909 mpp_data->pool_size = retbuf[4]; in h_get_mpp() 1910 mpp_data->loan_request = retbuf[5]; in h_get_mpp() [all …]
|
D | cmm.c | 242 struct hvcall_mpp_data mpp_data; in cmm_get_mpp() local 247 rc = h_get_mpp(&mpp_data); in cmm_get_mpp() 250 page_loan_request = div_s64((s64)mpp_data.loan_request, in cmm_get_mpp()
|
D | vio.c | 892 struct hvcall_mpp_data mpp_data; in vio_cmo_bus_init() local 901 err = h_get_mpp(&mpp_data); in vio_cmo_bus_init() 912 vio_cmo.entitled = mpp_data.entitled_mem; in vio_cmo_bus_init()
|
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 761 struct mvebu_mpp_ctrl_data *mpp_data; in mvebu_pinctrl_simple_mmio_probe() local 769 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_mmio_probe() 771 if (!mpp_data) in mvebu_pinctrl_simple_mmio_probe() 775 mpp_data[i].base = base; in mvebu_pinctrl_simple_mmio_probe() 777 soc->control_data = mpp_data; in mvebu_pinctrl_simple_mmio_probe() 813 struct mvebu_mpp_ctrl_data *mpp_data; in mvebu_pinctrl_simple_regmap_probe() local 821 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_regmap_probe() 823 if (!mpp_data) in mvebu_pinctrl_simple_regmap_probe() 827 mpp_data[i].regmap.map = regmap; in mvebu_pinctrl_simple_regmap_probe() 828 mpp_data[i].regmap.offset = offset; in mvebu_pinctrl_simple_regmap_probe() [all …]
|
D | pinctrl-dove.c | 770 struct mvebu_mpp_ctrl_data *mpp_data; in dove_pinctrl_probe() local 792 mpp_data = devm_kcalloc(&pdev->dev, dove_pinctrl_info.ncontrols, in dove_pinctrl_probe() 793 sizeof(*mpp_data), GFP_KERNEL); in dove_pinctrl_probe() 794 if (!mpp_data) in dove_pinctrl_probe() 797 dove_pinctrl_info.control_data = mpp_data; in dove_pinctrl_probe() 799 mpp_data[i].base = base; in dove_pinctrl_probe()
|