Home
last modified time | relevance | path

Searched refs:mpp_data (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/pseries/
Dlparcfg.c227 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 …]
Dlpar.c931 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 …]
Dcmm.c292 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()
Dvio.c908 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/
Dpinctrl-mvebu.c765 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 …]
Dpinctrl-dove.c774 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()