Searched refs:PM_WRITE (Results 1 – 2 of 2) sorted by relevance
/drivers/soc/bcm/ |
D | bcm2835-power.c | 110 #define PM_WRITE(reg, val) writel(PM_PASSWORD | (val), power->base + (reg)) macro 206 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISFUNC); in bcm2835_power_power_off() 209 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISPOW); in bcm2835_power_power_off() 212 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_POWUP); in bcm2835_power_power_off() 240 PM_WRITE(pm_reg, in bcm2835_power_power_on() 260 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_ISPOW); in bcm2835_power_power_on() 263 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_MEMREP); in bcm2835_power_power_on() 276 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_ISFUNC); in bcm2835_power_power_on() 281 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISPOW); in bcm2835_power_power_on() 283 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~(PM_POWUP | PM_INRUSH_MASK)); in bcm2835_power_power_on() [all …]
|
/drivers/md/ |
D | dm-thin.c | 201 PM_WRITE, /* metadata may be changed */ enumerator 1472 set_pool_mode(pool, PM_WRITE); in check_for_data_space() 1517 if (WARN_ON(get_pool_mode(pool) != PM_WRITE)) in alloc_data_block() 1593 case PM_WRITE: in should_error_unserviceable_bio() 2529 if (new_mode == PM_WRITE && needs_check) { in set_pool_mode() 2591 case PM_WRITE: in set_pool_mode() 2875 pf->mode = PM_WRITE; in pool_features_init() 3510 set_pool_mode(pool, PM_WRITE); in maybe_resize_metadata_dev()
|