Home
last modified time | relevance | path

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

12345

/drivers/nfc/s3fwrn5/
Ds3fwrn5.h47 const struct s3fwrn5_phy_ops *phy_ops; member
58 if (!info->phy_ops->set_mode) in s3fwrn5_set_mode()
61 info->phy_ops->set_mode(info->phy_id, mode); in s3fwrn5_set_mode()
68 if (!info->phy_ops->get_mode) in s3fwrn5_get_mode()
71 return info->phy_ops->get_mode(info->phy_id); in s3fwrn5_get_mode()
76 if (!info->phy_ops->set_wake) in s3fwrn5_set_wake()
79 info->phy_ops->set_wake(info->phy_id, wake); in s3fwrn5_set_wake()
86 if (!info->phy_ops->write) in s3fwrn5_write()
89 return info->phy_ops->write(info->phy_id, skb); in s3fwrn5_write()
93 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload);
Dcore.c150 const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload) in s3fwrn5_probe() argument
161 info->phy_ops = phy_ops; in s3fwrn5_probe()
/drivers/nfc/nxp-nci/
Dcore.c55 if (info->phy_ops->set_mode) in nxp_nci_open()
56 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_NCI); in nxp_nci_open()
72 if (info->phy_ops->set_mode) in nxp_nci_close()
73 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_close()
86 if (!info->phy_ops->write) { in nxp_nci_send()
96 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_send()
112 const struct nxp_nci_phy_ops *phy_ops, in nxp_nci_probe() argument
127 info->phy_ops = phy_ops; in nxp_nci_probe()
133 if (info->phy_ops->set_mode) { in nxp_nci_probe()
134 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
[all …]
Dfirmware.c68 if (info->phy_ops->set_mode) { in nxp_nci_fw_work_complete()
69 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_fw_work_complete()
133 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_fw_send_chunk()
219 if (!info->phy_ops->set_mode || !info->phy_ops->write) { in nxp_nci_fw_download()
236 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_FW); in nxp_nci_fw_download()
Dnxp-nci.h71 const struct nxp_nci_phy_ops *phy_ops; member
85 const struct nxp_nci_phy_ops *phy_ops,
/drivers/char/tpm/
Dtpm_tis_core.h94 const struct tpm_tis_phy_ops *phy_ops; member
110 return data->phy_ops->read_bytes(data, addr, len, result); in tpm_tis_read_bytes()
115 return data->phy_ops->read_bytes(data, addr, 1, result); in tpm_tis_read8()
121 return data->phy_ops->read16(data, addr, result); in tpm_tis_read16()
127 return data->phy_ops->read32(data, addr, result); in tpm_tis_read32()
133 return data->phy_ops->write_bytes(data, addr, len, value); in tpm_tis_write_bytes()
138 return data->phy_ops->write_bytes(data, addr, 1, &value); in tpm_tis_write8()
144 return data->phy_ops->write32(data, addr, value); in tpm_tis_write32()
149 const struct tpm_tis_phy_ops *phy_ops,
Dtpm_tis_spi.c158 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), (u8 *)result); in tpm_tis_spi_read16()
168 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), (u8 *)result); in tpm_tis_spi_read32()
177 return data->phy_ops->write_bytes(data, addr, sizeof(u32), in tpm_tis_spi_write32()
/drivers/phy/
Dphy-tusb1210.c56 static const struct phy_ops phy_ops = { variable
107 tusb->phy = ulpi_phy_create(ulpi, &phy_ops); in tusb1210_probe()
Dphy-da8xx-usb.c61 static const struct phy_ops da8xx_usb11_phy_ops = {
118 static const struct phy_ops da8xx_usb20_phy_ops = {
Dphy-brcm-sata.c373 static const struct phy_ops phy_ops = { variable
454 port->phy = devm_phy_create(dev, child, &phy_ops); in brcm_sata_phy_probe()
Dulpi_phy.h8 *ulpi_phy_create(struct ulpi *ulpi, const struct phy_ops *ops) in ulpi_phy_create()
/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/nfc/microread/
Dmicroread.c166 struct nfc_phy_ops *phy_ops; member
180 return info->phy_ops->enable(info->phy_id); in microread_open()
187 info->phy_ops->disable(info->phy_id); in microread_close()
233 return info->phy_ops->write(info->phy_id, skb); in microread_xmit()
656 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, in microread_probe() argument
672 info->phy_ops = phy_ops; in microread_probe()
Dmicroread.h25 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
/drivers/nfc/pn544/
Dpn544.c122 struct nfc_phy_ops *phy_ops; member
150 r = info->phy_ops->enable(info->phy_id); in pn544_hci_open()
169 info->phy_ops->disable(info->phy_id); in pn544_hci_close()
341 return info->phy_ops->write(info->phy_id, skb); in pn544_hci_xmit()
915 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, in pn544_hci_probe() argument
930 info->phy_ops = phy_ops; in pn544_hci_probe()
Dpn544.h31 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
/drivers/nfc/fdp/
Dfdp.c49 struct nfc_phy_ops *phy_ops; member
255 r = info->phy_ops->enable(info->phy); in fdp_nci_open()
279 return info->phy_ops->write(info->phy, skb); in fdp_nci_send()
742 int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops, in fdp_nci_probe() argument
760 info->phy_ops = phy_ops; in fdp_nci_probe()
Dfdp.h32 int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops,
/drivers/nfc/st21nfca/
Dst21nfca.h158 struct nfc_phy_ops *phy_ops; member
177 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops,
Dcore.c229 r = info->phy_ops->enable(info->phy_id); in st21nfca_hci_open()
248 info->phy_ops->disable(info->phy_id); in st21nfca_hci_close()
323 return info->phy_ops->write(info->phy_id, skb); in st21nfca_hci_xmit()
949 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, in st21nfca_hci_probe() argument
967 info->phy_ops = phy_ops; in st21nfca_hci_probe()
/drivers/nfc/pn533/
Dpn533.h182 struct pn533_phy_ops *phy_ops; member
229 struct pn533_phy_ops *phy_ops,
Dpn533.c437 rc = dev->phy_ops->send_frame(dev, req); in __pn533_send_async()
514 rc = dev->phy_ops->send_frame(dev, req); in pn533_send_cmd_direct_async()
553 rc = dev->phy_ops->send_frame(dev, cmd->req); in pn533_wq_cmd()
1159 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_tm_mi_send()
1521 dev->phy_ops->abort_cmd(dev, GFP_ATOMIC); in pn533_wq_poll()
1594 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_stop_poll()
1897 dev->phy_ops->abort_cmd(dev, GFP_KERNEL); in pn533_dep_link_down()
2289 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_recv()
2345 dev->phy_ops->send_ack(dev, GFP_KERNEL); in pn533_wq_mi_send()
2563 struct pn533_phy_ops *phy_ops, in pn533_register_device() argument
[all …]
/drivers/nfc/st-nci/
Dndlc.h59 int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev,
Dndlc.c267 int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev, in ndlc_probe() argument
277 ndlc->ops = phy_ops; in ndlc_probe()
/drivers/gpu/drm/sti/
Dsti_hdmi.h93 struct hdmi_phy_ops *phy_ops; member

12345