/linux-6.6.21/drivers/misc/cxl/ |
D | hcalls.c | 131 long cxl_h_attach_process(u64 unit_address, in cxl_h_attach_process() argument 138 CXL_H_WAIT_UNTIL_DONE(rc, retbuf, H_ATTACH_CA_PROCESS, unit_address, virt_to_phys(element)); in cxl_h_attach_process() 140 unit_address, virt_to_phys(element), rc); in cxl_h_attach_process() 141 trace_cxl_hcall_attach(unit_address, virt_to_phys(element), retbuf[0], retbuf[1], retbuf[2], rc); in cxl_h_attach_process() 174 long cxl_h_detach_process(u64 unit_address, u64 process_token) in cxl_h_detach_process() argument 179 CXL_H_WAIT_UNTIL_DONE(rc, retbuf, H_DETACH_CA_PROCESS, unit_address, process_token); in cxl_h_detach_process() 180 _PRINT_MSG(rc, "cxl_h_detach_process(%#.16llx, 0x%.8llx): %li\n", unit_address, process_token, rc); in cxl_h_detach_process() 181 trace_cxl_hcall_detach(unit_address, process_token, rc); in cxl_h_detach_process() 205 static long cxl_h_control_function(u64 unit_address, u64 op, in cxl_h_control_function() argument 211 CXL_H9_WAIT_UNTIL_DONE(rc, retbuf, H_CONTROL_CA_FUNCTION, unit_address, op, p1, p2, p3, p4); in cxl_h_control_function() [all …]
|
D | hcalls.h | 55 long cxl_h_attach_process(u64 unit_address, struct cxl_process_element_hcall *element, 62 long cxl_h_detach_process(u64 unit_address, u64 process_token); 67 long cxl_h_reset_afu(u64 unit_address); 74 long cxl_h_suspend_process(u64 unit_address, u64 process_token); 81 long cxl_h_resume_process(u64 unit_address, u64 process_token); 88 long cxl_h_read_error_state(u64 unit_address, u64 *state); 97 long cxl_h_get_afu_err(u64 unit_address, u64 offset, u64 buf_address, u64 len); 110 long cxl_h_get_config(u64 unit_address, u64 cr_num, u64 offset, 118 long cxl_h_terminate_process(u64 unit_address, u64 process_token); 129 long cxl_h_collect_vpd(u64 unit_address, u64 record, u64 list_address, [all …]
|
D | trace.h | 493 TP_PROTO(u64 unit_address, u64 process_token, long rc), 495 TP_ARGS(unit_address, process_token, rc), 498 __field(u64, unit_address) 504 __entry->unit_address = unit_address; 510 __entry->unit_address, 517 TP_PROTO(u64 unit_address, char *fct, u64 p1, u64 p2, u64 p3, 520 TP_ARGS(unit_address, fct, p1, p2, p3, p4, r4, rc), 523 __field(u64, unit_address) 534 __entry->unit_address = unit_address; 545 __entry->unit_address, [all …]
|
D | flash.c | 43 __be64 unit_address; member 191 unwa->unit_address = cpu_to_be64(adapter->guest->handle); in update_devicetree()
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | hvcserver.c | 82 static int hvcs_next_partner(uint32_t unit_address, in hvcs_next_partner() argument 88 retval = plpar_hcall_norets(H_VTERM_PARTNER_INFO, unit_address, in hvcs_next_partner() 119 int hvcs_get_partner_info(uint32_t unit_address, struct list_head *head, in hvcs_get_partner_info() argument 141 retval = hvcs_next_partner(unit_address, last_p_partition_ID, in hvcs_get_partner_info() 173 next_partner_info->unit_address in hvcs_get_partner_info() 213 int hvcs_register_connection( uint32_t unit_address, in hvcs_register_connection() argument 217 retval = plpar_hcall_norets(H_REGISTER_VTERM, unit_address, in hvcs_register_connection() 233 int hvcs_free_connection(uint32_t unit_address) in hvcs_free_connection() argument 236 retval = plpar_hcall_norets(H_FREE_VTERM, unit_address); in hvcs_free_connection()
|
D | vio.c | 1401 unsigned int unit_address; in vio_register_device_node() local 1416 unit_address = of_read_number(prop, 1); in vio_register_device_node() 1417 dev_set_name(&viodev->dev, "%x", unit_address); in vio_register_device_node() 1419 viodev->unit_address = unit_address; in vio_register_device_node() 1708 int rc = h_vio_signal(dev->unit_address, VIO_IRQ_ENABLE); in vio_enable_interrupts() 1717 int rc = h_vio_signal(dev->unit_address, VIO_IRQ_DISABLE); in vio_disable_interrupts()
|
/linux-6.6.21/drivers/tty/hvc/ |
D | hvcs.c | 399 hvcsd->vdev->unit_address, in hvcs_vterm_state_store() 527 uint32_t unit_address = hvcsd->vdev->unit_address; in hvcs_try_write() local 533 sent = hvc_put_chars(unit_address, in hvcs_try_write() 557 uint32_t unit_address; in hvcs_io() local 565 unit_address = hvcsd->vdev->unit_address; in hvcs_io() 580 got = hvc_get_chars(unit_address, in hvcs_io() 682 hvcsd->vdev->unit_address, in hvcs_destruct_port() 687 hvcsd->vdev->unit_address); in hvcs_destruct_port() 778 hvcsd->vdev->unit_address); in hvcs_probe() 790 printk(KERN_INFO "HVCS: vty-server@%X added to the vio bus.\n", dev->unit_address); in hvcs_probe() [all …]
|
D | hvc_vio.c | 326 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe() 342 pv->termno = vdev->unit_address; in hvc_vio_probe()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | hvcserver.h | 33 uint32_t unit_address; member 39 extern int hvcs_get_partner_info(uint32_t unit_address, 41 extern int hvcs_register_connection(uint32_t unit_address, 43 extern int hvcs_free_connection(uint32_t unit_address);
|
D | vio.h | 99 uint32_t unit_address; member
|
/linux-6.6.21/drivers/net/ethernet/ibm/ |
D | ibmveth.h | 52 static inline long h_send_logical_lan(unsigned long unit_address, in h_send_logical_lan() argument 61 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, in h_send_logical_lan() 64 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, in h_send_logical_lan() 72 static inline long h_illan_attributes(unsigned long unit_address, in h_illan_attributes() argument 79 rc = plpar_hcall(H_ILLAN_ATTRIBUTES, retbuf, unit_address, in h_illan_attributes()
|
D | ibmveth.c | 269 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, in ibmveth_replenish_buffer_pool() 438 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, desc.desc); in ibmveth_rxq_recycle_buffer() 509 rc = h_register_logical_lan(adapter->vdev->unit_address, in ibmveth_register_logical_lan() 515 rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_register_logical_lan() 599 h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_DISABLE); in ibmveth_open() 634 lpar_rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_open() 695 h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_DISABLE); in ibmveth_close() 698 lpar_rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_close() 817 ret = h_illan_attributes(adapter->vdev->unit_address, 0, 0, &ret_attr); in ibmveth_set_csum_offload() 821 ret4 = h_illan_attributes(adapter->vdev->unit_address, clr_attr, in ibmveth_set_csum_offload() [all …]
|
D | ibmvnic.c | 367 static long h_reg_sub_crq(unsigned long unit_address, unsigned long token, in h_reg_sub_crq() argument 374 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, token, length); in h_reg_sub_crq() 3884 rc = h_reg_sub_crq(adapter->vdev->unit_address, scrq->msg_token, in reset_one_sub_crq_queue() 3928 adapter->vdev->unit_address, in release_sub_crq_queue() 3978 rc = h_reg_sub_crq(adapter->vdev->unit_address, scrq->msg_token, in init_sub_crq_queue() 4015 adapter->vdev->unit_address, in init_sub_crq_queue() 4090 rc = plpar_hcall_norets(H_VIOCTL, adapter->vdev->unit_address, in disable_scrq_irq() 4138 rc = plpar_hcall_norets(H_VIOCTL, adapter->vdev->unit_address, in enable_scrq_irq() 4280 adapter->vdev->unit_address, i); in init_sub_crq_irqs() 4303 adapter->vdev->unit_address, i); in init_sub_crq_irqs() [all …]
|
/linux-6.6.21/drivers/char/tpm/ |
D | tpm_ibmvtpm.c | 48 return plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, w1, 0); in ibmvtpm_send_crq_word() 169 ibmvtpm->vdev->unit_address); in tpm_ibmvtpm_resume() 356 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in tpm_ibmvtpm_remove() 437 ibmvtpm->vdev->unit_address); in ibmvtpm_reset_crq() 443 return plpar_hcall_norets(H_REG_CRQ, ibmvtpm->vdev->unit_address, in ibmvtpm_reset_crq() 638 rc = plpar_hcall_norets(H_REG_CRQ, vio_dev->unit_address, in tpm_ibmvtpm_probe() 706 rc1 = plpar_hcall_norets(H_FREE_CRQ, vio_dev->unit_address); in tpm_ibmvtpm_probe()
|
/linux-6.6.21/drivers/misc/ |
D | ibmvmc.c | 70 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() 2137 vdev->unit_address, in ibmvmc_init_crq_queue() 2178 h_free_crq(vdev->unit_address); in ibmvmc_init_crq_queue() 2244 dev_info(adapter->dev, "Probe for UA 0x%x\n", vdev->unit_address); in ibmvmc_probe() [all …]
|
/linux-6.6.21/arch/s390/include/uapi/asm/ |
D | dasd.h | 129 unsigned char unit_address; member
|
/linux-6.6.21/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 152 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvscsi_release_crq_queue() 205 return plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, word1, word2); in ibmvscsi_send_crq() 294 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvscsi_reset_crq_queue() 305 vdev->unit_address, in ibmvscsi_reset_crq_queue() 351 vdev->unit_address, in ibmvscsi_init_crq_queue() 395 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvscsi_init_crq_queue() 424 rc = plpar_hcall_norets(H_ENABLE_CRQ, vdev->unit_address); in ibmvscsi_reenable_crq_queue()
|
D | ibmvfc.c | 167 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() 736 return plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, word1, word2); in ibmvfc_send_crq() 744 return plpar_hcall_norets(H_SEND_SUB_CRQ, vdev->unit_address, cookie, in ibmvfc_send_sub_crq() 902 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_release_crq_queue() 930 rc = plpar_hcall_norets(H_ENABLE_CRQ, vdev->unit_address); in ibmvfc_reenable_crq_queue() 968 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_reset_crq() 983 rc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, in ibmvfc_reset_crq() 3815 rc = plpar_hcall_norets(H_VIOCTL, vdev->unit_address, irq_action, in ibmvfc_toggle_scrq_irq() 5838 retrc = rc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, in ibmvfc_init_crq() [all …]
|
/linux-6.6.21/drivers/crypto/nx/ |
D | nx.c | 790 viodev->unit_address); in nx_remove()
|
/linux-6.6.21/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 1939 rc = h_send_crq(vscsi->dma_dev->unit_address, in ibmvscsis_send_messages() 3457 vscsi->dds.unit_id = vdev->unit_address; in ibmvscsis_probe() 3633 return snprintf(buf, PAGE_SIZE, "%x\n", vscsi->dma_dev->unit_address); in unit_address_show() 3989 __ATTR(unit_address, S_IRUGO, unit_address_show, NULL);
|