Searched refs:gsb (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/arch/powerpc/include/asm/ |
| H A D | guest-state-buffer.h | 283 struct kvmppc_gs_buff *gsb); 330 return gsb->hdr; in kvmppc_gsb_header() 352 return gsb->len; in kvmppc_gsb_len() 363 return gsb->capacity; in kvmppc_gsb_capacity() 374 return __pa(kvmppc_gsb_header(gsb)); in kvmppc_gsb_paddress() 432 kvmppc_gsb_data(gsb), \ 433 kvmppc_gsb_data_cap(gsb), rem) 863 struct kvmppc_gs_buff *gsb); 922 kvmppc_gsb_reset(gsb); in kvmppc_gsb_receive_data() 923 rc = kvmppc_gsm_fill_info(gsm, gsb); in kvmppc_gsb_receive_data() [all …]
|
| /linux-6.15/arch/powerpc/kvm/ |
| H A D | book3s_hv_nestedv2.c | 657 if (!gsb) { in kvmhv_nestedv2_host_create() 725 kvmppc_gsb_free(gsb); in kvmhv_nestedv2_host_create() 735 kvmppc_gsb_free(gsb); in kvmhv_nestedv2_host_create() 794 gsb = io->vcpu_run_input; in __kvmhv_nestedv2_cached_reload() 824 gsb = io->vcpu_run_input; in kvmhv_nestedv2_flush_vcpu() 833 kvmppc_gsb_reset(gsb); in kvmhv_nestedv2_flush_vcpu() 868 if (!gsb) in kvmhv_nestedv2_set_ptbl_entry() 892 kvmppc_gsb_free(gsb); in kvmhv_nestedv2_set_ptbl_entry() 896 kvmppc_gsb_free(gsb); in kvmhv_nestedv2_set_ptbl_entry() 915 kvmppc_gsb_reset(gsb); in kvmhv_nestedv2_set_vpa() [all …]
|
| H A D | guest-state-buffer.c | 31 gsb = kzalloc(sizeof(*gsb), flags); in kvmppc_gsb_new() 32 if (!gsb) in kvmppc_gsb_new() 37 if (!gsb->hdr) in kvmppc_gsb_new() 47 return gsb; in kvmppc_gsb_new() 50 kfree(gsb); in kvmppc_gsb_new() 61 kfree(gsb->hdr); in kvmppc_gsb_free() 62 kfree(gsb); in kvmppc_gsb_free() 81 p = (void *)kvmppc_gsb_header(gsb) + kvmppc_gsb_len(gsb); in kvmppc_gsb_put() 82 gsb->len += size; in kvmppc_gsb_put() 593 __pa(gsb->hdr), gsb->capacity, &i); in kvmppc_gsb_send() [all …]
|
| H A D | test-guest-state-buffer.c | 11 struct kvmppc_gs_buff *gsb; in test_creating_buffer() local 15 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsb); in test_creating_buffer() 22 kvmppc_gsb_free(gsb); in test_creating_buffer() 33 struct kvmppc_gs_buff *gsb; in test_adding_element() local 46 head = kvmppc_gsb_data(gsb); in test_adding_element() 92 kvmppc_gsb_reset(gsb); in test_adding_element() 97 kvmppc_gsb_free(gsb); in test_adding_element() 104 struct kvmppc_gs_buff *gsb; in test_gs_parsing() local 122 kvmppc_gsb_free(gsb); in test_gs_parsing() 286 struct kvmppc_gs_buff *gsb; in test_gs_msg() local [all …]
|
| /linux-6.15/drivers/i2c/ |
| H A D | i2c-core-acpi.c | 707 gsb->bdata = status; in i2c_acpi_space_handler() 719 gsb->bdata = status; in i2c_acpi_space_handler() 724 gsb->bdata); in i2c_acpi_space_handler() 732 gsb->wdata = status; in i2c_acpi_space_handler() 737 gsb->wdata); in i2c_acpi_space_handler() 744 gsb->data); in i2c_acpi_space_handler() 746 gsb->len = status; in i2c_acpi_space_handler() 751 gsb->len, gsb->data); in i2c_acpi_space_handler() 758 gsb->data, info->access_length); in i2c_acpi_space_handler() 761 gsb->data, info->access_length); in i2c_acpi_space_handler() [all …]
|
| /linux-6.15/drivers/platform/surface/ |
| H A D | surface3_power.c | 378 struct gsb_buffer *gsb = (struct gsb_buffer *)value64; in mshw0011_space_handler() local 403 if (gsb->cmd.arg0 == MSHW0011_CMD_DEST_ADP1 && in mshw0011_space_handler() 404 gsb->cmd.arg1 == MSHW0011_CMD_ADP1_PSR) { in mshw0011_space_handler() 415 if (gsb->cmd.arg0 != MSHW0011_CMD_DEST_BAT0) { in mshw0011_space_handler() 420 switch (gsb->cmd.arg1) { in mshw0011_space_handler() 424 ret = mshw0011_bix(cdata, &gsb->bix); in mshw0011_space_handler() 427 cdata->trip_point = gsb->cmd.arg2; in mshw0011_space_handler() 430 ret = mshw0011_bst(cdata, &gsb->bst); in mshw0011_space_handler() 433 dev_info(&cdata->bat0->dev, "command(0x%02x) is not supported.\n", gsb->cmd.arg1); in mshw0011_space_handler() 439 gsb->ret = status; in mshw0011_space_handler() [all …]
|
| H A D | surface_acpi_notify.c | 514 gsb->status = 0x00; in gsb_rqsx_response_error() 515 gsb->len = 0x02; in gsb_rqsx_response_error() 516 gsb->data.out.status = (u8)(-status); in gsb_rqsx_response_error() 517 gsb->data.out.len = 0x00; in gsb_rqsx_response_error() 522 gsb->status = 0x00; in gsb_rqsx_response_success() 523 gsb->len = len + 2; in gsb_rqsx_response_success() 524 gsb->data.out.status = 0x00; in gsb_rqsx_response_success() 525 gsb->data.out.len = len; in gsb_rqsx_response_success() 528 memcpy(&gsb->data.out.pld[0], ptr, len); in gsb_rqsx_response_success() 533 struct gsb_buffer *gsb) in san_rqst_fixup_suspended() argument [all …]
|