/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4.h | 203 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 …]
|
D | resource_tracker.c | 2285 struct mlx4_vhcr *vhcr, in mlx4_ALLOC_RES_wrapper() argument 2291 int alop = vhcr->op_modifier; in mlx4_ALLOC_RES_wrapper() 2293 switch (vhcr->in_modifier & 0xFF) { in mlx4_ALLOC_RES_wrapper() 2295 err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2296 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper() 2300 err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2301 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper() 2305 err = mpt_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 = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() [all …]
|
D | cmd.c | 523 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; in mlx4_slave_cmd() local 528 vhcr->in_param = cpu_to_be64(in_param); in mlx4_slave_cmd() 529 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd() 530 vhcr->in_modifier = cpu_to_be32(in_modifier); in mlx4_slave_cmd() 531 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd() 532 vhcr->token = cpu_to_be16(CMD_POLL_TOKEN); in mlx4_slave_cmd() 533 vhcr->status = 0; in mlx4_slave_cmd() 534 vhcr->flags = !!(priv->cmd.use_events) << 6; in mlx4_slave_cmd() 537 ret = mlx4_master_process_vhcr(dev, dev->caps.function, vhcr); in mlx4_slave_cmd() 542 be64_to_cpu(vhcr->out_param); in mlx4_slave_cmd() [all …]
|
D | fw.c | 325 struct mlx4_vhcr *vhcr, in mlx4_QUERY_FUNC_CAP_wrapper() argument 393 if (vhcr->op_modifier == 1) { in mlx4_QUERY_FUNC_CAP_wrapper() 397 dev, slave, vhcr->in_modifier); in mlx4_QUERY_FUNC_CAP_wrapper() 403 vhcr->in_modifier = converted_port; in mlx4_QUERY_FUNC_CAP_wrapper() 405 field = vhcr->in_modifier - in mlx4_QUERY_FUNC_CAP_wrapper() 409 port = vhcr->in_modifier; in mlx4_QUERY_FUNC_CAP_wrapper() 434 MLX4_PUT(outbox->buf, dev->caps.phys_port_id[vhcr->in_modifier], in mlx4_QUERY_FUNC_CAP_wrapper() 449 } else if (vhcr->op_modifier == 0) { in mlx4_QUERY_FUNC_CAP_wrapper() 491 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper() 499 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper() [all …]
|
D | port.c | 1541 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
|
D | fw.h | 235 struct mlx4_vhcr *vhcr,
|
D | mcg.c | 1559 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()
|
D | eq.c | 874 struct mlx4_vhcr *vhcr, in mlx4_MAP_EQ_wrapper() argument 882 u32 in_modifier = vhcr->in_modifier; in mlx4_MAP_EQ_wrapper() 884 u64 in_param = vhcr->in_param; in mlx4_MAP_EQ_wrapper()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | tgafb.c | 565 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);
|