Home
last modified time | relevance | path

Searched refs:nval (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/aic94xx/
Daic94xx_reg.h251 u16 nval = asd_ddbsite_read_word(asd_ha, ddb_site_no, base); in asd_ddbsite_update_byte() local
253 if ((nval >> 8) != _oldval) in asd_ddbsite_update_byte()
255 nval = (_newval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte()
256 oval = (_oldval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte()
258 if ((nval & 0xFF) != _oldval) in asd_ddbsite_update_byte()
260 nval = (nval & 0xFF00) | _newval; in asd_ddbsite_update_byte()
261 oval = (nval & 0xFF00) | _oldval; in asd_ddbsite_update_byte()
263 return asd_ddbsite_update_word(asd_ha, ddb_site_no, base, oval, nval); in asd_ddbsite_update_byte()
/drivers/hwmon/
Dsis5595.c135 unsigned long nval = SENSORS_LIMIT(val, 0, 4080); in IN_TO_REG() local
136 return (nval + 8) / 16; in IN_TO_REG()
162 int nval = SENSORS_LIMIT(val, -54120, 157530) ; in TEMP_TO_REG() local
163 return nval < 0 ? (nval - 5212 - 415) / 830 : (nval - 5212 + 415) / 830; in TEMP_TO_REG()
Dlm78.c88 unsigned long nval = SENSORS_LIMIT(val, 0, 4080); in IN_TO_REG() local
89 return (nval + 8) / 16; in IN_TO_REG()
111 int nval = SENSORS_LIMIT(val, -128000, 127000) ; in TEMP_TO_REG() local
112 return nval < 0 ? (nval - 500) / 1000 : (nval + 500) / 1000; in TEMP_TO_REG()
Dasb100.c117 unsigned nval = SENSORS_LIMIT(val, ASB100_IN_MIN, ASB100_IN_MAX); in IN_TO_REG() local
118 return (nval + 8) / 16; in IN_TO_REG()
/drivers/isdn/mISDN/
Dtei.c482 tm->nval = 3; in tei_id_request()
602 tm->nval = 2; in tei_id_verify()
610 if (--tm->nval) { in tei_id_req_tout()
614 4 - tm->nval, tm->ri); in tei_id_req_tout()
629 if (--tm->nval) { in tei_id_ver_tout()
633 3 - tm->nval, tm->l2->tei); in tei_id_ver_tout()
700 tm->nval = 2; in tei_id_chk_req_net()
745 } else if (--tm->nval) { in tei_id_ver_tout_net()
749 3 - tm->nval, tm->l2->tei); in tei_id_ver_tout_net()
Dlayer2.h42 int tval, nval; member
/drivers/media/video/pvrusb2/
Dpvrusb2-hdw.c5142 u32 cval,nval; in pvr2_hdw_gpio_chg_dir() local
5147 nval = (cval & ~msk) | (val & msk); in pvr2_hdw_gpio_chg_dir()
5151 msk,val,cval,nval); in pvr2_hdw_gpio_chg_dir()
5153 nval = val; in pvr2_hdw_gpio_chg_dir()
5155 "GPIO direction changing to 0x%x",nval); in pvr2_hdw_gpio_chg_dir()
5157 return pvr2_write_register(hdw,PVR2_GPIO_DIR,nval); in pvr2_hdw_gpio_chg_dir()
5163 u32 cval,nval; in pvr2_hdw_gpio_chg_out() local
5168 nval = (cval & ~msk) | (val & msk); in pvr2_hdw_gpio_chg_out()
5171 msk,val,cval,nval); in pvr2_hdw_gpio_chg_out()
5173 nval = val; in pvr2_hdw_gpio_chg_out()
[all …]