/drivers/misc/mei/ |
D | bus.c | 217 ssize_t mei_cldev_send(struct mei_cl_device *cldev, u8 *buf, size_t length) in mei_cldev_send() argument 219 struct mei_cl *cl = cldev->cl; in mei_cldev_send() 235 ssize_t mei_cldev_recv_nonblock(struct mei_cl_device *cldev, u8 *buf, in mei_cldev_recv_nonblock() argument 238 struct mei_cl *cl = cldev->cl; in mei_cldev_recv_nonblock() 253 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length) in mei_cldev_recv() argument 255 struct mei_cl *cl = cldev->cl; in mei_cldev_recv() 268 struct mei_cl_device *cldev; in mei_cl_bus_rx_work() local 271 cldev = container_of(work, struct mei_cl_device, rx_work); in mei_cl_bus_rx_work() 273 bus = cldev->bus; in mei_cl_bus_rx_work() 275 if (cldev->rx_cb) in mei_cl_bus_rx_work() [all …]
|
D | bus-fixup.c | 47 static void number_of_connections(struct mei_cl_device *cldev) in number_of_connections() argument 49 if (cldev->me_cl->props.max_number_of_connections > 1) in number_of_connections() 50 cldev->do_match = 0; in number_of_connections() 58 static void blacklist(struct mei_cl_device *cldev) in blacklist() argument 60 cldev->do_match = 0; in blacklist() 68 static void whitelist(struct mei_cl_device *cldev) in whitelist() argument 70 cldev->do_match = 1; in whitelist() 128 static int mei_osver(struct mei_cl_device *cldev) in mei_osver() argument 151 return __mei_cl_send(cldev->cl, buf, size, mode); in mei_osver() 159 static int mei_fwver(struct mei_cl_device *cldev) in mei_fwver() argument [all …]
|
D | mei_dev.h | 266 struct mei_cl_device *cldev; member
|
/drivers/misc/mei/hdcp/ |
D | mei_hdcp.c | 45 struct mei_cl_device *cldev; in mei_hdcp_initiate_session() local 51 cldev = to_mei_cl_device(dev); in mei_hdcp_initiate_session() 64 byte = mei_cldev_send(cldev, (u8 *)&session_init_in, in mei_hdcp_initiate_session() 71 byte = mei_cldev_recv(cldev, (u8 *)&session_init_out, in mei_hdcp_initiate_session() 115 struct mei_cl_device *cldev; in mei_hdcp_verify_receiver_cert_prepare_km() local 121 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_receiver_cert_prepare_km() 137 byte = mei_cldev_send(cldev, (u8 *)&verify_rxcert_in, in mei_hdcp_verify_receiver_cert_prepare_km() 144 byte = mei_cldev_recv(cldev, (u8 *)&verify_rxcert_out, in mei_hdcp_verify_receiver_cert_prepare_km() 187 struct mei_cl_device *cldev; in mei_hdcp_verify_hprime() local 193 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_hprime() [all …]
|
/drivers/watchdog/ |
D | mei_wdt.c | 95 struct mei_cl_device *cldev; member 179 ret = mei_cldev_send(wdt->cldev, (u8 *)&req, req_len); in mei_wdt_ping() 206 ret = mei_cldev_send(wdt->cldev, (u8 *)&req, req_len); in mei_wdt_stop() 364 if (!wdt || !wdt->cldev) in mei_wdt_register() 367 dev = &wdt->cldev->dev; in mei_wdt_register() 410 static void mei_wdt_rx(struct mei_cl_device *cldev) in mei_wdt_rx() argument 412 struct mei_wdt *wdt = mei_cldev_get_drvdata(cldev); in mei_wdt_rx() 417 ret = mei_cldev_recv(wdt->cldev, (u8 *)&res, res_len); in mei_wdt_rx() 419 dev_err(&cldev->dev, "failure in recv %d\n", ret); in mei_wdt_rx() 428 dev_err(&cldev->dev, "recv small data %d\n", ret); in mei_wdt_rx() [all …]
|
/drivers/nfc/ |
D | mei_phy.c | 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() [all …]
|
D | mei_phy.h | 32 struct mei_cl_device *cldev; member
|
/drivers/nfc/pn544/ |
D | mei.c | 19 static int pn544_mei_probe(struct mei_cl_device *cldev, in pn544_mei_probe() argument 27 phy = nfc_mei_phy_alloc(cldev); in pn544_mei_probe() 45 static int pn544_mei_remove(struct mei_cl_device *cldev) in pn544_mei_remove() argument 47 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev); in pn544_mei_remove()
|
/drivers/nfc/microread/ |
D | mei.c | 21 static int microread_mei_probe(struct mei_cl_device *cldev, in microread_mei_probe() argument 29 phy = nfc_mei_phy_alloc(cldev); in microread_mei_probe() 47 static int microread_mei_remove(struct mei_cl_device *cldev) in microread_mei_remove() argument 49 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev); in microread_mei_remove()
|