/linux/drivers/nfc/s3fwrn5/ |
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);
|
A D | core.c | 156 const struct s3fwrn5_phy_ops *phy_ops) in s3fwrn5_probe() argument 167 info->phy_ops = phy_ops; in s3fwrn5_probe()
|
/linux/drivers/nfc/nxp-nci/ |
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() 94 const struct nxp_nci_phy_ops *phy_ops, in nxp_nci_probe() argument 107 info->phy_ops = phy_ops; in nxp_nci_probe() 113 if (info->phy_ops->set_mode) { in nxp_nci_probe() 149 if (info->phy_ops->set_mode) in nxp_nci_remove() [all …]
|
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()
|
A D | nxp-nci.h | 59 const struct nxp_nci_phy_ops *phy_ops; member 73 const struct nxp_nci_phy_ops *phy_ops,
|
/linux/drivers/char/tpm/ |
A D | tpm_tis_core.h | 101 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,
|
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() argument 202 return tpm_tis_core_init(&spi->dev, &phy->priv, irq, phy_ops, NULL); in tpm_tis_spi_init()
|
/linux/drivers/phy/freescale/ |
A D | phy-fsl-imx8mq-usb.c | 127 static const struct phy_ops imx8mq_usb_phy_ops = { 134 static const struct phy_ops imx8mp_usb_phy_ops = { 155 const struct phy_ops *phy_ops; in imx8mq_usb_phy_probe() local 171 phy_ops = of_device_get_match_data(dev); in imx8mq_usb_phy_probe() 172 if (!phy_ops) in imx8mq_usb_phy_probe() 175 imx_phy->phy = devm_phy_create(dev, NULL, phy_ops); in imx8mq_usb_phy_probe()
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-mipi-dsi.c | 625 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_init() local 634 if (phy_ops->get_esc_clk_rate) { in dw_mipi_dsi_init() 788 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_dphy_timing_config() local 877 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_bridge_post_disable() local 896 if (phy_ops->power_off) in dw_mipi_dsi_bridge_post_disable() 927 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_mode_set() local 955 ret = phy_ops->init(priv_data); in dw_mipi_dsi_mode_set() 966 if (phy_ops->power_on) in dw_mipi_dsi_mode_set() 967 phy_ops->power_on(dsi->plat_data->priv_data); in dw_mipi_dsi_mode_set() 1144 if (!plat_data->phy_ops->init || !plat_data->phy_ops->get_lane_mbps || in __dw_mipi_dsi_probe() [all …]
|
/linux/net/ethtool/ |
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()
|
/linux/include/linux/phy/ |
A D | phy.h | 80 struct phy_ops { struct 151 const struct phy_ops *ops; 263 const struct phy_ops *ops); 265 const struct phy_ops *ops); 481 const struct phy_ops *ops) in phy_create() 488 const struct phy_ops *ops) in devm_phy_create()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | cphy.h | 140 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/drivers/phy/ti/ |
A D | phy-tusb1210.c | 87 static const struct phy_ops phy_ops = { variable 139 tusb->phy = ulpi_phy_create(ulpi, &phy_ops); in tusb1210_probe()
|
A D | phy-da8xx-usb.c | 56 static const struct phy_ops da8xx_usb11_phy_ops = { 114 static const struct phy_ops da8xx_usb20_phy_ops = {
|
/linux/drivers/nfc/microread/ |
A D | microread.c | 154 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 D | microread.h | 13 int microread_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
|
/linux/drivers/phy/broadcom/ |
A D | phy-bcm-sr-pcie.c | 187 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/nfc/fdp/ |
A D | fdp.c | 41 const struct nfc_phy_ops *phy_ops; member 241 return info->phy_ops->enable(info->phy); in fdp_nci_open() 256 return info->phy_ops->write(info->phy, skb); in fdp_nci_send() 691 int fdp_nci_probe(struct fdp_i2c_phy *phy, const struct nfc_phy_ops *phy_ops, in fdp_nci_probe() argument 707 info->phy_ops = phy_ops; in fdp_nci_probe()
|
/linux/drivers/nfc/pn544/ |
A D | pn544.c | 110 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()
|
/linux/drivers/phy/qualcomm/ |
A D | phy-qcom-ipq4019-usb.c | 51 static const struct phy_ops ipq4019_usb_ss_phy_ops = { 83 static const struct phy_ops ipq4019_usb_hs_phy_ops = {
|
/linux/drivers/nfc/st21nfca/ |
A D | st21nfca.h | 147 const struct nfc_phy_ops *phy_ops; member 166 int st21nfca_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
|
A D | core.c | 217 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/Documentation/driver-api/phy/ |
A D | phy.rst | 83 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/drivers/nfc/pn533/ |
A D | pn533.c | 462 rc = dev->phy_ops->send_frame(dev, req); in __pn533_send_async() 533 rc = dev->phy_ops->send_frame(dev, req); in pn533_send_cmd_direct_async() 1173 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_tm_mi_send() 2427 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_recv() 2481 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_send() 2595 if (dev->phy_ops->dev_up) { in pn533_dev_up() 2596 rc = dev->phy_ops->dev_up(dev); in pn533_dev_up() 2618 if (dev->phy_ops->dev_down && !ret) in pn533_dev_down() 2619 ret = dev->phy_ops->dev_down(dev); in pn533_dev_down() 2736 const struct pn533_phy_ops *phy_ops, in pn53x_common_init() argument [all …]
|
A D | pn533.h | 180 const struct pn533_phy_ops *phy_ops; member 235 const struct pn533_phy_ops *phy_ops,
|