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.c125 unsigned long nval = SENSORS_LIMIT(val, 0, 4080); in IN_TO_REG() local
126 return (nval + 8) / 16; in IN_TO_REG()
150 int nval = SENSORS_LIMIT(val, -54120, 157530) ; in TEMP_TO_REG() local
151 return nval<0 ? (nval-5212-415)/830 : (nval-5212+415)/830; in TEMP_TO_REG()
Dlm78.c85 unsigned long nval = SENSORS_LIMIT(val, 0, 4080); in IN_TO_REG() local
86 return (nval + 8) / 16; in IN_TO_REG()
106 int nval = SENSORS_LIMIT(val, -128000, 127000) ; in TEMP_TO_REG() local
107 return nval<0 ? (nval-500)/1000 : (nval+500)/1000; in TEMP_TO_REG()
Dasb100.c114 unsigned nval = SENSORS_LIMIT(val, ASB100_IN_MIN, ASB100_IN_MAX); in IN_TO_REG() local
115 return (nval + 8) / 16; in IN_TO_REG()
/drivers/isdn/mISDN/
Dtei.c466 tm->nval = 3; in tei_id_request()
586 tm->nval = 2; in tei_id_verify()
594 if (--tm->nval) { in tei_id_req_tout()
598 4 - tm->nval, tm->ri); in tei_id_req_tout()
613 if (--tm->nval) { in tei_id_ver_tout()
617 3 - tm->nval, tm->l2->tei); in tei_id_ver_tout()
684 tm->nval = 2; in tei_id_chk_req_net()
729 } else if (--tm->nval) { in tei_id_ver_tout_net()
733 3 - tm->nval, tm->l2->tei); in tei_id_ver_tout_net()
Dlayer2.h42 int tval, nval; member
/drivers/media/video/pvrusb2/
Dpvrusb2-hdw.c4605 u32 cval,nval; in pvr2_hdw_gpio_chg_dir() local
4610 nval = (cval & ~msk) | (val & msk); in pvr2_hdw_gpio_chg_dir()
4614 msk,val,cval,nval); in pvr2_hdw_gpio_chg_dir()
4616 nval = val; in pvr2_hdw_gpio_chg_dir()
4618 "GPIO direction changing to 0x%x",nval); in pvr2_hdw_gpio_chg_dir()
4620 return pvr2_write_register(hdw,PVR2_GPIO_DIR,nval); in pvr2_hdw_gpio_chg_dir()
4626 u32 cval,nval; in pvr2_hdw_gpio_chg_out() local
4631 nval = (cval & ~msk) | (val & msk); in pvr2_hdw_gpio_chg_out()
4634 msk,val,cval,nval); in pvr2_hdw_gpio_chg_out()
4636 nval = val; in pvr2_hdw_gpio_chg_out()
[all …]