Lines Matching refs:other
207 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in other_tx_active() local
209 return tx_active(other); in other_tx_active()
234 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in other_rx_active() local
236 return rx_active(other); in other_rx_active()
484 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in i2s_set_sysclk() local
493 if ((rfs && other->rfs && (other->rfs != rfs)) || in i2s_set_sysclk()
539 if (other) { in i2s_set_sysclk()
540 other->op_clk = i2s->op_clk; in i2s_set_sysclk()
541 other->rclk_srcrate = i2s->rclk_srcrate; in i2s_set_sysclk()
550 i2s->op_clk = other->op_clk; in i2s_set_sysclk()
551 i2s->rclk_srcrate = other->rclk_srcrate; in i2s_set_sysclk()
724 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in i2s_startup() local
731 if (is_manager(other)) in i2s_startup()
748 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in i2s_shutdown() local
756 if (is_opened(other)) in i2s_shutdown()
757 other->mode |= DAI_MANAGER; in i2s_shutdown()
766 if (!is_opened(other)) in i2s_shutdown()
773 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in config_setup() local
781 if (!bfs && other) in config_setup()
782 bfs = other->bfs; in config_setup()
790 if (!rfs && other) in config_setup()
791 rfs = other->rfs; in config_setup()
883 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in i2s_set_clkdiv() local
888 || (other && other->bfs && (other->bfs != div))) { in i2s_set_clkdiv()
955 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in samsung_i2s_dai_probe() local
957 if (other && other->clk) /* If this is probe on secondary */ in samsung_i2s_dai_probe()
974 if (other) { in samsung_i2s_dai_probe()
975 other->addr = i2s->addr; in samsung_i2s_dai_probe()
976 other->clk = i2s->clk; in samsung_i2s_dai_probe()
989 i2s_fifo(other, FIC_TXFLUSH); in samsung_i2s_dai_probe()
993 if (!is_opened(other)) in samsung_i2s_dai_probe()
1003 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in samsung_i2s_dai_remove() local
1005 if (!other || !other->clk) { in samsung_i2s_dai_remove()
1207 struct i2s_dai *i2s, *other; in samsung_i2s_remove() local
1210 other = i2s->pri_dai ? : i2s->sec_dai; in samsung_i2s_remove()
1212 if (other) { in samsung_i2s_remove()
1213 other->pri_dai = NULL; in samsung_i2s_remove()
1214 other->sec_dai = NULL; in samsung_i2s_remove()