Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Dmlx4.h203 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
205 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
610 struct mlx4_vhcr_cmd *vhcr; member
987 struct mlx4_vhcr *vhcr,
992 struct mlx4_vhcr *vhcr,
997 struct mlx4_vhcr *vhcr,
1002 struct mlx4_vhcr *vhcr,
1007 struct mlx4_vhcr *vhcr,
1012 struct mlx4_vhcr *vhcr,
1017 struct mlx4_vhcr *vhcr,
[all …]
Dresource_tracker.c2295 struct mlx4_vhcr *vhcr, in mlx4_ALLOC_RES_wrapper() argument
2301 int alop = vhcr->op_modifier; in mlx4_ALLOC_RES_wrapper()
2303 switch (vhcr->in_modifier & 0xFF) { in mlx4_ALLOC_RES_wrapper()
2305 err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2306 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2310 err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2311 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2315 err = mpt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2316 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper()
2320 err = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
[all …]
Dcmd.c516 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; in mlx4_slave_cmd() local
521 vhcr->in_param = cpu_to_be64(in_param); in mlx4_slave_cmd()
522 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd()
523 vhcr->in_modifier = cpu_to_be32(in_modifier); in mlx4_slave_cmd()
524 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd()
525 vhcr->token = cpu_to_be16(CMD_POLL_TOKEN); in mlx4_slave_cmd()
526 vhcr->status = 0; in mlx4_slave_cmd()
527 vhcr->flags = !!(priv->cmd.use_events) << 6; in mlx4_slave_cmd()
530 ret = mlx4_master_process_vhcr(dev, dev->caps.function, vhcr); in mlx4_slave_cmd()
535 be64_to_cpu(vhcr->out_param); in mlx4_slave_cmd()
[all …]
Dfw.c326 struct mlx4_vhcr *vhcr, in mlx4_QUERY_FUNC_CAP_wrapper() argument
394 if (vhcr->op_modifier == 1) { in mlx4_QUERY_FUNC_CAP_wrapper()
398 dev, slave, vhcr->in_modifier); in mlx4_QUERY_FUNC_CAP_wrapper()
404 vhcr->in_modifier = converted_port; in mlx4_QUERY_FUNC_CAP_wrapper()
406 field = vhcr->in_modifier - in mlx4_QUERY_FUNC_CAP_wrapper()
410 port = vhcr->in_modifier; in mlx4_QUERY_FUNC_CAP_wrapper()
435 MLX4_PUT(outbox->buf, dev->caps.phys_port_id[vhcr->in_modifier], in mlx4_QUERY_FUNC_CAP_wrapper()
450 } else if (vhcr->op_modifier == 0) { in mlx4_QUERY_FUNC_CAP_wrapper()
492 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper()
500 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper()
[all …]
Dport.c1541 struct mlx4_vhcr *vhcr, in mlx4_SET_PORT_wrapper() argument
1547 dev, slave, vhcr->in_modifier & 0xFF); in mlx4_SET_PORT_wrapper()
1552 vhcr->in_modifier = (vhcr->in_modifier & ~0xFF) | in mlx4_SET_PORT_wrapper()
1555 return mlx4_common_set_port(dev, slave, vhcr->in_modifier, in mlx4_SET_PORT_wrapper()
1556 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
1818 struct mlx4_vhcr *vhcr, in mlx4_SET_MCAST_FLTR_wrapper() argument
1838 struct mlx4_vhcr *vhcr, in mlx4_SET_VLAN_FLTR_wrapper() argument
1849 struct mlx4_vhcr *vhcr, in mlx4_DUMP_ETH_STATS_wrapper() argument
Dfw.h235 struct mlx4_vhcr *vhcr,
Dmcg.c1559 struct mlx4_vhcr *vhcr, in mlx4_PROMISC_wrapper() argument
1564 u32 qpn = (u32) vhcr->in_param & 0xffffffff; in mlx4_PROMISC_wrapper()
1565 int port = mlx4_slave_convert_port(dev, slave, vhcr->in_param >> 62); in mlx4_PROMISC_wrapper()
1566 enum mlx4_steer_type steer = vhcr->in_modifier; in mlx4_PROMISC_wrapper()
1575 if (vhcr->op_modifier) in mlx4_PROMISC_wrapper()
Deq.c875 struct mlx4_vhcr *vhcr, in mlx4_MAP_EQ_wrapper() argument
883 u32 in_modifier = vhcr->in_modifier; in mlx4_MAP_EQ_wrapper()
885 u64 in_param = vhcr->in_param; in mlx4_MAP_EQ_wrapper()
/Linux-v5.10/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);