Lines Matching refs:cldev
109 r = mei_cldev_send(phy->cldev, (u8 *)&cmd, sizeof(struct mei_nfc_cmd)); in mei_nfc_if_version()
123 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version()
177 r = mei_cldev_send(phy->cldev, (u8 *)cmd, connect_length); in mei_nfc_connect()
183 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, in mei_nfc_connect()
230 err = mei_cldev_send(phy->cldev, mei_buf, length + MEI_NFC_HEADER_SIZE); in mei_nfc_send()
270 received_length = mei_cldev_recv(phy->cldev, buf, length); in mei_nfc_recv()
288 static void nfc_mei_rx_cb(struct mei_cl_device *cldev) in nfc_mei_rx_cb() argument
290 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev); in nfc_mei_rx_cb()
328 r = mei_cldev_enable(phy->cldev); in nfc_mei_phy_enable()
346 r = mei_cldev_register_rx_cb(phy->cldev, nfc_mei_rx_cb); in nfc_mei_phy_enable()
358 mei_cldev_disable(phy->cldev); in nfc_mei_phy_enable()
368 mei_cldev_disable(phy->cldev); in nfc_mei_phy_disable()
380 struct nfc_mei_phy *nfc_mei_phy_alloc(struct mei_cl_device *cldev) in nfc_mei_phy_alloc() argument
388 phy->cldev = cldev; in nfc_mei_phy_alloc()
390 mei_cldev_set_drvdata(cldev, phy); in nfc_mei_phy_alloc()
398 mei_cldev_disable(phy->cldev); in nfc_mei_phy_free()