Home
last modified time | relevance | path

Searched refs:s_state (Results 1 – 11 of 11) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_uc.c87 switch (qp->s_state) { in qib_make_uc_req()
110 qp->s_state = OP(SEND_FIRST); in qib_make_uc_req()
115 qp->s_state = OP(SEND_ONLY); in qib_make_uc_req()
117 qp->s_state = in qib_make_uc_req()
139 qp->s_state = OP(RDMA_WRITE_FIRST); in qib_make_uc_req()
144 qp->s_state = OP(RDMA_WRITE_ONLY); in qib_make_uc_req()
146 qp->s_state = in qib_make_uc_req()
165 qp->s_state = OP(SEND_MIDDLE); in qib_make_uc_req()
174 qp->s_state = OP(SEND_LAST); in qib_make_uc_req()
176 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in qib_make_uc_req()
[all …]
Dqib_rc.c282 switch (qp->s_state) { in qib_make_rc_req()
329 qp->s_state = OP(SEND_FIRST); in qib_make_rc_req()
334 qp->s_state = OP(SEND_ONLY); in qib_make_rc_req()
336 qp->s_state = OP(SEND_ONLY_WITH_IMMEDIATE); in qib_make_rc_req()
367 qp->s_state = OP(RDMA_WRITE_FIRST); in qib_make_rc_req()
372 qp->s_state = OP(RDMA_WRITE_ONLY); in qib_make_rc_req()
374 qp->s_state = OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE); in qib_make_rc_req()
408 qp->s_state = OP(RDMA_READ_REQUEST); in qib_make_rc_req()
434 qp->s_state = OP(COMPARE_SWAP); in qib_make_rc_req()
440 qp->s_state = OP(FETCH_ADD); in qib_make_rc_req()
[all …]
/drivers/infiniband/hw/hfi1/
Duc.c117 switch (qp->s_state) { in hfi1_make_uc_req()
167 qp->s_state = OP(SEND_FIRST); in hfi1_make_uc_req()
172 qp->s_state = OP(SEND_ONLY); in hfi1_make_uc_req()
174 qp->s_state = in hfi1_make_uc_req()
196 qp->s_state = OP(RDMA_WRITE_FIRST); in hfi1_make_uc_req()
201 qp->s_state = OP(RDMA_WRITE_ONLY); in hfi1_make_uc_req()
203 qp->s_state = in hfi1_make_uc_req()
222 qp->s_state = OP(SEND_MIDDLE); in hfi1_make_uc_req()
232 qp->s_state = OP(SEND_LAST); in hfi1_make_uc_req()
234 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in hfi1_make_uc_req()
[all …]
Drc.c336 switch (qp->s_state) { in hfi1_make_rc_req()
417 qp->s_state = OP(SEND_FIRST); in hfi1_make_rc_req()
422 qp->s_state = OP(SEND_ONLY); in hfi1_make_rc_req()
424 qp->s_state = OP(SEND_ONLY_WITH_IMMEDIATE); in hfi1_make_rc_req()
429 qp->s_state = OP(SEND_ONLY_WITH_INVALIDATE); in hfi1_make_rc_req()
462 qp->s_state = OP(RDMA_WRITE_FIRST); in hfi1_make_rc_req()
467 qp->s_state = OP(RDMA_WRITE_ONLY); in hfi1_make_rc_req()
469 qp->s_state = in hfi1_make_rc_req()
503 qp->s_state = OP(RDMA_READ_REQUEST); in hfi1_make_rc_req()
529 qp->s_state = OP(COMPARE_SWAP); in hfi1_make_rc_req()
[all …]
Dqp.c608 qp->s_state, in qp_iter_print()
/drivers/misc/
Dtifm_7xx1.c84 unsigned int s_state; in tifm_7xx1_toggle_sock_power() local
97 s_state = readl(sock_addr + SOCK_PRESENT_STATE); in tifm_7xx1_toggle_sock_power()
98 if (!(TIFM_SOCK_STATE_OCCUPIED & s_state)) in tifm_7xx1_toggle_sock_power()
109 writel((s_state & TIFM_CTRL_POWER_MASK) | 0x0c00, in tifm_7xx1_toggle_sock_power()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2358 struct mlx4_slave_state *s_state; in mlx4_multi_func_init() local
2400 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_multi_func_init()
2401 s_state->last_cmd = MLX4_COMM_CMD_RESET; in mlx4_multi_func_init()
2402 s_state->vst_qinq_supported = false; in mlx4_multi_func_init()
2405 s_state->event_eq[j].eqn = -1; in mlx4_multi_func_init()
2415 s_state->vlan_filter[port] = in mlx4_multi_func_init()
2418 if (!s_state->vlan_filter[port]) { in mlx4_multi_func_init()
2420 kfree(s_state->vlan_filter[port]); in mlx4_multi_func_init()
2426 INIT_LIST_HEAD(&s_state->mcast_filters[port]); in mlx4_multi_func_init()
2438 spin_lock_init(&s_state->lock); in mlx4_multi_func_init()
Deq.c314 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_get_slave_port_state() local
323 return s_state[slave].port_state[port]; in mlx4_get_slave_port_state()
331 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_set_slave_port_state() local
340 s_state[slave].port_state[port] = state; in mlx4_set_slave_port_state()
Dmain.c709 struct mlx4_slave_state *s_state; in mlx4_how_many_lives_vf() local
714 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_how_many_lives_vf()
715 if (s_state->active && s_state->last_cmd != in mlx4_how_many_lives_vf()
/drivers/isdn/hisax/
Dhisax.h456 u_char s_state; member
/drivers/infiniband/sw/rdmavt/
Dqp.c657 qp->s_state = IB_OPCODE_RC_SEND_LAST; in rvt_init_qp()
660 qp->s_state = IB_OPCODE_UC_SEND_LAST; in rvt_init_qp()