Lines Matching refs:rpn
999 struct rfcomm_rpn *rpn; in rfcomm_send_rpn() local
1010 hdr->len = __len8(sizeof(*mcc) + sizeof(*rpn)); in rfcomm_send_rpn()
1014 mcc->len = __len8(sizeof(*rpn)); in rfcomm_send_rpn()
1016 rpn = (void *) ptr; ptr += sizeof(*rpn); in rfcomm_send_rpn()
1017 rpn->dlci = __addr(1, dlci); in rfcomm_send_rpn()
1018 rpn->bit_rate = bit_rate; in rfcomm_send_rpn()
1019 rpn->line_settings = __rpn_line_settings(data_bits, stop_bits, parity); in rfcomm_send_rpn()
1020 rpn->flow_ctrl = flow_ctrl_settings; in rfcomm_send_rpn()
1021 rpn->xon_char = xon_char; in rfcomm_send_rpn()
1022 rpn->xoff_char = xoff_char; in rfcomm_send_rpn()
1023 rpn->param_mask = cpu_to_le16(param_mask); in rfcomm_send_rpn()
1482 struct rfcomm_rpn *rpn = (void *) skb->data; in rfcomm_recv_rpn() local
1483 u8 dlci = __get_dlci(rpn->dlci); in rfcomm_recv_rpn()
1495 dlci, cr, len, rpn->bit_rate, rpn->line_settings, rpn->flow_ctrl, in rfcomm_recv_rpn()
1496 rpn->xon_char, rpn->xoff_char, rpn->param_mask); in rfcomm_recv_rpn()
1516 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_BITRATE)) { in rfcomm_recv_rpn()
1517 bit_rate = rpn->bit_rate; in rfcomm_recv_rpn()
1525 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_DATA)) { in rfcomm_recv_rpn()
1526 data_bits = __get_rpn_data_bits(rpn->line_settings); in rfcomm_recv_rpn()
1534 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_STOP)) { in rfcomm_recv_rpn()
1535 stop_bits = __get_rpn_stop_bits(rpn->line_settings); in rfcomm_recv_rpn()
1543 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_PARITY)) { in rfcomm_recv_rpn()
1544 parity = __get_rpn_parity(rpn->line_settings); in rfcomm_recv_rpn()
1552 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_FLOW)) { in rfcomm_recv_rpn()
1553 flow_ctrl = rpn->flow_ctrl; in rfcomm_recv_rpn()
1561 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_XON)) { in rfcomm_recv_rpn()
1562 xon_char = rpn->xon_char; in rfcomm_recv_rpn()
1570 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_XOFF)) { in rfcomm_recv_rpn()
1571 xoff_char = rpn->xoff_char; in rfcomm_recv_rpn()