Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/misc/cxl/
Dhcalls.c131 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 …]
Dhcalls.h55 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 …]
Dtrace.h493 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 …]
Dflash.c42 __be64 unit_address; member
190 unwa->unit_address = cpu_to_be64(adapter->guest->handle); in update_devicetree()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dhvcserver.c82 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()
Dvio.c1386 unsigned int unit_address; in vio_register_device_node() local
1401 unit_address = of_read_number(prop, 1); in vio_register_device_node()
1402 dev_set_name(&viodev->dev, "%x", unit_address); in vio_register_device_node()
1404 viodev->unit_address = unit_address; in vio_register_device_node()
1692 int rc = h_vio_signal(dev->unit_address, VIO_IRQ_ENABLE); in vio_enable_interrupts()
1701 int rc = h_vio_signal(dev->unit_address, VIO_IRQ_DISABLE); in vio_disable_interrupts()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvcs.c312 uint32_t unit_address, unsigned int irq, struct vio_dev *dev);
421 hvcsd->vdev->unit_address, in hvcs_vterm_state_store()
544 uint32_t unit_address = hvcsd->vdev->unit_address; in hvcs_try_write() local
550 sent = hvc_put_chars(unit_address, in hvcs_try_write()
574 uint32_t unit_address; in hvcs_io() local
582 unit_address = hvcsd->vdev->unit_address; in hvcs_io()
597 got = hvc_get_chars(unit_address, in hvcs_io()
698 hvcsd->vdev->unit_address, in hvcs_destruct_port()
703 hvcsd->vdev->unit_address); in hvcs_destruct_port()
794 hvcsd->vdev->unit_address); in hvcs_probe()
[all …]
Dhvc_vio.c326 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
342 pv->termno = vdev->unit_address; in hvc_vio_probe()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dhvcserver.h33 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);
Dvio.h99 uint32_t unit_address; member
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmveth.h49 static inline long h_send_logical_lan(unsigned long unit_address, in h_send_logical_lan() argument
59 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, in h_send_logical_lan()
63 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()
Dibmveth.c262 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, in ibmveth_replenish_buffer_pool()
431 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, desc.desc); in ibmveth_rxq_recycle_buffer()
470 rc = h_register_logical_lan(adapter->vdev->unit_address, in ibmveth_register_logical_lan()
476 rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_register_logical_lan()
566 h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_DISABLE); in ibmveth_open()
601 lpar_rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_open()
673 h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_DISABLE); in ibmveth_close()
676 lpar_rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_close()
799 ret = h_illan_attributes(adapter->vdev->unit_address, 0, 0, &ret_attr); in ibmveth_set_csum_offload()
803 ret4 = h_illan_attributes(adapter->vdev->unit_address, clr_attr, in ibmveth_set_csum_offload()
[all …]
Dibmvnic.c147 static long h_reg_sub_crq(unsigned long unit_address, unsigned long token, in h_reg_sub_crq() argument
154 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, token, length); in h_reg_sub_crq()
2918 rc = h_reg_sub_crq(adapter->vdev->unit_address, scrq->msg_token, in reset_one_sub_crq_queue()
2960 adapter->vdev->unit_address, in release_sub_crq_queue()
3002 rc = h_reg_sub_crq(adapter->vdev->unit_address, scrq->msg_token, in init_sub_crq_queue()
3093 rc = plpar_hcall_norets(H_VIOCTL, adapter->vdev->unit_address, in disable_scrq_irq()
3125 rc = plpar_hcall_norets(H_VIOCTL, adapter->vdev->unit_address, in enable_scrq_irq()
3264 adapter->vdev->unit_address, i); in init_sub_crq_irqs()
3287 adapter->vdev->unit_address, i); in init_sub_crq_irqs()
3619 unsigned int ua = adapter->vdev->unit_address; in send_subcrq()
[all …]
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_ibmvtpm.c48 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()
439 ibmvtpm->vdev->unit_address); in ibmvtpm_reset_crq()
445 return plpar_hcall_norets(H_REG_CRQ, ibmvtpm->vdev->unit_address, in ibmvtpm_reset_crq()
640 rc = plpar_hcall_norets(H_REG_CRQ, vio_dev->unit_address, in tpm_ibmvtpm_probe()
707 rc1 = plpar_hcall_norets(H_FREE_CRQ, vio_dev->unit_address); in tpm_ibmvtpm_probe()
/kernel/linux/linux-5.10/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()
2135 vdev->unit_address, in ibmvmc_init_crq_queue()
2176 h_free_crq(vdev->unit_address); in ibmvmc_init_crq_queue()
2242 dev_info(adapter->dev, "Probe for UA 0x%x\n", vdev->unit_address); in ibmvmc_probe()
[all …]
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Ddasd.h127 unsigned char unit_address; member
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/
Dibmvscsi.c151 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvscsi_release_crq_queue()
204 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()
350 vdev->unit_address, in ibmvscsi_init_crq_queue()
394 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()
Dibmvfc.c659 return plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, word1, word2); in ibmvfc_send_crq()
707 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_release_crq_queue()
732 rc = plpar_hcall_norets(H_ENABLE_CRQ, vdev->unit_address); in ibmvfc_reenable_crq_queue()
759 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_reset_crq()
771 rc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, in ibmvfc_reset_crq()
4884 retrc = rc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, in ibmvfc_init_crq()
4919 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_init_crq()
/kernel/linux/linux-5.10/drivers/crypto/nx/
Dnx.c789 viodev->unit_address); in nx_remove()
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c1941 rc = h_send_crq(vscsi->dma_dev->unit_address, in ibmvscsis_send_messages()
3468 vscsi->dds.unit_id = vdev->unit_address; in ibmvscsis_probe()
3646 return snprintf(buf, PAGE_SIZE, "%x\n", vscsi->dma_dev->unit_address); in unit_address_show()
4066 __ATTR(unit_address, S_IRUGO, unit_address_show, NULL);