Lines Matching refs:buffer
30 gp100_fault_buffer_intr(struct nvkm_fault_buffer *buffer, bool enable) in gp100_fault_buffer_intr() argument
32 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_intr()
37 gp100_fault_buffer_fini(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_fini() argument
39 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_fini()
44 gp100_fault_buffer_init(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_init() argument
46 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_init()
47 nvkm_wr32(device, 0x002a74, upper_32_bits(buffer->addr)); in gp100_fault_buffer_init()
48 nvkm_wr32(device, 0x002a70, lower_32_bits(buffer->addr)); in gp100_fault_buffer_init()
52 u64 gp100_fault_buffer_pin(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_pin() argument
54 return nvkm_memory_bar2(buffer->mem); in gp100_fault_buffer_pin()
58 gp100_fault_buffer_info(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_info() argument
60 buffer->entries = nvkm_rd32(buffer->fault->subdev.device, 0x002a78); in gp100_fault_buffer_info()
61 buffer->get = 0x002a7c; in gp100_fault_buffer_info()
62 buffer->put = 0x002a80; in gp100_fault_buffer_info()
74 .buffer.nr = 1,
75 .buffer.entry_size = 32,
76 .buffer.info = gp100_fault_buffer_info,
77 .buffer.pin = gp100_fault_buffer_pin,
78 .buffer.init = gp100_fault_buffer_init,
79 .buffer.fini = gp100_fault_buffer_fini,
80 .buffer.intr = gp100_fault_buffer_intr,