Lines Matching refs:abs_step
245 unsigned int abs_step; in dw9763_get_dac() local
247 ret = dw9763_read_reg(client, 0x03, 2, &abs_step); in dw9763_get_dac()
251 *cur_dac = abs_step; in dw9763_get_dac()
267 unsigned int abs_step; in dw9763_get_pos() local
269 ret = dw9763_read_reg(client, 0x03, 2, &abs_step); in dw9763_get_pos()
273 if (abs_step <= dev_vcm->start_current) in dw9763_get_pos()
274 abs_step = VCMDRV_MAX_LOG; in dw9763_get_pos()
275 else if ((abs_step > dev_vcm->start_current) && in dw9763_get_pos()
276 (abs_step <= dev_vcm->rated_current)) in dw9763_get_pos()
277 abs_step = (dev_vcm->rated_current - abs_step) / dev_vcm->step; in dw9763_get_pos()
279 abs_step = 0; in dw9763_get_pos()
281 *cur_pos = abs_step; in dw9763_get_pos()