Home
last modified time | relevance | path

Searched refs:host_event (Results 1 – 10 of 10) sorted by relevance

/drivers/platform/chrome/
Dcros_ec_proto.c749 u32 host_event; in cros_ec_get_next_event() local
814 host_event = cros_ec_get_host_event(ec_dev); in cros_ec_get_next_event()
823 else if (host_event && in cros_ec_get_next_event()
824 !(host_event & ec_dev->host_event_wake_mask)) in cros_ec_get_next_event()
844 u32 host_event; in cros_ec_get_host_event() local
851 if (ec_dev->event_size != sizeof(host_event)) { in cros_ec_get_host_event()
856 host_event = get_unaligned_le32(&ec_dev->event_data.data.host_event); in cros_ec_get_host_event()
858 return host_event; in cros_ec_get_host_event()
Dcros_usbpd_notify.c218 u32 host_event = cros_ec_get_host_event(ec_dev); in cros_usbpd_notify_plat() local
220 if (!host_event) in cros_usbpd_notify_plat()
223 if (host_event & EC_HOST_EVENT_MASK(EC_HOST_EVENT_PD_MCU)) { in cros_usbpd_notify_plat()
Dcros_ec.c147 u32 host_event = cros_ec_get_host_event(ec_dev); in cros_ec_ready_event() local
149 if (host_event & EC_HOST_EVENT_MASK(EC_HOST_EVENT_INTERFACE_READY)) { in cros_ec_ready_event()
Dcros_ec_typec.c677 unsigned long host_event, void *_notify) in cros_ec_typec_event() argument
/drivers/pci/controller/
Dpci-hyperv.c544 struct completion host_event; member
570 complete(&comp_pkt->host_event); in hv_pci_generic_compl()
917 complete(&comp->comp_pkt.host_event); in hv_pci_read_config_compl()
949 init_completion(&comp_pkt.comp_pkt.host_event); in hv_read_config_block()
969 ret = wait_for_response(hbus->hdev, &comp_pkt.comp_pkt.host_event); in hv_read_config_block()
999 complete(&comp_pkt->host_event); in hv_pci_write_config_compl()
1031 init_completion(&comp_pkt.host_event); in hv_write_config_block()
1058 ret = wait_for_response(hbus->hdev, &comp_pkt.host_event); in hv_write_config_block()
1340 complete(&comp_pkt->comp_pkt.host_event); in hv_pci_compose_compl()
1474 init_completion(&comp.comp_pkt.host_event); in hv_compose_msi_msg()
[all …]
/drivers/rtc/
Drtc-cros-ec.c267 u32 host_event; in cros_ec_rtc_event() local
273 host_event = cros_ec_get_host_event(cros_ec); in cros_ec_rtc_event()
274 if (host_event & EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC)) { in cros_ec_rtc_event()
/drivers/extcon/
Dextcon-usbc-cros-ec.c368 u32 host_event; in extcon_cros_ec_event() local
373 host_event = cros_ec_get_host_event(ec); in extcon_cros_ec_event()
374 if (host_event & (EC_HOST_EVENT_MASK(EC_HOST_EVENT_PD_MCU) | in extcon_cros_ec_event()
/drivers/hv/
Dhv_balloon.c506 struct completion host_event; member
1411 complete(&dm->host_event); in version_resp()
1457 complete(&dm->host_event); in version_resp()
1467 complete(&dm->host_event); in cap_resp()
1600 t = wait_for_completion_timeout(&dm_device.host_event, 5*HZ); in balloon_connect_vsp()
1655 t = wait_for_completion_timeout(&dm_device.host_event, 5*HZ); in balloon_connect_vsp()
1693 init_completion(&dm_device.host_event); in balloon_probe()
/drivers/power/supply/
Dcros_usbpd-charger.c521 unsigned long host_event, in cros_usbpd_charger_ec_event() argument
/drivers/scsi/
Dscsi_transport_iscsi.c2731 ev->r.host_event.host_no = host_no; in iscsi_post_host_event()
2732 ev->r.host_event.code = code; in iscsi_post_host_event()
2733 ev->r.host_event.data_size = data_size; in iscsi_post_host_event()