Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c196 unsigned long ioba, unsigned long npages, bool clearing) in kvmppc_rm_ioba_validate() argument
199 unsigned long ret = kvmppc_ioba_validate(stt, ioba, npages); in kvmppc_rm_ioba_validate()
210 idx = (ioba >> stt->page_shift) - stt->offset; in kvmppc_rm_ioba_validate()
387 unsigned long ioba, unsigned long tce) in kvmppc_rm_h_put_tce() argument
406 ret = kvmppc_rm_ioba_validate(stt, ioba, 1, tce == 0); in kvmppc_rm_h_put_tce()
418 entry = ioba >> stt->page_shift; in kvmppc_rm_h_put_tce()
478 unsigned long liobn, unsigned long ioba, in kvmppc_rm_h_put_tce_indirect() argument
496 entry = ioba >> stt->page_shift; in kvmppc_rm_h_put_tce_indirect()
507 ret = kvmppc_rm_ioba_validate(stt, ioba, npages, false); in kvmppc_rm_h_put_tce_indirect()
601 unsigned long liobn, unsigned long ioba, in kvmppc_rm_h_stuff_tce() argument
[all …]
Dbook3s_64_vio.c541 unsigned long ioba, unsigned long tce) in kvmppc_h_put_tce() argument
556 ret = kvmppc_ioba_validate(stt, ioba, 1); in kvmppc_h_put_tce()
573 entry = ioba >> stt->page_shift; in kvmppc_h_put_tce()
601 unsigned long liobn, unsigned long ioba, in kvmppc_h_put_tce_indirect() argument
615 entry = ioba >> stt->page_shift; in kvmppc_h_put_tce_indirect()
626 ret = kvmppc_ioba_validate(stt, ioba, npages); in kvmppc_h_put_tce_indirect()
698 unsigned long liobn, unsigned long ioba, in kvmppc_h_stuff_tce() argument
709 ret = kvmppc_ioba_validate(stt, ioba, npages); in kvmppc_h_stuff_tce()
718 unsigned long entry = ioba >> stt->page_shift; in kvmppc_h_stuff_tce()
735 for (i = 0; i < npages; ++i, ioba += (1ULL << stt->page_shift)) in kvmppc_h_stuff_tce()
[all …]
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-v5.4/arch/powerpc/include/asm/
Dplpar_wrappers.h220 static inline long plpar_tce_get(unsigned long liobn, unsigned long ioba, in plpar_tce_get() argument
226 rc = plpar_hcall(H_GET_TCE, retbuf, liobn, ioba); in plpar_tce_get()
233 static inline long plpar_tce_put(unsigned long liobn, unsigned long ioba, in plpar_tce_put() argument
236 return plpar_hcall_norets(H_PUT_TCE, liobn, ioba, tceval); in plpar_tce_put()
240 unsigned long ioba, unsigned long page, unsigned long count) in plpar_tce_put_indirect() argument
242 return plpar_hcall_norets(H_PUT_TCE_INDIRECT, liobn, ioba, page, count); in plpar_tce_put_indirect()
245 static inline long plpar_tce_stuff(unsigned long liobn, unsigned long ioba, in plpar_tce_stuff() argument
248 return plpar_hcall_norets(H_STUFF_TCE, liobn, ioba, tceval, count); in plpar_tce_stuff()
Diommu.h298 unsigned long ioba, unsigned long npages);
302 #define iommu_tce_clear_param_check(tbl, ioba, tce_value, npages) \ argument
305 (ioba), (npages)) || (tce_value))
306 #define iommu_tce_put_param_check(tbl, ioba, gpa) \ argument
309 (ioba), 1) || \
Dkvm_ppc.h185 #define kvmppc_ioba_validate(stt, ioba, npages) \ argument
187 (stt)->size, (ioba), (npages)) ? \
190 unsigned long ioba, unsigned long tce);
192 unsigned long liobn, unsigned long ioba,
195 unsigned long liobn, unsigned long ioba,
198 unsigned long ioba);
754 unsigned long ioba, unsigned long tce);
756 unsigned long liobn, unsigned long ioba,
759 unsigned long liobn, unsigned long ioba,
/Linux-v5.4/drivers/net/ethernet/ibm/
Dibmvnic.h253 __be64 ioba; member
314 __be32 ioba; member
353 __be32 ioba; member
402 __be32 ioba; member
410 __be32 ioba; member
427 __be32 ioba; member
453 __be32 ioba; member
481 __be32 ioba; member
492 __be32 ioba; member
501 __be32 ioba; member
[all …]
Dibmvnic.c296 sub_crq.rx_add.ioba = cpu_to_be32(dma_addr); in replenish_rx_pool()
982 crq.get_vpd.ioba = cpu_to_be32(adapter->vpd->dma_addr); in ibmvnic_get_vpd()
1520 tx_crq.v1.ioba = cpu_to_be64(data_dma_addr); in ibmvnic_xmit()
2601 crq.request_statistics.ioba = cpu_to_be32(adapter->stats_token); in ibmvnic_get_ethtool_stats()
3386 u64 remote_handle, u64 ioba, u64 num_entries) in send_subcrq_indirect() argument
3396 ioba, num_entries); in send_subcrq_indirect()
3630 crq.login.ioba = cpu_to_be32(buffer_token); in send_login()
3655 crq.request_map.ioba = cpu_to_be32(addr); in send_request_map()
3985 crq.control_ip_offload.ioba = cpu_to_be32(adapter->ip_offload_ctrl_tok); in handle_query_ip_offload_rsp()
4142 newcrq.query_ip_offload.ioba = in handle_request_cap_rsp()
/Linux-v5.4/arch/powerpc/kernel/
Diommu.c987 unsigned long ioba, unsigned long npages) in iommu_tce_check_ioba() argument
991 if (ioba & mask) in iommu_tce_check_ioba()
994 ioba >>= page_shift; in iommu_tce_check_ioba()
995 if (ioba < offset) in iommu_tce_check_ioba()
998 if ((ioba + 1) > (offset + size)) in iommu_tce_check_ioba()
/Linux-v5.4/arch/mips/pci/
Dops-tx3927.c169 tx3927_pcicptr->ioba = 0; in tx3927_pcic_setup()
/Linux-v5.4/arch/mips/include/asm/txx9/
Dtx3927.h80 volatile unsigned long ioba; /* +10 */ member
/Linux-v5.4/drivers/scsi/ibmvscsi/
Dibmvfc.h441 struct srp_direct_buf ioba; member
547 volatile __be64 ioba; member
Dibmvfc.c1219 evt->crq.ioba = cpu_to_be64(pool->iu_token + (sizeof(*evt->xfer_iu) * i)); in ibmvfc_init_event_pool()
1326 struct srp_direct_buf *data = &vfc_cmd->ioba; in ibmvfc_map_sg_data()
1627 vfc_cmd->resp.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + offsetof(struct ibmvfc_cmd, rsp)); in ibmvfc_queuecommand_lck()
1899 mad->cmd_ioba.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + in ibmvfc_bsg_request()
1978 tmf->resp.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + offsetof(struct ibmvfc_cmd, rsp)); in ibmvfc_reset_device()
2308 tmf->resp.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + offsetof(struct ibmvfc_cmd, rsp)); in ibmvfc_abort_task_set()
2719 struct ibmvfc_event *evt = (struct ibmvfc_event *)be64_to_cpu(crq->ioba); in ibmvfc_handle_crq()
2777 crq->ioba); in ibmvfc_handle_crq()
2783 crq->ioba); in ibmvfc_handle_crq()
3638 mad->cmd_ioba.va = cpu_to_be64((u64)be64_to_cpu(evt->crq.ioba) + in ibmvfc_init_passthru()
[all …]
/Linux-v5.4/arch/powerpc/platforms/pseries/
Diommu.c629 unsigned long ioba = (unsigned long) index << tbl->it_page_shift; in tce_exchange_pseries() local
636 rc = plpar_tce_get((u64)tbl->it_index, ioba, &oldtce); in tce_exchange_pseries()
638 rc = plpar_tce_put((u64)tbl->it_index, ioba, newtce); in tce_exchange_pseries()
/Linux-v5.4/drivers/vfio/
Dvfio_iommu_spapr_tce.c202 phys_addr_t ioba, struct iommu_table **ptbl) in tce_iommu_find_table() argument
210 unsigned long entry = ioba >> tbl->it_page_shift; in tce_iommu_find_table()