/drivers/macintosh/ |
D | windfarm_smu_sat.c | 53 struct wf_sensor sens; member 56 #define wf_to_sat(c) container_of(c, struct wf_sat_sensor, sens) 159 struct wf_sat_sensor *sens = wf_to_sat(sr); in wf_sat_get() local 160 struct wf_sat *sat = sens->sat; in wf_sat_get() 174 i = sens->index * 2; in wf_sat_get() 175 val = ((sat->cache[i] << 8) + sat->cache[i+1]) << sens->shift; in wf_sat_get() 176 if (sens->index2 >= 0) { in wf_sat_get() 177 i = sens->index2 * 2; in wf_sat_get() 192 struct wf_sat_sensor *sens = wf_to_sat(sr); in wf_sat_release() local 193 struct wf_sat *sat = sens->sat; in wf_sat_release() [all …]
|
D | windfarm_smu_sensors.c | 56 struct wf_sensor sens; member 58 #define to_smu_ads(c) container_of(c, struct smu_ad_sensor, sens) 221 ads->sens.ops = &smu_cputemp_ops; in smu_ads_create() 222 ads->sens.name = "cpu-temp"; in smu_ads_create() 230 ads->sens.ops = &smu_cpuamp_ops; in smu_ads_create() 231 ads->sens.name = "cpu-current"; in smu_ads_create() 239 ads->sens.ops = &smu_cpuvolt_ops; in smu_ads_create() 240 ads->sens.name = "cpu-voltage"; in smu_ads_create() 248 ads->sens.ops = &smu_slotspow_ops; in smu_ads_create() 249 ads->sens.name = "slots-power"; in smu_ads_create() [all …]
|
D | windfarm_lm75_sensor.c | 41 struct wf_sensor sens; member 43 #define wf_to_lm75(c) container_of(c, struct wf_lm75_sensor, sens) 129 lm->sens.name = "hd-temp"; in wf_lm75_create() 131 lm->sens.name = "incoming-air-temp"; in wf_lm75_create() 133 lm->sens.name = "optical-drive-temp"; in wf_lm75_create() 135 lm->sens.name = "hard-drive-temp"; in wf_lm75_create() 140 lm->sens.ops = &wf_lm75_ops; in wf_lm75_create() 145 strncpy(lm->i2c.name, lm->sens.name, I2C_NAME_SIZE-1); in wf_lm75_create() 155 if (wf_register_sensor(&lm->sens)) { in wf_lm75_create() 209 DBG("wf_lm75: i2c detatch called for %s\n", lm->sens.name); in wf_lm75_detach() [all …]
|
D | windfarm_max6690_sensor.c | 30 struct wf_sensor sens; member 33 #define wf_to_6690(x) container_of((x), struct wf_6690_sensor, sens) 102 max->sens.ops = &wf_max6690_ops; in wf_max6690_create() 103 max->sens.name = name; in wf_max6690_create() 114 if (wf_register_sensor(&max->sens)) { in wf_max6690_create() 162 wf_unregister_sensor(&max->sens); in wf_max6690_detach()
|
D | windfarm_core.c | 298 struct wf_sensor *sens = container_of(attr, struct wf_sensor, attr); in wf_show_sensor() local 302 err = sens->ops->get_value(sens, &val); in wf_show_sensor()
|
/drivers/staging/rtl8187se/ |
D | r8180_sa2400.c | 101 short sa2400_rf_set_sens(struct net_device *dev, short sens) in sa2400_rf_set_sens() argument 104 if ((sens > 85) || (sens < 54)) return -1; in sa2400_rf_set_sens() 106 write_sa2400(dev,5,0x1dfb | (sens-54) << 15 |(finetune<<20)); // AGC 0xc9dfb in sa2400_rf_set_sens()
|
D | r8180_rtl8225z2.c | 404 short rtl8225_rf_set_sens(struct net_device *dev, short sens) 406 if (sens <0 || sens > 6) return -1; 408 if(sens > 4) 413 sens= 6-sens; 414 rtl8225_set_gain(dev, sens); 416 write_phy_cck(dev, 0x41, rtl8225_threshold[sens]);
|
D | r8180_sa2400.h | 25 short sa2400_rf_set_sens(struct net_device *dev,short sens);
|
D | r8180_wx.c | 735 wrqu->sens.value = priv->sens; 758 if(priv->rf_set_sens(dev, wrqu->sens.value) == 0) 759 priv->sens = wrqu->sens.value;
|
D | r8180.h | 378 short sens; member 405 short (*rf_set_sens)(struct net_device *dev,short sens);
|
/drivers/hwmon/ |
D | w83627hf.c | 377 u16 sens[3]; /* 1 = pentium diode; 2 = 3904 diode; member 1057 return sprintf(buf, "%ld\n", (long) data->sens[nr]); in show_temp_type() 1080 data->sens[nr] = val; in store_temp_type() 1089 data->sens[nr] = val; in store_temp_type() 1099 data->sens[nr] = val; in store_temp_type() 1626 data->sens[i - 1] = 4; in w83627hf_init_device() 1631 data->sens[i - 1] = 1; in w83627hf_init_device() 1633 data->sens[i - 1] = 2; in w83627hf_init_device()
|
D | w83781d.c | 238 u16 sens[3]; /* 782D/783S only. member 751 return sprintf(buf, "%d\n", (int)data->sens[attr->index]); in show_sensor() 775 data->sens[nr] = val; in store_sensor() 784 data->sens[nr] = val; in store_sensor() 794 data->sens[nr] = val; in store_sensor() 1378 data->sens[i - 1] = 4; in w83781d_init_device() 1383 data->sens[i - 1] = 1; in w83781d_init_device() 1385 data->sens[i - 1] = 2; in w83781d_init_device()
|
/drivers/net/wireless/rt2x00/ |
D | rt2500usb.c | 712 u16 sens; 779 sens = rt2x00_get_field16(r17_sens, EEPROM_BBPTUNE_R17_LOW); 780 if (r17 != sens) 781 rt2500usb_bbp_write(rt2x00dev, 17, sens); 789 sens = rt2x00_get_field16(r17_sens, EEPROM_BBPTUNE_R17_HIGH); 790 if (r17 != sens) 791 rt2500usb_bbp_write(rt2x00dev, 17, sens);
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-calib.c | 175 const struct iwl_sensitivity_ranges *ranges = priv->hw_params.sens; in iwl_sens_energy_cck() 363 const struct iwl_sensitivity_ranges *ranges = priv->hw_params.sens; in iwl_sens_auto_corr_ofdm() 496 const struct iwl_sensitivity_ranges *ranges = priv->hw_params.sens; in iwl_init_sensitivity()
|
D | iwl-dev.h | 536 const struct iwl_sensitivity_ranges *sens; member
|
D | iwl-5000.c | 843 priv->hw_params.sens = &iwl5000_sensitivity; in iwl5000_hw_set_hw_params()
|
D | iwl-4965.c | 829 priv->hw_params.sens = &iwl4965_sensitivity; in iwl4965_hw_set_hw_params()
|
/drivers/staging/otus/ |
D | ioctl.c | 730 struct iw_param *sens, char *extra) in usbdrvwext_siwsens() argument 737 struct iw_param *sens, char *extra) in usbdrvwext_giwsens() argument 739 sens->value = 0; in usbdrvwext_giwsens() 740 sens->fixed = 1; in usbdrvwext_giwsens()
|
D | usbdrv.c | 134 struct iw_param *sens, char *extra); 136 struct iw_param *sens, char *extra);
|
/drivers/net/wireless/ |
D | wl3501_cs.c | 1548 wrqu->sens.value = this->rssi; in wl3501_get_sens() 1549 wrqu->sens.disabled = !wrqu->sens.value; in wl3501_get_sens() 1550 wrqu->sens.fixed = 1; in wl3501_get_sens()
|
D | wavelan_cs.c | 1992 psa.psa_thr_pre_set = wrqu->sens.value & 0x3F; in wavelan_set_sens() 2028 wrqu->sens.value = psa.psa_thr_pre_set & 0x3F; in wavelan_get_sens() 2029 wrqu->sens.fixed = 1; in wavelan_get_sens()
|
D | wavelan.c | 1923 psa.psa_thr_pre_set = wrqu->sens.value & 0x3F; in wavelan_set_sens() 1960 wrqu->sens.value = psa.psa_thr_pre_set & 0x3F; in wavelan_get_sens() 1961 wrqu->sens.fixed = 1; in wavelan_get_sens()
|
/drivers/net/wireless/hostap/ |
D | hostap_ioctl.c | 448 struct iw_param *sens, char *extra) in prism2_ioctl_siwsens() argument 457 if (sens->value < 1 || sens->value > 3) in prism2_ioctl_siwsens() 460 if (hostap_set_word(dev, HFA384X_RID_CNFSYSTEMSCALE, sens->value) || in prism2_ioctl_siwsens() 469 struct iw_param *sens, char *extra) in prism2_ioctl_giwsens() argument 483 sens->value = le16_to_cpu(val); in prism2_ioctl_giwsens() 484 sens->fixed = 1; in prism2_ioctl_giwsens()
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2200.c | 2346 static int ipw_set_sensitivity(struct ipw_priv *priv, u16 sens) in ipw_set_sensitivity() argument 2349 .beacon_rssi_raw = cpu_to_le16(sens), in ipw_set_sensitivity() 9146 IPW_DEBUG_WX("Setting roaming threshold to %d\n", wrqu->sens.value); in ipw_wx_set_sens() 9147 IPW_DEBUG_WX("Setting disassociate threshold to %d\n", 3*wrqu->sens.value); in ipw_wx_set_sens() 9150 if (wrqu->sens.fixed == 0) in ipw_wx_set_sens() 9156 if ((wrqu->sens.value > IPW_MB_ROAMING_THRESHOLD_MAX) || in ipw_wx_set_sens() 9157 (wrqu->sens.value < IPW_MB_ROAMING_THRESHOLD_MIN)) { in ipw_wx_set_sens() 9162 priv->roaming_threshold = wrqu->sens.value; in ipw_wx_set_sens() 9163 priv->disassociate_threshold = 3*wrqu->sens.value; in ipw_wx_set_sens() 9175 wrqu->sens.fixed = 1; in ipw_wx_get_sens() [all …]
|
/drivers/net/wireless/prism54/ |
D | isl_ioctl.c | 392 u32 sens; in prism54_set_sens() local 395 sens = vwrq->disabled ? 20 : vwrq->value; in prism54_set_sens() 397 return mgt_set_request(priv, DOT11_OID_EDTHRESHOLD, 0, &sens); in prism54_set_sens()
|