Home
last modified time | relevance | path

Searched refs:mr_mask (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/watchdog/
H A Dat91sam9_wdt.c87 u32 mr_mask; member
158 u32 mask = wdt->mr_mask; in at91_wdt_init()
216 if ((tmp & wdt->mr_mask) != (wdt->mr & wdt->mr_mask)) in at91_wdt_init()
219 tmp & wdt->mr_mask, wdt->mr & wdt->mr_mask); in at91_wdt_init()
291 wdt->mr_mask = 0x3FFFFFFF; in of_at91wdt_init()
296 wdt->mr_mask &= ~AT91_WDT_WDRPROC; in of_at91wdt_init()
307 wdt->mr_mask &= AT91_WDT_WDDIS; in of_at91wdt_init()
338 wdt->mr_mask = 0x3FFFFFFF; in at91wdt_probe()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_msg.c35 unsigned long mr_mask; in enetc_msg_task() local
39 mr_mask = enetc_rd(hw, ENETC_PSIMSGRR) & ENETC_PSIMSGRR_MR_MASK; in enetc_msg_task()
40 if (!mr_mask) { in enetc_msg_task()
51 if (!(ENETC_PSIMSGRR_MR(i) & mr_mask)) in enetc_msg_task()
/openbmc/linux/sound/soc/atmel/
H A Datmel-i2s.c328 unsigned int mr = 0, mr_mask; in atmel_i2s_hw_params() local
331 mr_mask = ATMEL_I2SC_MR_FORMAT_MASK | ATMEL_I2SC_MR_MODE_MASK | in atmel_i2s_hw_params()
334 mr_mask |= ATMEL_I2SC_MR_TXMONO; in atmel_i2s_hw_params()
336 mr_mask |= ATMEL_I2SC_MR_RXMONO; in atmel_i2s_hw_params()
416 return regmap_update_bits(dev->regmap, ATMEL_I2SC_MR, mr_mask, mr); in atmel_i2s_hw_params()
422 unsigned int mr, mr_mask; in atmel_i2s_switch_mck_generator() local
427 mr_mask = (ATMEL_I2SC_MR_IMCKDIV_MASK | in atmel_i2s_switch_mck_generator()
440 mr_mask, mr); in atmel_i2s_switch_mck_generator()
467 ret = regmap_update_bits(dev->regmap, ATMEL_I2SC_MR, mr_mask, mr); in atmel_i2s_switch_mck_generator()
/openbmc/linux/drivers/memory/tegra/
H A Dtegra20-emc.c544 u32 val, mr_mask = 0xff; in emc_read_lpddr_mode_register() local
569 *register_data = FIELD_GET(EMC_MRR_MRR_DATA, val) & mr_mask; in emc_read_lpddr_mode_register()
H A Dtegra30-emc.c1065 u32 val, mr_mask = 0xff; in emc_read_lpddr_mode_register() local
1090 *register_data = FIELD_GET(EMC_MRR_MRR_DATA, val) & mr_mask; in emc_read_lpddr_mode_register()