Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/drivers/nfc/s3fwrn5/
H A 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);
H A Dcore.c143 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload) in s3fwrn5_probe() argument
154 info->phy_ops = phy_ops; in s3fwrn5_probe()
/OK3568_Linux_fs/kernel/drivers/nfc/nxp-nci/
H A 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()
79 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_send()
97 const struct nxp_nci_phy_ops *phy_ops, in nxp_nci_probe() argument
110 info->phy_ops = phy_ops; in nxp_nci_probe()
116 if (info->phy_ops->set_mode) { in nxp_nci_probe()
117 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
[all …]
H A 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()
H A Dnxp-nci.h59 const struct nxp_nci_phy_ops *phy_ops; member
73 const struct nxp_nci_phy_ops *phy_ops,
/OK3568_Linux_fs/u-boot/drivers/phy/
H A Dphy-uclass.c14 static inline struct phy_ops *phy_dev_ops(struct udevice *dev) in phy_dev_ops()
16 return (struct phy_ops *)dev->driver->ops; in phy_dev_ops()
41 struct phy_ops *ops; in generic_phy_get_by_index()
101 struct phy_ops const *ops; in generic_phy_init()
112 struct phy_ops const *ops; in generic_phy_reset()
123 struct phy_ops const *ops; in generic_phy_exit()
134 struct phy_ops const *ops; in generic_phy_power_on()
145 struct phy_ops const *ops; in generic_phy_power_off()
156 struct phy_ops const *ops; in generic_phy_configure()
168 struct phy_ops const *ops; in generic_phy_validate()
[all …]
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm_tis_core.h101 const struct tpm_tis_phy_ops *phy_ops; member
120 return data->phy_ops->read_bytes(data, addr, len, result); in tpm_tis_read_bytes()
125 return data->phy_ops->read_bytes(data, addr, 1, result); in tpm_tis_read8()
131 return data->phy_ops->read16(data, addr, result); in tpm_tis_read16()
137 return data->phy_ops->read32(data, addr, result); in tpm_tis_read32()
143 return data->phy_ops->write_bytes(data, addr, len, value); in tpm_tis_write_bytes()
148 return data->phy_ops->write_bytes(data, addr, 1, &value); in tpm_tis_write8()
154 return data->phy_ops->write32(data, addr, value); in tpm_tis_write32()
168 const struct tpm_tis_phy_ops *phy_ops,
H A Dtpm_tis_spi_main.c160 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), in tpm_tis_spi_read16()
173 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), in tpm_tis_spi_read32()
187 rc = data->phy_ops->write_bytes(data, addr, sizeof(u32), in tpm_tis_spi_write32()
194 int irq, const struct tpm_tis_phy_ops *phy_ops) in tpm_tis_spi_init() argument
202 return tpm_tis_core_init(&spi->dev, &phy->priv, irq, phy_ops, NULL); in tpm_tis_spi_init()
/OK3568_Linux_fs/kernel/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c127 static const struct phy_ops imx8mq_usb_phy_ops = {
134 static struct phy_ops imx8mp_usb_phy_ops = {
156 const struct phy_ops *phy_ops; in imx8mq_usb_phy_probe() local
173 phy_ops = of_device_get_match_data(dev); in imx8mq_usb_phy_probe()
174 if (!phy_ops) in imx8mq_usb_phy_probe()
177 imx_phy->phy = devm_phy_create(dev, NULL, phy_ops); in imx8mq_usb_phy_probe()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi.c612 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_init() local
621 if (phy_ops->get_esc_clk_rate) { in dw_mipi_dsi_init()
622 ret = phy_ops->get_esc_clk_rate(dsi->plat_data->priv_data, in dw_mipi_dsi_init()
775 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_dphy_timing_config() local
780 ret = phy_ops->get_timing(dsi->plat_data->priv_data, in dw_mipi_dsi_dphy_timing_config()
863 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_post_disable() local
865 if (phy_ops->power_off) in dw_mipi_dsi_post_disable()
866 phy_ops->power_off(dsi->plat_data->priv_data); in dw_mipi_dsi_post_disable()
924 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_pre_enable() local
936 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_pre_enable()
[all …]
/OK3568_Linux_fs/kernel/net/ethtool/
H A Dstrset.c213 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in strset_prepare_set() local
219 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
220 phy_ops->get_sset_count) in strset_prepare_set()
221 ret = phy_ops->get_sset_count(dev->phydev); in strset_prepare_set()
237 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
238 phy_ops->get_strings) in strset_prepare_set()
239 phy_ops->get_strings(dev->phydev, strings); in strset_prepare_set()
/OK3568_Linux_fs/kernel/include/linux/phy/
H A Dphy.h72 struct phy_ops { struct
141 const struct phy_ops *ops;
251 const struct phy_ops *ops);
253 const struct phy_ops *ops);
455 const struct phy_ops *ops) in phy_create()
462 const struct phy_ops *ops) in devm_phy_create()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb/
H A 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()
/OK3568_Linux_fs/kernel/drivers/phy/ti/
H A Dphy-tusb1210.c86 static const struct phy_ops phy_ops = { variable
138 tusb->phy = ulpi_phy_create(ulpi, &phy_ops); in tusb1210_probe()
H A Dphy-da8xx-usb.c56 static const struct phy_ops da8xx_usb11_phy_ops = {
114 static const struct phy_ops da8xx_usb20_phy_ops = {
/OK3568_Linux_fs/kernel/drivers/nfc/microread/
H A 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()
/OK3568_Linux_fs/kernel/drivers/phy/broadcom/
H A 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()
/OK3568_Linux_fs/kernel/drivers/nfc/fdp/
H A Dfdp.c41 struct nfc_phy_ops *phy_ops; member
242 r = info->phy_ops->enable(info->phy); in fdp_nci_open()
260 ret = info->phy_ops->write(info->phy, skb); in fdp_nci_send()
714 int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops, in fdp_nci_probe() argument
730 info->phy_ops = phy_ops; in fdp_nci_probe()
/OK3568_Linux_fs/kernel/drivers/nfc/pn544/
H A 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()
/OK3568_Linux_fs/kernel/drivers/phy/qualcomm/
H A Dphy-qcom-ipq4019-usb.c51 static const struct phy_ops ipq4019_usb_ss_phy_ops = {
83 static const struct phy_ops ipq4019_usb_hs_phy_ops = {
/OK3568_Linux_fs/kernel/drivers/nfc/st21nfca/
H A Dst21nfca.h148 struct nfc_phy_ops *phy_ops; member
167 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops,
H A 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()
938 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, in st21nfca_hci_probe() argument
954 info->phy_ops = phy_ops; in st21nfca_hci_probe()
/OK3568_Linux_fs/kernel/Documentation/driver-api/phy/
H A 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.
/OK3568_Linux_fs/kernel/drivers/nfc/pn533/
H A Dpn533.c462 rc = dev->phy_ops->send_frame(dev, req); in __pn533_send_async()
541 rc = dev->phy_ops->send_frame(dev, req); in pn533_send_cmd_direct_async()
581 rc = dev->phy_ops->send_frame(dev, cmd->req); in pn533_wq_cmd()
1187 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_tm_mi_send()
1643 dev->phy_ops->abort_cmd(dev, GFP_ATOMIC); in pn533_wq_poll()
1781 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_stop_poll()
2083 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_dep_link_down()
2477 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_recv()
2533 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_send()
2651 if (dev->phy_ops->dev_up) { in pn533_dev_up()
[all …]
H A Dpn533.h180 struct pn533_phy_ops *phy_ops; member
235 struct pn533_phy_ops *phy_ops,

123456789