Lines Matching refs:exists
766 * Check if the accelerometer call exists,
2456 bool exists = true;
2459 exists = (drv->fan_supported) ? true : false;
2461 exists = (drv->kbd_illum_supported) ? true : false;
2463 exists = (drv->kbd_mode == SCI_KBD_MODE_AUTO) ? true : false;
2465 exists = (drv->touchpad_supported) ? true : false;
2467 exists = (drv->usb_sleep_charge_supported) ? true : false;
2469 exists = (drv->usb_sleep_charge_supported) ? true : false;
2471 exists = (drv->usb_rapid_charge_supported) ? true : false;
2473 exists = (drv->usb_sleep_music_supported) ? true : false;
2475 exists = (drv->kbd_function_keys_supported) ? true : false;
2477 exists = (drv->panel_power_on_supported) ? true : false;
2479 exists = (drv->usb_three_supported) ? true : false;
2481 exists = (drv->cooling_method_supported) ? true : false;
2483 return exists ? attr->mode : 0;