Lines Matching refs:rpn

963 	struct rfcomm_rpn *rpn;  in rfcomm_send_rpn()  local
974 hdr->len = __len8(sizeof(*mcc) + sizeof(*rpn)); in rfcomm_send_rpn()
978 mcc->len = __len8(sizeof(*rpn)); in rfcomm_send_rpn()
980 rpn = (void *) ptr; ptr += sizeof(*rpn); in rfcomm_send_rpn()
981 rpn->dlci = __addr(1, dlci); in rfcomm_send_rpn()
982 rpn->bit_rate = bit_rate; in rfcomm_send_rpn()
983 rpn->line_settings = __rpn_line_settings(data_bits, stop_bits, parity); in rfcomm_send_rpn()
984 rpn->flow_ctrl = flow_ctrl_settings; in rfcomm_send_rpn()
985 rpn->xon_char = xon_char; in rfcomm_send_rpn()
986 rpn->xoff_char = xoff_char; in rfcomm_send_rpn()
987 rpn->param_mask = cpu_to_le16(param_mask); in rfcomm_send_rpn()
1446 struct rfcomm_rpn *rpn = (void *) skb->data; in rfcomm_recv_rpn() local
1447 u8 dlci = __get_dlci(rpn->dlci); in rfcomm_recv_rpn()
1459 dlci, cr, len, rpn->bit_rate, rpn->line_settings, rpn->flow_ctrl, in rfcomm_recv_rpn()
1460 rpn->xon_char, rpn->xoff_char, rpn->param_mask); in rfcomm_recv_rpn()
1480 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_BITRATE)) { in rfcomm_recv_rpn()
1481 bit_rate = rpn->bit_rate; in rfcomm_recv_rpn()
1489 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_DATA)) { in rfcomm_recv_rpn()
1490 data_bits = __get_rpn_data_bits(rpn->line_settings); in rfcomm_recv_rpn()
1498 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_STOP)) { in rfcomm_recv_rpn()
1499 stop_bits = __get_rpn_stop_bits(rpn->line_settings); in rfcomm_recv_rpn()
1507 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_PARITY)) { in rfcomm_recv_rpn()
1508 parity = __get_rpn_parity(rpn->line_settings); in rfcomm_recv_rpn()
1516 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_FLOW)) { in rfcomm_recv_rpn()
1517 flow_ctrl = rpn->flow_ctrl; in rfcomm_recv_rpn()
1525 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_XON)) { in rfcomm_recv_rpn()
1526 xon_char = rpn->xon_char; in rfcomm_recv_rpn()
1534 if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_XOFF)) { in rfcomm_recv_rpn()
1535 xoff_char = rpn->xoff_char; in rfcomm_recv_rpn()