Lines Matching refs:cgs_device
151 typedef int (*cgs_gpu_mem_info_t)(void *cgs_device, enum cgs_gpu_mem_type type,
167 typedef int (*cgs_gmap_kmem_t)(void *cgs_device, void *kmem, uint64_t size,
178 typedef int (*cgs_gunmap_kmem_t)(void *cgs_device, cgs_handle_t kmem_handle);
207 typedef int (*cgs_alloc_gpu_mem_t)(void *cgs_device, enum cgs_gpu_mem_type type,
219 typedef int (*cgs_free_gpu_mem_t)(void *cgs_device, cgs_handle_t handle);
231 typedef int (*cgs_gmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle,
243 typedef int (*cgs_gunmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle);
254 typedef int (*cgs_kmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle,
264 typedef int (*cgs_kunmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle);
273 typedef uint32_t (*cgs_read_register_t)(void *cgs_device, unsigned offset);
281 typedef void (*cgs_write_register_t)(void *cgs_device, unsigned offset,
291 typedef uint32_t (*cgs_read_ind_register_t)(void *cgs_device, enum cgs_ind_reg space,
300 typedef void (*cgs_write_ind_register_t)(void *cgs_device, enum cgs_ind_reg space,
310 typedef uint8_t (*cgs_read_pci_config_byte_t)(void *cgs_device, unsigned addr);
319 typedef uint16_t (*cgs_read_pci_config_word_t)(void *cgs_device, unsigned addr);
328 typedef uint32_t (*cgs_read_pci_config_dword_t)(void *cgs_device,
337 typedef void (*cgs_write_pci_config_byte_t)(void *cgs_device, unsigned addr,
346 typedef void (*cgs_write_pci_config_word_t)(void *cgs_device, unsigned addr,
355 typedef void (*cgs_write_pci_config_dword_t)(void *cgs_device, unsigned addr,
369 void *cgs_device, unsigned table,
381 typedef int (*cgs_atom_get_cmd_table_revs_t)(void *cgs_device, unsigned table,
392 typedef int (*cgs_atom_exec_cmd_table_t)(void *cgs_device,
402 typedef int (*cgs_create_pm_request_t)(void *cgs_device, cgs_handle_t *request);
411 typedef int (*cgs_destroy_pm_request_t)(void *cgs_device, cgs_handle_t request);
427 typedef int (*cgs_set_pm_request_t)(void *cgs_device, cgs_handle_t request,
439 typedef int (*cgs_pm_request_clock_t)(void *cgs_device, cgs_handle_t request,
451 typedef int (*cgs_pm_request_engine_t)(void *cgs_device, cgs_handle_t request,
462 typedef int (*cgs_pm_query_clock_limits_t)(void *cgs_device,
474 typedef int (*cgs_set_camera_voltages_t)(void *cgs_device, uint32_t mask,
484 typedef int (*cgs_get_firmware_info)(void *cgs_device,
488 typedef int(*cgs_set_powergating_state)(void *cgs_device,
492 typedef int(*cgs_set_clockgating_state)(void *cgs_device,
541 struct cgs_device struct
551 (((struct cgs_device *)dev)->ops->func(dev, ##__VA_ARGS__)) argument
553 (((struct cgs_device *)dev)->os_ops->func(dev, ##__VA_ARGS__))