Searched refs:mbinfo (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/platform/x86/amd/hsmp/ |
| H A D | acpi.c | 89 sock->mbinfo.base_addr = r.start; in hsmp_resource() 90 sock->mbinfo.size = resource_size(&r); in hsmp_resource() 158 sock->mbinfo.msg_id_off = msgint->integer.value; in hsmp_read_acpi_dsd() 161 sock->mbinfo.msg_resp_off = msgint->integer.value; in hsmp_read_acpi_dsd() 164 sock->mbinfo.msg_arg_off = msgint->integer.value; in hsmp_read_acpi_dsd() 171 if (!sock->mbinfo.msg_id_off || !sock->mbinfo.msg_resp_off || in hsmp_read_acpi_dsd() 172 !sock->mbinfo.msg_arg_off) in hsmp_read_acpi_dsd() 191 if (!sock->mbinfo.base_addr || !sock->mbinfo.size) in hsmp_read_acpi_crs() 195 sock->virt_base_addr = devm_ioremap_uc(sock->dev, sock->mbinfo.base_addr, in hsmp_read_acpi_crs() 196 sock->mbinfo.size); in hsmp_read_acpi_crs()
|
| H A D | hsmp.c | 57 struct hsmp_mbaddr_info *mbinfo; in __hsmp_send_message() local 63 mbinfo = &sock->mbinfo; in __hsmp_send_message() 67 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_WR); in __hsmp_send_message() 76 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_arg_off + (index << 2), in __hsmp_send_message() 86 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_id_off, &msg->msg_id, HSMP_WR); in __hsmp_send_message() 103 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_RD); in __hsmp_send_message() 152 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_arg_off + (index << 2), in __hsmp_send_message()
|
| H A D | plat.c | 45 return amd_smn_hsmp_rdwr(sock->sock_ind, sock->mbinfo.base_addr + offset, value, write); in amd_hsmp_pci_rdwr() 157 sock->mbinfo.base_addr = SMN_HSMP_BASE; in init_platform_device() 165 sock->mbinfo.msg_id_off = SMN_HSMP_MSG_ID_F1A_M0H; in init_platform_device() 167 sock->mbinfo.msg_id_off = SMN_HSMP_MSG_ID; in init_platform_device() 169 sock->mbinfo.msg_resp_off = SMN_HSMP_MSG_RESP; in init_platform_device() 170 sock->mbinfo.msg_arg_off = SMN_HSMP_MSG_DATA; in init_platform_device()
|
| H A D | hsmp.h | 38 struct hsmp_mbaddr_info mbinfo; member
|