Home
last modified time | relevance | path

Searched refs:token_mask (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/mthca/
H A Dmthca_cmd.c392 &dev->cmd.context[token & dev->cmd.token_mask]; in mthca_cmd_event()
422 context->token += dev->cmd.token_mask + 1; in mthca_cmd_wait()
574 for (dev->cmd.token_mask = 1; in mthca_cmd_use_events()
575 dev->cmd.token_mask < dev->cmd.max_cmds; in mthca_cmd_use_events()
576 dev->cmd.token_mask <<= 1) in mthca_cmd_use_events()
578 --dev->cmd.token_mask; in mthca_cmd_use_events()
H A Dmthca_dev.h131 u16 token_mask; member
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c351 context->token += cmd->token_mask + 1; in mlx4_comm_cmd_wait()
670 &priv->cmd.context[token & priv->cmd.token_mask]; in mlx4_cmd_event()
697 context->token += cmd->token_mask + 1; in mlx4_cmd_wait()
2648 for (priv->cmd.token_mask = 1; in mlx4_cmd_use_events()
2649 priv->cmd.token_mask < priv->cmd.max_cmds; in mlx4_cmd_use_events()
2650 priv->cmd.token_mask <<= 1) in mlx4_cmd_use_events()
2652 --priv->cmd.token_mask; in mlx4_cmd_use_events()
H A Dmlx4.h629 u16 token_mask; member