Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/include/asm/
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()
Diommu.h291 unsigned long ioba, unsigned long npages);
295 #define iommu_tce_clear_param_check(tbl, ioba, tce_value, npages) \ argument
298 (ioba), (npages)) || (tce_value))
299 #define iommu_tce_put_param_check(tbl, ioba, gpa) \ argument
302 (ioba), 1) || \
Dkvm_ppc.h186 #define kvmppc_ioba_validate(stt, ioba, npages) \ argument
188 (stt)->size, (ioba), (npages)) ? \
191 unsigned long ioba, unsigned long tce);
193 unsigned long liobn, unsigned long ioba,
196 unsigned long liobn, unsigned long ioba,
199 unsigned long ioba);
778 unsigned long ioba, unsigned long tce);
780 unsigned long liobn, unsigned long ioba,
783 unsigned long liobn, unsigned long ioba,
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_64_vio.c573 unsigned long ioba, unsigned long tce) in kvmppc_h_put_tce() argument
588 ret = kvmppc_ioba_validate(stt, ioba, 1); in kvmppc_h_put_tce()
605 entry = ioba >> stt->page_shift; in kvmppc_h_put_tce()
632 unsigned long liobn, unsigned long ioba, in kvmppc_h_put_tce_indirect() argument
646 entry = ioba >> stt->page_shift; in kvmppc_h_put_tce_indirect()
657 ret = kvmppc_ioba_validate(stt, ioba, npages); in kvmppc_h_put_tce_indirect()
725 unsigned long liobn, unsigned long ioba, in kvmppc_h_stuff_tce() argument
736 ret = kvmppc_ioba_validate(stt, ioba, npages); in kvmppc_h_stuff_tce()
745 unsigned long entry = ioba >> stt->page_shift; in kvmppc_h_stuff_tce()
762 for (i = 0; i < npages; ++i, ioba += (1ULL << stt->page_shift)) in kvmppc_h_stuff_tce()
[all …]
Dbook3s_pr_papr.c304 unsigned long ioba = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_put_tce() local
308 rc = kvmppc_h_put_tce(vcpu, liobn, ioba, tce); in kvmppc_h_pr_put_tce()
318 unsigned long ioba = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_put_tce_indirect() local
323 rc = kvmppc_h_put_tce_indirect(vcpu, liobn, ioba, in kvmppc_h_pr_put_tce_indirect()
334 unsigned long ioba = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_stuff_tce() local
339 rc = kvmppc_h_stuff_tce(vcpu, liobn, ioba, tce_value, npages); in kvmppc_h_pr_stuff_tce()
/linux-6.6.21/drivers/net/ethernet/ibm/
Dibmvnic.h287 __be64 ioba; member
348 __be32 ioba; member
387 __be32 ioba; member
436 __be32 ioba; member
444 __be32 ioba; member
455 __be32 ioba; member
521 __be32 ioba; member
546 __be32 ioba; member
555 __be32 ioba; member
565 __be32 ioba; member
Dibmvnic.c827 sub_crq->rx_add.ioba = cpu_to_be32(dma_addr); in replenish_rx_pool()
1806 crq.get_vpd.ioba = cpu_to_be32(adapter->vpd->dma_addr); in ibmvnic_get_vpd()
2499 tx_crq.v1.ioba = cpu_to_be64(data_dma_addr); in ibmvnic_xmit()
3805 crq.request_statistics.ioba = cpu_to_be32(adapter->stats_token); in ibmvnic_get_ethtool_stats()
4643 u64 remote_handle, u64 ioba, u64 num_entries) in send_subcrq_indirect() argument
4653 ioba, num_entries); in send_subcrq_indirect()
4894 crq.login.ioba = cpu_to_be32(buffer_token); in send_login()
4931 crq.request_map.ioba = cpu_to_be32(addr); in send_request_map()
5111 crq.query_ip_offload.ioba = in send_query_ip_offload()
5192 crq.control_ip_offload.ioba = cpu_to_be32(adapter->ip_offload_ctrl_tok); in send_control_ip_offload()
/linux-6.6.21/arch/powerpc/kernel/
Diommu.c1048 unsigned long ioba, unsigned long npages) in iommu_tce_check_ioba() argument
1052 if (ioba & mask) in iommu_tce_check_ioba()
1055 ioba >>= page_shift; in iommu_tce_check_ioba()
1056 if (ioba < offset) in iommu_tce_check_ioba()
1059 if ((ioba + 1) > (offset + size)) in iommu_tce_check_ioba()
/linux-6.6.21/drivers/scsi/ibmvscsi/
Dibmvfc.c167 static long h_reg_sub_crq(unsigned long unit_address, unsigned long ioba, in h_reg_sub_crq() argument
174 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, ioba, length); in h_reg_sub_crq()
823 evt->crq.ioba = cpu_to_be64(pool->iu_token + (sizeof(*evt->xfer_iu) * i)); in ibmvfc_init_event_pool()
1608 struct srp_direct_buf *data = &vfc_cmd->ioba; in ibmvfc_map_sg_data()
1911 vfc_cmd->resp.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + offset); in ibmvfc_init_vfc_cmd()
2248 mad->cmd_ioba.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + in ibmvfc_bsg_request()
3252 struct ibmvfc_event *evt = (struct ibmvfc_event *)be64_to_cpu(crq->ioba); in ibmvfc_handle_crq()
3313 crq->ioba); in ibmvfc_handle_crq()
3319 crq->ioba); in ibmvfc_handle_crq()
3828 struct ibmvfc_event *evt = (struct ibmvfc_event *)be64_to_cpu(crq->ioba); in ibmvfc_handle_scrq()
[all …]
Dibmvfc.h487 struct srp_direct_buf ioba; member
651 volatile __be64 ioba; member
/linux-6.6.21/arch/powerpc/platforms/pseries/
Diommu.c668 unsigned long ioba = (unsigned long) index << tbl->it_page_shift; in tce_exchange_pseries() local
675 rc = plpar_tce_get((u64)tbl->it_index, ioba, &oldtce); in tce_exchange_pseries()
677 rc = plpar_tce_put((u64)tbl->it_index, ioba, newtce); in tce_exchange_pseries()
/linux-6.6.21/drivers/vfio/
Dvfio_iommu_spapr_tce.c204 phys_addr_t ioba, struct iommu_table **ptbl) in tce_iommu_find_table() argument
212 unsigned long entry = ioba >> tbl->it_page_shift; in tce_iommu_find_table()