| /linux/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() argument 148 info->phy_ops = phy_ops; in nxp_nci_probe() 154 if (info->phy_ops->set_mode) { in nxp_nci_probe() 155 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe() [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,
|
| /linux/drivers/char/tpm/ |
| H A D | tpm_tis_core.h | 111 const struct tpm_tis_phy_ops *phy_ops; member 141 return data->phy_ops->read_bytes(data, addr, len, result, in tpm_tis_read_bytes() 147 return data->phy_ops->read_bytes(data, addr, 1, result, TPM_TIS_PHYS_8); in tpm_tis_read8() 156 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), in tpm_tis_read16() 170 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), in tpm_tis_read32() 181 return data->phy_ops->write_bytes(data, addr, len, value, in tpm_tis_write_bytes() 187 return data->phy_ops->write_bytes(data, addr, 1, &value, in tpm_tis_write8() 198 rc = data->phy_ops->write_bytes(data, addr, sizeof(u32), in tpm_tis_write32() 206 if (!data->phy_ops->verify_crc) in tpm_tis_verify_crc() 208 return data->phy_ops->verify_crc(data, len, value); in tpm_tis_verify_crc() [all …]
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-mipi-dsi2.c | 353 const struct dw_mipi_dsi2_phy_ops *phy_ops = dsi2->plat_data->phy_ops; in dw_mipi_dsi2_lp2hs_or_hs2lp_cfg() local 357 ret = phy_ops->get_timing(dsi2->plat_data->priv_data, in dw_mipi_dsi2_lp2hs_or_hs2lp_cfg() 368 const struct dw_mipi_dsi2_phy_ops *phy_ops = dsi2->plat_data->phy_ops; in dw_mipi_dsi2_phy_init() local 372 phy_ops->get_interface(dsi2->plat_data->priv_data, &iface); in dw_mipi_dsi2_phy_init() 752 const struct dw_mipi_dsi2_phy_ops *phy_ops = dsi2->plat_data->phy_ops; in dw_mipi_dsi2_bridge_post_atomic_disable() local 766 if (phy_ops->power_off) in dw_mipi_dsi2_bridge_post_atomic_disable() 767 phy_ops in dw_mipi_dsi2_bridge_post_atomic_disable() 783 const struct dw_mipi_dsi2_phy_ops *phy_ops = dsi2->plat_data->phy_ops; dw_mipi_dsi2_mode_set() local [all...] |
| H A D | dw-mipi-dsi.c | 658 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_init() local 667 if (phy_ops->get_esc_clk_rate) { in dw_mipi_dsi_init() 668 ret = phy_ops->get_esc_clk_rate(dsi->plat_data->priv_data, in dw_mipi_dsi_init() 851 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_dphy_timing_config() local 856 ret = phy_ops->get_timing(dsi->plat_data->priv_data, in dw_mipi_dsi_dphy_timing_config() 941 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_bridge_post_atomic_disable() local 951 if (phy_ops in dw_mipi_dsi_bridge_post_atomic_disable() 982 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; dw_mipi_dsi_mode_set() local [all...] |
| /linux/Documentation/translations/zh_CN/driver-api/phy/ |
| H A D | phy.rst | 82 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/net/ethtool/ |
| H A D | strset.c | 249 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in strset_prepare_set() local 255 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set() 256 phy_ops->get_sset_count) in strset_prepare_set() 257 ret = phy_ops->get_sset_count(phydev); in strset_prepare_set() 273 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set() 274 phy_ops->get_strings) in strset_prepare_set() 275 phy_ops->get_strings(phydev, strings); in strset_prepare_set()
|
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun8i_hdmi_phy.c | 579 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/net/ethernet/chelsio/cxgb/ |
| H A D | cphy.h | 131 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/microread/ |
| H 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()
|
| H A D | microread.h | 13 int microread_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
|
| /linux/drivers/phy/freescale/ |
| H A D | phy-fsl-imx8mq-usb.c | 663 static const struct phy_ops imx8mq_usb_phy_ops = { 670 static const struct phy_ops imx8mp_usb_phy_ops = { 693 const struct phy_ops *phy_ops; in imx8mq_usb_phy_probe() local 716 phy_ops = of_device_get_match_data(dev); in imx8mq_usb_phy_probe() 717 if (!phy_ops) in imx8mq_usb_phy_probe() 720 imx_phy->phy = devm_phy_create(dev, NULL, phy_ops); in imx8mq_usb_phy_probe()
|
| /linux/drivers/phy/broadcom/ |
| H 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/ |
| H 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() 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 D | fdp.h | 24 int fdp_nci_probe(struct fdp_i2c_phy *phy, const struct nfc_phy_ops *phy_ops,
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_tc.c | 51 const struct intel_tc_phy_ops *phy_ops; member 1263 return tc->phy_ops->cold_off_domain(tc); in tc_phy_cold_off_domain() 1271 mask = tc->phy_ops->hpd_live_status(tc); in tc_phy_hpd_live_status() 1281 return tc->phy_ops->is_ready(tc); in tc_phy_is_ready() 1286 return tc->phy_ops->is_owned(tc); in tc_phy_is_owned() 1291 tc->phy_ops->get_hw_state(tc); in tc_phy_get_hw_state() 1485 connected = tc->phy_ops->connect(tc, required_lanes); in tc_phy_connect() 1488 connected = tc->phy_ops->connect(tc, required_lanes); in tc_phy_connect() 1497 tc->phy_ops->disconnect(tc); in tc_phy_disconnect() 1505 tc->phy_ops in tc_phy_init() [all...] |
| /linux/drivers/nfc/pn544/ |
| H 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()
|
| H A D | pn544.h | 19 int pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-ipq4019-usb.c | 50 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 D | st21nfca.h | 148 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 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/drivers/gpu/drm/rockchip/ |
| H A D | dw_hdmi_qp-rockchip.c | 428 const struct dw_hdmi_qp_phy_ops *phy_ops; member 437 .phy_ops = &rk3576_hdmi_phy_ops, 447 .phy_ops = &rk3588_hdmi_phy_ops, 511 plat_data.phy_ops = cfg->phy_ops; in dw_hdmi_qp_rockchip_bind()
|
| /linux/drivers/nfc/pn533/ |
| H 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() 573 rc = dev->phy_ops->send_frame(dev, cmd->req); in pn533_wq_cmd() 1173 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_tm_mi_send() 1613 dev->phy_ops->abort_cmd(dev, GFP_ATOMIC); in pn533_wq_poll() 1756 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_stop_poll() 2050 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_dep_link_down() 2432 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_recv() 2486 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_send() 2600 if (dev->phy_ops in pn533_dev_up() 2741 pn53x_common_init(u32 device_type,enum pn533_protocol_type protocol_type,void * phy,const struct pn533_phy_ops * phy_ops,struct pn533_frame_ops * fops,struct device * dev) pn53x_common_init() argument [all...] |
| H A D | pn533.h | 180 const struct pn533_phy_ops *phy_ops; member 235 const struct pn533_phy_ops *phy_ops,
|