Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dmlx4.h200 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
202 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
593 struct mlx4_vhcr_cmd *vhcr; member
952 struct mlx4_vhcr *vhcr,
957 struct mlx4_vhcr *vhcr,
962 struct mlx4_vhcr *vhcr,
967 struct mlx4_vhcr *vhcr,
972 struct mlx4_vhcr *vhcr,
977 struct mlx4_vhcr *vhcr,
982 struct mlx4_vhcr *vhcr,
[all …]
Dresource_tracker.c2056 struct mlx4_vhcr *vhcr, in mlx4_ALLOC_RES_wrapper() argument
2062 int alop = vhcr->op_modifier; in mlx4_ALLOC_RES_wrapper()
2064 switch (vhcr->in_modifier & 0xFF) { in mlx4_ALLOC_RES_wrapper()
2066 err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2067 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2071 err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2072 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2076 err = mpt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2077 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2081 err = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
[all …]
Dcmd.c521 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; in mlx4_slave_cmd() local
526 vhcr->in_param = cpu_to_be64(in_param); in mlx4_slave_cmd()
527 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd()
528 vhcr->in_modifier = cpu_to_be32(in_modifier); in mlx4_slave_cmd()
529 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd()
530 vhcr->token = cpu_to_be16(CMD_POLL_TOKEN); in mlx4_slave_cmd()
531 vhcr->status = 0; in mlx4_slave_cmd()
532 vhcr->flags = !!(priv->cmd.use_events) << 6; in mlx4_slave_cmd()
535 ret = mlx4_master_process_vhcr(dev, dev->caps.function, vhcr); in mlx4_slave_cmd()
540 be64_to_cpu(vhcr->out_param); in mlx4_slave_cmd()
[all …]
Dfw.c247 struct mlx4_vhcr *vhcr, in mlx4_QUERY_FUNC_CAP_wrapper() argument
311 if (vhcr->op_modifier == 1) { in mlx4_QUERY_FUNC_CAP_wrapper()
315 dev, slave, vhcr->in_modifier); in mlx4_QUERY_FUNC_CAP_wrapper()
320 vhcr->in_modifier = converted_port; in mlx4_QUERY_FUNC_CAP_wrapper()
322 field = vhcr->in_modifier - in mlx4_QUERY_FUNC_CAP_wrapper()
326 port = vhcr->in_modifier; in mlx4_QUERY_FUNC_CAP_wrapper()
351 MLX4_PUT(outbox->buf, dev->caps.phys_port_id[vhcr->in_modifier], in mlx4_QUERY_FUNC_CAP_wrapper()
354 } else if (vhcr->op_modifier == 0) { in mlx4_QUERY_FUNC_CAP_wrapper()
393 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper()
401 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper()
[all …]
Dport.c906 struct mlx4_vhcr *vhcr, in mlx4_SET_PORT_wrapper() argument
912 dev, slave, vhcr->in_modifier & 0xFF); in mlx4_SET_PORT_wrapper()
917 vhcr->in_modifier = (vhcr->in_modifier & ~0xFF) | in mlx4_SET_PORT_wrapper()
920 return mlx4_common_set_port(dev, slave, vhcr->in_modifier, in mlx4_SET_PORT_wrapper()
921 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
1128 struct mlx4_vhcr *vhcr, in mlx4_SET_MCAST_FLTR_wrapper() argument
1148 struct mlx4_vhcr *vhcr, in mlx4_SET_VLAN_FLTR_wrapper() argument
1167 struct mlx4_vhcr *vhcr, in mlx4_DUMP_ETH_STATS_wrapper() argument
1175 vhcr->in_modifier, outbox); in mlx4_DUMP_ETH_STATS_wrapper()
Dfw.h236 struct mlx4_vhcr *vhcr,
Dmcg.c1544 struct mlx4_vhcr *vhcr, in mlx4_PROMISC_wrapper() argument
1549 u32 qpn = (u32) vhcr->in_param & 0xffffffff; in mlx4_PROMISC_wrapper()
1550 int port = mlx4_slave_convert_port(dev, slave, vhcr->in_param >> 62); in mlx4_PROMISC_wrapper()
1551 enum mlx4_steer_type steer = vhcr->in_modifier; in mlx4_PROMISC_wrapper()
1560 if (vhcr->op_modifier) in mlx4_PROMISC_wrapper()
Deq.c827 struct mlx4_vhcr *vhcr, in mlx4_MAP_EQ_wrapper() argument
835 u32 in_modifier = vhcr->in_modifier; in mlx4_MAP_EQ_wrapper()
837 u64 in_param = vhcr->in_param; in mlx4_MAP_EQ_wrapper()
/linux-4.1.27/drivers/video/fbdev/
Dtgafb.c565 u32 vhcr, vvcr, vvvr; local
570 vhcr = TGA_READ_REG(par, TGA_HORIZ_REG);
578 TGA_WRITE_REG(par, vhcr & 0xbfffffff, TGA_HORIZ_REG);
597 TGA_WRITE_REG(par, vhcr | 0x40000000, TGA_HORIZ_REG);
603 TGA_WRITE_REG(par, vhcr | 0x40000000, TGA_HORIZ_REG);