Lines Matching refs:msg
93 struct wilco_ec_message msg; in wilco_ec_rtc_read() local
96 memset(&msg, 0, sizeof(msg)); in wilco_ec_rtc_read()
97 msg.type = WILCO_EC_MSG_LEGACY; in wilco_ec_rtc_read()
98 msg.request_data = &read_rq; in wilco_ec_rtc_read()
99 msg.request_size = sizeof(read_rq); in wilco_ec_rtc_read()
100 msg.response_data = &rtc; in wilco_ec_rtc_read()
101 msg.response_size = sizeof(rtc); in wilco_ec_rtc_read()
103 ret = wilco_ec_mailbox(ec, &msg); in wilco_ec_rtc_read()
127 struct wilco_ec_message msg; in wilco_ec_rtc_write() local
148 memset(&msg, 0, sizeof(msg)); in wilco_ec_rtc_write()
149 msg.type = WILCO_EC_MSG_LEGACY; in wilco_ec_rtc_write()
150 msg.request_data = &rtc; in wilco_ec_rtc_write()
151 msg.request_size = sizeof(rtc); in wilco_ec_rtc_write()
153 ret = wilco_ec_mailbox(ec, &msg); in wilco_ec_rtc_write()