Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/power/supply/
Dcros_peripheral_charger.c231 unsigned long host_event) in cros_pchg_event() argument
248 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()
259 return cros_pchg_event(charger, host_event); in cros_ec_notify()
Dcros_usbpd-charger.c521 unsigned long host_event, in cros_usbpd_charger_ec_event() argument
/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_proto.c774 u32 host_event; in cros_ec_get_next_event() local
839 host_event = cros_ec_get_host_event(ec_dev); in cros_ec_get_next_event()
847 } else if (host_event) { in cros_ec_get_next_event()
849 if (host_event & EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC)) in cros_ec_get_next_event()
852 if (!(host_event & ec_dev->host_event_wake_mask)) in cros_ec_get_next_event()
873 u32 host_event; in cros_ec_get_host_event() local
881 if (ec_dev->event_size != sizeof(host_event)) { in cros_ec_get_host_event()
886 host_event = get_unaligned_le32(&ec_dev->event_data.data.host_event); in cros_ec_get_host_event()
888 return host_event; in cros_ec_get_host_event()
Dcros_usbpd_notify.c172 u32 host_event = cros_ec_get_host_event(ec_dev); in cros_usbpd_notify_plat() local
174 if (!host_event) in cros_usbpd_notify_plat()
177 if (host_event & (EC_HOST_EVENT_MASK(EC_HOST_EVENT_PD_MCU) | in cros_usbpd_notify_plat()
Dcros_ec.c158 u32 host_event = cros_ec_get_host_event(ec_dev); in cros_ec_ready_event() local
160 if (host_event & EC_HOST_EVENT_MASK(EC_HOST_EVENT_INTERFACE_READY)) { in cros_ec_ready_event()
Dcros_ec_proto_test.c2080 data->host_event = 0xbeef; in cros_ec_proto_test_get_next_event_no_mkbp_event()
2087 KUNIT_EXPECT_EQ(test, ec_dev->event_data.data.host_event, 0xbeef); in cros_ec_proto_test_get_next_event_no_mkbp_event()
2237 sizeof(data->data.host_event)); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_rtc()
2242 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()
2246 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()
2286 sizeof(data->data.host_event)); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_masked()
2292 &data->data.host_event); in cros_ec_proto_test_get_next_event_mkbp_event_host_event_masked()
2296 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()
2362 ec_dev->event_size = sizeof(ec_dev->event_data.data.host_event); in cros_ec_proto_test_get_host_event_normal()
2364 &ec_dev->event_data.data.host_event); in cros_ec_proto_test_get_host_event_normal()
Dcros_ec_typec.c1151 unsigned long host_event, void *_notify) in cros_ec_typec_event() argument
/Linux-v6.1/drivers/pci/controller/
Dpci-hyperv.c586 struct completion host_event; member
985 complete(&comp_pkt->host_event); in hv_pci_generic_compl()
1329 complete(&comp->comp_pkt.host_event); in hv_pci_read_config_compl()
1361 init_completion(&comp_pkt.comp_pkt.host_event); in hv_read_config_block()
1381 ret = wait_for_response(hbus->hdev, &comp_pkt.comp_pkt.host_event); in hv_read_config_block()
1411 complete(&comp_pkt->host_event); in hv_pci_write_config_compl()
1443 init_completion(&comp_pkt.host_event); in hv_write_config_block()
1470 ret = wait_for_response(hbus->hdev, &comp_pkt.host_event); in hv_write_config_block()
1612 complete(&comp_pkt->comp_pkt.host_event); in hv_pci_compose_compl()
1842 init_completion(&comp.comp_pkt.host_event); in hv_compose_msi_msg()
[all …]
/Linux-v6.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-v6.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-v6.1/drivers/hv/
Dhv_balloon.c509 struct completion host_event; member
1439 complete(&dm->host_event); in version_resp()
1485 complete(&dm->host_event); in version_resp()
1495 complete(&dm->host_event); in cap_resp()
1750 t = wait_for_completion_timeout(&dm_device.host_event, 5*HZ); in balloon_connect_vsp()
1805 t = wait_for_completion_timeout(&dm_device.host_event, 5*HZ); in balloon_connect_vsp()
1946 init_completion(&dm_device.host_event); in balloon_probe()
/Linux-v6.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-v6.1/include/scsi/
Discsi_if.h287 } host_event; member
/Linux-v6.1/include/linux/platform_data/
Dcros_ec_commands.h3407 uint32_t host_event; member
3432 uint32_t host_event; member
/Linux-v6.1/drivers/scsi/
Dscsi_transport_iscsi.c2729 ev->r.host_event.host_no = host_no; in iscsi_post_host_event()
2730 ev->r.host_event.code = code; in iscsi_post_host_event()
2731 ev->r.host_event.data_size = data_size; in iscsi_post_host_event()