Lines Matching defs:cc
4163 static u8 hci_cc_func(struct hci_dev *hdev, const struct hci_cc *cc,
4168 if (skb->len < cc->min_len) {
4169 bt_dev_err(hdev, "unexpected cc 0x%4.4x length: %u < %u",
4170 cc->op, skb->len, cc->min_len);
4175 * partially parse the cc so leave to callback to decide if that is
4178 if (skb->len > cc->max_len)
4179 bt_dev_warn(hdev, "unexpected cc 0x%4.4x length: %u > %u",
4180 cc->op, skb->len, cc->max_len);
4182 data = hci_cc_skb_pull(hdev, skb, cc->op, cc->min_len);
4186 return cc->func(hdev, data, skb);