Searched refs:ctldev (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/usr.sbin/mlx5tool/ |
| H A D | mlx5tool.c | 98 error = ioctl(ctldev, MLX5_FWDUMP_GET, &fdg); in mlx5tool_save_dump() 110 error = ioctl(ctldev, MLX5_FWDUMP_GET, &fdg); in mlx5tool_save_dump() 181 error = ioctl(ctldev, MLX5_FW_UPDATE, &fwup); in mlx5tool_fw_update() 196 if (ioctl(ctldev, MLX5_FW_RESET, addr) == -1) { in mlx5tool_fw_reset() 316 int c, ctldev, res; in main() local 374 ctldev = open(MLX5_DEV_PATH, O_RDWR); in main() 375 if (ctldev == -1) in main() 382 res = mlx5tool_dump_reset(ctldev, &addr); in main() 385 res = mlx5tool_dump_force(ctldev, &addr); in main() 391 res = mlx5tool_fw_reset(ctldev, &addr); in main() [all …]
|