Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/mei/
H A Dbus.c389 cldev->rx_cb(cldev); in mei_cl_bus_rx_work()
409 cldev->notif_cb(cldev); in mei_cl_bus_notif_work()
422 struct mei_cl_device *cldev = cl->cldev; in mei_cl_bus_notify_event() local
424 if (!cldev || !cldev->notif_cb) in mei_cl_bus_notify_event()
447 struct mei_cl_device *cldev = cl->cldev; in mei_cl_bus_rx_event() local
449 if (!cldev || !cldev->rx_cb) in mei_cl_bus_rx_event()
707 cl->cldev = cldev; in mei_cldev_dma_map()
727 if (!cldev) in mei_cldev_dma_unmap()
765 cl->cldev = cldev; in mei_cldev_enable()
832 if (!cldev) in mei_cldev_disable()
[all …]
H A Dbus-fixup.c60 cldev->do_match = 0; in number_of_connections()
70 cldev->do_match = 0; in blacklist()
80 cldev->do_match = 1; in whitelist()
172 memset(cldev->bus->fw_ver, 0, sizeof(cldev->bus->fw_ver)); in mei_fwver()
245 if (!cldev->bus->fw_f_fw_ver_supported || cldev->bus->fw_ver_received) in mei_gsc_mkhi_ver()
309 cldev->do_match = 1; in mei_wd()
456 bus = cldev->bus; in mei_nfc()
498 strscpy(cldev->name, radio_name, sizeof(cldev->name)); in mei_nfc()
514 cldev->do_match = 0; in mei_nfc()
527 cldev->do_match = 1; in vt_support()
[all …]
H A Dclient.c1328 if ((cl->cldev && mei_cldev_enabled(cl->cldev)) || in mei_cl_fp_by_vtag()
1347 if ((cl->cldev && mei_cldev_enabled(cl->cldev)) || in mei_cl_reset_read_by_vtag()
H A Dmei_dev.h308 struct mei_cl_device *cldev; member
/openbmc/linux/drivers/misc/mei/pxp/
H A Dmei_pxp.c35 struct mei_cl_device *cldev; in mei_pxp_send_message() local
41 cldev = to_mei_cl_device(dev); in mei_pxp_send_message()
62 struct mei_cl_device *cldev; in mei_pxp_receive_message() local
68 cldev = to_mei_cl_device(dev); in mei_pxp_receive_message()
96 struct mei_cl_device *cldev; in mei_pxp_gsc_command() local
98 cldev = to_mei_cl_device(dev); in mei_pxp_gsc_command()
186 ret = mei_cldev_enable(cldev); in mei_pxp_probe()
218 mei_cldev_set_drvdata(cldev, NULL); in mei_pxp_probe()
220 mei_cldev_disable(cldev); in mei_pxp_probe()
232 mei_cldev_set_drvdata(cldev, NULL); in mei_pxp_remove()
[all …]
/openbmc/linux/include/linux/
H A Dmei_cl_bus.h16 typedef void (*mei_cldev_cb_t)(struct mei_cl_device *cldev);
70 int (*probe)(struct mei_cl_device *cldev,
72 void (*remove)(struct mei_cl_device *cldev);
108 int mei_cldev_register_notif_cb(struct mei_cl_device *cldev,
112 u8 mei_cldev_ver(const struct mei_cl_device *cldev);
114 void *mei_cldev_get_drvdata(const struct mei_cl_device *cldev);
117 int mei_cldev_enable(struct mei_cl_device *cldev);
118 int mei_cldev_disable(struct mei_cl_device *cldev);
119 bool mei_cldev_enabled(const struct mei_cl_device *cldev);
120 ssize_t mei_cldev_send_gsc_command(struct mei_cl_device *cldev,
[all …]
/openbmc/linux/drivers/misc/mei/gsc_proxy/
H A Dmei_gsc_proxy.c73 struct mei_cl_device *cldev = to_mei_cl_device(dev); in mei_component_master_bind() local
83 struct mei_cl_device *cldev = to_mei_cl_device(dev); in mei_component_master_unbind() local
131 static int mei_gsc_proxy_probe(struct mei_cl_device *cldev, in mei_gsc_proxy_probe() argument
138 ret = mei_cldev_enable(cldev); in mei_gsc_proxy_probe()
150 component_match_add_typed(&cldev->dev, &master_match, in mei_gsc_proxy_probe()
157 mei_cldev_set_drvdata(cldev, comp_master); in mei_gsc_proxy_probe()
158 ret = component_master_add_with_match(&cldev->dev, in mei_gsc_proxy_probe()
169 mei_cldev_set_drvdata(cldev, NULL); in mei_gsc_proxy_probe()
171 mei_cldev_disable(cldev); in mei_gsc_proxy_probe()
183 mei_cldev_set_drvdata(cldev, NULL); in mei_gsc_proxy_remove()
[all …]
/openbmc/linux/drivers/misc/mei/hdcp/
H A Dmei_hdcp.c45 struct mei_cl_device *cldev; in mei_hdcp_initiate_session() local
51 cldev = to_mei_cl_device(dev); 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()
187 struct mei_cl_device *cldev; in mei_hdcp_verify_hprime() local
244 struct mei_cl_device *cldev; in mei_hdcp_store_pairing_info() local
304 struct mei_cl_device *cldev; in mei_hdcp_initiate_locality_check() local
359 struct mei_cl_device *cldev; in mei_hdcp_verify_lprime() local
418 struct mei_cl_device *cldev; in mei_hdcp_get_session_key() local
482 struct mei_cl_device *cldev; in mei_hdcp_repeater_check_flow_prepare_ack() local
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dmain.c315 dev_err(&cldev->dev, in iwl_mei_write_cyclic_buf()
324 dev_err(&cldev->dev, in iwl_mei_write_cyclic_buf()
372 dev_err(&cldev->dev, in iwl_mei_send_check_shared_area()
414 dev_err(&cldev->dev, in iwl_mei_send_sap_msg_payload()
420 dev_err(&cldev->dev, in iwl_mei_send_sap_msg_payload()
642 dev_err(&cldev->dev, in iwl_mei_handle_rx_start_ok()
644 dev_err(&cldev->dev, in iwl_mei_handle_rx_start_ok()
651 dev_err(&cldev->dev, in iwl_mei_handle_rx_start_ok()
923 dev_dbg(&cldev->dev, in iwl_mei_handle_sap_msg()
1135 dev_err(&cldev->dev, in iwl_mei_handle_sap_rx_cmd()
[all …]
/openbmc/linux/drivers/watchdog/
H A Dmei_wdt.c95 struct mei_cl_device *cldev; member
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
572 wdt->cldev = cldev; in mei_wdt_probe()
573 wdt->resp_required = mei_cldev_ver(cldev) > 0x1; in mei_wdt_probe()
578 mei_cldev_set_drvdata(cldev, wdt); in mei_wdt_probe()
580 ret = mei_cldev_enable(cldev); in mei_wdt_probe()
600 wd_info.firmware_version = mei_cldev_ver(cldev); in mei_wdt_probe()
615 mei_cldev_disable(cldev); in mei_wdt_probe()
[all …]
/openbmc/linux/drivers/media/pci/intel/ivsc/
H A Dmei_ace.c165 struct mei_cl_device *cldev; member
390 dev_dbg(&cldev->dev, "firmware ready\n"); in mei_ace_rx()
399 struct device *dev = &ace->cldev->dev; in mei_ace_setup_dev_link()
442 dev = &ace->cldev->dev; in mei_ace_post_probe_work()
460 struct device *dev = &cldev->dev; in mei_ace_probe()
468 ace->cldev = cldev; in mei_ace_probe()
473 mei_cldev_set_drvdata(cldev, ace); in mei_ace_probe()
475 ret = mei_cldev_enable(cldev); in mei_ace_probe()
509 mei_cldev_disable(cldev); in mei_ace_probe()
526 pm_runtime_disable(&cldev->dev); in mei_ace_remove()
[all …]
H A Dmei_csi.c112 struct mei_cl_device *cldev; member
298 dev_err(&csi->cldev->dev, in mei_csi_set_stream()
324 dev_warn(&csi->cldev->dev, in mei_csi_set_stream()
541 dev_err(&csi->cldev->dev, in mei_csi_g_volatile_ctrl()
705 struct device *dev = &cldev->dev; in mei_csi_probe()
716 csi->cldev = cldev; in mei_csi_probe()
722 ret = mei_cldev_enable(cldev); in mei_csi_probe()
738 csi->subdev.dev = &cldev->dev; in mei_csi_probe()
771 pm_runtime_enable(&cldev->dev); in mei_csi_probe()
788 mei_cldev_disable(cldev); in mei_csi_probe()
[all …]
/openbmc/linux/drivers/nfc/
H A Dmei_phy.c173 r = mei_cldev_send(phy->cldev, (u8 *)cmd, connect_length); in mei_nfc_connect()
179 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, in mei_nfc_connect()
284 static void nfc_mei_rx_cb(struct mei_cl_device *cldev) in nfc_mei_rx_cb() argument
286 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev); in nfc_mei_rx_cb()
322 r = mei_cldev_enable(phy->cldev); in nfc_mei_phy_enable()
340 r = mei_cldev_register_rx_cb(phy->cldev, nfc_mei_rx_cb); in nfc_mei_phy_enable()
352 mei_cldev_disable(phy->cldev); in nfc_mei_phy_enable()
360 mei_cldev_disable(phy->cldev); in nfc_mei_phy_disable()
380 phy->cldev = cldev; in nfc_mei_phy_alloc()
382 mei_cldev_set_drvdata(cldev, phy); in nfc_mei_phy_alloc()
[all …]
H A Dmei_phy.h32 struct mei_cl_device *cldev; member
/openbmc/linux/drivers/nfc/pn544/
H A Dmei.c19 static int pn544_mei_probe(struct mei_cl_device *cldev, in pn544_mei_probe() argument
25 phy = nfc_mei_phy_alloc(cldev); in pn544_mei_probe()
41 static void pn544_mei_remove(struct mei_cl_device *cldev) in pn544_mei_remove() argument
43 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev); in pn544_mei_remove()
/openbmc/linux/drivers/nfc/microread/
H A Dmei.c20 static int microread_mei_probe(struct mei_cl_device *cldev, in microread_mei_probe() argument
26 phy = nfc_mei_phy_alloc(cldev); in microread_mei_probe()
42 static void microread_mei_remove(struct mei_cl_device *cldev) in microread_mei_remove() argument
44 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev); in microread_mei_remove()
/openbmc/linux/net/atm/
H A Datm_sysfs.c12 #define to_atm_dev(cldev) container_of(cldev, struct atm_dev, class_dev) argument
/openbmc/linux/Documentation/driver-api/mei/
H A Dmei-client-bus.rst146 static void conntact_rx_cb(struct mei_cl_device *cldev)
148 struct contact *c = mei_cldev_get_drvdata(cldev);
152 payload_sz = mei_cldev_recv(cldev, payload, MAX_PAYLOAD)