Home
last modified time | relevance | path

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

/drivers/soc/bcm/
Dbcm2835-power.c110 #define PM_WRITE(reg, val) writel(PM_PASSWORD | (val), power->base + (reg)) macro
196 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISFUNC); in bcm2835_power_power_off()
199 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISPOW); in bcm2835_power_power_off()
202 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_POWUP); in bcm2835_power_power_off()
226 PM_WRITE(pm_reg, in bcm2835_power_power_on()
246 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_ISPOW); in bcm2835_power_power_on()
249 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_MEMREP); in bcm2835_power_power_on()
262 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_ISFUNC); in bcm2835_power_power_on()
267 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISPOW); in bcm2835_power_power_on()
269 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~(PM_POWUP | PM_INRUSH_MASK)); in bcm2835_power_power_on()
[all …]
/drivers/md/
Ddm-thin.c201 PM_WRITE, /* metadata may be changed */ enumerator
1483 set_pool_mode(pool, PM_WRITE); in check_for_data_space()
1528 if (WARN_ON(get_pool_mode(pool) != PM_WRITE)) in alloc_data_block()
1604 case PM_WRITE: in should_error_unserviceable_bio()
2540 if (new_mode == PM_WRITE && needs_check) { in set_pool_mode()
2602 case PM_WRITE: in set_pool_mode()
2894 pf->mode = PM_WRITE; in pool_features_init()
3537 set_pool_mode(pool, PM_WRITE); in maybe_resize_metadata_dev()