Home
last modified time | relevance | path

Searched refs:gsb (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/
Dgm200.c40 struct gm200_secboot *gsb = gm200_secboot(sb); in gm200_secboot_run_blob() local
41 struct nvkm_subdev *subdev = &gsb->base.subdev; in gm200_secboot_run_blob()
51 ret = nvkm_vmm_get(gsb->vmm, 12, blob->size, &vma); in gm200_secboot_run_blob()
57 ret = nvkm_memory_map(blob, 0, gsb->vmm, vma, NULL, 0); in gm200_secboot_run_blob()
65 nvkm_falcon_bind_context(falcon, gsb->inst); in gm200_secboot_run_blob()
98 nvkm_vmm_put(gsb->vmm, &vma); in gm200_secboot_run_blob()
107 struct gm200_secboot *gsb = gm200_secboot(sb); in gm200_secboot_oneinit() local
113 &gsb->inst); in gm200_secboot_oneinit()
118 &gsb->vmm); in gm200_secboot_oneinit()
122 atomic_inc(&gsb->vmm->engref[NVKM_SUBDEV_PMU]); in gm200_secboot_oneinit()
[all …]
Dgm20b.c42 gm20b_secboot_tegra_read_wpr(struct gm200_secboot *gsb, u32 mc_base) in gm20b_secboot_tegra_read_wpr() argument
44 struct nvkm_secboot *sb = &gsb->base; in gm20b_secboot_tegra_read_wpr()
75 gm20b_secboot_tegra_read_wpr(struct gm200_secboot *gsb, u32 mc_base) in gm20b_secboot_tegra_read_wpr() argument
77 nvkm_error(&gsb->base.subdev, "Tegra support not compiled in\n"); in gm20b_secboot_tegra_read_wpr()
85 struct gm200_secboot *gsb = gm200_secboot(sb); in gm20b_secboot_oneinit() local
88 ret = gm20b_secboot_tegra_read_wpr(gsb, TEGRA210_MC_BASE); in gm20b_secboot_oneinit()
108 struct gm200_secboot *gsb; in gm20b_secboot_new() local
118 gsb = kzalloc(sizeof(*gsb), GFP_KERNEL); in gm20b_secboot_new()
119 if (!gsb) { in gm20b_secboot_new()
123 *psb = &gsb->base; in gm20b_secboot_new()
[all …]
Dgp10b.c31 struct gm200_secboot *gsb = gm200_secboot(sb); in gp10b_secboot_oneinit() local
34 ret = gm20b_secboot_tegra_read_wpr(gsb, TEGRA186_MC_BASE); in gp10b_secboot_oneinit()
54 struct gm200_secboot *gsb; in gp10b_secboot_new() local
63 gsb = kzalloc(sizeof(*gsb), GFP_KERNEL); in gp10b_secboot_new()
64 if (!gsb) { in gp10b_secboot_new()
68 *psb = &gsb->base; in gp10b_secboot_new()
70 ret = nvkm_secboot_ctor(&gp10b_secboot, acr, device, index, &gsb->base); in gp10b_secboot_new()
Dgp108.c29 struct gm200_secboot *gsb; in gp108_secboot_new() local
39 if (!(gsb = kzalloc(sizeof(*gsb), GFP_KERNEL))) { in gp108_secboot_new()
43 *psb = &gsb->base; in gp108_secboot_new()
45 return nvkm_secboot_ctor(&gp102_secboot, acr, device, index, &gsb->base); in gp108_secboot_new()
Dgp102.c149 struct gm200_secboot *gsb; in gp102_secboot_new() local
159 gsb = kzalloc(sizeof(*gsb), GFP_KERNEL); in gp102_secboot_new()
160 if (!gsb) { in gp102_secboot_new()
164 *psb = &gsb->base; in gp102_secboot_new()
166 ret = nvkm_secboot_ctor(&gp102_secboot, acr, device, index, &gsb->base); in gp102_secboot_new()
/Linux-v4.19/drivers/i2c/
Di2c-core-acpi.c506 struct gsb_buffer *gsb = (struct gsb_buffer *)value64; in i2c_acpi_space_handler() local
550 gsb->bdata = status; in i2c_acpi_space_handler()
554 status = i2c_smbus_write_byte(client, gsb->bdata); in i2c_acpi_space_handler()
562 gsb->bdata = status; in i2c_acpi_space_handler()
567 gsb->bdata); in i2c_acpi_space_handler()
575 gsb->wdata = status; in i2c_acpi_space_handler()
580 gsb->wdata); in i2c_acpi_space_handler()
587 gsb->data); in i2c_acpi_space_handler()
589 gsb->len = status; in i2c_acpi_space_handler()
594 gsb->len, gsb->data); in i2c_acpi_space_handler()
[all …]