Searched refs:mpp_data (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 259 struct hvcall_mpp_data mpp_data; in parse_mpp_data() local 262 rc = h_get_mpp(&mpp_data); in parse_mpp_data() 266 seq_printf(m, "entitled_memory=%ld\n", mpp_data.entitled_mem); in parse_mpp_data() 268 if (mpp_data.mapped_mem != -1) in parse_mpp_data() 270 mpp_data.mapped_mem); in parse_mpp_data() 272 seq_printf(m, "entitled_memory_group_number=%d\n", mpp_data.group_num); in parse_mpp_data() 273 seq_printf(m, "entitled_memory_pool_number=%d\n", mpp_data.pool_num); in parse_mpp_data() 275 seq_printf(m, "entitled_memory_weight=%d\n", mpp_data.mem_weight); in parse_mpp_data() 277 mpp_data.unallocated_mem_weight); in parse_mpp_data() 279 mpp_data.unallocated_entitlement); in parse_mpp_data() [all …]
|
D | lpar.c | 1889 int h_get_mpp(struct hvcall_mpp_data *mpp_data) in h_get_mpp() argument 1896 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp() 1897 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp() 1899 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_mpp() 1900 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp() 1902 mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff; in h_get_mpp() 1903 mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff; in h_get_mpp() 1904 mpp_data->unallocated_entitlement = retbuf[3] & 0xffffffffffffUL; in h_get_mpp() 1906 mpp_data->pool_size = retbuf[4]; in h_get_mpp() 1907 mpp_data->loan_request = retbuf[5]; in h_get_mpp() [all …]
|
D | cmm.c | 239 struct hvcall_mpp_data mpp_data; in cmm_get_mpp() local 244 rc = h_get_mpp(&mpp_data); in cmm_get_mpp() 247 page_loan_request = div_s64((s64)mpp_data.loan_request, in cmm_get_mpp()
|
D | vio.c | 895 struct hvcall_mpp_data mpp_data; in vio_cmo_bus_init() local 904 err = h_get_mpp(&mpp_data); in vio_cmo_bus_init() 915 vio_cmo.entitled = mpp_data.entitled_mem; in vio_cmo_bus_init()
|
/linux-6.6.21/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 771 struct mvebu_mpp_ctrl_data *mpp_data; in mvebu_pinctrl_simple_mmio_probe() local 779 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_mmio_probe() 781 if (!mpp_data) in mvebu_pinctrl_simple_mmio_probe() 785 mpp_data[i].base = base; in mvebu_pinctrl_simple_mmio_probe() 787 soc->control_data = mpp_data; in mvebu_pinctrl_simple_mmio_probe() 823 struct mvebu_mpp_ctrl_data *mpp_data; in mvebu_pinctrl_simple_regmap_probe() local 831 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_regmap_probe() 833 if (!mpp_data) in mvebu_pinctrl_simple_regmap_probe() 837 mpp_data[i].regmap.map = regmap; in mvebu_pinctrl_simple_regmap_probe() 838 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 791 mpp_data = devm_kcalloc(&pdev->dev, dove_pinctrl_info.ncontrols, in dove_pinctrl_probe() 792 sizeof(*mpp_data), GFP_KERNEL); in dove_pinctrl_probe() 793 if (!mpp_data) in dove_pinctrl_probe() 796 dove_pinctrl_info.control_data = mpp_data; in dove_pinctrl_probe() 798 mpp_data[i].base = base; in dove_pinctrl_probe()
|