Home
last modified time | relevance | path

Searched refs:dfl_feature_platform_data (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/fpga/
Ddfl-afu.h83 void afu_mmio_region_init(struct dfl_feature_platform_data *pdata);
84 int afu_mmio_region_add(struct dfl_feature_platform_data *pdata,
86 void afu_mmio_region_destroy(struct dfl_feature_platform_data *pdata);
87 int afu_mmio_region_get_by_index(struct dfl_feature_platform_data *pdata,
90 int afu_mmio_region_get_by_offset(struct dfl_feature_platform_data *pdata,
93 void afu_dma_region_init(struct dfl_feature_platform_data *pdata);
94 void afu_dma_region_destroy(struct dfl_feature_platform_data *pdata);
95 int afu_dma_map_region(struct dfl_feature_platform_data *pdata,
97 int afu_dma_unmap_region(struct dfl_feature_platform_data *pdata, u64 iova);
99 afu_dma_region_find(struct dfl_feature_platform_data *pdata,
Ddfl-afu-main.c40 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in __afu_port_enable()
80 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in __afu_port_disable()
134 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in port_reset()
165 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ltr_show()
182 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ltr_store()
206 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ap1_event_show()
223 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ap1_event_store()
244 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ap2_event_show()
261 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in ap2_event_store()
281 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in power_state_show()
[all …]
Ddfl-afu-dma-region.c19 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()
Ddfl-fme-error.c45 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 …]
Ddfl.h318 struct dfl_feature_platform_data { struct
334 int dfl_feature_dev_use_begin(struct dfl_feature_platform_data *pdata, in dfl_feature_dev_use_begin() argument
352 void dfl_feature_dev_use_end(struct dfl_feature_platform_data *pdata) in dfl_feature_dev_use_end()
363 int dfl_feature_dev_use_count(struct dfl_feature_platform_data *pdata) in dfl_feature_dev_use_count()
369 void dfl_fpga_pdata_set_private(struct dfl_feature_platform_data *pdata, in dfl_fpga_pdata_set_private()
376 void *dfl_fpga_pdata_get_private(struct dfl_feature_platform_data *pdata) in dfl_fpga_pdata_get_private()
404 struct dfl_feature_platform_data *pdata; in dfl_fpga_inode_to_feature_dev()
406 pdata = container_of(inode->i_cdev, struct dfl_feature_platform_data, in dfl_fpga_inode_to_feature_dev()
418 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in dfl_get_feature_by_id()
441 struct device *dfl_fpga_pdata_to_parent(struct dfl_feature_platform_data *pdata) in dfl_fpga_pdata_to_parent()
Ddfl-afu-region.c17 void afu_mmio_region_init(struct dfl_feature_platform_data *pdata) in afu_mmio_region_init()
50 int afu_mmio_region_add(struct dfl_feature_platform_data *pdata, in afu_mmio_region_add()
96 void afu_mmio_region_destroy(struct dfl_feature_platform_data *pdata) in afu_mmio_region_destroy()
113 int afu_mmio_region_get_by_index(struct dfl_feature_platform_data *pdata, in afu_mmio_region_get_by_index()
147 int afu_mmio_region_get_by_offset(struct dfl_feature_platform_data *pdata, in afu_mmio_region_get_by_offset()
Ddfl-fme-pr.c68 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()
Ddfl-afu-error.c42 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()
118 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in errors_show()
149 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in first_error_show()
167 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in first_malformed_req_show()
Ddfl-fme-main.c138 static long fme_hdr_ioctl_release_port(struct dfl_feature_platform_data *pdata, in fme_hdr_ioctl_release_port()
150 static long fme_hdr_ioctl_assign_port(struct dfl_feature_platform_data *pdata, in fme_hdr_ioctl_assign_port()
166 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in fme_hdr_ioctl()
414 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev->parent); in power_hwmon_write()
592 static long fme_ioctl_check_extension(struct dfl_feature_platform_data *pdata, in fme_ioctl_check_extension()
602 struct dfl_feature_platform_data *pdata = dev_get_platdata(&fdev->dev); in fme_open()
622 struct dfl_feature_platform_data *pdata = filp->private_data; in fme_release()
642 struct dfl_feature_platform_data *pdata = filp->private_data; in fme_ioctl()
675 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in fme_dev_init()
691 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in fme_dev_destroy()
Ddfl.c232 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_check_port_id()
354 dfl_dev_add(struct dfl_feature_platform_data *pdata, in dfl_dev_add()
438 static void dfl_devs_remove(struct dfl_feature_platform_data *pdata) in dfl_devs_remove()
450 static int dfl_devs_add(struct dfl_feature_platform_data *pdata) in dfl_devs_add()
507 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_dev_feature_uinit()
523 struct dfl_feature_platform_data *pdata, in dfl_feature_instance_init()
582 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_dev_feature_init()
661 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_dev_ops_register()
684 struct dfl_feature_platform_data *pdata = dev_get_platdata(&pdev->dev); in dfl_fpga_dev_ops_unregister()
749 struct dfl_feature_platform_data *pdata = dev_get_platdata(&port->dev); in dfl_fpga_cdev_add_port_dev()
[all …]