Lines Matching refs:rdata

48 	u8 rdata[2];  in cxd2880_pre_bit_err_t()  local
77 0x39, rdata, 1); in cxd2880_pre_bit_err_t()
83 if ((rdata[0] & 0x01) == 0) { in cxd2880_pre_bit_err_t()
90 0x22, rdata, 2); in cxd2880_pre_bit_err_t()
96 *pre_bit_err = (rdata[0] << 8) | rdata[1]; in cxd2880_pre_bit_err_t()
100 0x6f, rdata, 1); in cxd2880_pre_bit_err_t()
108 *pre_bit_count = ((rdata[0] & 0x07) == 0) ? in cxd2880_pre_bit_err_t()
109 256 : (0x1000 << (rdata[0] & 0x07)); in cxd2880_pre_bit_err_t()
200 u8 rdata[3]; in cxd2880_post_bit_err_t() local
225 0x15, rdata, 3); in cxd2880_post_bit_err_t()
229 if ((rdata[0] & 0x40) == 0) in cxd2880_post_bit_err_t()
232 *post_bit_err = ((rdata[0] & 0x3f) << 16) | (rdata[1] << 8) | rdata[2]; in cxd2880_post_bit_err_t()
242 0x60, rdata, 1); in cxd2880_post_bit_err_t()
246 period_exp = (rdata[0] & 0x1f); in cxd2880_post_bit_err_t()
368 u8 rdata[3]; in cxd2880_read_block_err_t() local
391 0x18, rdata, 3); in cxd2880_read_block_err_t()
395 if ((rdata[0] & 0x01) == 0) in cxd2880_read_block_err_t()
398 *block_err = (rdata[1] << 8) | rdata[2]; in cxd2880_read_block_err_t()
408 0x5c, rdata, 1); in cxd2880_read_block_err_t()
412 *block_count = 1U << (rdata[0] & 0x0f); in cxd2880_read_block_err_t()
424 u8 rdata[3]; in cxd2880_read_block_err_t2() local
446 0x18, rdata, 3); in cxd2880_read_block_err_t2()
450 if ((rdata[0] & 0x01) == 0) in cxd2880_read_block_err_t2()
453 *block_err = (rdata[1] << 8) | rdata[2]; in cxd2880_read_block_err_t2()
463 0xdc, rdata, 1); in cxd2880_read_block_err_t2()
467 *block_count = 1U << (rdata[0] & 0x0f); in cxd2880_read_block_err_t2()