Lines Matching refs:phy_ops
45 if (info->phy_ops->set_mode) in nxp_nci_open()
46 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_NCI); in nxp_nci_open()
62 if (info->phy_ops->set_mode) in nxp_nci_close()
63 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_close()
76 if (!info->phy_ops->write) { in nxp_nci_send()
86 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_send()
135 const struct nxp_nci_phy_ops *phy_ops, in nxp_nci_probe() argument
148 info->phy_ops = phy_ops; in nxp_nci_probe()
154 if (info->phy_ops->set_mode) { in nxp_nci_probe()
155 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
190 if (info->phy_ops->set_mode) in nxp_nci_remove()
191 info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_remove()