Lines Matching full:fault

33 	struct nvkm_device *device = buffer->fault->subdev.device;  in gv100_fault_buffer_process()
42 const u32 base = get * buffer->fault->func->buffer.entry_size; in gv100_fault_buffer_process()
76 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_intr()
87 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_fini()
95 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_init()
107 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_info()
120 struct nvkm_fault *fault = container_of(notify, typeof(*fault), nrpfb); in gv100_fault_ntfy_nrpfb() local
121 gv100_fault_buffer_process(fault->buffer[0]); in gv100_fault_ntfy_nrpfb()
126 gv100_fault_intr_fault(struct nvkm_fault *fault) in gv100_fault_intr_fault() argument
128 struct nvkm_subdev *subdev = &fault->subdev; in gv100_fault_intr_fault()
152 gv100_fault_intr(struct nvkm_fault *fault) in gv100_fault_intr() argument
154 struct nvkm_subdev *subdev = &fault->subdev; in gv100_fault_intr()
159 gv100_fault_intr_fault(fault); in gv100_fault_intr()
165 if (fault->buffer[0]) { in gv100_fault_intr()
166 nvkm_event_send(&fault->event, 1, 0, NULL, 0); in gv100_fault_intr()
172 if (fault->buffer[1]) { in gv100_fault_intr()
173 nvkm_event_send(&fault->event, 1, 1, NULL, 0); in gv100_fault_intr()
184 gv100_fault_fini(struct nvkm_fault *fault) in gv100_fault_fini() argument
186 nvkm_notify_put(&fault->nrpfb); in gv100_fault_fini()
187 if (fault->buffer[0]) in gv100_fault_fini()
188 fault->func->buffer.fini(fault->buffer[0]); in gv100_fault_fini()
189 nvkm_mask(fault->subdev.device, 0x100a34, 0x80000000, 0x80000000); in gv100_fault_fini()
193 gv100_fault_init(struct nvkm_fault *fault) in gv100_fault_init() argument
195 nvkm_mask(fault->subdev.device, 0x100a2c, 0x80000000, 0x80000000); in gv100_fault_init()
196 fault->func->buffer.init(fault->buffer[0]); in gv100_fault_init()
197 nvkm_notify_get(&fault->nrpfb); in gv100_fault_init()
201 gv100_fault_oneinit(struct nvkm_fault *fault) in gv100_fault_oneinit() argument
203 return nvkm_notify_init(&fault->buffer[0]->object, &fault->event, in gv100_fault_oneinit()
205 &fault->nrpfb); in gv100_fault_oneinit()
221 /*TODO: Figure out how to expose non-replayable fault buffer, which,
225 * the non-replayable fault buffer.