/kernel/linux/linux-5.10/drivers/nfc/nxp-nci/ |
H A D | core.c | 42 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() 110 info->phy_ops = phy_ops; in nxp_nci_probe() 116 if (info->phy_ops in nxp_nci_probe() 96 nxp_nci_probe(void *phy_id, struct device *pdev, const struct nxp_nci_phy_ops *phy_ops, unsigned int max_payload, struct nci_dev **ndev) nxp_nci_probe() argument [all...] |
H A D | firmware.c | 57 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 D | nxp-nci.h | 59 const struct nxp_nci_phy_ops *phy_ops; member 73 const struct nxp_nci_phy_ops *phy_ops,
|
/kernel/linux/linux-5.10/drivers/nfc/s3fwrn5/ |
H A D | s3fwrn5.h | 36 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, unsigne [all...] |
H A D | core.c | 143 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload) in s3fwrn5_probe() 154 info->phy_ops = phy_ops; in s3fwrn5_probe() 142 s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev, const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload) s3fwrn5_probe() argument
|
/kernel/linux/linux-6.6/drivers/nfc/s3fwrn5/ |
H A D | s3fwrn5.h | 36 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); [all...] |
H A D | core.c | 161 const struct s3fwrn5_phy_ops *phy_ops) in s3fwrn5_probe() 172 info->phy_ops = phy_ops; in s3fwrn5_probe() 160 s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev, const struct s3fwrn5_phy_ops *phy_ops) s3fwrn5_probe() argument
|
/kernel/linux/linux-6.6/drivers/nfc/nxp-nci/ |
H A D | core.c | 45 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() 148 info->phy_ops = phy_ops; in nxp_nci_probe() 154 if (info->phy_ops in nxp_nci_probe() 134 nxp_nci_probe(void *phy_id, struct device *pdev, const struct nxp_nci_phy_ops *phy_ops, unsigned int max_payload, struct nci_dev **ndev) nxp_nci_probe() argument [all...] |
H A D | firmware.c | 57 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()
|
H A D | nxp-nci.h | 59 const struct nxp_nci_phy_ops *phy_ops; member 73 const struct nxp_nci_phy_ops *phy_ops,
|
/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | tpm_tis_core.h | 110 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 in tpm_tis_verify_crc() [all...] |
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm_tis_core.h | 103 const struct tpm_tis_phy_ops *phy_ops; member 122 return data->phy_ops->read_bytes(data, addr, len, result); in tpm_tis_read_bytes() 127 return data->phy_ops->read_bytes(data, addr, 1, result); in tpm_tis_read8() 133 return data->phy_ops->read16(data, addr, result); in tpm_tis_read16() 139 return data->phy_ops->read32(data, addr, result); in tpm_tis_read32() 145 return data->phy_ops->write_bytes(data, addr, len, value); in tpm_tis_write_bytes() 150 return data->phy_ops->write_bytes(data, addr, 1, &value); in tpm_tis_write8() 156 return data->phy_ops->write32(data, addr, value); in tpm_tis_write32() 170 const struct tpm_tis_phy_ops *phy_ops,
|
H A D | tpm_tis_spi_main.c | 160 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() 202 return tpm_tis_core_init(&spi->dev, &phy->priv, irq, phy_ops, NULL); in tpm_tis_spi_init() 193 tpm_tis_spi_init(struct spi_device *spi, struct tpm_tis_spi_phy *phy, int irq, const struct tpm_tis_phy_ops *phy_ops) tpm_tis_spi_init() argument
|
/kernel/linux/linux-5.10/drivers/phy/freescale/ |
H A D | phy-fsl-imx8mq-usb.c | 127 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 608 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_init() local 617 if (phy_ops->get_esc_clk_rate) { in dw_mipi_dsi_init() 618 ret = phy_ops->get_esc_clk_rate(dsi->plat_data->priv_data, in dw_mipi_dsi_init() 771 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_dphy_timing_config() local 776 ret = phy_ops->get_timing(dsi->plat_data->priv_data, in dw_mipi_dsi_dphy_timing_config() 860 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_bridge_post_disable() local 879 if (phy_ops in dw_mipi_dsi_bridge_post_disable() 910 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; dw_mipi_dsi_mode_set() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 601 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_init() local 610 if (phy_ops->get_esc_clk_rate) { in dw_mipi_dsi_init() 611 ret = phy_ops->get_esc_clk_rate(dsi->plat_data->priv_data, in dw_mipi_dsi_init() 764 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_dphy_timing_config() local 769 ret = phy_ops->get_timing(dsi->plat_data->priv_data, in dw_mipi_dsi_dphy_timing_config() 854 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_bridge_post_atomic_disable() local 864 if (phy_ops in dw_mipi_dsi_bridge_post_atomic_disable() 895 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; dw_mipi_dsi_mode_set() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 140 int phy_addr, const struct cphy_ops *phy_ops, in cphy_init() 145 phy->ops = phy_ops; in cphy_init() 148 phy->mdio.mmds = phy_ops->mmds; in cphy_init() 139 cphy_init(struct cphy *phy, struct net_device *dev, int phy_addr, const struct cphy_ops *phy_ops, const struct mdio_ops *mdio_ops) cphy_init() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 131 int phy_addr, const struct cphy_ops *phy_ops, in cphy_init() 136 phy->ops = phy_ops; in cphy_init() 139 phy->mdio.mmds = phy_ops->mmds; in cphy_init() 130 cphy_init(struct cphy *phy, struct net_device *dev, int phy_addr, const struct cphy_ops *phy_ops, const struct mdio_ops *mdio_ops) cphy_init() argument
|
/kernel/linux/linux-5.10/net/ethtool/ |
H A D | strset.c | 213 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()
|
/kernel/linux/linux-6.6/drivers/phy/freescale/ |
H A D | phy-fsl-imx8mq-usb.c | 343 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()
|
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | strset.c | 238 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in strset_prepare_set() local 244 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set() 245 phy_ops->get_sset_count) in strset_prepare_set() 246 ret = phy_ops->get_sset_count(dev->phydev); in strset_prepare_set() 262 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set() 263 phy_ops->get_strings) in strset_prepare_set() 264 phy_ops->get_strings(dev->phydev, strings); in strset_prepare_set()
|
/kernel/linux/linux-5.10/drivers/phy/ti/ |
H A D | phy-tusb1210.c | 86 static const struct phy_ops phy_ops = { variable 138 tusb->phy = ulpi_phy_create(ulpi, &phy_ops); in tusb1210_probe()
|
/kernel/linux/linux-6.6/drivers/phy/samsung/ |
H A D | phy-exynos5-usbdrd.c | 197 const struct phy_ops *phy_ops; member 738 static const struct phy_ops exynos5_usbdrd_phy_ops = { 862 static const struct phy_ops exynos850_usbdrd_phy_ops = { 946 .phy_ops = &exynos5_usbdrd_phy_ops, 954 .phy_ops = &exynos5_usbdrd_phy_ops, 961 .phy_ops = &exynos5_usbdrd_phy_ops, 969 .phy_ops = &exynos5_usbdrd_phy_ops, 976 .phy_ops = &exynos850_usbdrd_phy_ops, 1087 struct phy *phy = devm_phy_create(dev, NULL, drv_data->phy_ops); in exynos5_usbdrd_phy_probe() [all...] |
/kernel/linux/linux-5.10/include/linux/phy/ |
H A D | phy.h | 61 * struct phy_ops - set of function pointers for performing phy operations 72 struct phy_ops { struct 132 * @mutex: mutex to protect phy_ops 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()
|
/kernel/linux/linux-6.6/include/linux/phy/ |
H A D | phy.h | 71 * struct phy_ops - set of function pointers for performing phy operations 84 struct phy_ops { struct 146 * @mutex: mutex to protect phy_ops 156 const struct phy_ops *ops; 270 const struct phy_ops *ops); 272 const struct phy_ops *ops); 489 const struct phy_ops *ops) in phy_create() 496 const struct phy_ops *ops) in devm_phy_create()
|