Home
last modified time | relevance | path

Searched refs:mlx5_fpga_device (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_fpga/
H A Dsdk.h52 struct mlx5_fpga_device;
64 void (*create)(struct mlx5_fpga_device *fdev);
73 int (*add)(struct mlx5_fpga_device *fdev, u32 vid, u16 pid);
81 void (*remove)(struct mlx5_fpga_device *fdev);
87 void (*destroy)(struct mlx5_fpga_device *fdev);
125 struct mlx5_fpga_device *fdev,
184 int mlx5_fpga_device_reload(struct mlx5_fpga_device *fdev,
198 int mlx5_fpga_flash_select(struct mlx5_fpga_device *fdev,
216 mlx5_fpga_sbu_conn_create(struct mlx5_fpga_device *fdev,
258 int mlx5_fpga_mem_read(struct mlx5_fpga_device *fdev, size_t size, u64 addr,
[all …]
H A Dmlx5fpga_sdk.c53 mlx5_fpga_sbu_conn_create(struct mlx5_fpga_device *fdev, in mlx5_fpga_sbu_conn_create()
99 static int mem_transaction(struct mlx5_fpga_device *fdev, size_t size, u64 addr, in mem_transaction()
130 static int mlx5_fpga_mem_read_i2c(struct mlx5_fpga_device *fdev, size_t size, in mlx5_fpga_mem_read_i2c()
162 static int mlx5_fpga_mem_write_i2c(struct mlx5_fpga_device *fdev, size_t size, in mlx5_fpga_mem_write_i2c()
193 int mlx5_fpga_mem_read(struct mlx5_fpga_device *fdev, size_t size, u64 addr, in mlx5_fpga_mem_read()
226 int mlx5_fpga_mem_write(struct mlx5_fpga_device *fdev, size_t size, u64 addr, in mlx5_fpga_mem_write()
259 int mlx5_fpga_get_sbu_caps(struct mlx5_fpga_device *fdev, int size, void *buf) in mlx5_fpga_get_sbu_caps()
265 u64 mlx5_fpga_ddr_size_get(struct mlx5_fpga_device *fdev) in mlx5_fpga_ddr_size_get()
271 u64 mlx5_fpga_ddr_base_get(struct mlx5_fpga_device *fdev) in mlx5_fpga_ddr_base_get()
277 void mlx5_fpga_client_data_set(struct mlx5_fpga_device *fdev, in mlx5_fpga_client_data_set()
[all …]
H A Dmlx5fpga_core.c64 static void client_context_destroy(struct mlx5_fpga_device *fdev, in client_context_destroy()
75 static int client_context_create(struct mlx5_fpga_device *fdev, in client_context_create()
101 static struct mlx5_fpga_device *mlx5_fpga_device_alloc(void) in mlx5_fpga_device_alloc()
103 struct mlx5_fpga_device *fdev = NULL; in mlx5_fpga_device_alloc()
147 static int mlx5_fpga_device_load_check(struct mlx5_fpga_device *fdev) in mlx5_fpga_device_load_check()
181 static int mlx5_fpga_device_brb(struct mlx5_fpga_device *fdev) in mlx5_fpga_device_brb()
207 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_device_start()
332 struct mlx5_fpga_device *fdev = NULL; in mlx5_fpga_init()
362 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_device_stop()
419 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_cleanup()
[all …]
H A Dconn.h44 struct mlx5_fpga_device *fdev;
85 int mlx5_fpga_conn_device_init(struct mlx5_fpga_device *fdev);
86 void mlx5_fpga_conn_device_cleanup(struct mlx5_fpga_device *fdev);
88 mlx5_fpga_conn_create(struct mlx5_fpga_device *fdev,
H A Dmlx5fpga_ipsec.c61 struct mlx5_fpga_device *dev;
95 struct mlx5_fpga_device *fdev, in mlx5_fpga_ipsec_send_complete()
131 struct mlx5_fpga_device *fdev = cb_arg; in mlx5_fpga_ipsec_recv()
178 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_sa_cmd_exec()
238 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_device_caps()
263 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_counters_count()
275 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_counters_read()
323 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_init()
367 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_cleanup()
H A Dmlx5fpga_trans.c59 static struct mlx5_fpga_trans_priv *find_tid(struct mlx5_fpga_device *fdev, in find_tid()
69 static struct mlx5_fpga_trans_priv *alloc_tid(struct mlx5_fpga_device *fdev) in alloc_tid()
92 static void free_tid(struct mlx5_fpga_device *fdev, in free_tid()
102 static void trans_complete(struct mlx5_fpga_device *fdev, in trans_complete()
124 struct mlx5_fpga_device *fdev, in trans_send_complete()
144 static int trans_validate(struct mlx5_fpga_device *fdev, u64 addr, size_t size) in trans_validate()
245 struct mlx5_fpga_device *fdev = cb_arg; in mlx5_fpga_trans_recv()
306 int mlx5_fpga_trans_device_init(struct mlx5_fpga_device *fdev) in mlx5_fpga_trans_device_init()
330 void mlx5_fpga_trans_device_cleanup(struct mlx5_fpga_device *fdev) in mlx5_fpga_trans_device_cleanup()
H A Dtrans.h59 int mlx5_fpga_trans_device_init(struct mlx5_fpga_device *fdev);
60 void mlx5_fpga_trans_device_cleanup(struct mlx5_fpga_device *fdev);
H A Dmlx5fpga_conn.c427 struct mlx5_fpga_device *fdev = conn->fdev; in mlx5_fpga_conn_create_cq()
516 struct mlx5_fpga_device *fdev = conn->fdev; in mlx5_fpga_conn_create_wq()
530 struct mlx5_fpga_device *fdev = conn->fdev; in mlx5_fpga_conn_create_qp()
673 struct mlx5_fpga_device *fdev = conn->fdev; in mlx5_fpga_conn_init_qp()
709 struct mlx5_fpga_device *fdev = conn->fdev; in mlx5_fpga_conn_rtr_qp()
754 struct mlx5_fpga_device *fdev = conn->fdev; in mlx5_fpga_conn_rts_qp()
791 struct mlx5_fpga_device *fdev = conn->fdev; in mlx5_fpga_conn_connect()
842 struct mlx5_fpga_conn *mlx5_fpga_conn_create(struct mlx5_fpga_device *fdev, in mlx5_fpga_conn_create()
966 struct mlx5_fpga_device *fdev = conn->fdev; in mlx5_fpga_conn_destroy()
988 int mlx5_fpga_conn_device_init(struct mlx5_fpga_device *fdev) in mlx5_fpga_conn_device_init()
[all …]
H A Dcore.h58 struct mlx5_fpga_device { struct
/freebsd/sys/dev/mlx5/mlx5_fpga_tools/
H A Dmlx5fpga_tools_main.c42 static void mlx5_fpga_tools_create(struct mlx5_fpga_device *fdev);
43 static int mlx5_fpga_tools_add(struct mlx5_fpga_device *fdev, u32 vid, u16 pid);
44 static void mlx5_fpga_tools_remove(struct mlx5_fpga_device *fdev);
45 static void mlx5_fpga_tools_destroy(struct mlx5_fpga_device *fdev);
47 struct mlx5_fpga_tools_dev *mlx5_fpga_tools_alloc(struct mlx5_fpga_device *fdev);
58 struct mlx5_fpga_tools_dev *mlx5_fpga_tools_alloc(struct mlx5_fpga_device *fdev) in mlx5_fpga_tools_alloc()
89 static void mlx5_fpga_tools_create(struct mlx5_fpga_device *fdev) in mlx5_fpga_tools_create()
102 static int mlx5_fpga_tools_add(struct mlx5_fpga_device *fdev, u32 vid, u16 pid) in mlx5_fpga_tools_add()
107 static void mlx5_fpga_tools_remove(struct mlx5_fpga_device *fdev) in mlx5_fpga_tools_remove()
111 static void mlx5_fpga_tools_destroy(struct mlx5_fpga_device *fdev) in mlx5_fpga_tools_destroy()
H A Dtools.h47 struct mlx5_fpga_device *fdev;
H A Dmlx5fpga_tools_char.c199 struct mlx5_fpga_device *fdev; in tools_char_ioctl()
/freebsd/sys/dev/mlx5/
H A Ddriver.h764 struct mlx5_fpga_device *fpga;