Home
last modified time | relevance | path

Searched defs:gasket_dev (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/staging/gasket/
Dgasket_core.c107 check_and_invoke_callback(struct gasket_dev *gasket_dev, in check_and_invoke_callback()
108 int (*cb_function)(struct gasket_dev *)) in check_and_invoke_callback()
124 gasket_check_and_invoke_callback_nolock(struct gasket_dev *gasket_dev, in gasket_check_and_invoke_callback_nolock()
125 int (*cb_function)(struct gasket_dev *)) in gasket_check_and_invoke_callback_nolock()
198 struct gasket_dev *gasket_dev; in gasket_alloc_dev() local
247 static void gasket_free_dev(struct gasket_dev *gasket_dev) in gasket_free_dev()
264 static int gasket_map_pci_bar(struct gasket_dev *gasket_dev, int bar_num) in gasket_map_pci_bar()
376 struct gasket_dev *gasket_dev) in gasket_setup_pci()
398 static void gasket_cleanup_pci(struct gasket_dev *gasket_dev) in gasket_cleanup_pci()
407 static int gasket_get_hw_status(struct gasket_dev *gasket_dev) in gasket_get_hw_status()
[all …]
Dgasket_ioctl.c27 static int gasket_set_event_fd(struct gasket_dev *gasket_dev, in gasket_set_event_fd()
43 struct gasket_dev *gasket_dev, in gasket_read_page_table_size()
70 struct gasket_dev *gasket_dev, in gasket_read_simple_page_table_size()
97 struct gasket_dev *gasket_dev, in gasket_partition_page_table()
133 static int gasket_map_buffers(struct gasket_dev *gasket_dev, in gasket_map_buffers()
159 static int gasket_unmap_buffers(struct gasket_dev *gasket_dev, in gasket_unmap_buffers()
189 struct gasket_dev *gasket_dev, in gasket_config_coherent_allocator()
230 struct gasket_dev *gasket_dev = (struct gasket_dev *)filp->private_data; in gasket_ioctl_check_permissions() local
276 struct gasket_dev *gasket_dev; in gasket_handle_ioctl() local
Dgasket_core.h262 struct gasket_dev { struct
264 struct gasket_internal_desc *internal_desc;
267 struct device *dev;
270 struct pci_dev *pci_dev;
273 int dev_idx;
276 char kobj_name[GASKET_NAME_MAX];
279 struct gasket_bar_data bar_data[GASKET_NUM_BARS];
282 struct gasket_coherent_buffer coherent_buffer;
285 int num_page_tables;
288 struct gasket_page_table *page_table[GASKET_MAX_NUM_PAGE_TABLES];
[all …]
Dapex_driver.c251 static int apex_get_status(struct gasket_dev *gasket_dev) in apex_get_status()
258 static int apex_enter_reset(struct gasket_dev *gasket_dev) in apex_enter_reset()
313 static int apex_quit_reset(struct gasket_dev *gasket_dev) in apex_quit_reset()
397 static int apex_device_cleanup(struct gasket_dev *gasket_dev) in apex_device_cleanup()
419 static bool is_gcb_in_reset(struct gasket_dev *gasket_dev) in is_gcb_in_reset()
429 static int apex_reset(struct gasket_dev *gasket_dev) in apex_reset()
461 static long apex_clock_gating(struct gasket_dev *gasket_dev, in apex_clock_gating()
497 struct gasket_dev *gasket_dev = filp->private_data; in apex_ioctl() local
515 struct gasket_dev *gasket_dev; in sysfs_show() local
572 static int apex_device_open_cb(struct gasket_dev *gasket_dev) in apex_device_open_cb()
[all …]
Dgasket_interrupt.c79 static void gasket_interrupt_setup(struct gasket_dev *gasket_dev) in gasket_interrupt_setup()
240 static void force_msix_interrupt_unmasking(struct gasket_dev *gasket_dev) in force_msix_interrupt_unmasking()
272 struct gasket_dev *gasket_dev; in interrupt_sysfs_show() local
322 int gasket_interrupt_init(struct gasket_dev *gasket_dev, const char *name, in gasket_interrupt_init()
422 int gasket_interrupt_reinit(struct gasket_dev *gasket_dev) in gasket_interrupt_reinit()
464 int gasket_interrupt_reset_counts(struct gasket_dev *gasket_dev) in gasket_interrupt_reset_counts()
474 void gasket_interrupt_cleanup(struct gasket_dev *gasket_dev) in gasket_interrupt_cleanup()
505 int gasket_interrupt_system_status(struct gasket_dev *gasket_dev) in gasket_interrupt_system_status()
Dgasket_sysfs.c23 struct gasket_dev *gasket_dev; member
153 struct gasket_dev *gasket_dev) in gasket_sysfs_create_mapping()
355 struct gasket_dev *gasket_dev; in gasket_sysfs_register_store() local
Dgasket_page_table.c1251 struct gasket_dev *gasket_dev, u64 size, dma_addr_t dma_address, in gasket_set_user_virt()
1277 int gasket_alloc_coherent_memory(struct gasket_dev *gasket_dev, u64 size, in gasket_alloc_coherent_memory()
1340 int gasket_free_coherent_memory(struct gasket_dev *gasket_dev, u64 size, in gasket_free_coherent_memory()
1367 struct gasket_dev *gasket_dev, u64 index) in gasket_free_coherent_memory_all()