Home
last modified time | relevance | path

Searched defs:afu (Results 1 – 25 of 116) sorted by relevance

12345

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/misc/ocxl/
H A Dcore.c18 struct ocxl_afu *afu; in alloc_afu() local
42 void ocxl_afu_get(struct ocxl_afu *afu) in ocxl_afu_get()
48 void ocxl_afu_put(struct ocxl_afu *afu) in ocxl_afu_put()
54 static int assign_afu_actag(struct ocxl_afu *afu) in assign_afu_actag()
92 static int assign_afu_pasid(struct ocxl_afu *afu) in assign_afu_pasid()
162 static int map_mmio_areas(struct ocxl_afu *afu) in map_mmio_areas()
266 struct ocxl_afu *afu; in init_afu() local
290 static void remove_afu(struct ocxl_afu *afu) in remove_afu()
478 u8 afu; in ocxl_function_open() local
518 struct ocxl_afu *afu; in ocxl_function_fetch_afu() local
[all …]
H A Dmmio.c7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32()
32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64()
57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32()
83 int ocxl_global_mmio_write64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write64()
109 int ocxl_global_mmio_set32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set32()
140 int ocxl_global_mmio_set64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set64()
171 int ocxl_global_mmio_clear32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear32()
203 int ocxl_global_mmio_clear64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear64()
H A Dsysfs.c17 struct ocxl_afu *afu = to_afu(device); in global_mmio_size_show() local
27 struct ocxl_afu *afu = to_afu(device); in pp_mmio_size_show() local
37 struct ocxl_afu *afu = to_afu(device); in afu_version_show() local
48 struct ocxl_afu *afu = to_afu(device); in contexts_show() local
58 struct ocxl_afu *afu = to_afu(device); in reload_on_reset_show() local
73 struct ocxl_afu *afu = to_afu(device); in reload_on_reset_store() local
100 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_read() local
112 struct ocxl_afu *afu = vma->vm_private_data; in global_mmio_fault() local
131 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_mmap() local
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/misc/ocxl/
H A Dcore.c18 struct ocxl_afu *afu; in alloc_afu() local
42 void ocxl_afu_get(struct ocxl_afu *afu) in ocxl_afu_get()
48 void ocxl_afu_put(struct ocxl_afu *afu) in ocxl_afu_put()
54 static int assign_afu_actag(struct ocxl_afu *afu) in assign_afu_actag()
92 static int assign_afu_pasid(struct ocxl_afu *afu) in assign_afu_pasid()
162 static int map_mmio_areas(struct ocxl_afu *afu) in map_mmio_areas()
266 struct ocxl_afu *afu; in init_afu() local
290 static void remove_afu(struct ocxl_afu *afu) in remove_afu()
478 u8 afu; in ocxl_function_open() local
518 struct ocxl_afu *afu; in ocxl_function_fetch_afu() local
[all …]
H A Dmmio.c7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32()
32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64()
57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32()
83 int ocxl_global_mmio_write64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write64()
109 int ocxl_global_mmio_set32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set32()
140 int ocxl_global_mmio_set64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set64()
171 int ocxl_global_mmio_clear32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear32()
203 int ocxl_global_mmio_clear64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear64()
H A Dsysfs.c17 struct ocxl_afu *afu = to_afu(device); in global_mmio_size_show() local
27 struct ocxl_afu *afu = to_afu(device); in pp_mmio_size_show() local
37 struct ocxl_afu *afu = to_afu(device); in afu_version_show() local
48 struct ocxl_afu *afu = to_afu(device); in contexts_show() local
58 struct ocxl_afu *afu = to_afu(device); in reload_on_reset_show() local
73 struct ocxl_afu *afu = to_afu(device); in reload_on_reset_store() local
100 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_read() local
112 struct ocxl_afu *afu = vma->vm_private_data; in global_mmio_fault() local
131 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_mmap() local
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/misc/ocxl/
H A Dcore.c18 struct ocxl_afu *afu; in alloc_afu() local
42 void ocxl_afu_get(struct ocxl_afu *afu) in ocxl_afu_get()
48 void ocxl_afu_put(struct ocxl_afu *afu) in ocxl_afu_put()
54 static int assign_afu_actag(struct ocxl_afu *afu) in assign_afu_actag()
92 static int assign_afu_pasid(struct ocxl_afu *afu) in assign_afu_pasid()
162 static int map_mmio_areas(struct ocxl_afu *afu) in map_mmio_areas()
266 struct ocxl_afu *afu; in init_afu() local
290 static void remove_afu(struct ocxl_afu *afu) in remove_afu()
478 u8 afu; in ocxl_function_open() local
518 struct ocxl_afu *afu; in ocxl_function_fetch_afu() local
[all …]
H A Dmmio.c7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32()
32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64()
57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32()
83 int ocxl_global_mmio_write64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write64()
109 int ocxl_global_mmio_set32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set32()
140 int ocxl_global_mmio_set64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set64()
171 int ocxl_global_mmio_clear32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear32()
203 int ocxl_global_mmio_clear64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear64()
H A Dsysfs.c17 struct ocxl_afu *afu = to_afu(device); in global_mmio_size_show() local
27 struct ocxl_afu *afu = to_afu(device); in pp_mmio_size_show() local
37 struct ocxl_afu *afu = to_afu(device); in afu_version_show() local
48 struct ocxl_afu *afu = to_afu(device); in contexts_show() local
58 struct ocxl_afu *afu = to_afu(device); in reload_on_reset_show() local
73 struct ocxl_afu *afu = to_afu(device); in reload_on_reset_store() local
100 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_read() local
112 struct ocxl_afu *afu = vma->vm_private_data; in global_mmio_fault() local
131 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_mmap() local
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/misc/cxl/
H A Dnative.c74 static int afu_enable(struct cxl_afu *afu) in afu_enable()
83 int cxl_afu_disable(struct cxl_afu *afu) in cxl_afu_disable()
130 int cxl_psl_purge(struct cxl_afu *afu) in cxl_psl_purge()
255 static void attach_spa(struct cxl_afu *afu) in attach_spa()
276 void cxl_release_spa(struct cxl_afu *afu) in cxl_release_spa()
890 struct cxl_afu *afu = ctx->afu; in cxl_update_dedicated_ivtes_psl8() local
906 struct cxl_afu *afu = ctx->afu; in cxl_attach_dedicated_process_psl9() local
934 struct cxl_afu *afu = ctx->afu; in cxl_attach_dedicated_process_psl8() local
1175 struct cxl_afu *afu = data; in native_irq_multiplexed() local
1251 struct cxl_afu *afu = data; in native_slice_irq_err() local
[all …]
H A Dguest.c18 static void pci_error_handlers(struct cxl_afu *afu, in pci_error_handlers()
193 struct cxl_afu *afu = data; in guest_slice_irq_err() local
262 struct cxl_afu *afu = NULL; in guest_reset() local
349 static int guest_register_serr_irq(struct cxl_afu *afu) in guest_register_serr_irq()
658 struct cxl_afu *afu = to_cxl_afu(dev); in guest_release_afu() local
729 static int activate_afu_directed(struct cxl_afu *afu) in activate_afu_directed()
799 static int guest_afu_reset(struct cxl_afu *afu) in guest_afu_reset()
805 static int guest_map_slice_regs(struct cxl_afu *afu) in guest_map_slice_regs()
821 static int afu_update_state(struct cxl_afu *afu) in afu_update_state()
919 struct cxl_afu *afu; in cxl_guest_init_afu() local
[all …]
H A Dfile.c29 #define CXL_AFU_MINOR_M(afu) (CXL_AFU_MINOR_D(afu) + 1) argument
30 #define CXL_AFU_MINOR_S(afu) (CXL_AFU_MINOR_D(afu) + 2) argument
31 #define CXL_AFU_MKDEV_D(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_D(afu)) argument
32 #define CXL_AFU_MKDEV_M(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_M(afu)) argument
33 #define CXL_AFU_MKDEV_S(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_S(afu)) argument
46 struct cxl_afu *afu; in __afu_open() local
593 int cxl_chardev_d_afu_add(struct cxl_afu *afu) in cxl_chardev_d_afu_add()
600 int cxl_chardev_m_afu_add(struct cxl_afu *afu) in cxl_chardev_m_afu_add()
607 int cxl_chardev_s_afu_add(struct cxl_afu *afu) in cxl_chardev_s_afu_add()
614 void cxl_chardev_afu_remove(struct cxl_afu *afu) in cxl_chardev_afu_remove()
[all …]
H A Dvphb.c31 struct cxl_afu *afu; in cxl_pci_enable_device_hook() local
93 static void cxl_afu_configured_put(struct cxl_afu *afu) in cxl_afu_configured_put()
98 static bool cxl_afu_configured_get(struct cxl_afu *afu) in cxl_afu_configured_get()
104 struct cxl_afu *afu, int *_record) in cxl_pcie_config_info()
120 struct cxl_afu *afu; in cxl_pcie_read_config() local
160 struct cxl_afu *afu; in cxl_pcie_write_config() local
209 int cxl_pci_vphb_add(struct cxl_afu *afu) in cxl_pci_vphb_add()
275 void cxl_pci_vphb_remove(struct cxl_afu *afu) in cxl_pci_vphb_remove()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/misc/cxl/
H A Dnative.c74 static int afu_enable(struct cxl_afu *afu) in afu_enable()
83 int cxl_afu_disable(struct cxl_afu *afu) in cxl_afu_disable()
130 int cxl_psl_purge(struct cxl_afu *afu) in cxl_psl_purge()
255 static void attach_spa(struct cxl_afu *afu) in attach_spa()
276 void cxl_release_spa(struct cxl_afu *afu) in cxl_release_spa()
890 struct cxl_afu *afu = ctx->afu; in cxl_update_dedicated_ivtes_psl8() local
906 struct cxl_afu *afu = ctx->afu; in cxl_attach_dedicated_process_psl9() local
934 struct cxl_afu *afu = ctx->afu; in cxl_attach_dedicated_process_psl8() local
1175 struct cxl_afu *afu = data; in native_irq_multiplexed() local
1251 struct cxl_afu *afu = data; in native_slice_irq_err() local
[all …]
H A Dguest.c18 static void pci_error_handlers(struct cxl_afu *afu, in pci_error_handlers()
193 struct cxl_afu *afu = data; in guest_slice_irq_err() local
262 struct cxl_afu *afu = NULL; in guest_reset() local
349 static int guest_register_serr_irq(struct cxl_afu *afu) in guest_register_serr_irq()
658 struct cxl_afu *afu = to_cxl_afu(dev); in guest_release_afu() local
729 static int activate_afu_directed(struct cxl_afu *afu) in activate_afu_directed()
799 static int guest_afu_reset(struct cxl_afu *afu) in guest_afu_reset()
805 static int guest_map_slice_regs(struct cxl_afu *afu) in guest_map_slice_regs()
821 static int afu_update_state(struct cxl_afu *afu) in afu_update_state()
919 struct cxl_afu *afu; in cxl_guest_init_afu() local
[all …]
H A Dfile.c29 #define CXL_AFU_MINOR_M(afu) (CXL_AFU_MINOR_D(afu) + 1) argument
30 #define CXL_AFU_MINOR_S(afu) (CXL_AFU_MINOR_D(afu) + 2) argument
31 #define CXL_AFU_MKDEV_D(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_D(afu)) argument
32 #define CXL_AFU_MKDEV_M(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_M(afu)) argument
33 #define CXL_AFU_MKDEV_S(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_S(afu)) argument
46 struct cxl_afu *afu; in __afu_open() local
593 int cxl_chardev_d_afu_add(struct cxl_afu *afu) in cxl_chardev_d_afu_add()
600 int cxl_chardev_m_afu_add(struct cxl_afu *afu) in cxl_chardev_m_afu_add()
607 int cxl_chardev_s_afu_add(struct cxl_afu *afu) in cxl_chardev_s_afu_add()
614 void cxl_chardev_afu_remove(struct cxl_afu *afu) in cxl_chardev_afu_remove()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/misc/cxl/
H A Dnative.c74 static int afu_enable(struct cxl_afu *afu) in afu_enable()
83 int cxl_afu_disable(struct cxl_afu *afu) in cxl_afu_disable()
130 int cxl_psl_purge(struct cxl_afu *afu) in cxl_psl_purge()
255 static void attach_spa(struct cxl_afu *afu) in attach_spa()
276 void cxl_release_spa(struct cxl_afu *afu) in cxl_release_spa()
890 struct cxl_afu *afu = ctx->afu; in cxl_update_dedicated_ivtes_psl8() local
906 struct cxl_afu *afu = ctx->afu; in cxl_attach_dedicated_process_psl9() local
934 struct cxl_afu *afu = ctx->afu; in cxl_attach_dedicated_process_psl8() local
1175 struct cxl_afu *afu = data; in native_irq_multiplexed() local
1251 struct cxl_afu *afu = data; in native_slice_irq_err() local
[all …]
H A Dguest.c18 static void pci_error_handlers(struct cxl_afu *afu, in pci_error_handlers()
193 struct cxl_afu *afu = data; in guest_slice_irq_err() local
262 struct cxl_afu *afu = NULL; in guest_reset() local
349 static int guest_register_serr_irq(struct cxl_afu *afu) in guest_register_serr_irq()
658 struct cxl_afu *afu = to_cxl_afu(dev); in guest_release_afu() local
729 static int activate_afu_directed(struct cxl_afu *afu) in activate_afu_directed()
799 static int guest_afu_reset(struct cxl_afu *afu) in guest_afu_reset()
805 static int guest_map_slice_regs(struct cxl_afu *afu) in guest_map_slice_regs()
821 static int afu_update_state(struct cxl_afu *afu) in afu_update_state()
919 struct cxl_afu *afu; in cxl_guest_init_afu() local
[all …]
H A Dfile.c29 #define CXL_AFU_MINOR_M(afu) (CXL_AFU_MINOR_D(afu) + 1) argument
30 #define CXL_AFU_MINOR_S(afu) (CXL_AFU_MINOR_D(afu) + 2) argument
31 #define CXL_AFU_MKDEV_D(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_D(afu)) argument
32 #define CXL_AFU_MKDEV_M(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_M(afu)) argument
33 #define CXL_AFU_MKDEV_S(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_S(afu)) argument
46 struct cxl_afu *afu; in __afu_open() local
593 int cxl_chardev_d_afu_add(struct cxl_afu *afu) in cxl_chardev_d_afu_add()
600 int cxl_chardev_m_afu_add(struct cxl_afu *afu) in cxl_chardev_m_afu_add()
607 int cxl_chardev_s_afu_add(struct cxl_afu *afu) in cxl_chardev_s_afu_add()
614 void cxl_chardev_afu_remove(struct cxl_afu *afu) in cxl_chardev_afu_remove()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/fpga/
H A Ddfl-afu-region.c19 struct dfl_afu *afu = dfl_fpga_pdata_get_private(pdata); in afu_mmio_region_init() local
24 #define for_each_region(region, afu) \ argument
27 static struct dfl_afu_mmio_region *get_region_by_index(struct dfl_afu *afu, in get_region_by_index()
53 struct dfl_afu *afu; in afu_mmio_region_add() local
97 struct dfl_afu *afu = dfl_fpga_pdata_get_private(pdata); in afu_mmio_region_destroy() local
117 struct dfl_afu *afu; in afu_mmio_region_get_by_index() local
151 struct dfl_afu *afu; in afu_mmio_region_get_by_offset() local
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/fpga/
H A Ddfl-afu-region.c19 struct dfl_afu *afu = dfl_fpga_pdata_get_private(pdata); in afu_mmio_region_init() local
24 #define for_each_region(region, afu) \ argument
27 static struct dfl_afu_mmio_region *get_region_by_index(struct dfl_afu *afu, in get_region_by_index()
53 struct dfl_afu *afu; in afu_mmio_region_add() local
97 struct dfl_afu *afu = dfl_fpga_pdata_get_private(pdata); in afu_mmio_region_destroy() local
117 struct dfl_afu *afu; in afu_mmio_region_get_by_index() local
151 struct dfl_afu *afu; in afu_mmio_region_get_by_offset() local
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/fpga/
H A Ddfl-afu-region.c19 struct dfl_afu *afu = dfl_fpga_pdata_get_private(pdata); in afu_mmio_region_init() local
24 #define for_each_region(region, afu) \ argument
27 static struct dfl_afu_mmio_region *get_region_by_index(struct dfl_afu *afu, in get_region_by_index()
53 struct dfl_afu *afu; in afu_mmio_region_add() local
97 struct dfl_afu *afu = dfl_fpga_pdata_get_private(pdata); in afu_mmio_region_destroy() local
117 struct dfl_afu *afu; in afu_mmio_region_get_by_index() local
151 struct dfl_afu *afu; in afu_mmio_region_get_by_offset() local
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/cxlflash/
H A Dcommon.h113 struct afu *afu; member
204 struct afu *afu; member
230 struct afu { struct
232 int (*send_cmd)(struct afu *afu, struct afu_cmd *cmd); argument
255 static inline struct hwq *get_hwq(struct afu *afu, u32 index) in get_hwq()
267 static inline bool afu_has_cap(struct afu *afu, u64 cap) in afu_has_cap()
274 static inline bool afu_is_ocxl_lisn(struct afu *afu) in afu_is_ocxl_lisn()
279 static inline bool afu_is_afu_debug(struct afu *afu) in afu_is_afu_debug()
284 static inline bool afu_is_lun_provision(struct afu *afu) in afu_is_lun_provision()
289 static inline bool afu_is_sq_cmd_mode(struct afu *afu) in afu_is_sq_cmd_mode()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/cxlflash/
H A Dcommon.h113 struct afu *afu; member
204 struct afu *afu; member
230 struct afu { struct
232 int (*send_cmd)(struct afu *afu, struct afu_cmd *cmd); argument
255 static inline struct hwq *get_hwq(struct afu *afu, u32 index) in get_hwq()
267 static inline bool afu_has_cap(struct afu *afu, u64 cap) in afu_has_cap()
274 static inline bool afu_is_ocxl_lisn(struct afu *afu) in afu_is_ocxl_lisn()
279 static inline bool afu_is_afu_debug(struct afu *afu) in afu_is_afu_debug()
284 static inline bool afu_is_lun_provision(struct afu *afu) in afu_is_lun_provision()
289 static inline bool afu_is_sq_cmd_mode(struct afu *afu) in afu_is_sq_cmd_mode()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/cxlflash/
H A Dcommon.h113 struct afu *afu; member
204 struct afu *afu; member
230 struct afu { struct
232 int (*send_cmd)(struct afu *afu, struct afu_cmd *cmd); argument
255 static inline struct hwq *get_hwq(struct afu *afu, u32 index) in get_hwq()
267 static inline bool afu_has_cap(struct afu *afu, u64 cap) in afu_has_cap()
274 static inline bool afu_is_ocxl_lisn(struct afu *afu) in afu_is_ocxl_lisn()
279 static inline bool afu_is_afu_debug(struct afu *afu) in afu_is_afu_debug()
284 static inline bool afu_is_lun_provision(struct afu *afu) in afu_is_lun_provision()
289 static inline bool afu_is_sq_cmd_mode(struct afu *afu) in afu_is_sq_cmd_mode()
[all …]

12345