Lines Matching refs:cldev
121 r = mei_cldev_send(phy->cldev, (u8 *)&cmd, sizeof(struct mei_nfc_cmd)); in mei_nfc_if_version()
135 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version()
189 r = mei_cldev_send(phy->cldev, (u8 *)cmd, connect_length); in mei_nfc_connect()
195 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, in mei_nfc_connect()
242 err = mei_cldev_send(phy->cldev, mei_buf, length + MEI_NFC_HEADER_SIZE); in mei_nfc_send()
282 received_length = mei_cldev_recv(phy->cldev, buf, length); in mei_nfc_recv()
300 static void nfc_mei_event_cb(struct mei_cl_device *cldev, u32 events, in nfc_mei_event_cb() argument
341 r = mei_cldev_enable(phy->cldev); in nfc_mei_phy_enable()
359 r = mei_cldev_register_event_cb(phy->cldev, BIT(MEI_CL_EVENT_RX), in nfc_mei_phy_enable()
372 mei_cldev_disable(phy->cldev); in nfc_mei_phy_enable()
382 mei_cldev_disable(phy->cldev); in nfc_mei_phy_disable()
394 struct nfc_mei_phy *nfc_mei_phy_alloc(struct mei_cl_device *cldev) in nfc_mei_phy_alloc() argument
402 phy->cldev = cldev; in nfc_mei_phy_alloc()
404 mei_cldev_set_drvdata(cldev, phy); in nfc_mei_phy_alloc()
412 mei_cldev_disable(phy->cldev); in nfc_mei_phy_free()