mlx5_fpga_device
struct mlx5_fpga_device *fpga;
struct mlx5_fpga_device *fdev;
int mlx5_fpga_conn_device_init(struct mlx5_fpga_device *fdev);
void mlx5_fpga_conn_device_cleanup(struct mlx5_fpga_device *fdev);
mlx5_fpga_conn_create(struct mlx5_fpga_device *fdev,
void mlx5_fpga_conn_device_cleanup(struct mlx5_fpga_device *fdev)
struct mlx5_fpga_device *fdev = conn->fdev;
struct mlx5_fpga_device *fdev = conn->fdev;
struct mlx5_fpga_device *fdev = conn->fdev;
struct mlx5_fpga_device *fdev = conn->fdev;
struct mlx5_fpga_device *fdev = conn->fdev;
struct mlx5_fpga_device *fdev = conn->fdev;
struct mlx5_fpga_device *fdev = conn->fdev;
struct mlx5_fpga_conn *mlx5_fpga_conn_create(struct mlx5_fpga_device *fdev,
struct mlx5_fpga_device *fdev = conn->fdev;
int mlx5_fpga_conn_device_init(struct mlx5_fpga_device *fdev)
static struct mlx5_fpga_device *mlx5_fpga_device_alloc(void)
struct mlx5_fpga_device *fdev = NULL;
static int mlx5_fpga_device_load_check(struct mlx5_fpga_device *fdev)
static int mlx5_fpga_device_brb(struct mlx5_fpga_device *fdev)
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev = NULL;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev;
struct mlx5_fpga_device *fdev;
static void client_context_destroy(struct mlx5_fpga_device *fdev,
static int client_context_create(struct mlx5_fpga_device *fdev,
struct mlx5_fpga_device *fdev = cb_arg;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *fdev = mdev->fpga;
struct mlx5_fpga_device *dev;
struct mlx5_fpga_device *fdev,
static int mlx5_fpga_mem_read_i2c(struct mlx5_fpga_device *fdev, size_t size,
static int mlx5_fpga_mem_write_i2c(struct mlx5_fpga_device *fdev, size_t size,
int mlx5_fpga_mem_read(struct mlx5_fpga_device *fdev, size_t size, u64 addr,
int mlx5_fpga_mem_write(struct mlx5_fpga_device *fdev, size_t size, u64 addr,
int mlx5_fpga_get_sbu_caps(struct mlx5_fpga_device *fdev, int size, void *buf)
u64 mlx5_fpga_ddr_size_get(struct mlx5_fpga_device *fdev)
u64 mlx5_fpga_ddr_base_get(struct mlx5_fpga_device *fdev)
void mlx5_fpga_client_data_set(struct mlx5_fpga_device *fdev,
void *mlx5_fpga_client_data_get(struct mlx5_fpga_device *fdev,
void mlx5_fpga_device_query(struct mlx5_fpga_device *fdev,
static int mlx5_fpga_device_reload_cmd(struct mlx5_fpga_device *fdev)
int mlx5_fpga_device_reload(struct mlx5_fpga_device *fdev,
int mlx5_fpga_flash_select(struct mlx5_fpga_device *fdev,
int mlx5_fpga_connectdisconnect(struct mlx5_fpga_device *fdev,
int mlx5_fpga_temperature(struct mlx5_fpga_device *fdev,
struct device *mlx5_fpga_dev(struct mlx5_fpga_device *fdev)
mlx5_fpga_sbu_conn_create(struct mlx5_fpga_device *fdev,
void mlx5_fpga_get_cap(struct mlx5_fpga_device *fdev, u32 *fpga_caps)
static int mem_transaction(struct mlx5_fpga_device *fdev, size_t size, u64 addr,
static void trans_complete(struct mlx5_fpga_device *fdev,
struct mlx5_fpga_device *fdev,
static int trans_validate(struct mlx5_fpga_device *fdev, u64 addr, size_t size)
struct mlx5_fpga_device *fdev = cb_arg;
int mlx5_fpga_trans_device_init(struct mlx5_fpga_device *fdev)
void mlx5_fpga_trans_device_cleanup(struct mlx5_fpga_device *fdev)
static struct mlx5_fpga_trans_priv *find_tid(struct mlx5_fpga_device *fdev,
static struct mlx5_fpga_trans_priv *alloc_tid(struct mlx5_fpga_device *fdev)
static void free_tid(struct mlx5_fpga_device *fdev,
struct mlx5_fpga_device *fdev,
int mlx5_fpga_device_reload(struct mlx5_fpga_device *fdev,
int mlx5_fpga_flash_select(struct mlx5_fpga_device *fdev,
mlx5_fpga_sbu_conn_create(struct mlx5_fpga_device *fdev,
int mlx5_fpga_mem_read(struct mlx5_fpga_device *fdev, size_t size, u64 addr,
int mlx5_fpga_mem_write(struct mlx5_fpga_device *fdev, size_t size, u64 addr,
int mlx5_fpga_get_sbu_caps(struct mlx5_fpga_device *fdev, int size, void *buf);
u64 mlx5_fpga_ddr_size_get(struct mlx5_fpga_device *fdev);
u64 mlx5_fpga_ddr_base_get(struct mlx5_fpga_device *fdev);
void mlx5_fpga_client_data_set(struct mlx5_fpga_device *fdev,
void *mlx5_fpga_client_data_get(struct mlx5_fpga_device *fdev,
void mlx5_fpga_device_query(struct mlx5_fpga_device *fdev,
struct device *mlx5_fpga_dev(struct mlx5_fpga_device *fdev);
int mlx5_fpga_temperature(struct mlx5_fpga_device *fdev,
int mlx5_fpga_connectdisconnect(struct mlx5_fpga_device *fdev,
void mlx5_fpga_get_cap(struct mlx5_fpga_device *fdev, u32 *fpga_caps);
struct mlx5_fpga_device;
void (*create)(struct mlx5_fpga_device *fdev);
int (*add)(struct mlx5_fpga_device *fdev, u32 vid, u16 pid);
void (*remove)(struct mlx5_fpga_device *fdev);
void (*destroy)(struct mlx5_fpga_device *fdev);
int mlx5_fpga_trans_device_init(struct mlx5_fpga_device *fdev);
void mlx5_fpga_trans_device_cleanup(struct mlx5_fpga_device *fdev);
struct mlx5_fpga_device *fdev;
static int mlx5_fpga_tools_add(struct mlx5_fpga_device *fdev, u32 vid, u16 pid)
static void mlx5_fpga_tools_remove(struct mlx5_fpga_device *fdev)
static void mlx5_fpga_tools_destroy(struct mlx5_fpga_device *fdev)
static void mlx5_fpga_tools_create(struct mlx5_fpga_device *fdev);
static int mlx5_fpga_tools_add(struct mlx5_fpga_device *fdev, u32 vid, u16 pid);
static void mlx5_fpga_tools_remove(struct mlx5_fpga_device *fdev);
static void mlx5_fpga_tools_destroy(struct mlx5_fpga_device *fdev);
struct mlx5_fpga_tools_dev *mlx5_fpga_tools_alloc(struct mlx5_fpga_device *fdev);
struct mlx5_fpga_tools_dev *mlx5_fpga_tools_alloc(struct mlx5_fpga_device *fdev)
static void mlx5_fpga_tools_create(struct mlx5_fpga_device *fdev)
struct mlx5_fpga_device *fdev;