Home
last modified time | relevance | path

Searched refs:reg_cache (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/clk/samsung/
Dclk.c274 struct samsung_clock_reg_cache *reg_cache; in samsung_clk_suspend() local
276 list_for_each_entry(reg_cache, &clock_reg_cache_list, node) { in samsung_clk_suspend()
277 samsung_clk_save(reg_cache->reg_base, reg_cache->rdump, in samsung_clk_suspend()
278 reg_cache->rd_num); in samsung_clk_suspend()
279 samsung_clk_restore(reg_cache->reg_base, reg_cache->rsuspend, in samsung_clk_suspend()
280 reg_cache->rsuspend_num); in samsung_clk_suspend()
287 struct samsung_clock_reg_cache *reg_cache; in samsung_clk_resume() local
289 list_for_each_entry(reg_cache, &clock_reg_cache_list, node) in samsung_clk_resume()
290 samsung_clk_restore(reg_cache->reg_base, reg_cache->rdump, in samsung_clk_resume()
291 reg_cache->rd_num); in samsung_clk_resume()
[all …]
/linux-6.1.9/drivers/misc/
Disl29003.c52 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()
437 for (i = 0; i < ARRAY_SIZE(data->reg_cache); i++) in isl29003_resume()
438 if (i2c_smbus_write_byte_data(client, i, data->reg_cache[i])) in isl29003_resume()
/linux-6.1.9/sound/soc/ti/
Domap-mcbsp-priv.h270 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()
Domap-mcbsp.c292 void *reg_cache; in omap_mcbsp_request() local
295 reg_cache = kzalloc(mcbsp->reg_cache_size, GFP_KERNEL); in omap_mcbsp_request()
296 if (!reg_cache) in omap_mcbsp_request()
307 mcbsp->reg_cache = reg_cache; in omap_mcbsp_request()
356 mcbsp->reg_cache = NULL; in omap_mcbsp_request()
359 kfree(reg_cache); in omap_mcbsp_request()
366 void *reg_cache; in omap_mcbsp_free() local
385 reg_cache = mcbsp->reg_cache; in omap_mcbsp_free()
402 mcbsp->reg_cache = NULL; in omap_mcbsp_free()
405 kfree(reg_cache); in omap_mcbsp_free()
/linux-6.1.9/drivers/mfd/
Daat2870-core.c101 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()
354 aat2870->reg_cache = aat2870_regs; in aat2870_i2c_probe()
434 reg = &aat2870->reg_cache[i]; in aat2870_i2c_resume()
/linux-6.1.9/sound/soc/codecs/
Dcx20442.c27 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()
Duda1380.c38 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()
Dtlv320dac33.c95 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()
/linux-6.1.9/include/linux/mfd/
Daat2870.h124 struct aat2870_register *reg_cache; /* register cache */ member
/linux-6.1.9/drivers/misc/lis3lv02d/
Dlis3lv02d.c380 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()
Dlis3lv02d.h272 u8 *reg_cache; member