• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/misc/

Lines Matching refs:tp_features

821 	tp_features.hotkey = hkey_handle != NULL;
824 str_supported(tp_features.hotkey));
826 if (tp_features.hotkey) {
837 tp_features.hotkey_mask =
841 str_supported(tp_features.hotkey_mask));
844 if (!res && tp_features.hotkey_mask) {
858 return (tp_features.hotkey)? 0 : 1;
865 if (tp_features.hotkey) {
898 if (tp_features.hotkey_mask)
915 if (tp_features.hotkey_mask)
932 if (!tp_features.hotkey) {
946 if (tp_features.hotkey_mask) {
964 if (!tp_features.hotkey)
1077 tp_features.bluetooth = hkey_handle &&
1081 str_supported(tp_features.bluetooth),
1084 if (tp_features.bluetooth) {
1087 tp_features.bluetooth = 0;
1098 return (tp_features.bluetooth)? 0 : 1;
1111 if (!tp_features.bluetooth)
1124 if (!tp_features.bluetooth)
1145 if (!tp_features.bluetooth)
1160 if (!tp_features.bluetooth)
1239 tp_features.wan = hkey_handle &&
1243 str_supported(tp_features.wan),
1246 if (tp_features.wan) {
1249 tp_features.wan = 0;
1260 return (tp_features.wan)? 0 : 1;
1273 if (!tp_features.wan)
1286 if (!tp_features.wan)
1307 if (!tp_features.wan)
1322 if (!tp_features.wan)
1682 tp_features.light = (cmos_handle || lght_handle) && !ledb_handle;
1684 if (tp_features.light)
1687 tp_features.light_status =
1691 str_supported(tp_features.light));
1693 return (tp_features.light)? 0 : 1;
1701 if (!tp_features.light) {
1703 } else if (!tp_features.light_status) {
1722 if (!tp_features.light)
1923 tp_features.bay_status = bay_handle &&
1925 tp_features.bay_status2 = bay2_handle &&
1928 tp_features.bay_eject = bay_handle && bay_ej_handle &&
1930 tp_features.bay_eject2 = bay2_handle && bay2_ej_handle &&
1935 str_supported(tp_features.bay_status),
1936 str_supported(tp_features.bay_eject),
1937 str_supported(tp_features.bay_status2),
1938 str_supported(tp_features.bay_eject2));
1940 return (tp_features.bay_status || tp_features.bay_eject ||
1941 tp_features.bay_status2 || tp_features.bay_eject2)? 0 : 1;
1959 tp_features.bay_status ?
1962 if (tp_features.bay_status2)
1966 eject = tp_features.bay_eject && occupied;
1967 eject2 = tp_features.bay_eject2 && occupied2;
1983 if (!tp_features.bay_eject && !tp_features.bay_eject2)
1987 if (tp_features.bay_eject && strlencmp(cmd, "eject") == 0) {
1990 } else if (tp_features.bay_eject2 &&
3047 if (unlikely(tp_features.fan_ctrl_status_undef)) {
3049 tp_features.fan_ctrl_status_undef = 0;
3121 if (unlikely(tp_features.fan_ctrl_status_undef)) {
3123 tp_features.fan_ctrl_status_undef = 0;
3245 tp_features.fan_ctrl_status_undef = 0;
3283 tp_features.fan_ctrl_status_undef = 1;
3521 tp_features.fan_ctrl_status_undef = 0;
3580 tp_features.fan_ctrl_status_undef = 0;
3628 tp_features.fan_ctrl_status_undef = 0;
3701 if (unlikely(tp_features.fan_ctrl_status_undef)) {
3703 tp_features.fan_ctrl_status_undef = 0;