Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/cxl/
H A Dhcalls.c131 long cxl_h_attach_process(u64 unit_address, in cxl_h_attach_process() argument
140 unit_address, virt_to_phys(element), rc); in cxl_h_attach_process()
244 long cxl_h_reset_afu(u64 unit_address) in cxl_h_reset_afu() argument
246 return cxl_h_control_function(unit_address, in cxl_h_reset_afu()
259 return cxl_h_control_function(unit_address, in cxl_h_suspend_process()
272 return cxl_h_control_function(unit_address, in cxl_h_resume_process()
285 return cxl_h_control_function(unit_address, in cxl_h_read_error_state()
405 unit_address, process_token); in cxl_h_collect_int_info()
407 unit_address, process_token, rc); in cxl_h_collect_int_info()
515 long cxl_h_reset_adapter(u64 unit_address) in cxl_h_reset_adapter() argument
[all …]
H A Dhcalls.h62 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);
110 long cxl_h_get_config(u64 unit_address, u64 cr_num, u64 offset,
135 long cxl_h_get_fn_error_interrupt(u64 unit_address, u64 *reg);
148 long cxl_h_get_error_log(u64 unit_address, u64 value);
173 long cxl_h_reset_adapter(u64 unit_address);
189 long cxl_h_download_adapter_image(u64 unit_address,
[all …]
H A Dtrace.h498 __field(u64, unit_address)
504 __entry->unit_address = unit_address;
510 __entry->unit_address,
534 __entry->unit_address = unit_address;
545 __entry->unit_address,
573 __entry->unit_address = unit_address;
583 __entry->unit_address,
626 __entry->unit_address = unit_address;
636 __entry->unit_address,
667 __entry->unit_address = unit_address;
[all …]
H A Dflash.c43 __be64 unit_address; member
191 unwa->unit_address = cpu_to_be64(adapter->guest->handle); in update_devicetree()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A 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()
H A Dvio.c1401 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()
/openbmc/linux/drivers/tty/hvc/
H A Dhvcs.c399 hvcsd->vdev->unit_address, in hvcs_vterm_state_store()
527 uint32_t unit_address = hvcsd->vdev->unit_address; in hvcs_try_write() local
557 uint32_t unit_address; in hvcs_io() local
565 unit_address = hvcsd->vdev->unit_address; in hvcs_io()
682 hvcsd->vdev->unit_address, in hvcs_destruct_port()
687 hvcsd->vdev->unit_address); in hvcs_destruct_port()
868 uint32_t unit_address = hvcsd->vdev->unit_address; in hvcs_get_pi() local
939 unsigned int unit_address = hvcsd->vdev->unit_address; in hvcs_partner_connect() local
1102 unit_address = hvcsd->vdev->unit_address; in hvcs_install()
1263 unsigned int unit_address; in hvcs_write() local
[all …]
H A Dhvc_vio.c326 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
342 pv->termno = vdev->unit_address; in hvc_vio_probe()
/openbmc/linux/arch/powerpc/include/asm/
H A 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);
H A Dvio.h99 uint32_t unit_address; member
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmveth.h52 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()
H A Dibmveth.c509 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()
829 h_illan_attributes(adapter->vdev->unit_address, in ibmveth_set_csum_offload()
839 ret6 = h_illan_attributes(adapter->vdev->unit_address, in ibmveth_set_csum_offload()
847 h_illan_attributes(adapter->vdev->unit_address, in ibmveth_set_csum_offload()
905 h_illan_attributes(adapter->vdev->unit_address, in ibmveth_set_tso()
1429 lpar_rc = h_vio_signal(adapter->vdev->unit_address, in ibmveth_poll()
1436 lpar_rc = h_vio_signal(adapter->vdev->unit_address, in ibmveth_poll()
1451 lpar_rc = h_vio_signal(adapter->vdev->unit_address, in ibmveth_interrupt()
1466 lpar_rc = h_multicast_ctrl(adapter->vdev->unit_address, in ibmveth_set_multicast_list()
[all …]
H A Dibmvnic.c3940 adapter->vdev->unit_address, in release_sub_crq_queue()
4027 adapter->vdev->unit_address, in init_sub_crq_queue()
4298 adapter->vdev->unit_address, i); in init_sub_crq_irqs()
4321 adapter->vdev->unit_address, i); in init_sub_crq_irqs()
4663 unsigned int ua = adapter->vdev->unit_address; in send_subcrq_indirect()
4682 unsigned int ua = adapter->vdev->unit_address; in ibmvnic_send_crq()
6131 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvnic_reset_crq()
6143 rc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, in ibmvnic_reset_crq()
6200 rc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, in init_crq_queue()
6221 adapter->vdev->unit_address); in init_crq_queue()
[all …]
/openbmc/linux/drivers/char/tpm/
H A 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()
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()
/openbmc/linux/drivers/misc/
H A 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()
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 …]
/openbmc/linux/arch/s390/include/uapi/asm/
H A Ddasd.h129 unsigned char unit_address; member
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c152 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()
H A Dibmvfc.c174 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, ioba, length); in h_reg_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()
5872 rc = plpar_hcall_norets(H_FREE_CRQ, vdev->unit_address); in ibmvfc_init_crq()
5889 rc = h_reg_sub_crq(vdev->unit_address, scrq->msg_token, PAGE_SIZE, in ibmvfc_register_scsi_channel()
5909 vdev->unit_address, index); in ibmvfc_register_scsi_channel()
[all …]
/openbmc/linux/drivers/crypto/nx/
H A Dnx.c790 viodev->unit_address); in nx_remove()
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c1939 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);