Searched refs:reg_cache (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/clk/samsung/ |
H A D | clk.c | 288 samsung_clk_save(reg_cache->reg_base, reg_cache->rdump, in samsung_clk_suspend() 289 reg_cache->rd_num); in samsung_clk_suspend() 290 samsung_clk_restore(reg_cache->reg_base, reg_cache->rsuspend, in samsung_clk_suspend() 291 reg_cache->rsuspend_num); in samsung_clk_suspend() 301 samsung_clk_restore(reg_cache->reg_base, reg_cache->rdump, in samsung_clk_resume() 302 reg_cache->rd_num); in samsung_clk_resume() 320 if (!reg_cache) in samsung_clk_extended_sleep_init() 324 if (!reg_cache->rdump) in samsung_clk_extended_sleep_init() 330 reg_cache->reg_base = reg_base; in samsung_clk_extended_sleep_init() 331 reg_cache->rd_num = nr_rdump; in samsung_clk_extended_sleep_init() [all …]
|
/openbmc/linux/drivers/misc/ |
H A D | isl29003.c | 52 u8 reg_cache[ISL29003_NUM_CACHABLE_REGS]; member 69 return (data->reg_cache[reg] & mask) >> shift; in __isl29003_read_reg() 84 tmp = data->reg_cache[reg]; in __isl29003_write_reg() 90 data->reg_cache[reg] = tmp; in __isl29003_write_reg() 150 u8 cmdreg = data->reg_cache[ISL29003_REG_COMMAND]; in isl29003_get_power_state() 355 for (i = 0; i < ARRAY_SIZE(data->reg_cache); i++) { in isl29003_init_client() 361 data->reg_cache[i] = v; in isl29003_init_client() 436 for (i = 0; i < ARRAY_SIZE(data->reg_cache); i++) in isl29003_resume() 437 if (i2c_smbus_write_byte_data(client, i, data->reg_cache[i])) in isl29003_resume()
|
/openbmc/linux/sound/soc/ti/ |
H A D | omap-mcbsp-priv.h | 270 void *reg_cache; member 287 ((u16 *)mcbsp->reg_cache)[reg] = (u16)val; in omap_mcbsp_write() 290 ((u32 *)mcbsp->reg_cache)[reg] = val; in omap_mcbsp_write() 302 ((u16 *)mcbsp->reg_cache)[reg]; in omap_mcbsp_read() 305 ((u32 *)mcbsp->reg_cache)[reg]; in omap_mcbsp_read()
|
H A D | omap-mcbsp.c | 294 void *reg_cache; in omap_mcbsp_request() local 297 reg_cache = kzalloc(mcbsp->reg_cache_size, GFP_KERNEL); in omap_mcbsp_request() 298 if (!reg_cache) in omap_mcbsp_request() 309 mcbsp->reg_cache = reg_cache; in omap_mcbsp_request() 358 mcbsp->reg_cache = NULL; in omap_mcbsp_request() 361 kfree(reg_cache); in omap_mcbsp_request() 368 void *reg_cache; in omap_mcbsp_free() local 387 reg_cache = mcbsp->reg_cache; in omap_mcbsp_free() 404 mcbsp->reg_cache = NULL; in omap_mcbsp_free() 407 kfree(reg_cache); in omap_mcbsp_free()
|
/openbmc/linux/drivers/mfd/ |
H A D | aat2870-core.c | 101 if (!aat2870->reg_cache[addr].readable) { in __aat2870_read() 102 *val = aat2870->reg_cache[addr].value; in __aat2870_read() 133 if (!aat2870->reg_cache[addr].writeable) { in __aat2870_write() 147 aat2870->reg_cache[addr].value = val; in __aat2870_write() 351 aat2870->reg_cache = aat2870_regs; in aat2870_i2c_probe() 430 reg = &aat2870->reg_cache[i]; in aat2870_i2c_resume()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cx20442.c | 27 u8 reg_cache; member 96 return cx20442->reg_cache; in cx20442_read_reg_cache() 167 old = cx20442->reg_cache; in cx20442_write() 168 cx20442->reg_cache = value; in cx20442_write()
|
H A D | uda1380.c | 38 u16 *reg_cache; member 65 u16 *cache = uda1380->reg_cache; in uda1380_read_reg_cache() 81 u16 *cache = uda1380->reg_cache; in uda1380_write_reg_cache() 138 u16 *cache = uda1380->reg_cache; in uda1380_sync_cache() 769 uda1380->reg_cache = devm_kmemdup(&i2c->dev, in uda1380_i2c_probe() 773 if (!uda1380->reg_cache) in uda1380_i2c_probe()
|
H A D | tlv320dac33.c | 95 u8 *reg_cache; member 164 u8 *cache = dac33->reg_cache; in dac33_read_reg_cache() 175 u8 *cache = dac33->reg_cache; in dac33_write_reg_cache() 1480 dac33->reg_cache = devm_kmemdup(&client->dev, in dac33_i2c_probe() 1484 if (!dac33->reg_cache) in dac33_i2c_probe()
|
/openbmc/linux/include/linux/mfd/ |
H A D | aat2870.h | 124 struct aat2870_register *reg_cache; /* register cache */ member
|
/openbmc/linux/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.c | 380 lis3->read(lis3, lis3->regs[i], &lis3->reg_cache[i]); in lis3_context_save() 389 lis3->write(lis3, lis3->regs[i], lis3->reg_cache[i]); in lis3_context_restore() 896 kfree(lis3->reg_cache); in lis3lv02d_remove_fs() 1178 lis3->reg_cache = kzalloc(max(sizeof(lis3_wai8_regs), in lis3lv02d_init_device() 1181 if (lis3->reg_cache == NULL) in lis3lv02d_init_device()
|
H A D | lis3lv02d.h | 272 u8 *reg_cache; member
|