Home
last modified time | relevance | path

Searched full:host_event (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/power/supply/
Dcros_peripheral_charger.c248 u32 host_event; in cros_ec_notify() local
251 ec_dev->event_size != sizeof(host_event)) in cros_ec_notify()
254 host_event = get_unaligned_le32(&ec_dev->event_data.data.host_event); in cros_ec_notify()
256 if (!(host_event & EC_MKBP_PCHG_DEVICE_EVENT)) in cros_ec_notify()
Dcros_usbpd-charger.c511 unsigned long host_event, in cros_usbpd_charger_ec_event() argument
/linux-6.12.1/drivers/platform/chrome/
Dcros_usbpd_notify.c171 u32 host_event = cros_ec_get_host_event(ec_dev); in cros_usbpd_notify_plat() local
173 if (!host_event) in cros_usbpd_notify_plat()
176 if (host_event & (EC_HOST_EVENT_MASK(EC_HOST_EVENT_PD_MCU) | in cros_usbpd_notify_plat()
Dcros_ec_proto.c782 u32 host_event; in cros_ec_get_next_event() local
849 host_event = cros_ec_get_host_event(ec_dev); in cros_ec_get_next_event()
857 } else if (host_event) { in cros_ec_get_next_event()
859 if (host_event & EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC)) in cros_ec_get_next_event()
862 if (!(host_event & ec_dev->host_event_wake_mask)) in cros_ec_get_next_event()
883 u32 host_event; in cros_ec_get_host_event() local
891 if (ec_dev->event_size != sizeof(host_event)) { in cros_ec_get_host_event()
896 host_event = get_unaligned_le32(&ec_dev->event_data.data.host_event); in cros_ec_get_host_event()
898 return host_event; in cros_ec_get_host_event()
Dcros_ec_proto_test.c2069 data->host_event = 0xbeef; in cros_ec_proto_test_get_next_event_no_mkbp_event()
2076 KUNIT_EXPECT_EQ(test, ec_dev->event_data.data.host_event, 0xbeef); in cros_ec_proto_test_get_next_event_no_mkbp_event()
2226 sizeof(data->data.host_event)); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_rtc()
2231 put_unaligned_le32(EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC), &data->data.host_event); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_rtc()
2235 KUNIT_EXPECT_EQ(test, ret, sizeof(data->event_type) + sizeof(data->data.host_event)); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_rtc()
2275 sizeof(data->data.host_event)); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_masked()
2281 &data->data.host_event); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_masked()
2285 KUNIT_EXPECT_EQ(test, ret, sizeof(data->event_type) + sizeof(data->data.host_event)); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_masked()
2351 ec_dev->event_size = sizeof(ec_dev->event_data.data.host_event); in cros_ec_proto_test_get_host_event_normal()
2353 &ec_dev->event_data.data.host_event); in cros_ec_proto_test_get_host_event_normal()
Dcros_ec.c159 u32 host_event = cros_ec_get_host_event(ec_dev); in cros_ec_ready_event() local
161 if (host_event & EC_HOST_EVENT_MASK(EC_HOST_EVENT_INTERFACE_READY)) { in cros_ec_ready_event()
Dcros_ec_typec.c1186 unsigned long host_event, void *_notify) in cros_ec_typec_event() argument
/linux-6.12.1/drivers/pci/controller/
Dpci-hyperv.c573 struct completion host_event; member
957 complete(&comp_pkt->host_event); in hv_pci_generic_compl()
1402 complete(&comp->comp_pkt.host_event); in hv_pci_read_config_compl()
1434 init_completion(&comp_pkt.comp_pkt.host_event); in hv_read_config_block()
1454 ret = wait_for_response(hbus->hdev, &comp_pkt.comp_pkt.host_event); in hv_read_config_block()
1484 complete(&comp_pkt->host_event); in hv_pci_write_config_compl()
1516 init_completion(&comp_pkt.host_event); in hv_write_config_block()
1543 ret = wait_for_response(hbus->hdev, &comp_pkt.host_event); in hv_write_config_block()
1685 complete(&comp_pkt->comp_pkt.host_event); in hv_pci_compose_compl()
1915 init_completion(&comp.comp_pkt.host_event); in hv_compose_msi_msg()
[all …]
/linux-6.12.1/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()
/linux-6.12.1/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()
/linux-6.12.1/drivers/hv/
Dhv_balloon.c504 struct completion host_event; member
1412 complete(&dm->host_event); in version_resp()
1458 complete(&dm->host_event); in version_resp()
1468 complete(&dm->host_event); in cap_resp()
1751 t = wait_for_completion_timeout(&dm_device.host_event, 5 * HZ); in balloon_connect_vsp()
1809 t = wait_for_completion_timeout(&dm_device.host_event, 5 * HZ); in balloon_connect_vsp()
1965 init_completion(&dm_device.host_event); in balloon_probe()
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/
Dti,pruss-intc.yaml79 host_event (target) [cell 3] as the value of the interrupts property in
/linux-6.12.1/sound/soc/codecs/
Dcros_ec_codec.c812 u32 host_event; in wov_host_event() local
816 host_event = cros_ec_get_host_event(priv->ec_device); in wov_host_event()
817 if (host_event & EC_HOST_EVENT_MASK(EC_HOST_EVENT_WOV)) { in wov_host_event()
/linux-6.12.1/include/scsi/
Discsi_if.h287 } host_event; member
/linux-6.12.1/include/linux/platform_data/
Dcros_ec_commands.h3207 * For EC_MKBP_EVENT_HOST_EVENT, return uint32_t host_event, the raw
3417 uint32_t host_event; member
3442 uint32_t host_event; member
3470 uint32_t host_event; member
/linux-6.12.1/drivers/scsi/
Dscsi_transport_iscsi.c2755 ev->r.host_event.host_no = host_no; in iscsi_post_host_event()
2756 ev->r.host_event.code = code; in iscsi_post_host_event()
2757 ev->r.host_event.data_size = data_size; in iscsi_post_host_event()