Searched refs:vf_pe_array (Results 1 – 2 of 2) sorted by relevance
/linux/arch/powerpc/platforms/pseries/ |
H A D | pci.c | 31 struct pe_map_bar_entry *vf_pe_array) in pseries_send_map_pe() argument 45 memcpy(rtas_data_buf, vf_pe_array, in pseries_send_map_pe() 51 memcpy(vf_pe_array, rtas_data_buf, RTAS_DATA_BUF_SIZE); in pseries_send_map_pe() 80 struct pe_map_bar_entry *vf_pe_array; in pseries_associate_pes() local 84 vf_pe_array = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in pseries_associate_pes() 85 if (!vf_pe_array) in pseries_associate_pes() 98 vf_pe_array[vf_index].bar = in pseries_associate_pes() 100 vf_pe_array[vf_index].rid = in pseries_associate_pes() 104 vf_pe_array[vf_index].pe_num = in pseries_associate_pes() 109 rc = pseries_send_map_pe(pdev, num_vfs, vf_pe_array); in pseries_associate_pes() [all …]
|
H A D | eeh_pseries.c | 699 static int pseries_send_allow_unfreeze(struct pci_dn *pdn, u16 *vf_pe_array, int cur_vfs) in pseries_send_allow_unfreeze() argument 708 memcpy(rtas_data_buf, vf_pe_array, RTAS_DATA_BUF_SIZE); in pseries_send_allow_unfreeze() 726 u16 *vf_pe_array; in pseries_call_allow_unfreeze() local 728 vf_pe_array = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in pseries_call_allow_unfreeze() 729 if (!vf_pe_array) in pseries_call_allow_unfreeze() 737 vf_pe_array[vf_index] = in pseries_call_allow_unfreeze() 739 rc = pseries_send_allow_unfreeze(pdn, vf_pe_array, in pseries_call_allow_unfreeze() 761 vf_pe_array[0] = cpu_to_be16(vf_pe_num); in pseries_call_allow_unfreeze() 763 vf_pe_array, 1); in pseries_call_allow_unfreeze() 768 kfree(vf_pe_array); in pseries_call_allow_unfreeze()
|