Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dtout.h40 #define mlx5_tout_ms(dev, type) _mlx5_tout_ms(dev, MLX5_TO_##type##_MS) macro
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Dfw_reset.c345 timeout = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle()
359 reg16, mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle()
376 reg16, mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle()
474 unsigned long pci_sync_update_timeout = mlx5_tout_ms(dev, PCI_SYNC_UPDATE); in mlx5_fw_reset_wait_reset_done()
Dhealth.c236 unsigned long end, delay_ms = mlx5_tout_ms(dev, PCI_TOGGLE); in mlx5_error_sw_reset()
250 delay_ms = mlx5_tout_ms(dev, FULL_CRDUMP); in mlx5_error_sw_reset()
324 end = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FW_RESET)); in mlx5_health_wait_pci_up()
759 next += jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, HEALTH_POLL_INTERVAL)); in get_next_poll_jiffies()
849 u64 poll_interval_ms = mlx5_tout_ms(dev, HEALTH_POLL_INTERVAL); in mlx5_start_health_poll()
Dmain.c204 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); in wait_fw_init()
1109 mlx5_tout_ms(dev, FW_PRE_INIT_WARN_MESSAGE_INTERVAL)); in mlx5_function_setup()
1124 err = wait_fw_init(dev, mlx5_tout_ms(dev, FW_INIT), 0); in mlx5_function_setup()
1127 mlx5_tout_ms(dev, FW_INIT)); in mlx5_function_setup()
1368 err = mlx5_function_setup(dev, true, mlx5_tout_ms(dev, FW_PRE_INIT_TIMEOUT)); in mlx5_init_one()
1453 timeout = mlx5_tout_ms(dev, FW_PRE_INIT_ON_RECOVERY_TIMEOUT); in mlx5_load_one_devl_locked()
1455 timeout = mlx5_tout_ms(dev, FW_PRE_INIT_TIMEOUT); in mlx5_load_one_devl_locked()
Dfw.c350 unsigned long end, delay_ms = mlx5_tout_ms(dev, TEARDOWN); in mlx5_cmd_fast_teardown_hca()
658 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FSM_REACTIVATE)); in mlx5_fsm_reactivate()
Dpagealloc.c664 u64 recl_pages_to_jiffies = msecs_to_jiffies(mlx5_tout_ms(dev, RECLAIM_PAGES)); in mlx5_reclaim_root_pages()
753 u64 recl_vf_pages_to_jiffies = msecs_to_jiffies(mlx5_tout_ms(dev, RECLAIM_VFS_PAGES)); in mlx5_wait_for_pages()
Dcmd.c236 u64 cmd_to_ms = mlx5_tout_ms(dev, CMD); in poll_timeout()
955 cb_timeout = msecs_to_jiffies(mlx5_tout_ms(dev, CMD)); in cmd_work_handler()
1115 unsigned long timeout = msecs_to_jiffies(mlx5_tout_ms(dev, CMD)); in wait_func()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_tx.c14 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FLUSH_ON_ERROR)); in mlx5e_wait_for_sq_flush()
Dreporter_rx.c39 exp_time = jiffies + msecs_to_jiffies(mlx5_tout_ms(dev, FLUSH_ON_ERROR)); in mlx5e_wait_for_icosq_flush()