Home
last modified time | relevance | path

Searched refs:in_param (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/include/linux/mlx4/
Dcmd.h155 int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param,
160 static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, in mlx4_cmd() argument
163 return __mlx4_cmd(dev, in_param, NULL, 0, in_modifier, in mlx4_cmd()
168 static inline int mlx4_cmd_box(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_box() argument
172 return __mlx4_cmd(dev, in_param, &out_param, 0, in_modifier, in mlx4_cmd_box()
181 static inline int mlx4_cmd_imm(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_imm() argument
185 return __mlx4_cmd(dev, in_param, out_param, 1, in_modifier, in mlx4_cmd_imm()
/linux-2.6.39/drivers/net/mlx4/
Dcmd.c153 static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_post() argument
180 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), hcr + 0); in mlx4_cmd_post()
181 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), hcr + 1); in mlx4_cmd_post()
211 static int mlx4_cmd_poll(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_poll() argument
222 err = mlx4_cmd_post(dev, in_param, out_param ? *out_param : 0, in mlx4_cmd_poll()
267 static int mlx4_cmd_wait(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_wait() argument
286 mlx4_cmd_post(dev, in_param, out_param ? *out_param : 0, in mlx4_cmd_wait()
311 int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in __mlx4_cmd() argument
316 return mlx4_cmd_wait(dev, in_param, out_param, out_is_imm, in __mlx4_cmd()
319 return mlx4_cmd_poll(dev, in_param, out_param, out_is_imm, in __mlx4_cmd()
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_cmd.c198 u64 in_param, in mthca_cmd_post_dbell() argument
208 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), ptr + offs[0]); in mthca_cmd_post_dbell()
210 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), ptr + offs[1]); in mthca_cmd_post_dbell()
230 u64 in_param, in mthca_cmd_post_hcr() argument
256 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr()
257 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr()
275 u64 in_param, in mthca_cmd_post() argument
288 mthca_cmd_post_dbell(dev, in_param, out_param, in_modifier, in mthca_cmd_post()
291 err = mthca_cmd_post_hcr(dev, in_param, out_param, in_modifier, in mthca_cmd_post()
305 u64 in_param, in mthca_cmd_poll() argument
[all …]