Lines Matching refs:mcc
928 struct rfcomm_mcc *mcc; in rfcomm_send_nsc() local
936 hdr->len = __len8(sizeof(*mcc) + 1); in rfcomm_send_nsc()
938 mcc = (void *) ptr; ptr += sizeof(*mcc); in rfcomm_send_nsc()
939 mcc->type = __mcc_type(0, RFCOMM_NSC); in rfcomm_send_nsc()
940 mcc->len = __len8(1); in rfcomm_send_nsc()
953 struct rfcomm_mcc *mcc; in rfcomm_send_pn() local
962 hdr->len = __len8(sizeof(*mcc) + sizeof(*pn)); in rfcomm_send_pn()
964 mcc = (void *) ptr; ptr += sizeof(*mcc); in rfcomm_send_pn()
965 mcc->type = __mcc_type(cr, RFCOMM_PN); in rfcomm_send_pn()
966 mcc->len = __len8(sizeof(*pn)); in rfcomm_send_pn()
998 struct rfcomm_mcc *mcc; in rfcomm_send_rpn() local
1010 hdr->len = __len8(sizeof(*mcc) + sizeof(*rpn)); in rfcomm_send_rpn()
1012 mcc = (void *) ptr; ptr += sizeof(*mcc); in rfcomm_send_rpn()
1013 mcc->type = __mcc_type(cr, RFCOMM_RPN); in rfcomm_send_rpn()
1014 mcc->len = __len8(sizeof(*rpn)); in rfcomm_send_rpn()
1033 struct rfcomm_mcc *mcc; in rfcomm_send_rls() local
1042 hdr->len = __len8(sizeof(*mcc) + sizeof(*rls)); in rfcomm_send_rls()
1044 mcc = (void *) ptr; ptr += sizeof(*mcc); in rfcomm_send_rls()
1045 mcc->type = __mcc_type(cr, RFCOMM_RLS); in rfcomm_send_rls()
1046 mcc->len = __len8(sizeof(*rls)); in rfcomm_send_rls()
1060 struct rfcomm_mcc *mcc; in rfcomm_send_msc() local
1069 hdr->len = __len8(sizeof(*mcc) + sizeof(*msc)); in rfcomm_send_msc()
1071 mcc = (void *) ptr; ptr += sizeof(*mcc); in rfcomm_send_msc()
1072 mcc->type = __mcc_type(cr, RFCOMM_MSC); in rfcomm_send_msc()
1073 mcc->len = __len8(sizeof(*msc)); in rfcomm_send_msc()
1087 struct rfcomm_mcc *mcc; in rfcomm_send_fcoff() local
1095 hdr->len = __len8(sizeof(*mcc)); in rfcomm_send_fcoff()
1097 mcc = (void *) ptr; ptr += sizeof(*mcc); in rfcomm_send_fcoff()
1098 mcc->type = __mcc_type(cr, RFCOMM_FCOFF); in rfcomm_send_fcoff()
1099 mcc->len = __len8(0); in rfcomm_send_fcoff()
1109 struct rfcomm_mcc *mcc; in rfcomm_send_fcon() local
1117 hdr->len = __len8(sizeof(*mcc)); in rfcomm_send_fcon()
1119 mcc = (void *) ptr; ptr += sizeof(*mcc); in rfcomm_send_fcon()
1120 mcc->type = __mcc_type(cr, RFCOMM_FCON); in rfcomm_send_fcon()
1121 mcc->len = __len8(0); in rfcomm_send_fcon()
1643 struct rfcomm_mcc *mcc = (void *) skb->data; in rfcomm_recv_mcc() local
1646 cr = __test_cr(mcc->type); in rfcomm_recv_mcc()
1647 type = __get_mcc_type(mcc->type); in rfcomm_recv_mcc()
1648 len = __get_mcc_len(mcc->len); in rfcomm_recv_mcc()