Home
last modified time | relevance | path

Searched refs:CTCM_READ (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/s390/net/
Dctcm_sysfs.c42 if (!(priv && priv->channel[CTCM_READ] && in ctcm_buffer_write()
43 priv->channel[CTCM_READ]->netdev)) { in ctcm_buffer_write()
47 ndev = priv->channel[CTCM_READ]->netdev; in ctcm_buffer_write()
62 priv->channel[CTCM_READ]->max_bufsize = bs1; in ctcm_buffer_write()
66 priv->channel[CTCM_READ]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED; in ctcm_buffer_write()
92 fsm_getstate_str(priv->channel[CTCM_READ]->fsm)); in ctcm_print_statistics()
Dctcm_main.c390 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? in ctcm_ch_alloc_buffer()
402 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? in ctcm_ch_alloc_buffer()
616 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
617 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
1030 max_bufsize = priv->channel[CTCM_READ]->max_bufsize; in ctcm_change_mtu()
1225 if (priv->channel[CTCM_READ]->cdev == cdev) in ctcm_irq_handler()
1226 ch = priv->channel[CTCM_READ]; in ctcm_irq_handler()
1584 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1586 channel_get(type, direction == CTCM_READ ? in ctcm_new_device()
1590 channel_free(priv->channel[CTCM_READ]); in ctcm_new_device()
[all …]
Dctcm_fsms.c454 if (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) { in chx_firstio()
479 fsm_newstate(fi, (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) in chx_firstio()
495 if ((CHANNEL_DIRECTION(ch->flags) == CTCM_READ) && in chx_firstio()
601 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? "RX" : "TX"); in ctcm_chx_start()
608 if (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) { in ctcm_chx_start()
622 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? in ctcm_chx_start()
721 if (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) { in ctcm_chx_cleanup()
801 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ)) { in ctcm_chx_setuperr()
813 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? "RX" : "TX", in ctcm_chx_setuperr()
816 if (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) { in ctcm_chx_setuperr()
[all …]
Dctcm_mpc.c409 rch = priv->channel[CTCM_READ]; in ctc_mpc_establish_connectivity()
568 rch = priv->channel[CTCM_READ]; in ctc_mpc_flow_control()
706 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()
707 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()
891 ch = priv->channel[CTCM_READ]; in mpc_group_ready()
945 grp->active_channels[CTCM_READ], in mpc_channel_action()
980 ((CHANNEL_DIRECTION(ch->flags) == CTCM_READ) in mpc_channel_action()
992 if ((grp->active_channels[CTCM_READ] > 0) && in mpc_channel_action()
1013 if (((grp->active_channels[CTCM_READ] == 0) && in mpc_channel_action()
1016 (grp->active_channels[CTCM_READ] > 0))) in mpc_channel_action()
[all …]
Dctcm_main.h113 #define CTCM_READ 0 macro