Lines Matching refs:set_val
24 #define set_val(addr, val) REG(addr) = (val) macro
25 #define set_bit(addr, val) set_val((addr), (get_val(addr) | (val)))
26 #define clear_bit(addr, val) set_val((addr), (get_val(addr) & ~(val)))
58 set_val(®s->mmcclk, 0);
73 set_val(®s->mmcclk, (clkrt | MMCCLK_CLKEN));
192 set_val(®s->mmcim, 0);
199 set_val(®s->mmcfifoctl,
206 set_val(®s->mmcfifoctl, MMCFIFOCTL_FIFOLEV);
208 set_val(®s->mmcfifoctl,
214 set_val(®s->mmctod, 0xFFFF);
215 set_val(®s->mmcnblk, (data->blocks & MMCNBLK_NBLK_MASK));
216 set_val(®s->mmcblen, (data->blocksize & MMCBLEN_BLEN_MASK));
224 set_val(®s->mmcdxr, val);
230 set_val(®s->mmcblen, 0);
231 set_val(®s->mmcnblk, 0);
234 set_val(®s->mmctor, 0x1FFF);
237 set_val(®s->mmcarghl, cmd->cmdarg);
238 set_val(®s->mmccmd, cmddata);
324 set_val(®s->mmcdxr, cmddata);
363 set_val(®s->mmcclk, 0x0);
364 set_val(®s->mmctor, 0x1FFF);
365 set_val(®s->mmctod, 0xFFFF);
374 set_val(®s->mmcfifoctl, (MMCFIFOCTL_FIFOLEV | MMCFIFOCTL_FIFORST));
375 set_val(®s->mmcfifoctl, MMCFIFOCTL_FIFOLEV);