Lines Matching refs:ack_size
453 size_t ack_size, int flags) in __i2400m_bm_ack_verify() argument
459 i2400m, opcode, ack, ack_size); in __i2400m_bm_ack_verify()
460 if (ack_size < sizeof(*ack)) { in __i2400m_bm_ack_verify()
464 opcode, ack_size, sizeof(*ack)); in __i2400m_bm_ack_verify()
467 result = i2400m_is_boot_barker(i2400m, ack, ack_size); in __i2400m_bm_ack_verify()
473 if (ack_size == sizeof(i2400m_ACK_BARKER) in __i2400m_bm_ack_verify()
510 if (ack_size < ack->data_size + sizeof(*ack)) { in __i2400m_bm_ack_verify()
513 "of data\n", opcode, ack_size, in __i2400m_bm_ack_verify()
517 result = ack_size; in __i2400m_bm_ack_verify()
530 i2400m, opcode, ack, ack_size, (int) result); in __i2400m_bm_ack_verify()
583 struct i2400m_bootrom_header *ack, size_t ack_size, in i2400m_bm_cmd() argument
591 i2400m, cmd, cmd_size, ack, ack_size); in i2400m_bm_cmd()
592 BUG_ON(ack_size < sizeof(*ack)); in i2400m_bm_cmd()
609 result = i2400m->bus_bm_wait_for_ack(i2400m, ack, ack_size); in i2400m_bm_cmd()
618 result = __i2400m_bm_ack_verify(i2400m, opcode, ack, ack_size, flags); in i2400m_bm_cmd()
629 i2400m, cmd, cmd_size, ack, ack_size, (int) result); in i2400m_bm_cmd()