Home
last modified time | relevance | path

Searched refs:cldev (Results 1 – 7 of 7) sorted by relevance

/drivers/misc/mei/
Dbus.c185 ssize_t mei_cldev_send(struct mei_cl_device *cldev, u8 *buf, size_t length) in mei_cldev_send() argument
187 struct mei_cl *cl = cldev->cl; in mei_cldev_send()
205 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length) in mei_cldev_recv() argument
207 struct mei_cl *cl = cldev->cl; in mei_cldev_recv()
224 struct mei_cl_device *cldev; in mei_cl_bus_event_work() local
227 cldev = container_of(work, struct mei_cl_device, event_work); in mei_cl_bus_event_work()
229 bus = cldev->bus; in mei_cl_bus_event_work()
231 if (cldev->event_cb) in mei_cl_bus_event_work()
232 cldev->event_cb(cldev, cldev->events, cldev->event_context); in mei_cl_bus_event_work()
234 cldev->events = 0; in mei_cl_bus_event_work()
[all …]
Dbus-fixup.c49 static void number_of_connections(struct mei_cl_device *cldev) in number_of_connections() argument
51 dev_dbg(&cldev->dev, "running hook %s on %pUl\n", in number_of_connections()
52 __func__, mei_me_cl_uuid(cldev->me_cl)); in number_of_connections()
54 if (cldev->me_cl->props.max_number_of_connections > 1) in number_of_connections()
55 cldev->do_match = 0; in number_of_connections()
63 static void blacklist(struct mei_cl_device *cldev) in blacklist() argument
65 dev_dbg(&cldev->dev, "running hook %s on %pUl\n", in blacklist()
66 __func__, mei_me_cl_uuid(cldev->me_cl)); in blacklist()
67 cldev->do_match = 0; in blacklist()
200 static void mei_nfc(struct mei_cl_device *cldev) in mei_nfc() argument
[all …]
Dmei_dev.h275 struct mei_cl_device *cldev; member
/drivers/nfc/
Dmei_phy.c121 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()
[all …]
Dmei_phy.h31 struct mei_cl_device *cldev; member
/drivers/nfc/pn544/
Dmei.c30 static int pn544_mei_probe(struct mei_cl_device *cldev, in pn544_mei_probe() argument
38 phy = nfc_mei_phy_alloc(cldev); in pn544_mei_probe()
56 static int pn544_mei_remove(struct mei_cl_device *cldev) in pn544_mei_remove() argument
58 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev); in pn544_mei_remove()
/drivers/nfc/microread/
Dmei.c32 static int microread_mei_probe(struct mei_cl_device *cldev, in microread_mei_probe() argument
40 phy = nfc_mei_phy_alloc(cldev); in microread_mei_probe()
58 static int microread_mei_remove(struct mei_cl_device *cldev) in microread_mei_remove() argument
60 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev); in microread_mei_remove()