Lines Matching refs:i2sdev
41 struct i2sbus_dev *i2sdev)
45 np = i2sdev->sound.ofdev.dev.of_node;
46 i2sdev->enable = pmf_find_function(np, "enable");
47 i2sdev->cell_enable = pmf_find_function(np, "cell-enable");
48 i2sdev->clock_enable = pmf_find_function(np, "clock-enable");
49 i2sdev->cell_disable = pmf_find_function(np, "cell-disable");
50 i2sdev->clock_disable = pmf_find_function(np, "clock-disable");
57 if (i2sdev->bus_number != 0 && i2sdev->bus_number != 1 &&
58 (!i2sdev->enable ||
59 !i2sdev->cell_enable || !i2sdev->clock_enable ||
60 !i2sdev->cell_disable || !i2sdev->clock_disable)) {
61 pmf_put_function(i2sdev->enable);
62 pmf_put_function(i2sdev->cell_enable);
63 pmf_put_function(i2sdev->clock_enable);
64 pmf_put_function(i2sdev->cell_disable);
65 pmf_put_function(i2sdev->clock_disable);
69 list_add(&i2sdev->item, &c->list);
75 struct i2sbus_dev *i2sdev)
78 list_del(&i2sdev->item);
84 struct i2sbus_dev *i2sdev)
89 if (i2sdev->enable)
90 return pmf_call_one(i2sdev->enable, &args);
95 switch (i2sdev->bus_number) {
111 struct i2sbus_dev *i2sdev,
119 if (i2sdev->cell_disable)
120 return pmf_call_one(i2sdev->cell_disable, &args);
123 if (i2sdev->cell_enable)
124 return pmf_call_one(i2sdev->cell_enable, &args);
134 switch (i2sdev->bus_number) {
154 struct i2sbus_dev *i2sdev,
162 if (i2sdev->clock_disable)
163 return pmf_call_one(i2sdev->clock_disable, &args);
166 if (i2sdev->clock_enable)
167 return pmf_call_one(i2sdev->clock_enable, &args);
177 switch (i2sdev->bus_number) {