Searched refs:cs35l56_base (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/sound/soc/codecs/ |
H A D | cs35l56-shared.c | 22 int cs35l56_set_patch(struct cs35l56_base *cs35l56_base) in cs35l56_set_patch() argument 24 return regmap_register_patch(cs35l56_base->regmap, cs35l56_patch, in cs35l56_set_patch() 203 int cs35l56_force_sync_asp1_registers_from_cache(struct cs35l56_base *cs35l56_base) in cs35l56_force_sync_asp1_registers_from_cache() argument 219 ret = regmap_read(cs35l56_base->regmap, asp1_regs[i].reg, &asp1_regs[i].def); in cs35l56_force_sync_asp1_registers_from_cache() 225 ret = regmap_multi_reg_write_bypassed(cs35l56_base->regmap, asp1_regs, in cs35l56_force_sync_asp1_registers_from_cache() 233 dev_err(cs35l56_base->dev, "Failed to sync ASP1 registers: %d\n", ret); in cs35l56_force_sync_asp1_registers_from_cache() 239 int cs35l56_mbox_send(struct cs35l56_base *cs35l56_base, unsigned int command) in cs35l56_mbox_send() argument 244 regmap_write(cs35l56_base->regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, command); in cs35l56_mbox_send() 245 ret = regmap_read_poll_timeout(cs35l56_base->regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, in cs35l56_mbox_send() 249 dev_warn(cs35l56_base->dev, "MBOX command %#x failed: %d\n", command, ret); in cs35l56_mbox_send() [all …]
|
H A D | cs35l56.h | 35 struct cs35l56_base base; 67 int cs35l56_irq_request(struct cs35l56_base *cs35l56_base, int irq);
|
/openbmc/linux/include/sound/ |
H A D | cs35l56.h | 255 struct cs35l56_base { struct 275 int cs35l56_set_patch(struct cs35l56_base *cs35l56_base); argument 276 int cs35l56_force_sync_asp1_registers_from_cache(struct cs35l56_base *cs35l56_base); 277 int cs35l56_mbox_send(struct cs35l56_base *cs35l56_base, unsigned int command); 278 int cs35l56_firmware_shutdown(struct cs35l56_base *cs35l56_base); 279 int cs35l56_wait_for_firmware_boot(struct cs35l56_base *cs35l56_base); 282 void cs35l56_system_reset(struct cs35l56_base *cs35l56_base, bool is_soundwire); 283 int cs35l56_irq_request(struct cs35l56_base *cs35l56_base, int irq); 285 int cs35l56_is_fw_reload_needed(struct cs35l56_base *cs35l56_base); 286 int cs35l56_runtime_suspend_common(struct cs35l56_base *cs35l56_base); [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | cs35l56_hda.h | 22 struct cs35l56_base base;
|