Lines Matching refs:amsg
257 u32 *amsg) in xgene_hwmon_get_notification_msg() argument
270 amsg[0] = msg[0]; in xgene_hwmon_get_notification_msg()
271 amsg[1] = msg[1]; in xgene_hwmon_get_notification_msg()
272 amsg[2] = msg[2]; in xgene_hwmon_get_notification_msg()
418 struct slimpro_resp_msg *amsg) in xgene_hwmon_tpc_alarm() argument
420 ctx->temp_critical_alarm = !!amsg->param2; in xgene_hwmon_tpc_alarm()
427 struct slimpro_resp_msg *amsg) in xgene_hwmon_process_pwrmsg() argument
429 if ((MSG_SUBTYPE(amsg->msg) == PWRMGMT_SUBTYPE_TPC) && in xgene_hwmon_process_pwrmsg()
430 (TPC_CMD(amsg->msg) == TPC_ALARM)) in xgene_hwmon_process_pwrmsg()
431 xgene_hwmon_tpc_alarm(ctx, amsg); in xgene_hwmon_process_pwrmsg()
439 struct slimpro_resp_msg amsg; in xgene_hwmon_evt_work() local
444 while (kfifo_out_spinlocked(&ctx->async_msg_fifo, &amsg, in xgene_hwmon_evt_work()
453 (u32 *)&amsg); in xgene_hwmon_evt_work()
458 if (MSG_TYPE(amsg.msg) == MSG_TYPE_PWRMGMT) in xgene_hwmon_evt_work()
459 xgene_hwmon_process_pwrmsg(ctx, &amsg); in xgene_hwmon_evt_work()
533 struct slimpro_resp_msg amsg; in xgene_hwmon_pcc_rx_cb() local
541 if (xgene_hwmon_rx_ready(ctx, &amsg) < 0) in xgene_hwmon_pcc_rx_cb()
589 kfifo_in_spinlocked(&ctx->async_msg_fifo, &amsg, in xgene_hwmon_pcc_rx_cb()