/kernel/linux/linux-5.10/net/nfc/hci/ |
H A D | llc_shdlc.c | 3 * shdlc Link Layer Control 8 #define pr_fmt(fmt) "shdlc: %s: " fmt, __func__ 104 print_hex_dump(KERN_DEBUG, "shdlc: ", DUMP_PREFIX_OFFSET, \ 126 static struct sk_buff *llc_shdlc_alloc_skb(const struct llc_shdlc *shdlc, in llc_shdlc_alloc_skb() argument 131 skb = alloc_skb(shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM + in llc_shdlc_alloc_skb() 132 shdlc->tx_tailroom + payload_len, GFP_KERNEL); in llc_shdlc_alloc_skb() 134 skb_reserve(skb, shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM); in llc_shdlc_alloc_skb() 140 static int llc_shdlc_send_s_frame(const struct llc_shdlc *shdlc, in llc_shdlc_send_s_frame() argument 148 skb = llc_shdlc_alloc_skb(shdlc, 0); in llc_shdlc_send_s_frame() 154 r = shdlc in llc_shdlc_send_s_frame() 162 llc_shdlc_send_u_frame(const struct llc_shdlc *shdlc, struct sk_buff *skb, enum uframe_modifier uframe_modifier) llc_shdlc_send_u_frame() argument 183 llc_shdlc_reset_t2(struct llc_shdlc *shdlc, int y_nr) llc_shdlc_reset_t2() argument 223 llc_shdlc_rcv_i_frame(struct llc_shdlc *shdlc, struct sk_buff *skb, int ns, int nr) llc_shdlc_rcv_i_frame() argument 263 llc_shdlc_rcv_ack(struct llc_shdlc *shdlc, int y_nr) llc_shdlc_rcv_ack() argument 273 llc_shdlc_requeue_ack_pending(struct llc_shdlc *shdlc) llc_shdlc_requeue_ack_pending() argument 286 llc_shdlc_rcv_rej(struct llc_shdlc *shdlc, int y_nr) llc_shdlc_rcv_rej() argument 311 llc_shdlc_rcv_s_frame(struct llc_shdlc *shdlc, enum sframe_type s_frame_type, int nr) llc_shdlc_rcv_s_frame() argument 343 llc_shdlc_connect_complete(struct llc_shdlc *shdlc, int r) llc_shdlc_connect_complete() argument 364 llc_shdlc_connect_initiate(const struct llc_shdlc *shdlc) llc_shdlc_connect_initiate() argument 380 llc_shdlc_connect_send_ua(const struct llc_shdlc *shdlc) llc_shdlc_connect_send_ua() argument 393 llc_shdlc_rcv_u_frame(struct llc_shdlc *shdlc, struct sk_buff *skb, enum uframe_modifier u_frame_modifier) llc_shdlc_rcv_u_frame() argument 459 llc_shdlc_handle_rcv_queue(struct llc_shdlc *shdlc) llc_shdlc_handle_rcv_queue() argument 518 llc_shdlc_handle_send_queue(struct llc_shdlc *shdlc) llc_shdlc_handle_send_queue() argument 574 struct llc_shdlc *shdlc = from_timer(shdlc, t, connect_timer); llc_shdlc_connect_timeout() local 583 struct llc_shdlc *shdlc = from_timer(shdlc, t, t1_timer); llc_shdlc_t1_timeout() local 592 struct llc_shdlc *shdlc = from_timer(shdlc, t, t2_timer); llc_shdlc_t2_timeout() local 601 struct llc_shdlc *shdlc = container_of(work, struct llc_shdlc, sm_work); llc_shdlc_sm_work() local 685 llc_shdlc_connect(struct llc_shdlc *shdlc) llc_shdlc_connect() argument 707 llc_shdlc_disconnect(struct llc_shdlc *shdlc) llc_shdlc_disconnect() argument 725 llc_shdlc_recv_frame(struct llc_shdlc *shdlc, struct sk_buff *skb) llc_shdlc_recv_frame() argument 743 struct llc_shdlc *shdlc; llc_shdlc_init() local 780 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_deinit() local 791 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_start() local 798 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_stop() local 807 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_rcv_from_drv() local 814 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_xmit_from_hci() local [all...] |
/kernel/linux/linux-6.6/net/nfc/hci/ |
H A D | llc_shdlc.c | 3 * shdlc Link Layer Control 8 #define pr_fmt(fmt) "shdlc: %s: " fmt, __func__ 104 print_hex_dump(KERN_DEBUG, "shdlc: ", DUMP_PREFIX_OFFSET, \ 126 static struct sk_buff *llc_shdlc_alloc_skb(const struct llc_shdlc *shdlc, in llc_shdlc_alloc_skb() argument 131 skb = alloc_skb(shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM + in llc_shdlc_alloc_skb() 132 shdlc->tx_tailroom + payload_len, GFP_KERNEL); in llc_shdlc_alloc_skb() 134 skb_reserve(skb, shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM); in llc_shdlc_alloc_skb() 140 static int llc_shdlc_send_s_frame(const struct llc_shdlc *shdlc, in llc_shdlc_send_s_frame() argument 148 skb = llc_shdlc_alloc_skb(shdlc, 0); in llc_shdlc_send_s_frame() 154 r = shdlc in llc_shdlc_send_s_frame() 162 llc_shdlc_send_u_frame(const struct llc_shdlc *shdlc, struct sk_buff *skb, enum uframe_modifier uframe_modifier) llc_shdlc_send_u_frame() argument 183 llc_shdlc_reset_t2(struct llc_shdlc *shdlc, int y_nr) llc_shdlc_reset_t2() argument 221 llc_shdlc_rcv_i_frame(struct llc_shdlc *shdlc, struct sk_buff *skb, int ns, int nr) llc_shdlc_rcv_i_frame() argument 261 llc_shdlc_rcv_ack(struct llc_shdlc *shdlc, int y_nr) llc_shdlc_rcv_ack() argument 271 llc_shdlc_requeue_ack_pending(struct llc_shdlc *shdlc) llc_shdlc_requeue_ack_pending() argument 284 llc_shdlc_rcv_rej(struct llc_shdlc *shdlc, int y_nr) llc_shdlc_rcv_rej() argument 309 llc_shdlc_rcv_s_frame(struct llc_shdlc *shdlc, enum sframe_type s_frame_type, int nr) llc_shdlc_rcv_s_frame() argument 341 llc_shdlc_connect_complete(struct llc_shdlc *shdlc, int r) llc_shdlc_connect_complete() argument 362 llc_shdlc_connect_initiate(const struct llc_shdlc *shdlc) llc_shdlc_connect_initiate() argument 376 llc_shdlc_connect_send_ua(const struct llc_shdlc *shdlc) llc_shdlc_connect_send_ua() argument 387 llc_shdlc_rcv_u_frame(struct llc_shdlc *shdlc, struct sk_buff *skb, enum uframe_modifier u_frame_modifier) llc_shdlc_rcv_u_frame() argument 453 llc_shdlc_handle_rcv_queue(struct llc_shdlc *shdlc) llc_shdlc_handle_rcv_queue() argument 512 llc_shdlc_handle_send_queue(struct llc_shdlc *shdlc) llc_shdlc_handle_send_queue() argument 567 struct llc_shdlc *shdlc = from_timer(shdlc, t, connect_timer); llc_shdlc_connect_timeout() local 574 struct llc_shdlc *shdlc = from_timer(shdlc, t, t1_timer); llc_shdlc_t1_timeout() local 583 struct llc_shdlc *shdlc = from_timer(shdlc, t, t2_timer); llc_shdlc_t2_timeout() local 592 struct llc_shdlc *shdlc = container_of(work, struct llc_shdlc, sm_work); llc_shdlc_sm_work() local 672 llc_shdlc_connect(struct llc_shdlc *shdlc) llc_shdlc_connect() argument 692 llc_shdlc_disconnect(struct llc_shdlc *shdlc) llc_shdlc_disconnect() argument 708 llc_shdlc_recv_frame(struct llc_shdlc *shdlc, struct sk_buff *skb) llc_shdlc_recv_frame() argument 726 struct llc_shdlc *shdlc; llc_shdlc_init() local 763 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_deinit() local 774 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_start() local 781 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_stop() local 790 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_rcv_from_drv() local 797 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc_shdlc_xmit_from_hci() local [all...] |