Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/drivers/nfc/s3fwrn5/
Ds3fwrn5.h36 const struct s3fwrn5_phy_ops *phy_ops; member
47 if (!info->phy_ops->set_mode) in s3fwrn5_set_mode()
50 info->phy_ops->set_mode(info->phy_id, mode); in s3fwrn5_set_mode()
57 if (!info->phy_ops->get_mode) in s3fwrn5_get_mode()
60 return info->phy_ops->get_mode(info->phy_id); in s3fwrn5_get_mode()
65 if (!info->phy_ops->set_wake) in s3fwrn5_set_wake()
68 info->phy_ops->set_wake(info->phy_id, wake); in s3fwrn5_set_wake()
75 if (!info->phy_ops->write) in s3fwrn5_write()
78 return info->phy_ops->write(info->phy_id, skb); in s3fwrn5_write()
82 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload);
Dcore.c139 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload) in s3fwrn5_probe() argument
150 info->phy_ops = phy_ops; in s3fwrn5_probe()
/Linux-v5.4/drivers/nfc/nxp-nci/
Dcore.c42 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()
83 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_send()
99 const struct nxp_nci_phy_ops *phy_ops, in nxp_nci_probe() argument
114 info->phy_ops = phy_ops; in nxp_nci_probe()
120 if (info->phy_ops->set_mode) { in nxp_nci_probe()
121 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
[all …]
Dfirmware.c57 if (info->phy_ops->set_mode) { in nxp_nci_fw_work_complete()
58 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_fw_work_complete()
121 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_fw_send_chunk()
207 if (!info->phy_ops->set_mode || !info->phy_ops->write) { in nxp_nci_fw_download()
224 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_FW); in nxp_nci_fw_download()
Dnxp-nci.h59 const struct nxp_nci_phy_ops *phy_ops; member
73 const struct nxp_nci_phy_ops *phy_ops,
/Linux-v5.4/drivers/char/tpm/
Dtpm_tis_core.h97 const struct tpm_tis_phy_ops *phy_ops; member
114 return data->phy_ops->read_bytes(data, addr, len, result); in tpm_tis_read_bytes()
119 return data->phy_ops->read_bytes(data, addr, 1, result); in tpm_tis_read8()
125 return data->phy_ops->read16(data, addr, result); in tpm_tis_read16()
131 return data->phy_ops->read32(data, addr, result); in tpm_tis_read32()
137 return data->phy_ops->write_bytes(data, addr, len, value); in tpm_tis_write_bytes()
142 return data->phy_ops->write_bytes(data, addr, 1, &value); in tpm_tis_write8()
148 return data->phy_ops->write32(data, addr, value); in tpm_tis_write32()
162 const struct tpm_tis_phy_ops *phy_ops,
Dtpm_tis_spi.c154 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), in tpm_tis_spi_read16()
167 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), in tpm_tis_spi_read32()
181 rc = data->phy_ops->write_bytes(data, addr, sizeof(u32), in tpm_tis_spi_write32()
/Linux-v5.4/include/linux/phy/
Dphy.h66 struct phy_ops { struct
133 const struct phy_ops *ops;
242 const struct phy_ops *ops);
244 const struct phy_ops *ops);
442 const struct phy_ops *ops) in phy_create()
449 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-v5.4/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c798 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_bridge_post_disable() local
800 if (phy_ops->power_off) in dw_mipi_dsi_bridge_post_disable()
801 phy_ops->power_off(dsi->plat_data->priv_data); in dw_mipi_dsi_bridge_post_disable()
847 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_mode_set() local
854 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
875 ret = phy_ops->init(priv_data); in dw_mipi_dsi_mode_set()
901 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_bridge_enable() local
908 if (phy_ops->power_on) in dw_mipi_dsi_bridge_enable()
909 phy_ops->power_on(dsi->plat_data->priv_data); in dw_mipi_dsi_bridge_enable()
994 if (!plat_data->phy_ops->init || !plat_data->phy_ops->get_lane_mbps) { in __dw_mipi_dsi_probe()
/Linux-v5.4/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-v5.4/drivers/phy/ti/
Dphy-tusb1210.c86 static const struct phy_ops phy_ops = { variable
138 tusb->phy = ulpi_phy_create(ulpi, &phy_ops); in tusb1210_probe()
Dphy-da8xx-usb.c56 static const struct phy_ops da8xx_usb11_phy_ops = {
114 static const struct phy_ops da8xx_usb20_phy_ops = {
/Linux-v5.4/drivers/nfc/microread/
Dmicroread.c155 struct nfc_phy_ops *phy_ops; member
169 return info->phy_ops->enable(info->phy_id); in microread_open()
176 info->phy_ops->disable(info->phy_id); in microread_close()
222 return info->phy_ops->write(info->phy_id, skb); in microread_xmit()
645 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, in microread_probe() argument
661 info->phy_ops = phy_ops; in microread_probe()
Dmicroread.h13 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
/Linux-v5.4/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-v5.4/drivers/nfc/st21nfca/
Dst21nfca.h147 struct nfc_phy_ops *phy_ops; member
166 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops,
Dcore.c218 r = info->phy_ops->enable(info->phy_id); in st21nfca_hci_open()
237 info->phy_ops->disable(info->phy_id); in st21nfca_hci_close()
312 return info->phy_ops->write(info->phy_id, skb); in st21nfca_hci_xmit()
939 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, in st21nfca_hci_probe() argument
955 info->phy_ops = phy_ops; in st21nfca_hci_probe()
/Linux-v5.4/drivers/nfc/fdp/
Dfdp.c41 struct nfc_phy_ops *phy_ops; member
246 r = info->phy_ops->enable(info->phy); in fdp_nci_open()
270 return info->phy_ops->write(info->phy, skb); in fdp_nci_send()
733 int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops, in fdp_nci_probe() argument
749 info->phy_ops = phy_ops; in fdp_nci_probe()
Dfdp.h24 int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops,
/Linux-v5.4/drivers/nfc/pn544/
Dpn544.c111 struct nfc_phy_ops *phy_ops; member
139 r = info->phy_ops->enable(info->phy_id); in pn544_hci_open()
158 info->phy_ops->disable(info->phy_id); in pn544_hci_close()
330 return info->phy_ops->write(info->phy_id, skb); in pn544_hci_xmit()
904 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, in pn544_hci_probe() argument
919 info->phy_ops = phy_ops; in pn544_hci_probe()
Dpn544.h19 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
/Linux-v5.4/drivers/nfc/pn533/
Dpn533.h170 struct pn533_phy_ops *phy_ops; member
217 struct pn533_phy_ops *phy_ops,
/Linux-v5.4/Documentation/driver-api/phy/
Dphy.rst83 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-v5.4/drivers/nfc/st-nci/
Dndlc.h48 int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev,

1234567