• Home
  • Raw
  • Download

Lines Matching refs:ops

250 	if (hdev->ops->cmd_received)  in nfc_hci_cmd_received()
251 hdev->ops->cmd_received(hdev, pipe, cmd, skb); in nfc_hci_cmd_received()
331 if (hdev->ops->complete_target_discovered) { in nfc_hci_target_discovered()
332 r = hdev->ops->complete_target_discovered(hdev, gate, in nfc_hci_target_discovered()
342 if (hdev->ops->target_from_gate) in nfc_hci_target_discovered()
343 r = hdev->ops->target_from_gate(hdev, gate, targets); in nfc_hci_target_discovered()
349 if (hdev->ops->complete_target_discovered) { in nfc_hci_target_discovered()
350 r = hdev->ops->complete_target_discovered(hdev, gate, in nfc_hci_target_discovered()
385 if (hdev->ops->event_received) { in nfc_hci_event_received()
386 r = hdev->ops->event_received(hdev, pipe, event, skb); in nfc_hci_event_received()
472 skb->len) == 0) && hdev->ops->load_session) { in hci_dev_session_init()
475 r = hdev->ops->load_session(hdev); in hci_dev_session_init()
571 if (hdev->ops->open) { in hci_dev_up()
572 r = hdev->ops->open(hdev); in hci_dev_up()
590 if (hdev->ops->hci_ready) { in hci_dev_up()
591 r = hdev->ops->hci_ready(hdev); in hci_dev_up()
606 if (hdev->ops->close) in hci_dev_up()
607 hdev->ops->close(hdev); in hci_dev_up()
618 if (hdev->ops->close) in hci_dev_down()
619 hdev->ops->close(hdev); in hci_dev_down()
631 if (hdev->ops->start_poll) in hci_start_poll()
632 return hdev->ops->start_poll(hdev, im_protocols, tm_protocols); in hci_start_poll()
643 if (hdev->ops->stop_poll) in hci_stop_poll()
644 hdev->ops->stop_poll(hdev); in hci_stop_poll()
655 if (!hdev->ops->dep_link_up) in hci_dep_link_up()
658 return hdev->ops->dep_link_up(hdev, target, comm_mode, in hci_dep_link_up()
666 if (!hdev->ops->dep_link_down) in hci_dep_link_down()
669 return hdev->ops->dep_link_down(hdev); in hci_dep_link_down()
721 if (hdev->ops->im_transceive) { in hci_transceive()
722 r = hdev->ops->im_transceive(hdev, target, skb, cb, in hci_transceive()
739 if (hdev->ops->im_transceive) { in hci_transceive()
740 r = hdev->ops->im_transceive(hdev, target, skb, cb, in hci_transceive()
759 if (!hdev->ops->tm_send) { in hci_tm_send()
764 return hdev->ops->tm_send(hdev, skb); in hci_tm_send()
772 if (!hdev->ops->check_presence) in hci_check_presence()
775 return hdev->ops->check_presence(hdev, target); in hci_check_presence()
782 if (hdev->ops->discover_se) in hci_discover_se()
783 return hdev->ops->discover_se(hdev); in hci_discover_se()
792 if (hdev->ops->enable_se) in hci_enable_se()
793 return hdev->ops->enable_se(hdev, se_idx); in hci_enable_se()
802 if (hdev->ops->disable_se) in hci_disable_se()
803 return hdev->ops->disable_se(hdev, se_idx); in hci_disable_se()
814 if (hdev->ops->se_io) in hci_se_io()
815 return hdev->ops->se_io(hdev, se_idx, apdu, in hci_se_io()
912 if (!hdev->ops->fw_download) in hci_fw_download()
915 return hdev->ops->fw_download(hdev, firmware_name); in hci_fw_download()
937 struct nfc_hci_dev *nfc_hci_allocate_device(struct nfc_hci_ops *ops, in nfc_hci_allocate_device() argument
948 if (ops->xmit == NULL) in nfc_hci_allocate_device()
958 hdev->llc = nfc_llc_allocate(llc_name, hdev, ops->xmit, in nfc_hci_allocate_device()
975 hdev->ops = ops; in nfc_hci_allocate_device()