Searched refs:c_step1cnt (Results 1 - 2 of 2) sorted by relevance
/netbsd-current/sys/dev/i2c/ |
H A D | axp809.c | 55 u_int c_step1cnt; member in struct:axp809_ctrl 68 .c_step1 = (step), .c_step1cnt = (((max) - (min)) / (step)) + 1, \ 75 .c_step1 = (step1), .c_step1cnt = (step1cnt), \ 220 for (nstep = 0; nstep < c->c_step1cnt && vol < min; nstep++) { 265 if (reg_val < c->c_step1cnt) { 268 *pvol = c->c_min + (c->c_step1cnt * c->c_step1) + 269 ((reg_val - c->c_step1cnt) * c->c_step2);
|
H A D | axppmic.c | 122 u_int c_step1cnt; member in struct:axppmic_ctrl 138 .c_step1 = (step), .c_step1cnt = (((max) - (min)) / (step)) + 1, \ 146 .c_step1 = (step1), .c_step1cnt = (step1cnt), \ 154 .c_step1 = (step1), .c_step1cnt = (step1cnt), \ 163 .c_step1 = (step), .c_step1cnt = (((max) - (min)) / (step)) + 1, \ 526 for (nstep = 0; nstep < c->c_step1cnt && vol < min; nstep++) { 569 if (reg_val < c->c_step1cnt) { 573 ((reg_val - c->c_step1cnt) * c->c_step2); 575 *pvol = c->c_min + (c->c_step1cnt * c->c_step1) + 576 ((reg_val - c->c_step1cnt) * [all...] |
Completed in 99 milliseconds