Lines Matching refs:idle_states
44 u32 *idle_states; in mmio_mux_probe() local
84 idle_states = devm_kmalloc(dev, num_fields * sizeof(u32), __GFP_ZERO); in mmio_mux_probe()
85 if (!idle_states) in mmio_mux_probe()
88 ret = dev_read_u32_array(dev, "idle-states", idle_states, num_fields); in mmio_mux_probe()
91 devm_kfree(dev, idle_states); in mmio_mux_probe()
92 idle_states = NULL; in mmio_mux_probe()
120 if (!idle_states) in mmio_mux_probe()
123 if (idle_states[i] != MUX_IDLE_AS_IS && in mmio_mux_probe()
124 idle_states[i] >= mux->states) in mmio_mux_probe()
127 mux->idle_state = idle_states[i]; in mmio_mux_probe()
131 if (idle_states) in mmio_mux_probe()
132 devm_kfree(dev, idle_states); in mmio_mux_probe()