Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmlx4.h202 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
204 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
604 struct mlx4_vhcr_cmd *vhcr; member
968 struct mlx4_vhcr *vhcr,
973 struct mlx4_vhcr *vhcr,
978 struct mlx4_vhcr *vhcr,
983 struct mlx4_vhcr *vhcr,
988 struct mlx4_vhcr *vhcr,
993 struct mlx4_vhcr *vhcr,
998 struct mlx4_vhcr *vhcr,
[all …]
Dresource_tracker.c2217 struct mlx4_vhcr *vhcr, in mlx4_ALLOC_RES_wrapper() argument
2223 int alop = vhcr->op_modifier; in mlx4_ALLOC_RES_wrapper()
2225 switch (vhcr->in_modifier & 0xFF) { in mlx4_ALLOC_RES_wrapper()
2227 err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2228 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2232 err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2233 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2237 err = mpt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2238 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2242 err = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
[all …]
Dcmd.c522 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; in mlx4_slave_cmd() local
527 vhcr->in_param = cpu_to_be64(in_param); in mlx4_slave_cmd()
528 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd()
529 vhcr->in_modifier = cpu_to_be32(in_modifier); in mlx4_slave_cmd()
530 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd()
531 vhcr->token = cpu_to_be16(CMD_POLL_TOKEN); in mlx4_slave_cmd()
532 vhcr->status = 0; in mlx4_slave_cmd()
533 vhcr->flags = !!(priv->cmd.use_events) << 6; in mlx4_slave_cmd()
536 ret = mlx4_master_process_vhcr(dev, dev->caps.function, vhcr); in mlx4_slave_cmd()
541 be64_to_cpu(vhcr->out_param); in mlx4_slave_cmd()
[all …]
Dfw.c250 struct mlx4_vhcr *vhcr, in mlx4_QUERY_FUNC_CAP_wrapper() argument
315 if (vhcr->op_modifier == 1) { in mlx4_QUERY_FUNC_CAP_wrapper()
319 dev, slave, vhcr->in_modifier); in mlx4_QUERY_FUNC_CAP_wrapper()
324 vhcr->in_modifier = converted_port; in mlx4_QUERY_FUNC_CAP_wrapper()
326 field = vhcr->in_modifier - in mlx4_QUERY_FUNC_CAP_wrapper()
330 port = vhcr->in_modifier; in mlx4_QUERY_FUNC_CAP_wrapper()
355 MLX4_PUT(outbox->buf, dev->caps.phys_port_id[vhcr->in_modifier], in mlx4_QUERY_FUNC_CAP_wrapper()
364 } else if (vhcr->op_modifier == 0) { in mlx4_QUERY_FUNC_CAP_wrapper()
403 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper()
411 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.h237 struct mlx4_vhcr *vhcr,
Dmcg.c1545 struct mlx4_vhcr *vhcr, in mlx4_PROMISC_wrapper() argument
1550 u32 qpn = (u32) vhcr->in_param & 0xffffffff; in mlx4_PROMISC_wrapper()
1551 int port = mlx4_slave_convert_port(dev, slave, vhcr->in_param >> 62); in mlx4_PROMISC_wrapper()
1552 enum mlx4_steer_type steer = vhcr->in_modifier; in mlx4_PROMISC_wrapper()
1561 if (vhcr->op_modifier) in mlx4_PROMISC_wrapper()
Deq.c859 struct mlx4_vhcr *vhcr, in mlx4_MAP_EQ_wrapper() argument
867 u32 in_modifier = vhcr->in_modifier; in mlx4_MAP_EQ_wrapper()
869 u64 in_param = vhcr->in_param; in mlx4_MAP_EQ_wrapper()
/linux-4.4.14/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);