Lines Matching refs:ret
68 ssize_t ret; in audmux_read_file() local
74 ret = clk_prepare_enable(audmux_clk); in audmux_read_file()
75 if (ret) in audmux_read_file()
76 return ret; in audmux_read_file()
89 ret = scnprintf(buf, PAGE_SIZE, "PDCR: %08x\nPTCR: %08x\n", in audmux_read_file()
93 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
97 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
101 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
105 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
108 ret += scnprintf(buf + ret, PAGE_SIZE - ret, "\n"); in audmux_read_file()
111 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
115 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
119 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
123 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
127 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
131 ret += scnprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
135 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); in audmux_read_file()
139 return ret; in audmux_read_file()
231 int ret; in imx_audmux_v2_configure_port() local
240 ret = clk_prepare_enable(audmux_clk); in imx_audmux_v2_configure_port()
241 if (ret) in imx_audmux_v2_configure_port()
242 return ret; in imx_audmux_v2_configure_port()
266 int ret; in imx_audmux_parse_dt_defaults() local
269 ret = of_property_read_u32(child, "fsl,audmux-port", &port); in imx_audmux_parse_dt_defaults()
270 if (ret) { in imx_audmux_parse_dt_defaults()
281 for (i = 0; (ret = of_property_read_u32_index(child, in imx_audmux_parse_dt_defaults()
294 if (ret != -EOVERFLOW) { in imx_audmux_parse_dt_defaults()