Home
last modified time | relevance | path

Searched refs:ioba (Results 1 – 15 of 15) sorted by relevance

/linux/arch/powerpc/kvm/
A Dbook3s_64_vio_hv.c209 idx = (ioba >> stt->page_shift) - stt->offset; in kvmppc_rm_ioba_validate()
386 unsigned long ioba, unsigned long tce) in kvmppc_rm_h_put_tce() argument
401 ret = kvmppc_rm_ioba_validate(stt, ioba, 1, tce == 0); in kvmppc_rm_h_put_tce()
413 entry = ioba >> stt->page_shift; in kvmppc_rm_h_put_tce()
480 unsigned long liobn, unsigned long ioba, in kvmppc_rm_h_put_tce_indirect() argument
501 entry = ioba >> stt->page_shift; in kvmppc_rm_h_put_tce_indirect()
593 unsigned long liobn, unsigned long ioba, in kvmppc_rm_h_stuff_tce() argument
613 unsigned long entry = ioba >> stt->page_shift; in kvmppc_rm_h_stuff_tce()
642 unsigned long ioba) in kvmppc_h_get_tce() argument
654 ret = kvmppc_ioba_validate(stt, ioba, 1); in kvmppc_h_get_tce()
[all …]
A Dbook3s_64_vio.c551 unsigned long ioba, unsigned long tce) in kvmppc_h_put_tce() argument
566 ret = kvmppc_ioba_validate(stt, ioba, 1); in kvmppc_h_put_tce()
583 entry = ioba >> stt->page_shift; in kvmppc_h_put_tce()
611 unsigned long liobn, unsigned long ioba, in kvmppc_h_put_tce_indirect() argument
625 entry = ioba >> stt->page_shift; in kvmppc_h_put_tce_indirect()
636 ret = kvmppc_ioba_validate(stt, ioba, npages); in kvmppc_h_put_tce_indirect()
708 unsigned long liobn, unsigned long ioba, in kvmppc_h_stuff_tce() argument
719 ret = kvmppc_ioba_validate(stt, ioba, npages); in kvmppc_h_stuff_tce()
728 unsigned long entry = ioba >> stt->page_shift; in kvmppc_h_stuff_tce()
746 kvmppc_tce_put(stt, ioba >> stt->page_shift, tce_value); in kvmppc_h_stuff_tce()
[all …]
A Dbook3s_pr_papr.c288 unsigned long ioba = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_put_tce() local
292 rc = kvmppc_h_put_tce(vcpu, liobn, ioba, tce); in kvmppc_h_pr_put_tce()
302 unsigned long ioba = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_put_tce_indirect() local
307 rc = kvmppc_h_put_tce_indirect(vcpu, liobn, ioba, in kvmppc_h_pr_put_tce_indirect()
318 unsigned long ioba = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_stuff_tce() local
323 rc = kvmppc_h_stuff_tce(vcpu, liobn, ioba, tce_value, npages); in kvmppc_h_pr_stuff_tce()
/linux/arch/powerpc/include/asm/
A Dplpar_wrappers.h224 static inline long plpar_tce_get(unsigned long liobn, unsigned long ioba, in plpar_tce_get() argument
230 rc = plpar_hcall(H_GET_TCE, retbuf, liobn, ioba); in plpar_tce_get()
237 static inline long plpar_tce_put(unsigned long liobn, unsigned long ioba, in plpar_tce_put() argument
240 return plpar_hcall_norets(H_PUT_TCE, liobn, ioba, tceval); in plpar_tce_put()
244 unsigned long ioba, unsigned long page, unsigned long count) in plpar_tce_put_indirect() argument
246 return plpar_hcall_norets(H_PUT_TCE_INDIRECT, liobn, ioba, page, count); in plpar_tce_put_indirect()
249 static inline long plpar_tce_stuff(unsigned long liobn, unsigned long ioba, in plpar_tce_stuff() argument
252 return plpar_hcall_norets(H_STUFF_TCE, liobn, ioba, tceval, count); in plpar_tce_stuff()
A Diommu.h293 unsigned long ioba, unsigned long npages);
297 #define iommu_tce_clear_param_check(tbl, ioba, tce_value, npages) \ argument
300 (ioba), (npages)) || (tce_value))
301 #define iommu_tce_put_param_check(tbl, ioba, gpa) \ argument
304 (ioba), 1) || \
A Dkvm_ppc.h182 #define kvmppc_ioba_validate(stt, ioba, npages) \ argument
184 (stt)->size, (ioba), (npages)) ? \
187 unsigned long ioba, unsigned long tce);
189 unsigned long liobn, unsigned long ioba,
192 unsigned long liobn, unsigned long ioba,
195 unsigned long ioba);
748 unsigned long ioba, unsigned long tce);
750 unsigned long liobn, unsigned long ioba,
753 unsigned long liobn, unsigned long ioba,
/linux/drivers/net/ethernet/ibm/
A Dibmvnic.h253 __be64 ioba; member
314 __be32 ioba; member
353 __be32 ioba; member
402 __be32 ioba; member
410 __be32 ioba; member
421 __be32 ioba; member
487 __be32 ioba; member
512 __be32 ioba; member
521 __be32 ioba; member
531 __be32 ioba; member
A Dibmvnic.c426 sub_crq->rx_add.ioba = cpu_to_be32(dma_addr); in replenish_rx_pool()
1333 crq.get_vpd.ioba = cpu_to_be32(adapter->vpd->dma_addr); in ibmvnic_get_vpd()
1983 tx_crq.v1.ioba = cpu_to_be64(data_dma_addr); in ibmvnic_xmit()
3232 crq.request_statistics.ioba = cpu_to_be32(adapter->stats_token); in ibmvnic_get_ethtool_stats()
4037 u64 remote_handle, u64 ioba, u64 num_entries) in send_subcrq_indirect() argument
4047 ioba, num_entries); in send_subcrq_indirect()
4288 crq.login.ioba = cpu_to_be32(buffer_token); in send_login()
4322 crq.request_map.ioba = cpu_to_be32(addr); in send_request_map()
4488 crq.query_ip_offload.ioba = in send_query_ip_offload()
4569 crq.control_ip_offload.ioba = cpu_to_be32(adapter->ip_offload_ctrl_tok); in send_control_ip_offload()
/linux/arch/powerpc/kernel/
A Diommu.c1031 unsigned long ioba, unsigned long npages) in iommu_tce_check_ioba() argument
1035 if (ioba & mask) in iommu_tce_check_ioba()
1038 ioba >>= page_shift; in iommu_tce_check_ioba()
1039 if (ioba < offset) in iommu_tce_check_ioba()
1042 if ((ioba + 1) > (offset + size)) in iommu_tce_check_ioba()
/linux/arch/mips/pci/
A Dops-tx3927.c169 tx3927_pcicptr->ioba = 0; in tx3927_pcic_setup()
/linux/arch/mips/include/asm/txx9/
A Dtx3927.h80 volatile unsigned long ioba; /* +10 */ member
/linux/drivers/scsi/ibmvscsi/
A Dibmvfc.c175 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, ioba, length); in h_reg_sub_crq()
1600 struct srp_direct_buf *data = &vfc_cmd->ioba; in ibmvfc_map_sg_data()
1903 vfc_cmd->resp.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + offset); in ibmvfc_init_vfc_cmd()
2220 mad->cmd_ioba.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + in ibmvfc_bsg_request()
3266 crq->ioba); in ibmvfc_handle_crq()
3272 crq->ioba); in ibmvfc_handle_crq()
3799 crq->ioba); in ibmvfc_handle_scrq()
3805 crq->ioba); in ibmvfc_handle_scrq()
4475 mad->cmd_ioba.va = cpu_to_be64((u64)be64_to_cpu(evt->crq.ioba) + in ibmvfc_init_passthru()
4480 mad->iu.cmd.va = cpu_to_be64((u64)be64_to_cpu(evt->crq.ioba) + in ibmvfc_init_passthru()
[all …]
A Dibmvfc.h487 struct srp_direct_buf ioba; member
651 volatile __be64 ioba; member
/linux/arch/powerpc/platforms/pseries/
A Diommu.c673 unsigned long ioba = (unsigned long) index << tbl->it_page_shift; in tce_exchange_pseries() local
680 rc = plpar_tce_get((u64)tbl->it_index, ioba, &oldtce); in tce_exchange_pseries()
682 rc = plpar_tce_put((u64)tbl->it_index, ioba, newtce); in tce_exchange_pseries()
/linux/drivers/vfio/
A Dvfio_iommu_spapr_tce.c203 phys_addr_t ioba, struct iommu_table **ptbl) in tce_iommu_find_table() argument
211 unsigned long entry = ioba >> tbl->it_page_shift; in tce_iommu_find_table()

Completed in 220 milliseconds