• Home
  • Raw
  • Download

Lines Matching refs:ops

244 		if (hdev->ops->complete_target_discovered) {  in nfc_hci_target_discovered()
245 r = hdev->ops->complete_target_discovered(hdev, gate, in nfc_hci_target_discovered()
255 if (hdev->ops->target_from_gate) in nfc_hci_target_discovered()
256 r = hdev->ops->target_from_gate(hdev, gate, targets); in nfc_hci_target_discovered()
262 if (hdev->ops->complete_target_discovered) { in nfc_hci_target_discovered()
263 r = hdev->ops->complete_target_discovered(hdev, gate, in nfc_hci_target_discovered()
298 if (hdev->ops->event_received) { in nfc_hci_event_received()
299 r = hdev->ops->event_received(hdev, gate, event, skb); in nfc_hci_event_received()
385 skb->len) == 0) && hdev->ops->load_session) { in hci_dev_session_init()
388 r = hdev->ops->load_session(hdev); in hci_dev_session_init()
484 if (hdev->ops->open) { in hci_dev_up()
485 r = hdev->ops->open(hdev); in hci_dev_up()
503 if (hdev->ops->hci_ready) { in hci_dev_up()
504 r = hdev->ops->hci_ready(hdev); in hci_dev_up()
519 if (hdev->ops->close) in hci_dev_up()
520 hdev->ops->close(hdev); in hci_dev_up()
531 if (hdev->ops->close) in hci_dev_down()
532 hdev->ops->close(hdev); in hci_dev_down()
544 if (hdev->ops->start_poll) in hci_start_poll()
545 return hdev->ops->start_poll(hdev, im_protocols, tm_protocols); in hci_start_poll()
556 if (hdev->ops->stop_poll) in hci_stop_poll()
557 hdev->ops->stop_poll(hdev); in hci_stop_poll()
568 if (!hdev->ops->dep_link_up) in hci_dep_link_up()
571 return hdev->ops->dep_link_up(hdev, target, comm_mode, in hci_dep_link_up()
579 if (!hdev->ops->dep_link_down) in hci_dep_link_down()
582 return hdev->ops->dep_link_down(hdev); in hci_dep_link_down()
633 if (hdev->ops->im_transceive) { in hci_transceive()
634 r = hdev->ops->im_transceive(hdev, target, skb, cb, in hci_transceive()
651 if (hdev->ops->im_transceive) { in hci_transceive()
652 r = hdev->ops->im_transceive(hdev, target, skb, cb, in hci_transceive()
671 if (!hdev->ops->tm_send) { in hci_tm_send()
676 return hdev->ops->tm_send(hdev, skb); in hci_tm_send()
684 if (!hdev->ops->check_presence) in hci_check_presence()
687 return hdev->ops->check_presence(hdev, target); in hci_check_presence()
694 if (hdev->ops->discover_se) in hci_discover_se()
695 return hdev->ops->discover_se(hdev); in hci_discover_se()
704 if (hdev->ops->enable_se) in hci_enable_se()
705 return hdev->ops->enable_se(hdev, se_idx); in hci_enable_se()
714 if (hdev->ops->disable_se) in hci_disable_se()
715 return hdev->ops->disable_se(hdev, se_idx); in hci_disable_se()
811 if (!hdev->ops->fw_download) in hci_fw_download()
814 return hdev->ops->fw_download(hdev, firmware_name); in hci_fw_download()
835 struct nfc_hci_dev *nfc_hci_allocate_device(struct nfc_hci_ops *ops, in nfc_hci_allocate_device() argument
846 if (ops->xmit == NULL) in nfc_hci_allocate_device()
856 hdev->llc = nfc_llc_allocate(llc_name, hdev, ops->xmit, in nfc_hci_allocate_device()
873 hdev->ops = ops; in nfc_hci_allocate_device()