Searched refs:mlx5_tout_ms (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fw_reset.c | 461 timeout = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle() 475 reg16, mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle() 493 reg16, mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle() 568 timeout = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, RESET_UNLOAD)); in mlx5_sync_reset_unload_event() 657 unsigned long pci_sync_update_timeout = mlx5_tout_ms(dev, PCI_SYNC_UPDATE); in mlx5_fw_reset_wait_reset_done() 663 pci_sync_update_timeout += mlx5_tout_ms(dev, RESET_UNLOAD); in mlx5_fw_reset_wait_reset_done()
|
D | health.c | 224 unsigned long end, delay_ms = mlx5_tout_ms(dev, PCI_TOGGLE); in mlx5_error_sw_reset() 238 delay_ms = mlx5_tout_ms(dev, FULL_CRDUMP); in mlx5_error_sw_reset() 316 end = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FW_RESET)); in mlx5_health_wait_pci_up() 766 next += jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, HEALTH_POLL_INTERVAL)); in get_next_poll_jiffies() 851 u64 poll_interval_ms = mlx5_tout_ms(dev, HEALTH_POLL_INTERVAL); in mlx5_start_health_poll()
|
D | main.c | 210 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); in wait_fw_init() 1143 mlx5_tout_ms(dev, FW_PRE_INIT_WARN_MESSAGE_INTERVAL)); in mlx5_function_enable() 1158 err = wait_fw_init(dev, mlx5_tout_ms(dev, FW_INIT), 0); in mlx5_function_enable() 1161 mlx5_tout_ms(dev, FW_INIT)); in mlx5_function_enable() 1446 err = mlx5_function_setup(dev, true, mlx5_tout_ms(dev, FW_PRE_INIT_TIMEOUT)); in mlx5_init_one_devl_locked() 1561 timeout = mlx5_tout_ms(dev, FW_PRE_INIT_ON_RECOVERY_TIMEOUT); in mlx5_load_one_devl_locked() 1563 timeout = mlx5_tout_ms(dev, FW_PRE_INIT_TIMEOUT); in mlx5_load_one_devl_locked() 1676 err = mlx5_function_enable(dev, true, mlx5_tout_ms(dev, FW_PRE_INIT_TIMEOUT)); in mlx5_init_one_light()
|
D | fw.c | 344 unsigned long end, delay_ms = mlx5_tout_ms(dev, TEARDOWN); in mlx5_cmd_fast_teardown_hca() 656 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FSM_REACTIVATE)); in mlx5_fsm_reactivate()
|
D | pagealloc.c | 686 u64 recl_pages_to_jiffies = msecs_to_jiffies(mlx5_tout_ms(dev, RECLAIM_PAGES)); in mlx5_reclaim_root_pages() 780 u64 recl_vf_pages_to_jiffies = msecs_to_jiffies(mlx5_tout_ms(dev, RECLAIM_VFS_PAGES)); in mlx5_wait_for_pages()
|
D | cmd.c | 279 u64 cmd_to_ms = mlx5_tout_ms(dev, CMD); in poll_timeout() 978 timeout = msecs_to_jiffies(mlx5_tout_ms(dev, CMD)); in cmd_work_handler() 1151 unsigned long timeout = msecs_to_jiffies(mlx5_tout_ms(dev, CMD)); in wait_func()
|
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | tout.h | 41 #define mlx5_tout_ms(dev, type) _mlx5_tout_ms(dev, MLX5_TO_##type##_MS) macro
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | reporter_tx.c | 27 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FLUSH_ON_ERROR)); in mlx5e_wait_for_sq_flush()
|
D | reporter_rx.c | 52 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FLUSH_ON_ERROR)); in mlx5e_wait_for_icosq_flush()
|