Home
last modified time | relevance | path

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

12345678910

/linux/drivers/nfc/s3fwrn5/
A Ds3fwrn5.h36 const struct s3fwrn5_phy_ops *phy_ops; member
46 if (!info->phy_ops->set_mode) in s3fwrn5_set_mode()
49 info->phy_ops->set_mode(info->phy_id, mode); in s3fwrn5_set_mode()
56 if (!info->phy_ops->get_mode) in s3fwrn5_get_mode()
59 return info->phy_ops->get_mode(info->phy_id); in s3fwrn5_get_mode()
64 if (!info->phy_ops->set_wake) in s3fwrn5_set_wake()
67 info->phy_ops->set_wake(info->phy_id, wake); in s3fwrn5_set_wake()
74 if (!info->phy_ops->write) in s3fwrn5_write()
77 return info->phy_ops->write(info->phy_id, skb); in s3fwrn5_write()
81 const struct s3fwrn5_phy_ops *phy_ops);
A Dcore.c161 const struct s3fwrn5_phy_ops *phy_ops) in s3fwrn5_probe() argument
172 info->phy_ops = phy_ops; in s3fwrn5_probe()
/linux/drivers/nfc/nxp-nci/
A Dcore.c45 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()
190 if (info->phy_ops->set_mode) in nxp_nci_remove()
[all …]
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()
119 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_fw_send_chunk()
204 if (!info->phy_ops->set_mode || !info->phy_ops->write) { in nxp_nci_fw_download()
221 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_FW); in nxp_nci_fw_download()
A Dnxp-nci.h59 const struct nxp_nci_phy_ops *phy_ops; member
73 const struct nxp_nci_phy_ops *phy_ops,
/linux/drivers/char/tpm/
A Dtpm_tis_core.h110 const struct tpm_tis_phy_ops *phy_ops; member
140 return data->phy_ops->read_bytes(data, addr, len, result, in tpm_tis_read_bytes()
146 return data->phy_ops->read_bytes(data, addr, 1, result, TPM_TIS_PHYS_8); in tpm_tis_read8()
155 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), in tpm_tis_read16()
169 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), in tpm_tis_read32()
180 return data->phy_ops->write_bytes(data, addr, len, value, in tpm_tis_write_bytes()
186 return data->phy_ops->write_bytes(data, addr, 1, &value, in tpm_tis_write8()
197 rc = data->phy_ops->write_bytes(data, addr, sizeof(u32), in tpm_tis_write32()
205 if (!data->phy_ops->verify_crc) in tpm_tis_verify_crc()
207 return data->phy_ops->verify_crc(data, len, value); in tpm_tis_verify_crc()
[all …]
/linux/drivers/gpu/drm/bridge/synopsys/
A Ddw-mipi-dsi.c657 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_init() local
666 if (phy_ops->get_esc_clk_rate) { in dw_mipi_dsi_init()
850 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_dphy_timing_config() local
940 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_bridge_post_atomic_disable() local
950 if (phy_ops->power_off) in dw_mipi_dsi_bridge_post_atomic_disable()
981 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_mode_set() local
1009 ret = phy_ops->init(priv_data); in dw_mipi_dsi_mode_set()
1020 if (phy_ops->power_on) in dw_mipi_dsi_mode_set()
1021 phy_ops->power_on(dsi->plat_data->priv_data); in dw_mipi_dsi_mode_set()
1203 if (!plat_data->phy_ops->init || !plat_data->phy_ops->get_lane_mbps || in __dw_mipi_dsi_probe()
[all …]
/linux/drivers/phy/freescale/
A Dphy-fsl-imx8mq-usb.c343 static const struct phy_ops imx8mq_usb_phy_ops = {
350 static const struct phy_ops imx8mp_usb_phy_ops = {
371 const struct phy_ops *phy_ops; in imx8mq_usb_phy_probe() local
387 phy_ops = of_device_get_match_data(dev); in imx8mq_usb_phy_probe()
388 if (!phy_ops) in imx8mq_usb_phy_probe()
391 imx_phy->phy = devm_phy_create(dev, NULL, phy_ops); in imx8mq_usb_phy_probe()
/linux/Documentation/translations/zh_CN/driver-api/phy/
A Dphy.rst82 const struct phy_ops *ops);
85 const struct phy_ops *ops);
87 PHY 驱动程序可以使用上述两个 API 之一,通过传递设备指针和 phy_ops
90 phy_ops 是一组用于执行 PHY 操作(例如 init、exit、power_on 和
93phy_ops 中,PHY provider驱动程序在创建 PHY 后使用 phy_set_drvdata()
/linux/net/ethtool/
A Dstrset.c239 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in strset_prepare_set() local
245 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
246 phy_ops->get_sset_count) in strset_prepare_set()
247 ret = phy_ops->get_sset_count(phydev); in strset_prepare_set()
263 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
264 phy_ops->get_strings) in strset_prepare_set()
265 phy_ops->get_strings(phydev, strings); in strset_prepare_set()
/linux/drivers/net/ethernet/chelsio/cxgb/
A Dcphy.h131 int phy_addr, const struct cphy_ops *phy_ops, in cphy_init() argument
136 phy->ops = phy_ops; in cphy_init()
139 phy->mdio.mmds = phy_ops->mmds; in cphy_init()
/linux/include/linux/phy/
A Dphy.h84 struct phy_ops { struct
161 const struct phy_ops *ops;
277 const struct phy_ops *ops);
279 const struct phy_ops *ops);
510 const struct phy_ops *ops) in phy_create()
517 const struct phy_ops *ops) in devm_phy_create()
/linux/drivers/gpu/drm/sun4i/
A Dsun8i_hdmi_phy.c579 if (variant->phy_ops) { in sun8i_hdmi_phy_set_ops()
580 plat_data->phy_ops = variant->phy_ops; in sun8i_hdmi_phy_set_ops()
599 .phy_ops = &sun8i_a83t_hdmi_phy_ops,
605 .phy_ops = &sun8i_h3_hdmi_phy_ops,
612 .phy_ops = &sun8i_h3_hdmi_phy_ops,
618 .phy_ops = &sun8i_h3_hdmi_phy_ops,
/linux/drivers/nfc/microread/
A Dmicroread.c154 const struct nfc_phy_ops *phy_ops; member
168 return info->phy_ops->enable(info->phy_id); in microread_open()
175 info->phy_ops->disable(info->phy_id); in microread_close()
221 return info->phy_ops->write(info->phy_id, skb); in microread_xmit()
643 int microread_probe(void *phy_id, const struct nfc_phy_ops *phy_ops, in microread_probe() argument
659 info->phy_ops = phy_ops; in microread_probe()
A Dmicroread.h13 int microread_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
/linux/drivers/phy/broadcom/
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 = {
254 const struct phy_ops *ops; in sr_pcie_phy_probe()
/linux/drivers/gpu/drm/i915/display/
A Dintel_tc.c50 const struct intel_tc_phy_ops *phy_ops; member
1168 return tc->phy_ops->cold_off_domain(tc); in tc_phy_cold_off_domain()
1186 return tc->phy_ops->is_ready(tc); in tc_phy_is_ready()
1191 return tc->phy_ops->is_owned(tc); in tc_phy_is_owned()
1196 tc->phy_ops->get_hw_state(tc); in tc_phy_get_hw_state()
1393 tc->phy_ops->disconnect(tc); in tc_phy_disconnect()
1401 tc->phy_ops->init(tc); in tc_phy_init()
1867 tc->phy_ops = &xelpdp_tc_phy_ops; in intel_tc_port_init()
1869 tc->phy_ops = &adlp_tc_phy_ops; in intel_tc_port_init()
1871 tc->phy_ops = &tgl_tc_phy_ops; in intel_tc_port_init()
[all …]
/linux/drivers/phy/qualcomm/
A Dphy-qcom-ipq4019-usb.c50 static const struct phy_ops ipq4019_usb_ss_phy_ops = {
82 static const struct phy_ops ipq4019_usb_hs_phy_ops = {
/linux/drivers/nfc/fdp/
A Dfdp.c41 const struct nfc_phy_ops *phy_ops; member
241 return info->phy_ops->enable(info->phy); in fdp_nci_open()
257 ret = info->phy_ops->write(info->phy, skb); in fdp_nci_send()
699 int fdp_nci_probe(struct fdp_i2c_phy *phy, const struct nfc_phy_ops *phy_ops, in fdp_nci_probe() argument
715 info->phy_ops = phy_ops; in fdp_nci_probe()
/linux/drivers/phy/samsung/
A Dphy-exynos5-usbdrd.c365 const struct phy_ops *phy_ops; member
1043 static const struct phy_ops exynos5_usbdrd_phy_ops = {
1230 static const struct phy_ops exynos850_usbdrd_phy_ops = {
1311 static const struct phy_ops gs101_usbdrd_phy_ops = {
1415 .phy_ops = &exynos5_usbdrd_phy_ops,
1428 .phy_ops = &exynos5_usbdrd_phy_ops,
1440 .phy_ops = &exynos5_usbdrd_phy_ops,
1453 .phy_ops = &exynos5_usbdrd_phy_ops,
1465 .phy_ops = &exynos850_usbdrd_phy_ops,
1639 .phy_ops = &gs101_usbdrd_phy_ops,
[all …]
/linux/drivers/nfc/pn544/
A Dpn544.c110 const struct nfc_phy_ops *phy_ops; member
138 r = info->phy_ops->enable(info->phy_id); in pn544_hci_open()
157 info->phy_ops->disable(info->phy_id); in pn544_hci_close()
329 return info->phy_ops->write(info->phy_id, skb); in pn544_hci_xmit()
903 int pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops, in pn544_hci_probe() argument
919 info->phy_ops = phy_ops; in pn544_hci_probe()
A Dpn544.h19 int pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
/linux/drivers/nfc/st21nfca/
A Dst21nfca.h148 const struct nfc_phy_ops *phy_ops; member
167 int st21nfca_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
A Dcore.c217 r = info->phy_ops->enable(info->phy_id); in st21nfca_hci_open()
236 info->phy_ops->disable(info->phy_id); in st21nfca_hci_close()
311 return info->phy_ops->write(info->phy_id, skb); in st21nfca_hci_xmit()
937 int st21nfca_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops, in st21nfca_hci_probe() argument
953 info->phy_ops = phy_ops; in st21nfca_hci_probe()
/linux/drivers/phy/mediatek/
A Dphy-mtk-hdmi.c13 static const struct phy_ops mtk_hdmi_phy_dev_ops = {
58 static const struct phy_ops *

Completed in 39 milliseconds

12345678910