Lines Matching refs:cmd_base
52 union sfh_cmd_base cmd_base; in amd_start_sensor_v2() local
54 cmd_base.ul = 0; in amd_start_sensor_v2()
55 cmd_base.cmd_v2.cmd_id = ENABLE_SENSOR; in amd_start_sensor_v2()
56 cmd_base.cmd_v2.period = info.period; in amd_start_sensor_v2()
57 cmd_base.cmd_v2.sensor_id = info.sensor_idx; in amd_start_sensor_v2()
58 cmd_base.cmd_v2.length = 16; in amd_start_sensor_v2()
61 cmd_base.cmd_v2.mem_type = USE_C2P_REG; in amd_start_sensor_v2()
64 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_start_sensor_v2()
69 union sfh_cmd_base cmd_base; in amd_stop_sensor_v2() local
71 cmd_base.ul = 0; in amd_stop_sensor_v2()
72 cmd_base.cmd_v2.cmd_id = DISABLE_SENSOR; in amd_stop_sensor_v2()
73 cmd_base.cmd_v2.period = 0; in amd_stop_sensor_v2()
74 cmd_base.cmd_v2.sensor_id = sensor_idx; in amd_stop_sensor_v2()
75 cmd_base.cmd_v2.length = 16; in amd_stop_sensor_v2()
78 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_stop_sensor_v2()
83 union sfh_cmd_base cmd_base; in amd_stop_all_sensor_v2() local
85 cmd_base.cmd_v2.cmd_id = STOP_ALL_SENSORS; in amd_stop_all_sensor_v2()
86 cmd_base.cmd_v2.period = 0; in amd_stop_all_sensor_v2()
87 cmd_base.cmd_v2.sensor_id = 0; in amd_stop_all_sensor_v2()
89 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_stop_all_sensor_v2()
95 union sfh_cmd_base cmd_base; in amd_start_sensor() local
98 memset(&cmd_base, 0, sizeof(cmd_base)); in amd_start_sensor()
99 cmd_base.s.cmd_id = ENABLE_SENSOR; in amd_start_sensor()
100 cmd_base.s.period = info.period; in amd_start_sensor()
101 cmd_base.s.sensor_id = info.sensor_idx; in amd_start_sensor()
110 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_start_sensor()
115 union sfh_cmd_base cmd_base; in amd_stop_sensor() local
118 memset(&cmd_base, 0, sizeof(cmd_base)); in amd_stop_sensor()
119 cmd_base.s.cmd_id = DISABLE_SENSOR; in amd_stop_sensor()
120 cmd_base.s.period = 0; in amd_stop_sensor()
121 cmd_base.s.sensor_id = sensor_idx; in amd_stop_sensor()
124 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_stop_sensor()
129 union sfh_cmd_base cmd_base; in amd_stop_all_sensors() local
132 memset(&cmd_base, 0, sizeof(cmd_base)); in amd_stop_all_sensors()
133 cmd_base.s.cmd_id = STOP_ALL_SENSORS; in amd_stop_all_sensors()
134 cmd_base.s.period = 0; in amd_stop_all_sensors()
135 cmd_base.s.sensor_id = 0; in amd_stop_all_sensors()
137 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_stop_all_sensors()