Searched refs:vf_pe_array (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | pci.c | 72 struct pe_map_bar_entry *vf_pe_array) in pseries_send_map_pe() argument 86 memcpy(rtas_data_buf, vf_pe_array, in pseries_send_map_pe() 92 memcpy(vf_pe_array, rtas_data_buf, RTAS_DATA_BUF_SIZE); in pseries_send_map_pe() 121 struct pe_map_bar_entry *vf_pe_array; in pseries_associate_pes() local 125 vf_pe_array = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in pseries_associate_pes() 126 if (!vf_pe_array) in pseries_associate_pes() 139 vf_pe_array[vf_index].bar = in pseries_associate_pes() 141 vf_pe_array[vf_index].rid = in pseries_associate_pes() 145 vf_pe_array[vf_index].pe_num = in pseries_associate_pes() 150 rc = pseries_send_map_pe(pdev, num_vfs, vf_pe_array); in pseries_associate_pes() [all …]
|
D | eeh_pseries.c | 755 u16 *vf_pe_array, int cur_vfs) in pseries_send_allow_unfreeze() argument 764 memcpy(rtas_data_buf, vf_pe_array, RTAS_DATA_BUF_SIZE); in pseries_send_allow_unfreeze() 782 u16 *vf_pe_array; in pseries_call_allow_unfreeze() local 784 vf_pe_array = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in pseries_call_allow_unfreeze() 785 if (!vf_pe_array) in pseries_call_allow_unfreeze() 793 vf_pe_array[vf_index] = in pseries_call_allow_unfreeze() 795 rc = pseries_send_allow_unfreeze(pdn, vf_pe_array, in pseries_call_allow_unfreeze() 814 vf_pe_array[0] = cpu_to_be16(pdn->pe_number); in pseries_call_allow_unfreeze() 817 vf_pe_array, 1); in pseries_call_allow_unfreeze() 822 kfree(vf_pe_array); in pseries_call_allow_unfreeze()
|