Lines Matching refs:ecr
379 uint8_t ecr;
380 ecr = RTW_READ8(regs, RTW_9346CR);
381 ecr &= ~(RTW_9346CR_EEM_MASK | RTW_9346CR_EECS | RTW_9346CR_EESK);
383 ecr |= RTW_9346CR_EEM_CONFIG;
386 ecr |= RTW_9346CR_EEM_NORMAL;
388 RTW_WRITE8(regs, RTW_9346CR, ecr);
569 uint8_t ecr;
571 ecr = RTW_READ8(regs, RTW_9346CR);
572 ecr = (ecr & ~RTW_9346CR_EEM_MASK) | RTW_9346CR_EEM_AUTOLOAD;
573 RTW_WRITE8(regs, RTW_9346CR, ecr);
579 ecr = RTW_READ8(regs, RTW_9346CR);
580 if ((ecr & RTW_9346CR_EEM_MASK) == RTW_9346CR_EEM_NORMAL) {
795 uint8_t ecr;
799 ecr = RTW_READ8(regs, RTW_9346CR);
811 ecr &= ~(RTW_9346CR_EEDI | RTW_9346CR_EEDO | RTW_9346CR_EESK |
813 ecr |= RTW_9346CR_EEM_PROGRAM;
815 RTW_WRITE8(regs, RTW_9346CR, ecr);
845 sd.sd_MS = ecr;
862 (ecr & ~RTW_9346CR_EEM_MASK) | RTW_9346CR_EEM_NORMAL);