Lines Matching refs:phy_ops
42 if (info->phy_ops->set_mode) in nxp_nci_open()
43 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_NCI); in nxp_nci_open()
59 if (info->phy_ops->set_mode) in nxp_nci_close()
60 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_close()
73 if (!info->phy_ops->write) in nxp_nci_send()
79 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_send()
94 const struct nxp_nci_phy_ops *phy_ops, in nxp_nci_probe() argument
107 info->phy_ops = phy_ops; in nxp_nci_probe()
113 if (info->phy_ops->set_mode) { in nxp_nci_probe()
114 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
149 if (info->phy_ops->set_mode) in nxp_nci_remove()
150 info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_remove()