Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_uc.c86 switch (qp->s_state) { in qib_make_uc_req()
109 qp->s_state = OP(SEND_FIRST); in qib_make_uc_req()
114 qp->s_state = OP(SEND_ONLY); in qib_make_uc_req()
116 qp->s_state = in qib_make_uc_req()
138 qp->s_state = OP(RDMA_WRITE_FIRST); in qib_make_uc_req()
143 qp->s_state = OP(RDMA_WRITE_ONLY); in qib_make_uc_req()
145 qp->s_state = in qib_make_uc_req()
164 qp->s_state = OP(SEND_MIDDLE); in qib_make_uc_req()
173 qp->s_state = OP(SEND_LAST); in qib_make_uc_req()
175 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in qib_make_uc_req()
[all …]
Dqib_rc.c298 switch (qp->s_state) { in qib_make_rc_req()
346 qp->s_state = OP(SEND_FIRST); in qib_make_rc_req()
351 qp->s_state = OP(SEND_ONLY); in qib_make_rc_req()
353 qp->s_state = OP(SEND_ONLY_WITH_IMMEDIATE); in qib_make_rc_req()
386 qp->s_state = OP(RDMA_WRITE_FIRST); in qib_make_rc_req()
391 qp->s_state = OP(RDMA_WRITE_ONLY); in qib_make_rc_req()
393 qp->s_state = OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE); in qib_make_rc_req()
434 qp->s_state = OP(RDMA_READ_REQUEST); in qib_make_rc_req()
461 qp->s_state = OP(COMPARE_SWAP); in qib_make_rc_req()
467 qp->s_state = OP(FETCH_ADD); in qib_make_rc_req()
[all …]
Dqib_qp.c389 qp->s_state = IB_OPCODE_RC_SEND_LAST; in qib_reset_qp()
392 qp->s_state = IB_OPCODE_UC_SEND_LAST; in qib_reset_qp()
Dqib_verbs.h518 u8 s_state; /* opcode of last packet sent */ member
/drivers/staging/rdma/ipath/
Dipath_uc.c86 switch (qp->s_state) { in ipath_make_uc_req()
106 qp->s_state = OP(SEND_FIRST); in ipath_make_uc_req()
111 qp->s_state = OP(SEND_ONLY); in ipath_make_uc_req()
113 qp->s_state = in ipath_make_uc_req()
135 qp->s_state = OP(RDMA_WRITE_FIRST); in ipath_make_uc_req()
140 qp->s_state = OP(RDMA_WRITE_ONLY); in ipath_make_uc_req()
142 qp->s_state = in ipath_make_uc_req()
161 qp->s_state = OP(SEND_MIDDLE); in ipath_make_uc_req()
170 qp->s_state = OP(SEND_LAST); in ipath_make_uc_req()
172 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in ipath_make_uc_req()
[all …]
Dipath_rc.c273 switch (qp->s_state) { in ipath_make_rc_req()
322 qp->s_state = OP(SEND_FIRST); in ipath_make_rc_req()
327 qp->s_state = OP(SEND_ONLY); in ipath_make_rc_req()
329 qp->s_state = OP(SEND_ONLY_WITH_IMMEDIATE); in ipath_make_rc_req()
361 qp->s_state = OP(RDMA_WRITE_FIRST); in ipath_make_rc_req()
366 qp->s_state = OP(RDMA_WRITE_ONLY); in ipath_make_rc_req()
368 qp->s_state = in ipath_make_rc_req()
408 qp->s_state = OP(RDMA_READ_REQUEST); in ipath_make_rc_req()
434 qp->s_state = OP(COMPARE_SWAP); in ipath_make_rc_req()
440 qp->s_state = OP(FETCH_ADD); in ipath_make_rc_req()
[all …]
Dipath_qp.c338 qp->s_state = IB_OPCODE_RC_SEND_LAST; in ipath_reset_qp()
341 qp->s_state = IB_OPCODE_UC_SEND_LAST; in ipath_reset_qp()
Dipath_verbs.h405 u8 s_state; /* opcode of last packet sent */ member
/drivers/staging/rdma/hfi1/
Duc.c102 switch (qp->s_state) { in hfi1_make_uc_req()
127 qp->s_state = OP(SEND_FIRST); in hfi1_make_uc_req()
132 qp->s_state = OP(SEND_ONLY); in hfi1_make_uc_req()
134 qp->s_state = in hfi1_make_uc_req()
156 qp->s_state = OP(RDMA_WRITE_FIRST); in hfi1_make_uc_req()
161 qp->s_state = OP(RDMA_WRITE_ONLY); in hfi1_make_uc_req()
163 qp->s_state = in hfi1_make_uc_req()
182 qp->s_state = OP(SEND_MIDDLE); in hfi1_make_uc_req()
192 qp->s_state = OP(SEND_LAST); in hfi1_make_uc_req()
194 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in hfi1_make_uc_req()
[all …]
Drc.c326 switch (qp->s_state) { in hfi1_make_rc_req()
376 qp->s_state = OP(SEND_FIRST); in hfi1_make_rc_req()
381 qp->s_state = OP(SEND_ONLY); in hfi1_make_rc_req()
383 qp->s_state = OP(SEND_ONLY_WITH_IMMEDIATE); in hfi1_make_rc_req()
415 qp->s_state = OP(RDMA_WRITE_FIRST); in hfi1_make_rc_req()
420 qp->s_state = OP(RDMA_WRITE_ONLY); in hfi1_make_rc_req()
422 qp->s_state = in hfi1_make_rc_req()
462 qp->s_state = OP(RDMA_READ_REQUEST); in hfi1_make_rc_req()
489 qp->s_state = OP(COMPARE_SWAP); in hfi1_make_rc_req()
495 qp->s_state = OP(FETCH_ADD); in hfi1_make_rc_req()
[all …]
Dqp.c373 qp->s_state = IB_OPCODE_RC_SEND_LAST; in reset_qp()
376 qp->s_state = IB_OPCODE_UC_SEND_LAST; in reset_qp()
Dverbs.h528 u8 s_state; /* opcode of last packet sent */ member
/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.c2323 struct mlx4_slave_state *s_state; in mlx4_multi_func_init() local
2365 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_multi_func_init()
2366 s_state->last_cmd = MLX4_COMM_CMD_RESET; in mlx4_multi_func_init()
2369 s_state->event_eq[j].eqn = -1; in mlx4_multi_func_init()
2379 s_state->vlan_filter[port] = in mlx4_multi_func_init()
2382 if (!s_state->vlan_filter[port]) { in mlx4_multi_func_init()
2384 kfree(s_state->vlan_filter[port]); in mlx4_multi_func_init()
2390 INIT_LIST_HEAD(&s_state->mcast_filters[port]); in mlx4_multi_func_init()
2400 spin_lock_init(&s_state->lock); in mlx4_multi_func_init()
Deq.c302 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_get_slave_port_state() local
311 return s_state[slave].port_state[port]; in mlx4_get_slave_port_state()
319 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_set_slave_port_state() local
328 s_state[slave].port_state[port] = state; in mlx4_set_slave_port_state()
Dmain.c673 struct mlx4_slave_state *s_state; in mlx4_how_many_lives_vf() local
678 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_how_many_lives_vf()
679 if (s_state->active && s_state->last_cmd != in mlx4_how_many_lives_vf()
/drivers/isdn/hisax/
Dhisax.h456 u_char s_state; member