Lines Matching refs:resource
49 u16 resource; in imx8_clk_get_rate() local
56 resource = SC_R_A35; in imx8_clk_get_rate()
61 resource = SC_R_I2C_0; in imx8_clk_get_rate()
66 resource = SC_R_I2C_1; in imx8_clk_get_rate()
71 resource = SC_R_I2C_2; in imx8_clk_get_rate()
76 resource = SC_R_I2C_3; in imx8_clk_get_rate()
82 resource = SC_R_SDHC_0; in imx8_clk_get_rate()
88 resource = SC_R_SDHC_1; in imx8_clk_get_rate()
93 resource = SC_R_UART_0; in imx8_clk_get_rate()
97 resource = SC_R_UART_1; in imx8_clk_get_rate()
101 resource = SC_R_UART_2; in imx8_clk_get_rate()
105 resource = SC_R_UART_3; in imx8_clk_get_rate()
112 resource = SC_R_ENET_0; in imx8_clk_get_rate()
119 resource = SC_R_ENET_1; in imx8_clk_get_rate()
132 ret = sc_pm_get_clock_rate(-1, resource, pm_clk, in imx8_clk_get_rate()
146 u16 resource; in imx8_clk_set_rate() local
154 resource = SC_R_I2C_0; in imx8_clk_set_rate()
159 resource = SC_R_I2C_1; in imx8_clk_set_rate()
164 resource = SC_R_I2C_2; in imx8_clk_set_rate()
169 resource = SC_R_I2C_3; in imx8_clk_set_rate()
173 resource = SC_R_UART_0; in imx8_clk_set_rate()
177 resource = SC_R_UART_1; in imx8_clk_set_rate()
181 resource = SC_R_UART_2; in imx8_clk_set_rate()
185 resource = SC_R_UART_3; in imx8_clk_set_rate()
191 resource = SC_R_SDHC_0; in imx8_clk_set_rate()
200 resource = SC_R_SDHC_1; in imx8_clk_set_rate()
207 resource = SC_R_ENET_0; in imx8_clk_set_rate()
214 resource = SC_R_ENET_1; in imx8_clk_set_rate()
227 ret = sc_pm_set_clock_rate(-1, resource, pm_clk, &new_rate); in imx8_clk_set_rate()
239 u16 resource; in __imx8_clk_enable() local
247 resource = SC_R_I2C_0; in __imx8_clk_enable()
252 resource = SC_R_I2C_1; in __imx8_clk_enable()
257 resource = SC_R_I2C_2; in __imx8_clk_enable()
262 resource = SC_R_I2C_3; in __imx8_clk_enable()
266 resource = SC_R_UART_0; in __imx8_clk_enable()
270 resource = SC_R_UART_1; in __imx8_clk_enable()
274 resource = SC_R_UART_2; in __imx8_clk_enable()
278 resource = SC_R_UART_3; in __imx8_clk_enable()
284 resource = SC_R_SDHC_0; in __imx8_clk_enable()
290 resource = SC_R_SDHC_1; in __imx8_clk_enable()
297 resource = SC_R_ENET_0; in __imx8_clk_enable()
304 resource = SC_R_ENET_1; in __imx8_clk_enable()
317 ret = sc_pm_clock_enable(-1, resource, pm_clk, enable, 0); in __imx8_clk_enable()