Home
last modified time | relevance | path

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

1234567

/drivers/nfc/s3fwrn5/
Ds3fwrn5.h36 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, unsigned int max_payload);
Dcore.c143 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload) in s3fwrn5_probe() argument
154 info->phy_ops = phy_ops; in s3fwrn5_probe()
/drivers/nfc/nxp-nci/
Dcore.c42 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() argument
110 info->phy_ops = phy_ops; in nxp_nci_probe()
116 if (info->phy_ops->set_mode) { in nxp_nci_probe()
117 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
[all …]
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()
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()
Dnxp-nci.h59 const struct nxp_nci_phy_ops *phy_ops; member
73 const struct nxp_nci_phy_ops *phy_ops,
/drivers/char/tpm/
Dtpm_tis_core.h103 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,
Dtpm_tis_spi_main.c160 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()
/drivers/phy/freescale/
Dphy-fsl-imx8mq-usb.c127 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()
/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c608 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->power_off) in dw_mipi_dsi_bridge_post_disable()
880 phy_ops->power_off(dsi->plat_data->priv_data); in dw_mipi_dsi_bridge_post_disable()
910 const struct dw_mipi_dsi_phy_ops *phy_ops = dsi->plat_data->phy_ops; in dw_mipi_dsi_mode_set() local
917 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
[all …]
/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h140 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()
/drivers/phy/ti/
Dphy-tusb1210.c86 static const struct phy_ops phy_ops = { variable
138 tusb->phy = ulpi_phy_create(ulpi, &phy_ops); in tusb1210_probe()
Dphy-da8xx-usb.c56 static const struct phy_ops da8xx_usb11_phy_ops = {
114 static const struct phy_ops da8xx_usb20_phy_ops = {
/drivers/nfc/microread/
Dmicroread.c155 struct nfc_phy_ops *phy_ops; member
169 return info->phy_ops->enable(info->phy_id); in microread_open()
176 info->phy_ops->disable(info->phy_id); in microread_close()
222 return info->phy_ops->write(info->phy_id, skb); in microread_xmit()
645 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, in microread_probe() argument
661 info->phy_ops = phy_ops; in microread_probe()
Dmicroread.h13 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
/drivers/phy/broadcom/
Dphy-bcm-sr-pcie.c187 static const struct phy_ops sr_pcie_phy_ops = {
192 static const struct phy_ops sr_paxc_phy_ops = {
257 const struct phy_ops *ops; in sr_pcie_phy_probe()
/drivers/nfc/fdp/
Dfdp.c41 struct nfc_phy_ops *phy_ops; member
242 r = info->phy_ops->enable(info->phy); in fdp_nci_open()
260 ret = info->phy_ops->write(info->phy, skb); in fdp_nci_send()
714 int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops, in fdp_nci_probe() argument
730 info->phy_ops = phy_ops; in fdp_nci_probe()
/drivers/nfc/pn544/
Dpn544.c111 struct nfc_phy_ops *phy_ops; member
139 r = info->phy_ops->enable(info->phy_id); in pn544_hci_open()
158 info->phy_ops->disable(info->phy_id); in pn544_hci_close()
330 return info->phy_ops->write(info->phy_id, skb); in pn544_hci_xmit()
904 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, in pn544_hci_probe() argument
919 info->phy_ops = phy_ops; in pn544_hci_probe()
Dpn544.h19 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
/drivers/phy/qualcomm/
Dphy-qcom-ipq4019-usb.c51 static const struct phy_ops ipq4019_usb_ss_phy_ops = {
83 static const struct phy_ops ipq4019_usb_hs_phy_ops = {
/drivers/nfc/st21nfca/
Dst21nfca.h148 struct nfc_phy_ops *phy_ops; member
167 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops,
Dcore.c218 r = info->phy_ops->enable(info->phy_id); in st21nfca_hci_open()
237 info->phy_ops->disable(info->phy_id); in st21nfca_hci_close()
312 return info->phy_ops->write(info->phy_id, skb); in st21nfca_hci_xmit()
938 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, in st21nfca_hci_probe() argument
954 info->phy_ops = phy_ops; in st21nfca_hci_probe()
/drivers/nfc/pn533/
Dpn533.c462 rc = dev->phy_ops->send_frame(dev, req); in __pn533_send_async()
541 rc = dev->phy_ops->send_frame(dev, req); in pn533_send_cmd_direct_async()
581 rc = dev->phy_ops->send_frame(dev, cmd->req); in pn533_wq_cmd()
1187 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_tm_mi_send()
1645 dev->phy_ops->abort_cmd(dev, GFP_ATOMIC); in pn533_wq_poll()
1783 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_stop_poll()
2087 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_dep_link_down()
2481 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_recv()
2537 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_send()
2655 if (dev->phy_ops->dev_up) { in pn533_dev_up()
[all …]
Dpn533.h180 struct pn533_phy_ops *phy_ops; member
235 struct pn533_phy_ops *phy_ops,
/drivers/phy/marvell/
Dphy-mvebu-a3700-utmi.c68 const struct phy_ops *ops;
185 static const struct phy_ops mvebu_a3700_utmi_phy_ops = {
/drivers/phy/mediatek/
Dphy-mtk-hdmi.c12 static const struct phy_ops mtk_hdmi_phy_dev_ops = {
79 static const struct phy_ops *

1234567