/linux-3.3/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 1273 struct mlx4_vhcr *vhcr, in mlx4_ALLOC_RES_wrapper() argument 1279 int alop = vhcr->op_modifier; in mlx4_ALLOC_RES_wrapper() 1281 switch (vhcr->in_modifier) { in mlx4_ALLOC_RES_wrapper() 1283 err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 1284 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper() 1288 err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 1289 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper() 1293 err = mpt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 1294 vhcr->in_param, &vhcr->out_param); in mlx4_ALLOC_RES_wrapper() 1298 err = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() [all …]
|
D | cmd.c | 362 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; in mlx4_slave_cmd() local 366 vhcr->in_param = cpu_to_be64(in_param); in mlx4_slave_cmd() 367 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd() 368 vhcr->in_modifier = cpu_to_be32(in_modifier); in mlx4_slave_cmd() 369 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd() 370 vhcr->token = cpu_to_be16(CMD_POLL_TOKEN); in mlx4_slave_cmd() 371 vhcr->status = 0; in mlx4_slave_cmd() 372 vhcr->flags = !!(priv->cmd.use_events) << 6; in mlx4_slave_cmd() 374 ret = mlx4_master_process_vhcr(dev, dev->caps.function, vhcr); in mlx4_slave_cmd() 379 be64_to_cpu(vhcr->out_param); in mlx4_slave_cmd() [all …]
|
D | mlx4.h | 167 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, 169 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, 522 struct mlx4_vhcr_cmd *vhcr; member 807 struct mlx4_vhcr *vhcr, 812 struct mlx4_vhcr *vhcr, 817 struct mlx4_vhcr *vhcr, 822 struct mlx4_vhcr *vhcr, 827 struct mlx4_vhcr *vhcr, 832 struct mlx4_vhcr *vhcr, 837 struct mlx4_vhcr *vhcr, [all …]
|
D | fw.c | 150 struct mlx4_vhcr *vhcr, in mlx4_QUERY_FUNC_CAP_wrapper() argument 174 if (vhcr->op_modifier == 1) { in mlx4_QUERY_FUNC_CAP_wrapper() 175 field = vhcr->in_modifier; in mlx4_QUERY_FUNC_CAP_wrapper() 180 } else if (vhcr->op_modifier == 0) { in mlx4_QUERY_FUNC_CAP_wrapper() 644 struct mlx4_vhcr *vhcr, in mlx4_QUERY_PORT_wrapper() argument 660 err = mlx4_cmd_box(dev, 0, outbox->dma, vhcr->in_modifier, 0, in mlx4_QUERY_PORT_wrapper() 1156 struct mlx4_vhcr *vhcr, in mlx4_INIT_PORT_wrapper() argument 1162 int port = vhcr->in_modifier; in mlx4_INIT_PORT_wrapper() 1239 struct mlx4_vhcr *vhcr, in mlx4_CLOSE_PORT_wrapper() argument 1245 int port = vhcr->in_modifier; in mlx4_CLOSE_PORT_wrapper()
|
D | port.c | 760 struct mlx4_vhcr *vhcr, in mlx4_SET_PORT_wrapper() argument 765 return mlx4_common_set_port(dev, slave, vhcr->in_modifier, in mlx4_SET_PORT_wrapper() 766 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper() 862 struct mlx4_vhcr *vhcr, in mlx4_SET_MCAST_FLTR_wrapper() argument 882 struct mlx4_vhcr *vhcr, in mlx4_SET_VLAN_FLTR_wrapper() argument 901 struct mlx4_vhcr *vhcr, in mlx4_DUMP_ETH_STATS_wrapper() argument 909 vhcr->in_modifier, outbox); in mlx4_DUMP_ETH_STATS_wrapper()
|
D | mcg.c | 954 struct mlx4_vhcr *vhcr, in mlx4_PROMISC_wrapper() argument 959 u32 qpn = (u32) vhcr->in_param & 0xffffffff; in mlx4_PROMISC_wrapper() 960 u8 port = vhcr->in_param >> 62; in mlx4_PROMISC_wrapper() 961 enum mlx4_steer_type steer = vhcr->in_modifier; in mlx4_PROMISC_wrapper() 967 if (vhcr->op_modifier) in mlx4_PROMISC_wrapper()
|
D | fw.h | 192 struct mlx4_vhcr *vhcr,
|
D | eq.c | 509 struct mlx4_vhcr *vhcr, in mlx4_MAP_EQ_wrapper() argument 517 u32 in_modifier = vhcr->in_modifier; in mlx4_MAP_EQ_wrapper() 519 u64 in_param = vhcr->in_param; in mlx4_MAP_EQ_wrapper()
|
/linux-3.3/drivers/video/ |
D | tgafb.c | 572 u32 vhcr, vvcr, vvvr; local 577 vhcr = TGA_READ_REG(par, TGA_HORIZ_REG); 585 TGA_WRITE_REG(par, vhcr & 0xbfffffff, TGA_HORIZ_REG); 604 TGA_WRITE_REG(par, vhcr | 0x40000000, TGA_HORIZ_REG); 610 TGA_WRITE_REG(par, vhcr | 0x40000000, TGA_HORIZ_REG);
|