Lines Matching refs:ssiu
28 ((pos) = ((struct rsnd_ssiu *)(priv)->ssiu + i)); \
136 struct rsnd_ssiu *ssiu = rsnd_mod_to_ssiu(mod); in rsnd_ssiu_get_status() local
139 return &ssiu->busif_status[busif]; in rsnd_ssiu_get_status()
247 struct rsnd_ssiu *ssiu = rsnd_mod_to_ssiu(mod); in rsnd_ssiu_init_gen2() local
257 ssiu->usrcnt++; in rsnd_ssiu_init_gen2()
354 struct rsnd_ssiu *ssiu = rsnd_mod_to_ssiu(mod); in rsnd_ssiu_stop_gen2() local
362 if (--ssiu->usrcnt) in rsnd_ssiu_stop_gen2()
373 struct rsnd_ssiu *ssiu = rsnd_mod_to_ssiu(mod); in rsnd_ssiu_id() local
376 return ssiu->id; in rsnd_ssiu_id()
381 struct rsnd_ssiu *ssiu = rsnd_mod_to_ssiu(mod); in rsnd_ssiu_id_sub() local
384 return ssiu->id_sub; in rsnd_ssiu_id_sub()
440 return rsnd_mod_get((struct rsnd_ssiu *)(priv->ssiu) + id); in rsnd_ssiu_mod_get()
447 struct rsnd_ssiu *ssiu; in rsnd_parse_connect_ssiu_compatible() local
457 for_each_rsnd_ssiu(ssiu, priv, i) { in rsnd_parse_connect_ssiu_compatible()
458 struct rsnd_mod *mod = rsnd_mod_get(ssiu); in rsnd_parse_connect_ssiu_compatible()
516 struct rsnd_ssiu *ssiu; in rsnd_ssiu_probe() local
537 ssiu = devm_kcalloc(dev, nr, sizeof(*ssiu), GFP_KERNEL); in rsnd_ssiu_probe()
538 if (!ssiu) in rsnd_ssiu_probe()
541 priv->ssiu = ssiu; in rsnd_ssiu_probe()
571 for_each_rsnd_ssiu(ssiu, priv, i) { in rsnd_ssiu_probe()
585 ssiu->id = j; in rsnd_ssiu_probe()
586 ssiu->id_sub = i - list[ssiu->id]; in rsnd_ssiu_probe()
589 ssiu->id = i; in rsnd_ssiu_probe()
592 ret = rsnd_mod_init(priv, rsnd_mod_get(ssiu), in rsnd_ssiu_probe()
603 struct rsnd_ssiu *ssiu; in rsnd_ssiu_remove() local
606 for_each_rsnd_ssiu(ssiu, priv, i) { in rsnd_ssiu_remove()
607 rsnd_mod_quit(rsnd_mod_get(ssiu)); in rsnd_ssiu_remove()