Home
last modified time | relevance | path

Searched refs:mlx5_tout_ms (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw_reset.c354 msecs_to_jiffies(mlx5_tout_ms(dev, PCI_SYNC_UPDATE))); in mlx5_sync_reset_set_reset_requested()
555 timeout = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle()
569 reg16, mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle()
587 reg16, mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle()
659 timeout = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, RESET_UNLOAD)); in mlx5_sync_reset_unload_flow()
825 unsigned long pci_sync_update_timeout = mlx5_tout_ms(dev, PCI_SYNC_UPDATE); in mlx5_fw_reset_wait_reset_done()
831 pci_sync_update_timeout += mlx5_tout_ms(dev, RESET_UNLOAD); in mlx5_fw_reset_wait_reset_done()
H A Dmain.c152 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); in wait_fw_init()
1112 mlx5_tout_ms(dev, FW_PRE_INIT_WARN_MESSAGE_INTERVAL), in mlx5_function_enable()
1125 err = wait_fw_init(dev, mlx5_tout_ms(dev, FW_INIT), 0, "initializing"); in mlx5_function_enable()
1403 err = mlx5_function_setup(dev, true, mlx5_tout_ms(dev, FW_PRE_INIT_TIMEOUT)); in mlx5_init_one_devl_locked()
1525 timeout = mlx5_tout_ms(dev, FW_PRE_INIT_ON_RECOVERY_TIMEOUT); in mlx5_load_one_devl_locked()
1527 timeout = mlx5_tout_ms(dev, FW_PRE_INIT_TIMEOUT); in mlx5_load_one_devl_locked()
1643 err = mlx5_function_enable(dev, true, mlx5_tout_ms(dev, FW_PRE_INIT_TIMEOUT)); in mlx5_init_one_light()
H A Dfw.c370 unsigned long end, delay_ms = mlx5_tout_ms(dev, TEARDOWN); in mlx5_cmd_fast_teardown_hca()
682 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FSM_REACTIVATE)); in mlx5_fsm_reactivate()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dtout.h41 #define mlx5_tout_ms(dev, type) _mlx5_tout_ms(dev, MLX5_TO_##type##_MS) macro
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c28 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FLUSH_ON_ERROR)); in mlx5e_wait_for_sq_flush()
H A Dreporter_rx.c54 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FLUSH_ON_ERROR)); in mlx5e_wait_for_icosq_flush()