Searched refs:dfl_feature_platform_data (Results 1 – 11 of 11) sorted by relevance
/drivers/fpga/ |
D | dfl-afu.h | 79 struct dfl_feature_platform_data *pdata; 86 void afu_mmio_region_init(struct dfl_feature_platform_data *pdata); 87 int afu_mmio_region_add(struct dfl_feature_platform_data *pdata, 89 void afu_mmio_region_destroy(struct dfl_feature_platform_data *pdata); 90 int afu_mmio_region_get_by_index(struct dfl_feature_platform_data *pdata, 93 int afu_mmio_region_get_by_offset(struct dfl_feature_platform_data *pdata, 96 void afu_dma_region_init(struct dfl_feature_platform_data *pdata); 97 void afu_dma_region_destroy(struct dfl_feature_platform_data *pdata); 98 int afu_dma_map_region(struct dfl_feature_platform_data *pdata, 100 int afu_dma_unmap_region(struct dfl_feature_platform_data *pdata, u64 iova); [all …]
|
D | dfl-afu-main.c | 37 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in __afu_port_enable() 67 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in __afu_port_disable() 121 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in port_reset() 152 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ltr_show() 169 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ltr_store() 193 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ap1_event_show() 210 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ap1_event_store() 231 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ap2_event_show() 248 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ap2_event_store() 268 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in power_state_show() [all …]
|
D | dfl-afu-dma-region.c | 19 void afu_dma_region_init(struct dfl_feature_platform_data *pdata) in afu_dma_region_init() 34 static int afu_dma_pin_pages(struct dfl_feature_platform_data *pdata, in afu_dma_pin_pages() 82 static void afu_dma_unpin_pages(struct dfl_feature_platform_data *pdata, in afu_dma_unpin_pages() 143 static int afu_dma_region_add(struct dfl_feature_platform_data *pdata, in afu_dma_region_add() 185 static void afu_dma_region_remove(struct dfl_feature_platform_data *pdata, in afu_dma_region_remove() 203 void afu_dma_region_destroy(struct dfl_feature_platform_data *pdata) in afu_dma_region_destroy() 245 afu_dma_region_find(struct dfl_feature_platform_data *pdata, u64 iova, u64 size) in afu_dma_region_find() 285 afu_dma_region_find_iova(struct dfl_feature_platform_data *pdata, u64 iova) in afu_dma_region_find_iova() 301 int afu_dma_map_region(struct dfl_feature_platform_data *pdata, in afu_dma_map_region() 380 int afu_dma_unmap_region(struct dfl_feature_platform_data *pdata, u64 iova) in afu_dma_unmap_region()
|
D | dfl-fme-error.c | 45 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie0_errors_show() 62 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie0_errors_store() 90 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie1_errors_show() 107 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie1_errors_store() 159 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in inject_errors_show() 177 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in inject_errors_store() 204 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in fme_errors_show() 221 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in fme_errors_store() 251 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in first_error_show() 268 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in next_error_show() [all …]
|
D | dfl.h | 272 struct dfl_feature_platform_data { struct 288 int dfl_feature_dev_use_begin(struct dfl_feature_platform_data *pdata, in dfl_feature_dev_use_begin() argument 306 void dfl_feature_dev_use_end(struct dfl_feature_platform_data *pdata) in dfl_feature_dev_use_end() 317 int dfl_feature_dev_use_count(struct dfl_feature_platform_data *pdata) in dfl_feature_dev_use_count() 323 void dfl_fpga_pdata_set_private(struct dfl_feature_platform_data *pdata, in dfl_fpga_pdata_set_private() 330 void *dfl_fpga_pdata_get_private(struct dfl_feature_platform_data *pdata) in dfl_fpga_pdata_get_private() 358 struct dfl_feature_platform_data *pdata; in dfl_fpga_inode_to_feature_dev() 360 pdata = container_of(inode->i_cdev, struct dfl_feature_platform_data, in dfl_fpga_inode_to_feature_dev() 372 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in dfl_get_feature_by_id() 400 struct device *dfl_fpga_pdata_to_parent(struct dfl_feature_platform_data *pdata) in dfl_fpga_pdata_to_parent()
|
D | dfl-afu-region.c | 17 void afu_mmio_region_init(struct dfl_feature_platform_data *pdata) in afu_mmio_region_init() 49 int afu_mmio_region_add(struct dfl_feature_platform_data *pdata, in afu_mmio_region_add() 95 void afu_mmio_region_destroy(struct dfl_feature_platform_data *pdata) in afu_mmio_region_destroy() 112 int afu_mmio_region_get_by_index(struct dfl_feature_platform_data *pdata, in afu_mmio_region_get_by_index() 146 int afu_mmio_region_get_by_offset(struct dfl_feature_platform_data *pdata, in afu_mmio_region_get_by_offset()
|
D | dfl-fme-pr.c | 68 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in fme_pr() 173 dfl_fme_create_mgr(struct dfl_feature_platform_data *pdata, in dfl_fme_create_mgr() 214 static void dfl_fme_destroy_mgr(struct dfl_feature_platform_data *pdata) in dfl_fme_destroy_mgr() 230 dfl_fme_create_bridge(struct dfl_feature_platform_data *pdata, int port_id) in dfl_fme_create_bridge() 279 static void dfl_fme_destroy_bridges(struct dfl_feature_platform_data *pdata) in dfl_fme_destroy_bridges() 301 dfl_fme_create_region(struct dfl_feature_platform_data *pdata, in dfl_fme_create_region() 358 static void dfl_fme_destroy_regions(struct dfl_feature_platform_data *pdata) in dfl_fme_destroy_regions() 372 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in pr_mgmt_init() 442 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in pr_mgmt_uinit()
|
D | dfl-afu-error.c | 42 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in afu_port_err_mask() 52 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in afu_port_err_clear() 116 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in errors_show() 147 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in first_error_show() 165 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in first_malformed_req_show()
|
D | dfl-fme-main.c | 137 static long fme_hdr_ioctl_release_port(struct dfl_feature_platform_data *pdata, in fme_hdr_ioctl_release_port() 149 static long fme_hdr_ioctl_assign_port(struct dfl_feature_platform_data *pdata, in fme_hdr_ioctl_assign_port() 165 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in fme_hdr_ioctl() 413 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev->parent); in power_hwmon_write() 591 static long fme_ioctl_check_extension(struct dfl_feature_platform_data *pdata, in fme_ioctl_check_extension() 601 struct dfl_feature_platform_data *pdata = dev_get_platdata(&fdev->dev); in fme_open() 621 struct dfl_feature_platform_data *pdata = filp->private_data; in fme_release() 641 struct dfl_feature_platform_data *pdata = filp->private_data; in fme_ioctl() 674 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in fme_dev_init() 692 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in fme_dev_destroy()
|
D | dfl.c | 230 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_check_port_id() 353 dfl_dev_add(struct dfl_feature_platform_data *pdata, in dfl_dev_add() 427 static void dfl_devs_remove(struct dfl_feature_platform_data *pdata) in dfl_devs_remove() 439 static int dfl_devs_add(struct dfl_feature_platform_data *pdata) in dfl_devs_add() 496 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_dev_feature_uinit() 512 struct dfl_feature_platform_data *pdata, in dfl_feature_instance_init() 571 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_dev_feature_init() 650 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_dev_ops_register() 673 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_dev_ops_unregister() 730 struct dfl_feature_platform_data *pdata = dev_get_platdata(&port->dev); in dfl_fpga_cdev_add_port_dev() [all …]
|
D | dfl-fme.h | 33 struct dfl_feature_platform_data *pdata;
|