Lines Matching defs:val
239 static int hideep_pgm_r_reg(struct hideep_ts *ts, u32 addr, u32 *val)
252 *val = be32_to_cpu(data);
256 static int hideep_pgm_w_reg(struct hideep_ts *ts, u32 addr, u32 val)
258 __be32 data = cpu_to_be32(val);
265 addr, val, error);
414 u32 val;
438 val = be32_to_cpu(ucode[0]);
439 SET_PIO_SIG(HIDEEP_WRONLY | addr, val);
444 val = be32_to_cpu(ucode[xfer_count - 1]);
445 SET_PIO_SIG(124, val);
770 __le16 val[2];
773 error = regmap_bulk_read(ts->reg, 0x28, val, ARRAY_SIZE(val));
777 ts->prop.max_x = le16_to_cpup(val);
778 ts->prop.max_y = le16_to_cpup(val + 1);