Home
last modified time | relevance | path

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

12345678

/linux/drivers/char/tpm/
H A Dtpm_tis_core.h50 const struct tpm_tis_phy_ops *phy_ops; member
80 return data->phy_ops->read_bytes(data, addr, len, result, in tpm_tis_read_bytes()
86 return data->phy_ops->read_bytes(data, addr, 1, result, TPM_TIS_PHYS_8); in tpm_tis_read8()
95 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), in tpm_tis_read16()
109 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), in tpm_tis_read32()
120 return data->phy_ops->write_bytes(data, addr, len, value, in tpm_tis_write_bytes()
126 return data->phy_ops->write_bytes(data, addr, 1, &value, in tpm_tis_write8()
137 rc = data->phy_ops->write_bytes(data, addr, sizeof(u32), in tpm_tis_write32()
145 if (!data->phy_ops->verify_crc) in tpm_tis_verify_crc()
147 return data->phy_ops->verify_crc(data, len, value); in tpm_tis_verify_crc()
[all …]
H A Dtpm_tis_spi.h29 int irq, const struct tpm_tis_phy_ops *phy_ops);
/linux/Documentation/translations/zh_CN/driver-api/phy/
H 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 和
93 在 phy_ops 中,PHY provider驱动程序在创建 PHY 后使用 phy_set_drvdata()
/linux/drivers/phy/spacemit/
H A Dphy-k3-common.h22 extern const struct phy_ops k3_pcie_phy_ops;
23 extern const struct phy_ops k3_usb3_phy_ops;
/linux/net/ethtool/
H A Dstrset.c251 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in strset_prepare_set() local
257 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
258 phy_ops->get_sset_count) in strset_prepare_set()
259 ret = phy_ops->get_sset_count(phydev); in strset_prepare_set()
275 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
276 phy_ops->get_strings) in strset_prepare_set()
277 phy_ops->get_strings(phydev, strings); in strset_prepare_set()
/linux/drivers/net/ethernet/chelsio/cxgb/
H 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/drivers/nfc/nxp-nci/
H A Dnxp-nci.h59 const struct nxp_nci_phy_ops *phy_ops; member
73 const struct nxp_nci_phy_ops *phy_ops,
/linux/drivers/nfc/microread/
H 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()
670 int microread_probe(void *phy_id, const struct nfc_phy_ops *phy_ops, in microread_probe() argument
686 info->phy_ops = phy_ops; in microread_probe()
H A Dmicroread.h13 int microread_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
/linux/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 = {
254 const struct phy_ops *ops; in sr_pcie_phy_probe()
/linux/drivers/phy/samsung/
H A Dphy-exynos5-usbdrd.c481 const struct phy_ops *phy_ops; member
1183 static const struct phy_ops exynos5_usbdrd_phy_ops = {
1350 static const struct phy_ops exynos7870_usbdrd_phy_ops = {
1495 static const struct phy_ops exynos2200_usbdrd_phy_ops = {
1684 static const struct phy_ops exynos850_usbdrd_phy_ops = {
1768 static const struct phy_ops gs101_usbdrd_phy_ops = {
1996 .phy_ops = &exynos2200_usbdrd_phy_ops,
2009 .phy_ops = &exynos5_usbdrd_phy_ops,
2022 .phy_ops = &exynos5_usbdrd_phy_ops,
2034 .phy_ops = &exynos5_usbdrd_phy_ops,
[all …]
/linux/drivers/nfc/pn544/
H 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()
902 int pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops, in pn544_hci_probe() argument
918 info->phy_ops = phy_ops; in pn544_hci_probe()
H A Dpn544.h19 int pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
/linux/drivers/nfc/fdp/
H 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()
H A Dfdp.h24 int fdp_nci_probe(struct fdp_i2c_phy *phy, const struct nfc_phy_ops *phy_ops,
/linux/drivers/phy/qualcomm/
H 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/st21nfca/
H 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,
H 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()
935 int st21nfca_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops, in st21nfca_hci_probe() argument
951 info->phy_ops = phy_ops; in st21nfca_hci_probe()
/linux/drivers/nfc/pn533/
H A Dpn533.h182 const struct pn533_phy_ops *phy_ops; member
237 const struct pn533_phy_ops *phy_ops,
H A Dpn533.c444 rc = dev->phy_ops->send_frame(dev, req); in pn533_send_cmd_frame()
1184 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_tm_mi_send()
1625 dev->phy_ops->abort_cmd(dev, GFP_ATOMIC); in pn533_wq_poll()
1769 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_stop_poll()
2063 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_dep_link_down()
2445 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_recv()
2499 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_send()
2613 if (dev->phy_ops->dev_up) { in pn533_dev_up()
2614 rc = dev->phy_ops->dev_up(dev); in pn533_dev_up()
2636 if (dev->phy_ops->dev_down && !ret) in pn533_dev_down()
[all …]
/linux/drivers/phy/renesas/
H A Dphy-rcar-gen2.c71 const struct phy_ops *gen2_phy_ops;
246 static const struct phy_ops rcar_gen2_phy_ops = {
254 static const struct phy_ops rz_g1c_phy_ops = {
/linux/include/linux/phy/
H A Dulpi_phy.h9 *ulpi_phy_create(struct ulpi *ulpi, const struct phy_ops *ops) in ulpi_phy_create()
/linux/drivers/phy/marvell/
H A Dphy-mvebu-a3700-utmi.c68 const struct phy_ops *ops;
184 static const struct phy_ops mvebu_a3700_utmi_phy_ops = {
/linux/drivers/nfc/st-nci/
H A Dndlc.h48 int ndlc_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
/linux/drivers/phy/ti/
H A Dphy-da8xx-usb.c65 static const struct phy_ops da8xx_usb11_phy_ops = {
123 static const struct phy_ops da8xx_usb20_phy_ops = {

12345678