Home
last modified time | relevance | path

Searched refs:gud_device (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/gud/
Dgud_internal.h16 struct gud_device { struct
48 static inline struct gud_device *to_gud_device(struct drm_device *drm) in to_gud_device() argument
50 return container_of(drm, struct gud_device, drm); in to_gud_device()
53 static inline struct usb_device *gud_to_usb_device(struct gud_device *gdrm) in gud_to_usb_device()
58 int gud_usb_get(struct gud_device *gdrm, u8 request, u16 index, void *buf, size_t len);
59 int gud_usb_set(struct gud_device *gdrm, u8 request, u16 index, void *buf, size_t len);
60 int gud_usb_get_u8(struct gud_device *gdrm, u8 request, u16 index, u8 *val);
61 int gud_usb_set_u8(struct gud_device *gdrm, u8 request, u8 val);
63 void gud_clear_damage(struct gud_device *gdrm);
72 int gud_get_connectors(struct gud_device *gdrm);
Dgud_drv.c151 static int gud_usb_transfer(struct gud_device *gdrm, bool in, u8 request, u16 index, in gud_usb_transfer()
194 int gud_usb_get(struct gud_device *gdrm, u8 request, u16 index, void *buf, size_t max_len) in gud_usb_get()
203 int gud_usb_set(struct gud_device *gdrm, u8 request, u16 index, void *buf, size_t len) in gud_usb_set()
226 int gud_usb_get_u8(struct gud_device *gdrm, u8 request, u16 index, u8 *val) in gud_usb_get_u8()
245 int gud_usb_set_u8(struct gud_device *gdrm, u8 request, u8 val) in gud_usb_set_u8()
250 static int gud_get_properties(struct gud_device *gdrm) in gud_get_properties()
317 struct gud_device *gdrm = to_gud_device(drm); in gud_gem_prime_import()
328 struct gud_device *gdrm = to_gud_device(node->minor->dev); in gud_stats_debugfs()
396 static int gud_alloc_bulk_buffer(struct gud_device *gdrm) in gud_alloc_bulk_buffer()
424 struct gud_device *gdrm = data; in gud_free_buffers_and_mutex()
[all …]
Dgud_pipe.c149 static int gud_prep_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_prep_flush()
252 static int gud_usb_bulk(struct gud_device *gdrm, size_t len) in gud_usb_bulk()
279 static int gud_flush_rect(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_rect()
320 void gud_clear_damage(struct gud_device *gdrm) in gud_clear_damage()
328 static void gud_add_damage(struct gud_device *gdrm, struct drm_rect *damage) in gud_add_damage()
336 static void gud_retry_failed_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_retry_failed_flush()
361 struct gud_device *gdrm = container_of(work, struct gud_device, work); in gud_flush_work()
421 static void gud_fb_queue_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_fb_queue_damage()
448 struct gud_device *gdrm = to_gud_device(pipe->crtc.dev); in gud_pipe_check()
564 struct gud_device *gdrm = to_gud_device(drm); in gud_pipe_update()
Dgud_connector.c154 struct gud_device *gdrm = to_gud_device(connector->dev); in gud_connector_detect()
219 struct gud_device *gdrm = to_gud_device(connector->dev); in gud_connector_get_modes()
377 static int gud_connector_add_tv_mode(struct gud_device *gdrm, struct drm_connector *connector) in gud_connector_add_tv_mode()
474 static int gud_connector_add_properties(struct gud_device *gdrm, struct gud_connector *gconn) in gud_connector_add_properties()
609 static int gud_connector_create(struct gud_device *gdrm, unsigned int index, in gud_connector_create()
699 int gud_get_connectors(struct gud_device *gdrm) in gud_get_connectors()