Lines Matching defs:i2s
60 struct device_node *i2s;
106 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, rm->i2s, 0, 1);
108 /* Power i2s and stop i2s clock. We whack MacIO FCRs directly for now.
117 /* Then setup i2s. For now, we use the same magic value that
125 /* Fully restart i2s*/
293 pr_debug("rackmeter: setting up i2s..\n");
369 struct device_node *i2s = NULL, *np = NULL;
376 /* Get i2s-a node */
377 for_each_child_of_node(mdev->ofdev.dev.of_node, i2s)
378 if (of_node_name_eq(i2s, "i2s-a"))
381 if (i2s == NULL) {
382 pr_debug(" i2s-a child not found\n");
386 for_each_child_of_node(i2s, np) {
406 rm->i2s = i2s;
410 #if 0 /* Use that when i2s-a is finally an mdev per-se */
428 rm->irq = irq_of_parse_and_map(i2s, 1);
430 of_address_to_resource(i2s, 0, &ri2s) ||
431 of_address_to_resource(i2s, 1, &rdma)) {
440 pr_debug(" i2s @0x%08x\n", (unsigned int)ri2s.start);
468 "rackmeter: failed to map i2s registers !\n");
520 of_node_put(i2s);
582 { .name = "i2s" },