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()
135 struct mthca_dev *dev = from_timer(dev, t, catas_err.timer); in poll_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 timer_setup(&dev->catas_err.timer, poll_catas, 0); in mthca_start_catas_poll()
[all …]
Dmthca_cmd.c831 MTHCA_GET(dev->catas_err.addr, outbox, QUERY_FW_ERR_START_OFFSET); in mthca_QUERY_FW()
832 MTHCA_GET(dev->catas_err.size, outbox, QUERY_FW_ERR_SIZE_OFFSET); in mthca_QUERY_FW()
835 (unsigned long long) dev->catas_err.addr, dev->catas_err.size); in mthca_QUERY_FW()
Dmthca_dev.h348 struct mthca_catas_err catas_err; member
/drivers/net/ethernet/mellanox/mlx4/
Dcatas.c234 i, swab32(readl(priv->catas_err.map + i))); in dump_err_buf()
239 struct mlx4_priv *priv = from_timer(priv, t, catas_err.timer); in poll_catas()
249 } else if (readl(priv->catas_err.map)) { in poll_catas()
259 mod_timer(&priv->catas_err.timer, in poll_catas()
282 INIT_LIST_HEAD(&priv->catas_err.list); in mlx4_start_catas_poll()
283 timer_setup(&priv->catas_err.timer, poll_catas, 0); in mlx4_start_catas_poll()
284 priv->catas_err.map = NULL; in mlx4_start_catas_poll()
291 priv->catas_err.map = ioremap(addr, priv->fw.catas_size * 4); in mlx4_start_catas_poll()
292 if (!priv->catas_err.map) { in mlx4_start_catas_poll()
299 priv->catas_err.timer.expires = in mlx4_start_catas_poll()
[all …]
Dmlx4.h911 struct mlx4_catas_err catas_err; member