Home | History | Annotate | Download | only in test

Lines Matching refs:ocf

258 static void command_status(uint16_t ogf, uint16_t ocf, uint8_t status)
277 cs->opcode = htobs(cmd_opcode_pack(ogf, ocf));
286 static void command_complete(uint16_t ogf, uint16_t ocf, int plen, void *data)
304 cc->opcode = htobs(cmd_opcode_pack(ogf, ocf));
607 static void hci_link_control(uint16_t ocf, int plen, uint8_t *data)
613 switch (ocf) {
615 command_status(ogf, ocf, 0x00);
620 command_status(ogf, ocf, 0x00);
625 command_status(ogf, ocf, 0x00);
631 command_complete(ogf, ocf, 1, &status);
636 static void hci_link_policy(uint16_t ocf, int plen, uint8_t *data)
642 switch (ocf) {
645 command_complete(ogf, ocf, 1, &status);
650 static void hci_host_control(uint16_t ocf, int plen, uint8_t *data)
660 switch (ocf) {
663 command_complete(ogf, ocf, 1, &status);
668 command_complete(ogf, ocf, 1, &status);
674 command_complete(ogf, ocf, 1, &status);
680 command_complete(ogf, ocf, sizeof(ln), &ln);
686 command_complete(ogf, ocf, 1, &status);
691 command_complete(ogf, ocf, 1, &status);
696 command_complete(ogf, ocf, 1, &status);
701 command_complete(ogf, ocf, 1, &status);
707 command_complete(ogf, ocf, sizeof(cd), &cd);
713 command_complete(ogf, ocf, 1, &status);
719 command_complete(ogf, ocf, sizeof(im), &im);
725 command_complete(ogf, ocf, 1, &status);
732 command_complete(ogf, ocf, sizeof(ir), &ir);
739 command_complete(ogf, ocf, 1, &status);
744 command_complete(ogf, ocf, 1, &status);
749 ocf, int plen, uint8_t *data)
760 switch (ocf) {
768 command_complete(ogf, ocf, sizeof(lv), &lv);
774 command_complete(ogf, ocf, sizeof(lf), &lf);
788 command_complete(ogf, ocf, sizeof(ef), &ef);
797 command_complete(ogf, ocf, sizeof(bs), &bs);
803 command_complete(ogf, ocf, sizeof(ba), &ba);
808 command_complete(ogf, ocf, 1, &status);
817 uint16_t ogf, ocf;
824 ocf = cmd_opcode_ocf(ch->opcode);
828 hci_link_control(ocf, ch->plen, ptr);
832 hci_link_policy(ocf, ch->plen, ptr);
836 hci_host_control(ocf, ch->plen, ptr);
840 hci_info_param(ocf, ch->plen, ptr);