Lines Matching refs:phy_ops
55 if (info->phy_ops->set_mode) in nxp_nci_open()
56 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_NCI); in nxp_nci_open()
72 if (info->phy_ops->set_mode) in nxp_nci_close()
73 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_close()
86 if (!info->phy_ops->write) { in nxp_nci_send()
96 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_send()
112 struct nxp_nci_phy_ops *phy_ops, unsigned int max_payload, in nxp_nci_probe() argument
126 info->phy_ops = phy_ops; in nxp_nci_probe()
132 if (info->phy_ops->set_mode) { in nxp_nci_probe()
133 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
174 if (info->phy_ops->set_mode) in nxp_nci_remove()
175 info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_remove()