Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c738 slave_cap_mask = priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_MAD_IFC_wrapper()
1348 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr()
1471 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr()
1558 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in mlx4_master_do_cmd() local
1564 slave_state[slave].comm_toggle ^= 1; in mlx4_master_do_cmd()
1565 reply = (u32) slave_state[slave].comm_toggle << 31; in mlx4_master_do_cmd()
1566 if (toggle != slave_state[slave].comm_toggle) { in mlx4_master_do_cmd()
1573 slave_state[slave].active = false; in mlx4_master_do_cmd()
1576 slave_state[slave].event_eq[i].eqn = -1; in mlx4_master_do_cmd()
1577 slave_state[slave].event_eq[i].token = 0; in mlx4_master_do_cmd()
[all …]
Deq.c153 master->slave_state[i].active) in mlx4_gen_slave_eqe()
203 &priv->mfunc.master.slave_state[slave]; in mlx4_slave_event()
218 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_gen_pkey_eqe()
273 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_get_slave_port_state()
287 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_set_slave_port_state()
335 ctx = &priv->mfunc.master.slave_state[slave]; in set_and_calc_slave_port_state()
407 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in mlx4_master_handle_slave_flr() local
416 if (MLX4_COMM_CMD_FLR == slave_state[i].last_cmd) { in mlx4_master_handle_slave_flr()
423 slave_state[i].last_cmd = MLX4_COMM_CMD_RESET; in mlx4_master_handle_slave_flr()
424 slave_state[i].is_slave_going_down = 0; in mlx4_master_handle_slave_flr()
[all …]
Dport.c476 struct mlx4_slave_state *slave_st = &master->slave_state[slave]; in mlx4_common_set_port()
539 master->slave_state[i].mtu[port]); in mlx4_common_set_port()
577 priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_common_set_port()
578 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask; in mlx4_common_set_port()
581 priv->mfunc.master.slave_state[i].ib_cap_mask[port]; in mlx4_common_set_port()
599 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = in mlx4_common_set_port()
Dfw.c1516 if (priv->mfunc.master.slave_state[slave].init_port_mask & (1 << port)) in mlx4_INIT_PORT_wrapper()
1527 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
1537 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
1540 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()
1610 if (!(priv->mfunc.master.slave_state[slave].init_port_mask & in mlx4_CLOSE_PORT_wrapper()
1621 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
1631 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
1635 priv->mfunc.master.slave_state[slave].init_port_mask &= ~(1 << port); in mlx4_CLOSE_PORT_wrapper()
Dmain.c399 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_how_many_lives_vf()
469 s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_is_slave_active()
1781 priv->mfunc.master.slave_state[i].ib_cap_mask[port] = in mlx4_setup_hca()
Dmlx4.h529 struct mlx4_slave_state *slave_state; member
Dresource_tracker.c2418 if (!priv->mfunc.master.slave_state) in mlx4_GEN_EQE()
2421 event_eq = &priv->mfunc.master.slave_state[slave].event_eq[eqe->type]; in mlx4_GEN_EQE()
/drivers/scsi/qla2xxx/
Dqla_def.h1030 uint8_t slave_state; member
Dqla_mbx.c1454 pd->slave_state != PD_STATE_PORT_LOGGED_IN) { in qla2x00_get_port_database()
1458 pd->slave_state, fcport->d_id.b.domain, in qla2x00_get_port_database()