Lines Matching refs:cldev
49 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
209 bus = cldev->bus; in mei_nfc()
212 __func__, mei_me_cl_uuid(cldev->me_cl), cldev->do_match); in mei_nfc()
233 dev_err(&cldev->dev, "Can't connect to the NFC INFO ME ret = %d\n", in mei_nfc()
248 dev_err(&cldev->dev, "Can't get the NFC interface version ret = %d\n", in mei_nfc()
254 strlcpy(cldev->name, radio_name, sizeof(cldev->name)); in mei_nfc()
270 cldev->do_match = 0; in mei_nfc()
272 dev_dbg(bus->dev, "end of fixup match = %d\n", cldev->do_match); in mei_nfc()
280 void (*hook)(struct mei_cl_device *cldev);
292 void mei_cl_bus_dev_fixup(struct mei_cl_device *cldev) in mei_cl_bus_dev_fixup() argument
295 const uuid_le *uuid = mei_me_cl_uuid(cldev->me_cl); in mei_cl_bus_dev_fixup()
303 f->hook(cldev); in mei_cl_bus_dev_fixup()