Home
last modified time | relevance | path

Searched refs:phy_ops (Results 1 – 25 of 131) sorted by relevance

123456

/Linux-v4.19/drivers/nfc/s3fwrn5/
Ds3fwrn5.h47 const struct s3fwrn5_phy_ops *phy_ops; member
58 if (!info->phy_ops->set_mode) in s3fwrn5_set_mode()
61 info->phy_ops->set_mode(info->phy_id, mode); in s3fwrn5_set_mode()
68 if (!info->phy_ops->get_mode) in s3fwrn5_get_mode()
71 return info->phy_ops->get_mode(info->phy_id); in s3fwrn5_get_mode()
76 if (!info->phy_ops->set_wake) in s3fwrn5_set_wake()
79 info->phy_ops->set_wake(info->phy_id, wake); in s3fwrn5_set_wake()
86 if (!info->phy_ops->write) in s3fwrn5_write()
89 return info->phy_ops->write(info->phy_id, skb); in s3fwrn5_write()
93 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload);
Dcore.c150 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload) in s3fwrn5_probe() argument
161 info->phy_ops = phy_ops; in s3fwrn5_probe()
/Linux-v4.19/drivers/nfc/nxp-nci/
Dcore.c55 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 const struct nxp_nci_phy_ops *phy_ops, in nxp_nci_probe() argument
127 info->phy_ops = phy_ops; in nxp_nci_probe()
133 if (info->phy_ops->set_mode) { in nxp_nci_probe()
134 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
[all …]
Dfirmware.c68 if (info->phy_ops->set_mode) { in nxp_nci_fw_work_complete()
69 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_fw_work_complete()
132 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_fw_send_chunk()
218 if (!info->phy_ops->set_mode || !info->phy_ops->write) { in nxp_nci_fw_download()
235 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_FW); in nxp_nci_fw_download()
Dnxp-nci.h71 const struct nxp_nci_phy_ops *phy_ops; member
85 const struct nxp_nci_phy_ops *phy_ops,
/Linux-v4.19/drivers/char/tpm/
Dtpm_tis_core.h101 const struct tpm_tis_phy_ops *phy_ops; member
118 return data->phy_ops->read_bytes(data, addr, len, result); in tpm_tis_read_bytes()
123 return data->phy_ops->read_bytes(data, addr, 1, result); in tpm_tis_read8()
129 return data->phy_ops->read16(data, addr, result); in tpm_tis_read16()
135 return data->phy_ops->read32(data, addr, result); in tpm_tis_read32()
141 return data->phy_ops->write_bytes(data, addr, len, value); in tpm_tis_write_bytes()
146 return data->phy_ops->write_bytes(data, addr, 1, &value); in tpm_tis_write8()
152 return data->phy_ops->write32(data, addr, value); in tpm_tis_write32()
166 const struct tpm_tis_phy_ops *phy_ops,
Dtpm_tis_spi.c158 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), in tpm_tis_spi_read16()
171 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), in tpm_tis_spi_read32()
185 rc = data->phy_ops->write_bytes(data, addr, sizeof(u32), in tpm_tis_spi_write32()
/Linux-v4.19/include/linux/phy/
Dphy.h56 struct phy_ops { struct
91 const struct phy_ops *ops;
194 const struct phy_ops *ops);
196 const struct phy_ops *ops);
372 const struct phy_ops *ops) in phy_create()
379 const struct phy_ops *ops) in devm_phy_create()
Dulpi_phy.h9 *ulpi_phy_create(struct ulpi *ulpi, const struct phy_ops *ops) in ulpi_phy_create()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h140 int phy_addr, const struct cphy_ops *phy_ops, in cphy_init() argument
145 phy->ops = phy_ops; in cphy_init()
148 phy->mdio.mmds = phy_ops->mmds; in cphy_init()
/Linux-v4.19/drivers/phy/ti/
Dphy-tusb1210.c89 static const struct phy_ops phy_ops = { variable
141 tusb->phy = ulpi_phy_create(ulpi, &phy_ops); in tusb1210_probe()
Dphy-da8xx-usb.c64 static const struct phy_ops da8xx_usb11_phy_ops = {
121 static const struct phy_ops da8xx_usb20_phy_ops = {
/Linux-v4.19/drivers/nfc/microread/
Dmicroread.c166 struct nfc_phy_ops *phy_ops; member
180 return info->phy_ops->enable(info->phy_id); in microread_open()
187 info->phy_ops->disable(info->phy_id); in microread_close()
233 return info->phy_ops->write(info->phy_id, skb); in microread_xmit()
656 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, in microread_probe() argument
672 info->phy_ops = phy_ops; in microread_probe()
Dmicroread.h25 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
/Linux-v4.19/drivers/phy/broadcom/
Dphy-bcm-sr-pcie.c187 static const struct phy_ops sr_pcie_phy_ops = {
192 static const struct phy_ops sr_paxc_phy_ops = {
257 const struct phy_ops *ops; in sr_pcie_phy_probe()
/Linux-v4.19/drivers/nfc/st21nfca/
Dst21nfca.h158 struct nfc_phy_ops *phy_ops; member
177 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops,
Dcore.c229 r = info->phy_ops->enable(info->phy_id); in st21nfca_hci_open()
248 info->phy_ops->disable(info->phy_id); in st21nfca_hci_close()
323 return info->phy_ops->write(info->phy_id, skb); in st21nfca_hci_xmit()
949 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, in st21nfca_hci_probe() argument
965 info->phy_ops = phy_ops; in st21nfca_hci_probe()
/Linux-v4.19/drivers/nfc/fdp/
Dfdp.c49 struct nfc_phy_ops *phy_ops; member
254 r = info->phy_ops->enable(info->phy); in fdp_nci_open()
278 return info->phy_ops->write(info->phy, skb); in fdp_nci_send()
741 int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops, in fdp_nci_probe() argument
757 info->phy_ops = phy_ops; in fdp_nci_probe()
Dfdp.h32 int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops,
/Linux-v4.19/drivers/nfc/pn544/
Dpn544.c122 struct nfc_phy_ops *phy_ops; member
150 r = info->phy_ops->enable(info->phy_id); in pn544_hci_open()
169 info->phy_ops->disable(info->phy_id); in pn544_hci_close()
341 return info->phy_ops->write(info->phy_id, skb); in pn544_hci_xmit()
915 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, in pn544_hci_probe() argument
930 info->phy_ops = phy_ops; in pn544_hci_probe()
Dpn544.h31 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
/Linux-v4.19/drivers/nfc/pn533/
Dpn533.h182 struct pn533_phy_ops *phy_ops; member
229 struct pn533_phy_ops *phy_ops,
/Linux-v4.19/Documentation/
Dphy.txt83 const struct phy_ops *ops);
86 const struct phy_ops *ops);
90 phy_ops is a set of function pointers for performing PHY operations such as
93 Inorder to dereference the private data (in phy_ops), the phy provider driver
95 phy_ops to get back the private data.
/Linux-v4.19/include/drm/bridge/
Ddw_mipi_dsi.h29 const struct dw_mipi_dsi_phy_ops *phy_ops; member
/Linux-v4.19/drivers/nfc/st-nci/
Dndlc.h59 int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev,

123456