Lines Matching refs:TLS_SW
350 if (ctx->tx_conf == TLS_SW) {
360 if (ctx->rx_conf == TLS_SW) {
376 if (ctx->tx_conf == TLS_SW)
393 if (ctx->tx_conf == TLS_SW)
395 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW)
397 if (ctx->rx_conf == TLS_SW)
534 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW)
676 conf = TLS_SW;
690 conf = TLS_SW;
757 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) {
828 ops[TLS_SW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE];
829 ops[TLS_SW ][TLS_BASE].splice_eof = tls_sw_splice_eof;
831 ops[TLS_BASE][TLS_SW ] = ops[TLS_BASE][TLS_BASE];
832 ops[TLS_BASE][TLS_SW ].splice_read = tls_sw_splice_read;
833 ops[TLS_BASE][TLS_SW ].poll = tls_sk_poll;
834 ops[TLS_BASE][TLS_SW ].read_sock = tls_sw_read_sock;
836 ops[TLS_SW ][TLS_SW ] = ops[TLS_SW ][TLS_BASE];
837 ops[TLS_SW ][TLS_SW ].splice_read = tls_sw_splice_read;
838 ops[TLS_SW ][TLS_SW ].poll = tls_sk_poll;
839 ops[TLS_SW ][TLS_SW ].read_sock = tls_sw_read_sock;
844 ops[TLS_HW ][TLS_SW ] = ops[TLS_BASE][TLS_SW ];
846 ops[TLS_BASE][TLS_HW ] = ops[TLS_BASE][TLS_SW ];
848 ops[TLS_SW ][TLS_HW ] = ops[TLS_SW ][TLS_SW ];
850 ops[TLS_HW ][TLS_HW ] = ops[TLS_HW ][TLS_SW ];
896 prot[TLS_SW][TLS_BASE] = prot[TLS_BASE][TLS_BASE];
897 prot[TLS_SW][TLS_BASE].sendmsg = tls_sw_sendmsg;
898 prot[TLS_SW][TLS_BASE].splice_eof = tls_sw_splice_eof;
900 prot[TLS_BASE][TLS_SW] = prot[TLS_BASE][TLS_BASE];
901 prot[TLS_BASE][TLS_SW].recvmsg = tls_sw_recvmsg;
902 prot[TLS_BASE][TLS_SW].sock_is_readable = tls_sw_sock_is_readable;
903 prot[TLS_BASE][TLS_SW].close = tls_sk_proto_close;
905 prot[TLS_SW][TLS_SW] = prot[TLS_SW][TLS_BASE];
906 prot[TLS_SW][TLS_SW].recvmsg = tls_sw_recvmsg;
907 prot[TLS_SW][TLS_SW].sock_is_readable = tls_sw_sock_is_readable;
908 prot[TLS_SW][TLS_SW].close = tls_sk_proto_close;
915 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW];
916 prot[TLS_HW][TLS_SW].sendmsg = tls_device_sendmsg;
917 prot[TLS_HW][TLS_SW].splice_eof = tls_device_splice_eof;
919 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW];
921 prot[TLS_SW][TLS_HW] = prot[TLS_SW][TLS_SW];
923 prot[TLS_HW][TLS_HW] = prot[TLS_HW][TLS_SW];
994 case TLS_SW: