Lines Matching defs:i2s
61 struct device_node *i2s;
107 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, rm->i2s, 0, 1);
109 /* Power i2s and stop i2s clock. We whack MacIO FCRs directly for now.
118 /* Then setup i2s. For now, we use the same magic value that
126 /* Fully restart i2s*/
294 pr_debug("rackmeter: setting up i2s..\n");
370 struct device_node *i2s = NULL, *np = NULL;
377 /* Get i2s-a node */
378 for_each_child_of_node(mdev->ofdev.dev.of_node, i2s)
379 if (of_node_name_eq(i2s, "i2s-a"))
382 if (i2s == NULL) {
383 pr_debug(" i2s-a child not found\n");
387 for_each_child_of_node(i2s, np) {
407 rm->i2s = i2s;
411 #if 0 /* Use that when i2s-a is finally an mdev per-se */
429 rm->irq = irq_of_parse_and_map(i2s, 1);
431 of_address_to_resource(i2s, 0, &ri2s) ||
432 of_address_to_resource(i2s, 1, &rdma)) {
441 pr_debug(" i2s @0x%08x\n", (unsigned int)ri2s.start);
469 "rackmeter: failed to map i2s registers !\n");
521 of_node_put(i2s);
583 { .name = "i2s" },