Home
last modified time | relevance | path

Searched refs:step_len (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/mon/
H A Dmon_bin.c232 unsigned int step_len; in mon_copy_to_buff() local
240 step_len = length; in mon_copy_to_buff()
242 if (in_page < step_len) in mon_copy_to_buff()
243 step_len = in_page; in mon_copy_to_buff()
249 memcpy(buf, from, step_len); in mon_copy_to_buff()
250 if ((off += step_len) >= this->b_size) off = 0; in mon_copy_to_buff()
251 from += step_len; in mon_copy_to_buff()
252 length -= step_len; in mon_copy_to_buff()
264 unsigned int step_len; in copy_from_buf() local
272 step_len = length; in copy_from_buf()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dsc210iot.c311 int offset, step, step_len, reg_step_len; in sc210iot_set_gain() local
326 step_len = gain_sections[i].again_deviation / gain_sections[i].steps; in sc210iot_set_gain()
328 step = offset / step_len; in sc210iot_set_gain()
333 step_len = gain_sections[i].dgain_deviation / gain_sections[i].steps; in sc210iot_set_gain()
334 step = offset / step_len; in sc210iot_set_gain()