Searched refs:reg_cache (Results 1 – 6 of 6) sorted by relevance
/drivers/clk/samsung/ |
D | clk.c | 327 struct samsung_clock_reg_cache *reg_cache; in samsung_clk_suspend() local 329 list_for_each_entry(reg_cache, &clock_reg_cache_list, node) in samsung_clk_suspend() 330 samsung_clk_save(reg_cache->reg_base, reg_cache->rdump, in samsung_clk_suspend() 331 reg_cache->rd_num); in samsung_clk_suspend() 337 struct samsung_clock_reg_cache *reg_cache; in samsung_clk_resume() local 339 list_for_each_entry(reg_cache, &clock_reg_cache_list, node) in samsung_clk_resume() 340 samsung_clk_restore(reg_cache->reg_base, reg_cache->rdump, in samsung_clk_resume() 341 reg_cache->rd_num); in samsung_clk_resume() 353 struct samsung_clock_reg_cache *reg_cache; in samsung_clk_sleep_init() local 355 reg_cache = kzalloc(sizeof(struct samsung_clock_reg_cache), in samsung_clk_sleep_init() [all …]
|
/drivers/misc/ |
D | isl29003.c | 65 u8 reg_cache[ISL29003_NUM_CACHABLE_REGS]; member 81 return (data->reg_cache[reg] & mask) >> shift; in __isl29003_read_reg() 96 tmp = data->reg_cache[reg]; in __isl29003_write_reg() 102 data->reg_cache[reg] = tmp; in __isl29003_write_reg() 162 u8 cmdreg = data->reg_cache[ISL29003_REG_COMMAND]; in isl29003_get_power_state() 362 for (i = 0; i < ARRAY_SIZE(data->reg_cache); i++) { in isl29003_init_client() 367 data->reg_cache[i] = v; in isl29003_init_client() 444 for (i = 0; i < ARRAY_SIZE(data->reg_cache); i++) in isl29003_resume() 445 if (i2c_smbus_write_byte_data(client, i, data->reg_cache[i])) in isl29003_resume()
|
/drivers/mfd/ |
D | aat2870-core.c | 115 if (!aat2870->reg_cache[addr].readable) { in __aat2870_read() 116 *val = aat2870->reg_cache[addr].value; in __aat2870_read() 147 if (!aat2870->reg_cache[addr].writeable) { in __aat2870_write() 161 aat2870->reg_cache[addr].value = val; in __aat2870_write() 388 aat2870->reg_cache = aat2870_regs; in aat2870_i2c_probe() 482 reg = &aat2870->reg_cache[i]; in aat2870_i2c_resume()
|
/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 392 lis3->read(lis3, lis3->regs[i], &lis3->reg_cache[i]); in lis3_context_save() 401 lis3->write(lis3, lis3->regs[i], lis3->reg_cache[i]); in lis3_context_restore() 899 kfree(lis3->reg_cache); in lis3lv02d_remove_fs() 1183 lis3->reg_cache = kzalloc(max(sizeof(lis3_wai8_regs), in lis3lv02d_init_device() 1186 if (lis3->reg_cache == NULL) { in lis3lv02d_init_device()
|
D | lis3lv02d.h | 285 u8 *reg_cache; member
|
/drivers/media/platform/soc_camera/ |
D | omap1_camera.c | 179 u32 reg_cache[0]; member 185 pcdev->reg_cache[reg / sizeof(u32)] = val; in cam_write() 192 pcdev->reg_cache[reg / sizeof(u32)]; in cam_read()
|