Lines Matching refs:amsg
256 u32 *amsg) in xgene_hwmon_get_notification_msg() argument
269 amsg[0] = msg[0]; in xgene_hwmon_get_notification_msg()
270 amsg[1] = msg[1]; in xgene_hwmon_get_notification_msg()
271 amsg[2] = msg[2]; in xgene_hwmon_get_notification_msg()
417 struct slimpro_resp_msg *amsg) in xgene_hwmon_tpc_alarm() argument
419 ctx->temp_critical_alarm = !!amsg->param2; in xgene_hwmon_tpc_alarm()
426 struct slimpro_resp_msg *amsg) in xgene_hwmon_process_pwrmsg() argument
428 if ((MSG_SUBTYPE(amsg->msg) == PWRMGMT_SUBTYPE_TPC) && in xgene_hwmon_process_pwrmsg()
429 (TPC_CMD(amsg->msg) == TPC_ALARM)) in xgene_hwmon_process_pwrmsg()
430 xgene_hwmon_tpc_alarm(ctx, amsg); in xgene_hwmon_process_pwrmsg()
438 struct slimpro_resp_msg amsg; in xgene_hwmon_evt_work() local
443 while (kfifo_out_spinlocked(&ctx->async_msg_fifo, &amsg, in xgene_hwmon_evt_work()
452 (u32 *)&amsg); in xgene_hwmon_evt_work()
457 if (MSG_TYPE(amsg.msg) == MSG_TYPE_PWRMGMT) in xgene_hwmon_evt_work()
458 xgene_hwmon_process_pwrmsg(ctx, &amsg); in xgene_hwmon_evt_work()
532 struct slimpro_resp_msg amsg; in xgene_hwmon_pcc_rx_cb() local
540 if (xgene_hwmon_rx_ready(ctx, &amsg) < 0) in xgene_hwmon_pcc_rx_cb()
588 kfifo_in_spinlocked(&ctx->async_msg_fifo, &amsg, in xgene_hwmon_pcc_rx_cb()