Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
615 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
616 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
1028 max_bufsize = priv->channel[CTCM_READ]->max_bufsize; in ctcm_change_mtu()
1221 if (priv->channel[CTCM_READ]->cdev == cdev) in ctcm_irq_handler()
1222 ch = priv->channel[CTCM_READ]; in ctcm_irq_handler()
1580 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1582 channel_get(type, direction == CTCM_READ ? in ctcm_new_device()
1586 channel_free(priv->channel[CTCM_READ]); in ctcm_new_device()
[all …]
Dctcm_fsms.c452 if (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) { in chx_firstio()
477 fsm_newstate(fi, (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) in chx_firstio()
492 if ((CHANNEL_DIRECTION(ch->flags) == CTCM_READ) && in chx_firstio()
596 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? "RX" : "TX"); in ctcm_chx_start()
603 if (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) { in ctcm_chx_start()
617 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? in ctcm_chx_start()
716 if (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) { in ctcm_chx_cleanup()
796 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ)) { in ctcm_chx_setuperr()
808 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? "RX" : "TX", in ctcm_chx_setuperr()
811 if (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) { in ctcm_chx_setuperr()
[all …]
Dctcm_mpc.c410 rch = priv->channel[CTCM_READ]; in ctc_mpc_establish_connectivity()
569 rch = priv->channel[CTCM_READ]; in ctc_mpc_flow_control()
707 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()
708 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()
892 ch = priv->channel[CTCM_READ]; in mpc_group_ready()
946 grp->active_channels[CTCM_READ], in mpc_channel_action()
981 ((CHANNEL_DIRECTION(ch->flags) == CTCM_READ) in mpc_channel_action()
993 if ((grp->active_channels[CTCM_READ] > 0) && in mpc_channel_action()
1014 if (((grp->active_channels[CTCM_READ] == 0) && in mpc_channel_action()
1017 (grp->active_channels[CTCM_READ] > 0))) in mpc_channel_action()
[all …]
Dctcm_main.h113 #define CTCM_READ 0 macro