Lines Matching refs:r
154 int r; in llc_shdlc_send_s_frame() local
165 r = shdlc->xmit_to_drv(shdlc->hdev, skb); in llc_shdlc_send_s_frame()
169 return r; in llc_shdlc_send_s_frame()
177 int r; in llc_shdlc_send_u_frame() local
183 r = shdlc->xmit_to_drv(shdlc->hdev, skb); in llc_shdlc_send_u_frame()
187 return r; in llc_shdlc_send_u_frame()
354 static void llc_shdlc_connect_complete(struct llc_shdlc *shdlc, int r) in llc_shdlc_connect_complete() argument
356 pr_debug("result=%d\n", r); in llc_shdlc_connect_complete()
360 if (r == 0) { in llc_shdlc_connect_complete()
370 shdlc->connect_result = r; in llc_shdlc_connect_complete()
410 int r; in llc_shdlc_rcv_u_frame() local
434 r = llc_shdlc_connect_send_ua(shdlc); in llc_shdlc_rcv_u_frame()
435 llc_shdlc_connect_complete(shdlc, r); in llc_shdlc_rcv_u_frame()
532 int r; in llc_shdlc_handle_send_queue() local
561 r = shdlc->xmit_to_drv(shdlc->hdev, skb); in llc_shdlc_handle_send_queue()
562 if (r < 0) { in llc_shdlc_handle_send_queue()
563 shdlc->hard_fault = r; in llc_shdlc_handle_send_queue()
613 int r; in llc_shdlc_sm_work() local
632 r = llc_shdlc_connect_initiate(shdlc); in llc_shdlc_sm_work()
634 r = -ETIME; in llc_shdlc_sm_work()
635 if (r < 0) { in llc_shdlc_sm_work()
636 llc_shdlc_connect_complete(shdlc, r); in llc_shdlc_sm_work()
667 r = llc_shdlc_send_s_frame(shdlc, S_FRAME_RR, in llc_shdlc_sm_work()
669 if (r < 0) in llc_shdlc_sm_work()
670 shdlc->hard_fault = r; in llc_shdlc_sm_work()