Lines Matching refs:vals
296 u32 vals[3]; in dscr_parse_silicon_rev() local
299 err = of_property_read_u32_array(node, "ti,dscr-silicon-rev", vals, 3); in dscr_parse_silicon_rev()
301 c6x_silicon_rev = soc_readl(base + vals[0]); in dscr_parse_silicon_rev()
302 c6x_silicon_rev >>= vals[1]; in dscr_parse_silicon_rev()
303 c6x_silicon_rev &= vals[2]; in dscr_parse_silicon_rev()
327 u32 vals[10], fuse; in dscr_parse_mac_fuse() local
331 vals, 10); in dscr_parse_mac_fuse()
336 fuse = soc_readl(base + vals[f * 5]); in dscr_parse_mac_fuse()
338 if (vals[j] && vals[j] <= 6) in dscr_parse_mac_fuse()
339 c6x_fuse_mac[vals[j] - 1] = fuse >> i; in dscr_parse_mac_fuse()
368 u32 vals[2]; in dscr_parse_privperm() local
371 err = of_property_read_u32_array(node, "ti,dscr-privperm", vals, 2); in dscr_parse_privperm()
374 dscr_write(vals[0], vals[1]); in dscr_parse_privperm()
431 u32 vals[4]; in dscr_parse_kick_regs() local
434 err = of_property_read_u32_array(node, "ti,dscr-kick-regs", vals, 4); in dscr_parse_kick_regs()
436 dscr.kick_reg[0] = vals[0]; in dscr_parse_kick_regs()
437 dscr.kick_key[0] = vals[1]; in dscr_parse_kick_regs()
438 dscr.kick_reg[1] = vals[2]; in dscr_parse_kick_regs()
439 dscr.kick_key[1] = vals[3]; in dscr_parse_kick_regs()