Home
last modified time | relevance | path

Searched refs:vf_pe_array (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/platforms/pseries/
Dpci.c59 struct pe_map_bar_entry *vf_pe_array) in pseries_send_map_pe() argument
73 memcpy(rtas_data_buf, vf_pe_array, in pseries_send_map_pe()
79 memcpy(vf_pe_array, rtas_data_buf, RTAS_DATA_BUF_SIZE); in pseries_send_map_pe()
108 struct pe_map_bar_entry *vf_pe_array; in pseries_associate_pes() local
112 vf_pe_array = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in pseries_associate_pes()
113 if (!vf_pe_array) in pseries_associate_pes()
126 vf_pe_array[vf_index].bar = in pseries_associate_pes()
128 vf_pe_array[vf_index].rid = in pseries_associate_pes()
132 vf_pe_array[vf_index].pe_num = in pseries_associate_pes()
137 rc = pseries_send_map_pe(pdev, num_vfs, vf_pe_array); in pseries_associate_pes()
[all …]
Deeh_pseries.c697 static int pseries_send_allow_unfreeze(struct pci_dn *pdn, u16 *vf_pe_array, int cur_vfs) in pseries_send_allow_unfreeze() argument
706 memcpy(rtas_data_buf, vf_pe_array, RTAS_DATA_BUF_SIZE); in pseries_send_allow_unfreeze()
724 u16 *vf_pe_array; in pseries_call_allow_unfreeze() local
726 vf_pe_array = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in pseries_call_allow_unfreeze()
727 if (!vf_pe_array) in pseries_call_allow_unfreeze()
735 vf_pe_array[vf_index] = in pseries_call_allow_unfreeze()
737 rc = pseries_send_allow_unfreeze(pdn, vf_pe_array, in pseries_call_allow_unfreeze()
759 vf_pe_array[0] = cpu_to_be16(vf_pe_num); in pseries_call_allow_unfreeze()
761 vf_pe_array, 1); in pseries_call_allow_unfreeze()
766 kfree(vf_pe_array); in pseries_call_allow_unfreeze()