Lines Matching refs:thinkpad_call_method
1007 thinkpad_call_method(device_t self, const char *path, uint32_t arg) in thinkpad_call_method() function
1051 val = thinkpad_call_method(self, THINKPAD_GET_CHARGE_START, in thinkpad_battery_probe_support()
1062 val = thinkpad_call_method(self, THINKPAD_GET_CHARGE_STOP, in thinkpad_battery_probe_support()
1070 val = thinkpad_call_method(self, THINKPAD_GET_FORCE_DISCHARGE, in thinkpad_battery_probe_support()
1078 val = thinkpad_call_method(self, THINKPAD_GET_CHARGE_INHIBIT, in thinkpad_battery_probe_support()
1097 charge_start = thinkpad_call_method(sp->sp_dev, in thinkpad_battery_sysctl_charge_start()
1108 if (thinkpad_call_method(sp->sp_dev, THINKPAD_SET_CHARGE_START, in thinkpad_battery_sysctl_charge_start()
1123 charge_stop = thinkpad_call_method(sp->sp_dev, in thinkpad_battery_sysctl_charge_stop()
1140 if (thinkpad_call_method(sp->sp_dev, THINKPAD_SET_CHARGE_STOP, in thinkpad_battery_sysctl_charge_stop()
1155 charge_inhibit = thinkpad_call_method(sp->sp_dev, in thinkpad_battery_sysctl_charge_inhibit()
1163 if (thinkpad_call_method(sp->sp_dev, THINKPAD_SET_CHARGE_INHIBIT, in thinkpad_battery_sysctl_charge_inhibit()
1178 force_discharge = thinkpad_call_method(sp->sp_dev, in thinkpad_battery_sysctl_force_discharge()
1186 if (thinkpad_call_method(sp->sp_dev, THINKPAD_SET_FORCE_DISCHARGE, in thinkpad_battery_sysctl_force_discharge()