Lines Matching refs:amsg
251 u32 *amsg) in xgene_hwmon_get_notification_msg() argument
264 amsg[0] = msg[0]; in xgene_hwmon_get_notification_msg()
265 amsg[1] = msg[1]; in xgene_hwmon_get_notification_msg()
266 amsg[2] = msg[2]; in xgene_hwmon_get_notification_msg()
412 struct slimpro_resp_msg *amsg) in xgene_hwmon_tpc_alarm() argument
414 ctx->temp_critical_alarm = !!amsg->param2; in xgene_hwmon_tpc_alarm()
421 struct slimpro_resp_msg *amsg) in xgene_hwmon_process_pwrmsg() argument
423 if ((MSG_SUBTYPE(amsg->msg) == PWRMGMT_SUBTYPE_TPC) && in xgene_hwmon_process_pwrmsg()
424 (TPC_CMD(amsg->msg) == TPC_ALARM)) in xgene_hwmon_process_pwrmsg()
425 xgene_hwmon_tpc_alarm(ctx, amsg); in xgene_hwmon_process_pwrmsg()
433 struct slimpro_resp_msg amsg; in xgene_hwmon_evt_work() local
438 while (kfifo_out_spinlocked(&ctx->async_msg_fifo, &amsg, in xgene_hwmon_evt_work()
447 (u32 *)&amsg); in xgene_hwmon_evt_work()
452 if (MSG_TYPE(amsg.msg) == MSG_TYPE_PWRMGMT) in xgene_hwmon_evt_work()
453 xgene_hwmon_process_pwrmsg(ctx, &amsg); in xgene_hwmon_evt_work()
527 struct slimpro_resp_msg amsg; in xgene_hwmon_pcc_rx_cb() local
535 if (xgene_hwmon_rx_ready(ctx, &amsg) < 0) in xgene_hwmon_pcc_rx_cb()
583 kfifo_in_spinlocked(&ctx->async_msg_fifo, &amsg, in xgene_hwmon_pcc_rx_cb()