Home
last modified time | relevance | path

Searched refs:catas_err (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_catas.c71 list_for_each_entry_safe(dev, tmpdev, &tlist, catas_err.list) { in catas_reset()
101 switch (swab32(readl(dev->catas_err.map)) >> 24) { in handle_catas()
120 for (i = 0; i < dev->catas_err.size; ++i) in handle_catas()
122 i, swab32(readl(dev->catas_err.map + i))); in handle_catas()
128 list_add(&dev->catas_err.list, &catas_list); in handle_catas()
138 for (i = 0; i < dev->catas_err.size; ++i) in poll_catas()
139 if (readl(dev->catas_err.map + i)) { in poll_catas()
144 mod_timer(&dev->catas_err.timer, in poll_catas()
152 init_timer(&dev->catas_err.timer); in mthca_start_catas_poll()
153 dev->catas_err.map = NULL; in mthca_start_catas_poll()
[all …]
Dmthca_cmd.c829 MTHCA_GET(dev->catas_err.addr, outbox, QUERY_FW_ERR_START_OFFSET); in mthca_QUERY_FW()
830 MTHCA_GET(dev->catas_err.size, outbox, QUERY_FW_ERR_SIZE_OFFSET); in mthca_QUERY_FW()
833 (unsigned long long) dev->catas_err.addr, dev->catas_err.size); in mthca_QUERY_FW()
Dmthca_dev.h349 struct mthca_catas_err catas_err; member
/drivers/net/ethernet/mellanox/mlx4/
Dcatas.c63 i, swab32(readl(priv->catas_err.map + i))); in dump_err_buf()
71 if (readl(priv->catas_err.map)) { in poll_catas()
74 mod_timer(&priv->catas_err.timer, in poll_catas()
82 list_add(&priv->catas_err.list, &catas_list); in poll_catas()
89 mod_timer(&priv->catas_err.timer, in poll_catas()
105 list_for_each_entry_safe(priv, tmppriv, &tlist, catas_err.list) { in catas_reset()
133 INIT_LIST_HEAD(&priv->catas_err.list); in mlx4_start_catas_poll()
134 init_timer(&priv->catas_err.timer); in mlx4_start_catas_poll()
135 priv->catas_err.map = NULL; in mlx4_start_catas_poll()
140 priv->catas_err.map = ioremap(addr, priv->fw.catas_size * 4); in mlx4_start_catas_poll()
[all …]
Dmlx4.h765 struct mlx4_catas_err catas_err; member