Home
last modified time | relevance | path

Searched refs:unit_address (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/drivers/misc/cxl/
Dhcalls.c135 long cxl_h_attach_process(u64 unit_address, in cxl_h_attach_process() argument
142 CXL_H_WAIT_UNTIL_DONE(rc, retbuf, H_ATTACH_CA_PROCESS, unit_address, virt_to_phys(element)); in cxl_h_attach_process()
144 unit_address, virt_to_phys(element), rc); in cxl_h_attach_process()
145 trace_cxl_hcall_attach(unit_address, virt_to_phys(element), retbuf[0], retbuf[1], retbuf[2], rc); in cxl_h_attach_process()
178 long cxl_h_detach_process(u64 unit_address, u64 process_token) in cxl_h_detach_process() argument
183 CXL_H_WAIT_UNTIL_DONE(rc, retbuf, H_DETACH_CA_PROCESS, unit_address, process_token); in cxl_h_detach_process()
184 _PRINT_MSG(rc, "cxl_h_detach_process(%#.16llx, 0x%.8llx): %li\n", unit_address, process_token, rc); in cxl_h_detach_process()
185 trace_cxl_hcall_detach(unit_address, process_token, rc); in cxl_h_detach_process()
209 static long cxl_h_control_function(u64 unit_address, u64 op, in cxl_h_control_function() argument
215 CXL_H9_WAIT_UNTIL_DONE(rc, retbuf, H_CONTROL_CA_FUNCTION, unit_address, op, p1, p2, p3, p4); in cxl_h_control_function()
[all …]
Dhcalls.h59 long cxl_h_attach_process(u64 unit_address, struct cxl_process_element_hcall *element,
66 long cxl_h_detach_process(u64 unit_address, u64 process_token);
71 long cxl_h_reset_afu(u64 unit_address);
78 long cxl_h_suspend_process(u64 unit_address, u64 process_token);
85 long cxl_h_resume_process(u64 unit_address, u64 process_token);
92 long cxl_h_read_error_state(u64 unit_address, u64 *state);
101 long cxl_h_get_afu_err(u64 unit_address, u64 offset, u64 buf_address, u64 len);
114 long cxl_h_get_config(u64 unit_address, u64 cr_num, u64 offset,
122 long cxl_h_terminate_process(u64 unit_address, u64 process_token);
133 long cxl_h_collect_vpd(u64 unit_address, u64 record, u64 list_address,
[all …]
Dtrace.h497 TP_PROTO(u64 unit_address, u64 process_token, long rc),
499 TP_ARGS(unit_address, process_token, rc),
502 __field(u64, unit_address)
508 __entry->unit_address = unit_address;
514 __entry->unit_address,
521 TP_PROTO(u64 unit_address, char *fct, u64 p1, u64 p2, u64 p3,
524 TP_ARGS(unit_address, fct, p1, p2, p3, p4, r4, rc),
527 __field(u64, unit_address)
538 __entry->unit_address = unit_address;
549 __entry->unit_address,
[all …]
Dflash.c42 __be64 unit_address; member
190 unwa->unit_address = cpu_to_be64(adapter->guest->handle); in update_devicetree()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dhvcserver.c95 static int hvcs_next_partner(uint32_t unit_address, in hvcs_next_partner() argument
101 retval = plpar_hcall_norets(H_VTERM_PARTNER_INFO, unit_address, in hvcs_next_partner()
132 int hvcs_get_partner_info(uint32_t unit_address, struct list_head *head, in hvcs_get_partner_info() argument
154 retval = hvcs_next_partner(unit_address, last_p_partition_ID, in hvcs_get_partner_info()
186 next_partner_info->unit_address in hvcs_get_partner_info()
226 int hvcs_register_connection( uint32_t unit_address, in hvcs_register_connection() argument
230 retval = plpar_hcall_norets(H_REGISTER_VTERM, unit_address, in hvcs_register_connection()
246 int hvcs_free_connection(uint32_t unit_address) in hvcs_free_connection() argument
249 retval = plpar_hcall_norets(H_FREE_VTERM, unit_address); in hvcs_free_connection()
Dvio.c1397 unsigned int unit_address; in vio_register_device_node() local
1413 unit_address = of_read_number(prop, 1); in vio_register_device_node()
1414 dev_set_name(&viodev->dev, "%x", unit_address); in vio_register_device_node()
1416 viodev->unit_address = unit_address; in vio_register_device_node()
1707 int rc = h_vio_signal(dev->unit_address, VIO_IRQ_ENABLE); in vio_enable_interrupts()
1716 int rc = h_vio_signal(dev->unit_address, VIO_IRQ_DISABLE); in vio_disable_interrupts()
/Linux-v4.19/drivers/tty/hvc/
Dhvcs.c314 uint32_t unit_address, unsigned int irq, struct vio_dev *dev);
423 hvcsd->vdev->unit_address, in hvcs_vterm_state_store()
546 uint32_t unit_address = hvcsd->vdev->unit_address; in hvcs_try_write() local
552 sent = hvc_put_chars(unit_address, in hvcs_try_write()
576 uint32_t unit_address; in hvcs_io() local
584 unit_address = hvcsd->vdev->unit_address; in hvcs_io()
599 got = hvc_get_chars(unit_address, in hvcs_io()
700 hvcsd->vdev->unit_address, in hvcs_destruct_port()
705 hvcsd->vdev->unit_address); in hvcs_destruct_port()
796 hvcsd->vdev->unit_address); in hvcs_probe()
[all …]
Dhvc_vio.c312 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
328 pv->termno = vdev->unit_address; in hvc_vio_probe()
/Linux-v4.19/arch/powerpc/include/asm/
Dhvcserver.h46 uint32_t unit_address; member
52 extern int hvcs_get_partner_info(uint32_t unit_address,
54 extern int hvcs_register_connection(uint32_t unit_address,
56 extern int hvcs_free_connection(uint32_t unit_address);
Dvio.h103 uint32_t unit_address; member
/Linux-v4.19/drivers/net/ethernet/ibm/
Dibmveth.h61 static inline long h_send_logical_lan(unsigned long unit_address, in h_send_logical_lan() argument
71 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, in h_send_logical_lan()
75 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, in h_send_logical_lan()
84 static inline long h_illan_attributes(unsigned long unit_address, in h_illan_attributes() argument
91 rc = plpar_hcall(H_ILLAN_ATTRIBUTES, retbuf, unit_address, in h_illan_attributes()
Dibmveth.c275 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, in ibmveth_replenish_buffer_pool()
444 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, desc.desc); in ibmveth_rxq_recycle_buffer()
483 rc = h_register_logical_lan(adapter->vdev->unit_address, in ibmveth_register_logical_lan()
489 rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_register_logical_lan()
579 h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_DISABLE); in ibmveth_open()
614 lpar_rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_open()
686 h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_DISABLE); in ibmveth_close()
689 lpar_rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_close()
805 ret = h_illan_attributes(adapter->vdev->unit_address, 0, 0, &ret_attr); in ibmveth_set_csum_offload()
809 ret4 = h_illan_attributes(adapter->vdev->unit_address, clr_attr, in ibmveth_set_csum_offload()
[all …]
Dibmvnic.c158 static long h_reg_sub_crq(unsigned long unit_address, unsigned long token, in h_reg_sub_crq() argument
165 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, token, length); in h_reg_sub_crq()
2533 rc = h_reg_sub_crq(adapter->vdev->unit_address, scrq->msg_token, in reset_one_sub_crq_queue()
2572 adapter->vdev->unit_address, in release_sub_crq_queue()
2614 rc = h_reg_sub_crq(adapter->vdev->unit_address, scrq->msg_token, in init_sub_crq_queue()
2705 rc = plpar_hcall_norets(H_VIOCTL, adapter->vdev->unit_address, in disable_scrq_irq()
2734 rc = plpar_hcall_norets(H_VIOCTL, adapter->vdev->unit_address, in enable_scrq_irq()
3203 unsigned int ua = adapter->vdev->unit_address; in send_subcrq()
3235 unsigned int ua = adapter->vdev->unit_address; in send_subcrq_indirect()
3254 unsigned int ua = adapter->vdev->unit_address; in ibmvnic_send_crq()
[all …]
/Linux-v4.19/drivers/char/tpm/
Dtpm_ibmvtpm.c53 return plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, w1, 0); in ibmvtpm_send_crq_word()
317 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in tpm_ibmvtpm_remove()
400 ibmvtpm->vdev->unit_address); in ibmvtpm_reset_crq()
406 return plpar_hcall_norets(H_REG_CRQ, ibmvtpm->vdev->unit_address, in ibmvtpm_reset_crq()
427 ibmvtpm->vdev->unit_address); in tpm_ibmvtpm_resume()
637 rc = plpar_hcall_norets(H_REG_CRQ, vio_dev->unit_address, in tpm_ibmvtpm_probe()
683 rc1 = plpar_hcall_norets(H_FREE_CRQ, vio_dev->unit_address); in tpm_ibmvtpm_probe()
/Linux-v4.19/drivers/misc/
Dibmvmc.c70 static inline void h_free_crq(uint32_t unit_address) in h_free_crq() argument
78 rc = plpar_hcall_norets(H_FREE_CRQ, unit_address); in h_free_crq()
153 h_free_crq(vdev->unit_address); in ibmvmc_release_crq_queue()
179 h_free_crq(vdev->unit_address); in ibmvmc_reset_crq_queue()
187 vdev->unit_address, in ibmvmc_reset_crq_queue()
247 vdev->unit_address, word1, word2); in ibmvmc_send_crq()
254 rc = plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, word1, word2); in ibmvmc_send_crq()
2132 vdev->unit_address, in ibmvmc_init_crq_queue()
2173 h_free_crq(vdev->unit_address); in ibmvmc_init_crq_queue()
2239 dev_info(adapter->dev, "Probe for UA 0x%x\n", vdev->unit_address); in ibmvmc_probe()
[all …]
/Linux-v4.19/arch/s390/include/uapi/asm/
Ddasd.h127 unsigned char unit_address; member
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvscsi.c164 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvscsi_release_crq_queue()
217 return plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, word1, word2); in ibmvscsi_send_crq()
307 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvscsi_reset_crq_queue()
318 vdev->unit_address, in ibmvscsi_reset_crq_queue()
363 vdev->unit_address, in ibmvscsi_init_crq_queue()
407 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvscsi_init_crq_queue()
435 rc = plpar_hcall_norets(H_ENABLE_CRQ, vdev->unit_address); in ibmvscsi_reenable_crq_queue()
Dibmvfc.c619 return plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, word1, word2); in ibmvfc_send_crq()
667 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_release_crq_queue()
692 rc = plpar_hcall_norets(H_ENABLE_CRQ, vdev->unit_address); in ibmvfc_reenable_crq_queue()
719 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_reset_crq()
731 rc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, in ibmvfc_reset_crq()
4530 retrc = rc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, in ibmvfc_init_crq()
4565 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_init_crq()
/Linux-v4.19/drivers/crypto/nx/
Dnx.c797 viodev->unit_address); in nx_remove()
/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c1952 rc = h_send_crq(vscsi->dma_dev->unit_address, in ibmvscsis_send_messages()
3479 vscsi->dds.unit_id = vdev->unit_address; in ibmvscsis_probe()
3657 return snprintf(buf, PAGE_SIZE, "%x\n", vscsi->dma_dev->unit_address); in unit_address_show()
4091 __ATTR(unit_address, S_IRUGO, unit_address_show, NULL);