Lines Matching refs:vals
299 u32 vals[3]; in dscr_parse_silicon_rev() local
302 err = of_property_read_u32_array(node, "ti,dscr-silicon-rev", vals, 3); in dscr_parse_silicon_rev()
304 c6x_silicon_rev = soc_readl(base + vals[0]); in dscr_parse_silicon_rev()
305 c6x_silicon_rev >>= vals[1]; in dscr_parse_silicon_rev()
306 c6x_silicon_rev &= vals[2]; in dscr_parse_silicon_rev()
330 u32 vals[10], fuse; in dscr_parse_mac_fuse() local
334 vals, 10); in dscr_parse_mac_fuse()
339 fuse = soc_readl(base + vals[f * 5]); in dscr_parse_mac_fuse()
341 if (vals[j] && vals[j] <= 6) in dscr_parse_mac_fuse()
342 c6x_fuse_mac[vals[j] - 1] = fuse >> i; in dscr_parse_mac_fuse()
371 u32 vals[2]; in dscr_parse_privperm() local
374 err = of_property_read_u32_array(node, "ti,dscr-privperm", vals, 2); in dscr_parse_privperm()
377 dscr_write(vals[0], vals[1]); in dscr_parse_privperm()
434 u32 vals[4]; in dscr_parse_kick_regs() local
437 err = of_property_read_u32_array(node, "ti,dscr-kick-regs", vals, 4); in dscr_parse_kick_regs()
439 dscr.kick_reg[0] = vals[0]; in dscr_parse_kick_regs()
440 dscr.kick_key[0] = vals[1]; in dscr_parse_kick_regs()
441 dscr.kick_reg[1] = vals[2]; in dscr_parse_kick_regs()
442 dscr.kick_key[1] = vals[3]; in dscr_parse_kick_regs()