Lines Matching refs:mod
11 struct rsnd_mod mod; member
23 static int rsnd_cmd_init(struct rsnd_mod *mod, in rsnd_cmd_init() argument
41 if (ARRAY_SIZE(path) < rsnd_mod_id(mod) + 1) in rsnd_cmd_init()
90 rsnd_mod_write(mod, CMD_ROUTE_SLCT, data); in rsnd_cmd_init()
91 rsnd_mod_write(mod, CMD_BUSIF_MODE, rsnd_get_busif_shift(io, mod) | 1); in rsnd_cmd_init()
92 rsnd_mod_write(mod, CMD_BUSIF_DALIGN, rsnd_get_dalign(mod, io)); in rsnd_cmd_init()
94 rsnd_adg_set_cmd_timsel_gen2(mod, io); in rsnd_cmd_init()
99 static int rsnd_cmd_start(struct rsnd_mod *mod, in rsnd_cmd_start() argument
103 rsnd_mod_write(mod, CMD_CTRL, 0x10); in rsnd_cmd_start()
108 static int rsnd_cmd_stop(struct rsnd_mod *mod, in rsnd_cmd_stop() argument
112 rsnd_mod_write(mod, CMD_CTRL, 0); in rsnd_cmd_stop()
120 struct rsnd_mod *mod) in rsnd_cmd_debug_info() argument
122 rsnd_debugfs_mod_reg_show(m, mod, RSND_GEN2_SCU, in rsnd_cmd_debug_info()
123 0x180 + rsnd_mod_id_raw(mod) * 0x20, 0x30); in rsnd_cmd_debug_info()
149 struct rsnd_mod *mod = rsnd_cmd_mod_get(priv, id); in rsnd_cmd_attach() local
151 return rsnd_dai_connect(mod, io, mod->type); in rsnd_cmd_attach()